aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/lib.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-11-26 18:28:40 +0300
committerValentin Popov <valentin@popov.link>2026-11-26 18:28:40 +0300
commitf3f5054641a3542e3154461f39a7a204cfd095ff (patch)
treecf44bfccefa099024756a23bd3c91d114ea607d5 /crates/fparkan-runtime/src/lib.rs
parente8ee72dd0ad717ed6060fbd6963209d0edec47f4 (diff)
downloadfparkan-f3f5054641a3542e3154461f39a7a204cfd095ff.tar.xz
fparkan-f3f5054641a3542e3154461f39a7a204cfd095ff.zip
fix(ai): rule out unavailable building upgrades
Check the class, initial stage and known research status of the next BuildDat scheme before treating Handler(58) as unresolved. Keep the existing coverage stub for candidates that still need full selection and a builder upgrade order. The native eligibility and research walks confirm both gates. The stock Two Fortresses window and 900-second simulation exercise the no-candidate branch. All 29 missions reach 900 seconds.
Diffstat (limited to 'crates/fparkan-runtime/src/lib.rs')
-rw-r--r--crates/fparkan-runtime/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/fparkan-runtime/src/lib.rs b/crates/fparkan-runtime/src/lib.rs
index f56ef05a..1a32d6cd 100644
--- a/crates/fparkan-runtime/src/lib.rs
+++ b/crates/fparkan-runtime/src/lib.rs
@@ -54,6 +54,7 @@ pub use basement_geometry::{
MissionBasementFootprint,
};
mod building_passage;
+mod building_upgrade;
mod capture_barrier;
mod clan_ai_events;
mod clan_area_strength;