aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-11-14 20:36:18 +0300
committerValentin Popov <valentin@popov.link>2026-11-14 20:36:18 +0300
commit108dd67da99f9832d2e65e5e18f7d25cc2dfc9ed (patch)
treeed0e44c81aacd8fa91512e10ac0092353700bd5d /apps
parentc930b4e3a4a693ebcee2e46005c32d42567449d7 (diff)
downloadfparkan-108dd67da99f9832d2e65e5e18f7d25cc2dfc9ed.tar.xz
fparkan-108dd67da99f9832d2e65e5e18f7d25cc2dfc9ed.zip
feat(ai): start the highest-priority clan script problem
Open the matching Start section after Problems0, expose its arguments, and support completion and unreserved placed-unit selection. Two Fortresses enters its laboratory job and reaches Handler(6). Timing, ties and continuation remain explicit approximations.
Diffstat (limited to 'apps')
-rw-r--r--apps/fparkan-game/src/script_coverage.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/fparkan-game/src/script_coverage.rs b/apps/fparkan-game/src/script_coverage.rs
index e54e1faa..3df8ab46 100644
--- a/apps/fparkan-game/src/script_coverage.rs
+++ b/apps/fparkan-game/src/script_coverage.rs
@@ -21,6 +21,9 @@ pub(super) fn log_script_init(engine: &Engine, mission: &str) {
}
pub(super) fn log_clan_ai_stops(report: &SimulationReport) {
+ for &(clan, kind, count) in &report.clan_problem_starts {
+ eprintln!("sim_coverage script_problem_starts_approx={count} clan={clan} problem={kind}");
+ }
for (&(clan, kind), count) in &report.clan_problem_dispatch_stubs {
eprintln!("sim_coverage script_problem_dispatch_stubs={count} clan={clan} problem={kind}");
}