clash/server/tests/test_games/wonders/library.outcome2.json
2025-06-20 06:21:41 +00:00

373 lines
No EOL
7.3 KiB
JSON

{
"state": "Playing",
"events": [
{
"event_type": {
"WonderCard": {
"wonder": "Pyramids",
"selected_position": "C2",
"cost": {
"cost": {
"default": {
"food": 2,
"wood": 3,
"ore": 7,
"culture_tokens": 5
},
"conversions": [
{
"from": [
{
"food": 1
},
{
"wood": 1
},
{
"ore": 1
},
{
"ideas": 1
}
],
"to": {
"gold": 1
},
"type": "Unlimited"
}
],
"origin": {
"Wonder": "Pyramids"
}
},
"activate_city": true,
"ignore_required_advances": false,
"ignore_action_cost": false,
"info": {
"player": 0,
"info": {},
"log": []
}
},
"origin": {
"Ability": "Build Wonder"
}
}
},
"player": 0,
"last_priority_used": 10,
"handler": {
"priority": 10,
"request": {
"Payment": [
{
"cost": {
"default": {
"food": 2,
"wood": 3,
"ore": 7,
"culture_tokens": 5
},
"conversions": [
{
"from": [
{
"food": 1
},
{
"wood": 1
},
{
"ore": 1
},
{
"ideas": 1
}
],
"to": {
"gold": 1
},
"type": "Unlimited"
}
],
"origin": {
"Wonder": "Pyramids"
}
},
"name": "Pay to build wonder",
"optional": false
}
]
},
"origin": {
"Ability": "Build Wonder"
}
}
}
],
"players": [
{
"id": 0,
"resources": {
"wood": 4,
"ore": 7,
"ideas": 5,
"gold": 6,
"mood_tokens": 7,
"culture_tokens": 7
},
"resource_limit": {
"food": 2,
"wood": 7,
"ore": 7,
"ideas": 7,
"gold": 7,
"mood_tokens": 7,
"culture_tokens": 7
},
"cities": [
{
"city_pieces": {
"wonders": [
"GreatLibrary"
]
},
"mood_state": "Happy",
"position": "A1"
},
{
"mood_state": "Happy",
"activations": 8,
"position": "C2"
}
],
"units": [
{
"position": "C2",
"unit_type": "Infantry",
"id": 0
},
{
"position": "C2",
"unit_type": "Cavalry",
"id": 1
},
{
"position": "C2",
"unit_type": "Infantry",
"id": 2
},
{
"position": "C2",
"unit_type": "Elephant",
"id": 3
},
{
"position": "C2",
"unit_type": "Settler",
"id": 4
},
{
"position": "C2",
"unit_type": "Settler",
"id": 5
},
{
"position": "C2",
"unit_type": "Settler",
"id": 6
},
{
"position": "C2",
"unit_type": "Settler",
"id": 7
}
],
"civilization": "Rome",
"advances": [
"Farming",
"Mining",
"Rituals"
],
"great_library_advance": "Engineering",
"wonders_built": [
"GreatLibrary"
],
"incident_tokens": 2,
"wonder_cards": [
"Pyramids"
],
"next_unit_id": 8,
"played_once_per_turn_actions": [
"GreatLibrary"
]
},
{
"id": 1,
"resources": {
"food": 2,
"wood": 7,
"ore": 7,
"ideas": 7,
"gold": 7,
"mood_tokens": 7,
"culture_tokens": 7
},
"resource_limit": {
"food": 2,
"wood": 7,
"ore": 7,
"ideas": 7,
"gold": 7,
"mood_tokens": 7,
"culture_tokens": 7
},
"cities": [
{
"mood_state": "Angry",
"activations": 2,
"position": "C1"
}
],
"units": [
{
"position": "C1",
"unit_type": "Infantry",
"id": 0
},
{
"position": "C1",
"unit_type": "Infantry",
"id": 1
}
],
"civilization": "Greece",
"advances": [
"Farming",
"Mining"
],
"incident_tokens": 3,
"next_unit_id": 2
}
],
"map": {
"tiles": [
[
"A1",
"Fertile"
],
[
"A2",
"Water"
],
[
"A3",
{
"Exhausted": "Forest"
}
],
[
"B1",
"Mountain"
],
[
"B2",
"Forest"
],
[
"B3",
"Fertile"
],
[
"C1",
"Barren"
],
[
"C2",
"Forest"
],
[
"C3",
"Water"
],
[
"D2",
"Water"
]
]
},
"starting_player_index": 0,
"current_player_index": 0,
"action_log": [
{
"age": 1,
"rounds": [
{
"round": 1,
"players": [
{
"index": 0,
"actions": [
{
"action": {
"Playing": {
"Custom": {
"action": "GreatLibrary"
}
}
}
},
{
"action": {
"Response": {
"SelectAdvance": "Engineering"
}
}
},
{
"action": {
"Playing": {
"WonderCard": "Pyramids"
}
}
}
]
}
]
}
]
}
],
"action_log_index": 3,
"log": [
[
"Player1 started Great Library"
],
[
"Player1: Great Library: Use Engineering for the turn"
],
[
"Player1 played the wonder card Pyramids",
"Player1: Build Wonder: Decided to build Pyramids in city C2"
]
],
"undo_limit": 0,
"actions_left": 0,
"round": 1,
"age": 1,
"messages": [
"The game has started"
],
"dice_roll_outcomes": [
1,
1,
10,
10,
10,
10,
10,
10,
10,
10
]
}