From 66c02b87b96e63d3cfce29c8ca33a2bb28662ec6 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sun, 15 Nov 2026 00:18:34 +0400 Subject: feat(ai): execute tower construction orders Use the first BuildDat scheme for the requested class, check learned components, and route the builder before spending onboard ore. The Behavior.dll oracle rejected the stock scheme and returned 1100 ore after unlocking the components. The stock mission 28 window showed the refusal with its original tech tree. A licensed prepared test exercised construction and ore deduction. Onboard supply remains required pending warehouse refill. --- apps/fparkan-game/src/script_coverage.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps/fparkan-game/src/script_coverage.rs') diff --git a/apps/fparkan-game/src/script_coverage.rs b/apps/fparkan-game/src/script_coverage.rs index a67ddde3..247d8cff 100644 --- a/apps/fparkan-game/src/script_coverage.rs +++ b/apps/fparkan-game/src/script_coverage.rs @@ -50,6 +50,14 @@ pub(super) fn log_clan_ai_stops(report: &SimulationReport) { "sim_coverage script_building_site_approx={count} clan={clan} class={class:#010x}" ); } + for &(clan, builder, class, accepted, rejected) in &report.script_construction_orders { + if accepted != 0 { + eprintln!("sim_coverage script_building_order_approx={accepted} clan={clan} builder={builder} class={class:#010x}"); + } + if rejected != 0 { + eprintln!("sim_coverage script_building_rejected={rejected} clan={clan} builder={builder} class={class:#010x}"); + } + } for &(clan, count) in &report.script_capturer_queries { eprintln!("sim_coverage script_nearest_capturer_approx={count} clan={clan}"); } -- cgit v1.2.3