feat(@projects/@magic-civilization): add siege pressure state tracking

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Natalie 2026-05-05 15:09:28 -04:00
parent b56acfb4b9
commit 895f8650ee
2 changed files with 5 additions and 1 deletions

View file

@ -2421,6 +2421,10 @@ impl IRefCounted for GdGameState {
// the struct literal so the workspace compiles.
ransom_queue: Default::default(),
pending_capture_events: Default::default(),
// p3-10b: per-lair siege pressure state. Populated by the
// bridge as players begin sieges; serialized for save
// round-trip via `siege_pressure_as_pairs`.
siege_pressure: Default::default(),
},
base,
}

View file

@ -27,7 +27,7 @@
use serde::{Deserialize, Serialize};
use mc_core::lair::{LairCombatMode, LairId, SiegeOutcome, SiegePressure, SiegeState};
use mc_core::lair::{LairCombatMode, LairId, SiegeOutcome, SiegeState};
use crate::bonuses::CombatBonuses;
use crate::loot::{mix_seed, roll_loot_table, LootDrop, LootEntry};