aboutsummaryrefslogtreecommitdiff
path: root/apps/fparkan-game
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-11-14 22:11:20 +0300
committerValentin Popov <valentin@popov.link>2026-11-14 22:11:20 +0300
commit16450724fa9d3052d315442a07b71e8d445c6cc3 (patch)
treebd0c982ce51976e810addcc627ea299b4d9e5318 /apps/fparkan-game
parente1f26ba007532eca4b6afe4d49aca58799c1ce05 (diff)
downloadfparkan-16450724fa9d3052d315442a07b71e8d445c6cc3.tar.xz
fparkan-16450724fa9d3052d315442a07b71e8d445c6cc3.zip
feat(ai): wait on scripted capture and group conditions
Single.01 now reaches ST_SOLVING after dispatching a capturer and patrol. Compare the capture and destruction predicates with the original ai.dll at RVA 0x5180. Keep the default OR_TASK behavior and report the approximate lifecycle.
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 6a96bb9f..436ec426 100644
--- a/apps/fparkan-game/src/script_coverage.rs
+++ b/apps/fparkan-game/src/script_coverage.rs
@@ -30,6 +30,9 @@ pub(super) fn log_clan_ai_stops(report: &SimulationReport) {
for &(clan, target, count) in &report.script_group_orders {
eprintln!("sim_coverage script_group_order_approx={count} clan={clan} target={target}");
}
+ for &(clan, problem, count) in &report.script_problem_waits {
+ eprintln!("sim_coverage script_problem_wait_approx={count} clan={clan} problem={problem}");
+ }
for &(clan, count) in &report.script_capturer_queries {
eprintln!("sim_coverage script_nearest_capturer_approx={count} clan={clan}");
}