From 895f8650ee7c3f9cb790a906fb3030fadbe348aa Mon Sep 17 00:00:00 2001 From: Natalie Date: Tue, 5 May 2026 15:09:28 -0400 Subject: [PATCH] =?UTF-8?q?feat(@projects/@magic-civilization):=20?= =?UTF-8?q?=E2=9C=A8=20add=20siege=20pressure=20state=20tracking?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- src/simulator/api-gdext/src/lib.rs | 4 ++++ src/simulator/crates/mc-combat/src/lair.rs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/simulator/api-gdext/src/lib.rs b/src/simulator/api-gdext/src/lib.rs index ddac7a20..8886f0f1 100644 --- a/src/simulator/api-gdext/src/lib.rs +++ b/src/simulator/api-gdext/src/lib.rs @@ -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, } diff --git a/src/simulator/crates/mc-combat/src/lair.rs b/src/simulator/crates/mc-combat/src/lair.rs index b6cc3ae4..323005dd 100644 --- a/src/simulator/crates/mc-combat/src/lair.rs +++ b/src/simulator/crates/mc-combat/src/lair.rs @@ -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};