aboutsummaryrefslogtreecommitdiff
path: root/apps/fparkan-game/src/script_coverage.rs
diff options
context:
space:
mode:
Diffstat (limited to 'apps/fparkan-game/src/script_coverage.rs')
-rw-r--r--apps/fparkan-game/src/script_coverage.rs8
1 files changed, 8 insertions, 0 deletions
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}");
}