clash/server/tests/test_games/combat/capture_and_raze_city.outcome.json
coyotte508 e69d7148fb Fix tactical retreat, destroyed wonder draws, and Defiant Stand journal
Release viewer 0.1.222 and engine 0.4.155. Destroyed wonders are tracked publicly; saves from before this release cannot reconstruct Wonders already destroyed.
2026-11-18 17:13:57 +00:00

520 lines
13 KiB
JSON

{
"state": {
"Movement": {
"movement_actions_left": 1,
"moved_units": [
0,
1,
2,
3
]
}
},
"players": [
{
"id": 0,
"resources": {
"food": 2,
"wood": 7,
"ore": 7,
"ideas": 5,
"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": "Happy",
"position": "A1"
},
{
"mood_state": "Neutral",
"activations": 8,
"position": "C2"
}
],
"destroyed_structures": {
"cities": 6
},
"units": [
{
"position": "C1",
"unit_type": "Infantry",
"movement_restrictions": [
"Battle"
],
"id": 0
},
{
"position": "C1",
"unit_type": "Cavalry",
"movement_restrictions": [
"Battle"
],
"id": 1
},
{
"position": "C1",
"unit_type": "Infantry",
"movement_restrictions": [
"Battle"
],
"id": 2
},
{
"position": "C1",
"unit_type": "Elephant",
"movement_restrictions": [
"Battle"
],
"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",
"Tactics"
],
"incident_tokens": 2,
"next_unit_id": 8
},
{
"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": "A2"
}
],
"units": [
{
"position": "A2",
"unit_type": "Settler",
"id": 2
}
],
"civilization": "Greece",
"advances": [
"Farming",
"Mining",
"Tactics"
],
"incident_tokens": 3,
"next_unit_id": 3
}
],
"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,
"log": [
{
"age": 1,
"rounds": [
{
"round": 1,
"turns": [
{
"turn_type": {
"Player": 0
},
"actions": [
{
"action": {
"Movement": {
"Move": {
"units": [
0,
1,
2,
3
],
"destination": "C1"
}
}
},
"player": 0,
"origin": {
"Ability": "Move"
},
"combat_stats": {
"round": 1,
"battleground": "CityWithFortress",
"attacker": {
"position": "C2",
"player": 0,
"present": {
"infantry": 2,
"cavalry": 1,
"elephants": 1
}
},
"defender": {
"position": "C1",
"player": 1,
"present": {
"infantry": 2
},
"losses": {
"infantry": 2
}
},
"result": "AttackerWins",
"city_mood": "Angry"
},
"items": [
{
"player": 0,
"Move": {
"units": {
"infantry": 2,
"cavalry": 1,
"elephants": 1
},
"start": "C2",
"destination": "C1"
},
"origin": {
"Ability": "Move"
}
},
{
"player": 0,
"CombatRound": {
"attackers": {
"infantry": 2,
"cavalry": 1,
"elephants": 1
},
"defending_player": 1,
"defenders": {
"infantry": 2
},
"round": 1
},
"origin": {
"Ability": "Combat"
}
},
{
"player": 0,
"CombatRoll": {
"rolls": [
{
"value": 6,
"unit_type": "Infantry",
"bonus": true
},
{
"value": 6,
"unit_type": "Infantry",
"bonus": true
},
{
"value": 6,
"unit_type": "Infantry",
"bonus": false
},
{
"value": 6,
"unit_type": "Infantry",
"bonus": false
}
],
"combat_value": 26,
"hits": 2
},
"origin": {
"Ability": "Combat"
}
},
{
"player": 1,
"CombatRoll": {
"rolls": [
{
"value": 1,
"unit_type": {
"Leader": "Alexander"
},
"bonus": false
},
{
"value": 1,
"unit_type": {
"Leader": "Alexander"
},
"bonus": false
},
{
"value": 1,
"unit_type": {
"Leader": "Alexander"
},
"bonus": false
}
],
"combat_value": 3,
"hits": 0,
"combat_modifiers": [
"fortress added one extra die",
"fortress cancelled one hit"
]
},
"origin": {
"Ability": "Combat"
}
},
{
"player": 1,
"Text": "Remove all defending units",
"origin": {
"Ability": "Choose Casualties"
}
},
{
"player": 1,
"Units": {
"units": {
"infantry": 2
},
"balance": "Loss",
"position": "C1"
},
"origin": {
"Ability": "Combat"
}
},
{
"player": 0,
"Text": "wins the battle",
"origin": {
"Ability": "Combat"
}
},
{
"player": 0,
"Resources": {
"resources": {
"gold": 1
},
"balance": "Gain"
},
"origin": {
"Ability": "Combat"
}
},
{
"player": 0,
"Resources": {
"resources": {
"gold": 3
},
"balance": "Gain"
},
"origin": {
"Ability": "Raze captured city"
}
},
{
"player": 0,
"Text": "Razed C1 because no city centers were available",
"origin": {
"Ability": "Combat"
}
},
{
"player": 1,
"Structure": {
"structure": {
"Building": "Fortress"
},
"balance": "Loss",
"position": "C1",
"port_position": null
},
"origin": {
"Ability": "Combat"
}
},
{
"player": 1,
"Structure": {
"structure": {
"Wonder": "GreatWall"
},
"balance": "Loss",
"position": "C1",
"port_position": null
},
"origin": {
"Ability": "Combat"
}
},
{
"player": 1,
"Structure": {
"structure": "CityCenter",
"balance": "Loss",
"position": "C1",
"port_position": null
},
"origin": {
"Ability": "Combat"
}
},
{
"player": 1,
"Units": {
"units": {
"settlers": 1
},
"balance": "Gain",
"position": "A2"
},
"origin": {
"Ability": "Place Settler"
}
},
{
"player": 0,
"Resources": {
"resources": {
"gold": 4
},
"balance": "Loss"
},
"origin": {
"Ability": "Waste"
}
}
]
}
]
}
]
}
]
}
],
"log_index": 1,
"undo_limit": 1,
"actions_left": 1,
"round": 1,
"age": 1,
"messages": [
"The game has started"
],
"dice_roll_outcomes": [
1,
1
],
"dice_roll_log": [
11,
11,
11,
11,
1,
1,
1
],
"wonders_left": [
"Pyramids"
],
"destroyed_wonders": [
"GreatWall"
]
}