aboutsummaryrefslogtreecommitdiff
path: root/apps/fparkan-game/src
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-11-14 21:38:25 +0300
committerValentin Popov <valentin@popov.link>2026-11-14 21:38:25 +0300
commit04ac1b927abde1e5e448718f94834de83a01fff8 (patch)
tree700bb593deccdd7d69ed5b4fdedda1a25f630573 /apps/fparkan-game/src
parente1bf8981fc92dd134da925254f10721f30941369 (diff)
downloadfparkan-04ac1b927abde1e5e448718f94834de83a01fff8.tar.xz
fparkan-04ac1b927abde1e5e448718f94834de83a01fff8.zip
feat(ai): send scripted capturers toward hostile buildings
Single.01 dispatches its placed warbot and later factory robots from stock startup. Approach uses the shared movement task. Ownership transfer, native approach points and the script completion expressions remain open.
Diffstat (limited to 'apps/fparkan-game/src')
-rw-r--r--apps/fparkan-game/src/script_coverage.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/fparkan-game/src/script_coverage.rs b/apps/fparkan-game/src/script_coverage.rs
index 4689d1a4..90717549 100644
--- a/apps/fparkan-game/src/script_coverage.rs
+++ b/apps/fparkan-game/src/script_coverage.rs
@@ -24,6 +24,12 @@ pub(super) fn log_clan_ai_stops(report: &SimulationReport) {
for &(clan, count) in &report.script_capture_queries {
eprintln!("sim_coverage script_capture_target_approx={count} clan={clan}");
}
+ for &(clan, count) in &report.script_capturer_queries {
+ eprintln!("sim_coverage script_nearest_capturer_approx={count} clan={clan}");
+ }
+ for &(unit, target, count) in &report.script_capture_approaches {
+ eprintln!("sim_coverage script_capture_approach_stub={count} unit={unit} target={target}");
+ }
for &(clan, target, count) in &report.script_strength_queries {
eprintln!("sim_coverage script_combat_strength_approx={count} clan={clan} target={target}");
}