aboutsummaryrefslogtreecommitdiff
path: root/apps/fparkan-game
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-11-14 21:21:17 +0300
committerValentin Popov <valentin@popov.link>2026-11-14 21:21:17 +0300
commitc75b08d39057a502598ba9d9959edadb36fcf595 (patch)
treecc5e772b9dd5cd82f3cfa6fe68a50ca5da17aaf8 /apps/fparkan-game
parent893f6ecd8ac49627185c035adba94065dddcdd85 (diff)
downloadfparkan-c75b08d39057a502598ba9d9959edadb36fcf595.tar.xz
fparkan-c75b08d39057a502598ba9d9959edadb36fcf595.zip
feat(ai): select targets for scripted capture requests
Confirm the target ranking, duplicate exclusion and strength output with GOG ai.dll at RVA 0xc847. Single.01 reaches PBM_BUILDING_CAPTURE from its stock start. The executor selection remains pending.
Diffstat (limited to 'apps/fparkan-game')
-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 70be567f..4689d1a4 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, count) in &report.script_capture_queries {
+ eprintln!("sim_coverage script_capture_target_approx={count} clan={clan}");
+ }
for &(clan, target, count) in &report.script_strength_queries {
eprintln!("sim_coverage script_combat_strength_approx={count} clan={clan} target={target}");
}