aboutsummaryrefslogtreecommitdiff
path: root/apps/fparkan-game/src
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-11-14 22:04:26 +0300
committerValentin Popov <valentin@popov.link>2026-11-14 22:04:26 +0300
commite1f26ba007532eca4b6afe4d49aca58799c1ce05 (patch)
tree49b8bf2631ea79cb48bf7c0d8324570f893acf9f /apps/fparkan-game/src
parenta25aa2959dbac4d0f2a91299de16e12f492699f3 (diff)
downloadfparkan-e1f26ba007532eca4b6afe4d49aca58799c1ce05.tar.xz
fparkan-e1f26ba007532eca4b6afe4d49aca58799c1ce05.zip
feat(ai): dispatch scripted warbot groups
Single.01 selects a free warbot for the capture problem and issues a patrol around the moving capturer from stock startup. Group recruitment uses the supported TAKE_BY_HITS branch. Priority preemption and group expression scheduling remain open.
Diffstat (limited to 'apps/fparkan-game/src')
-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 3490b55f..6a96bb9f 100644
--- a/apps/fparkan-game/src/script_coverage.rs
+++ b/apps/fparkan-game/src/script_coverage.rs
@@ -27,6 +27,9 @@ pub(super) fn log_clan_ai_stops(report: &SimulationReport) {
for &(clan, count) in &report.script_attack_queries {
eprintln!("sim_coverage script_attack_target_approx={count} clan={clan}");
}
+ for &(clan, target, count) in &report.script_group_orders {
+ eprintln!("sim_coverage script_group_order_approx={count} clan={clan} target={target}");
+ }
for &(clan, count) in &report.script_capturer_queries {
eprintln!("sim_coverage script_nearest_capturer_approx={count} clan={clan}");
}