aboutsummaryrefslogtreecommitdiff
path: root/apps/fparkan-game/src/script_coverage.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-11-14 22:55:21 +0300
committerValentin Popov <valentin@popov.link>2026-11-14 22:55:21 +0300
commit64bb8b476b525706d08d00be7c6f6cc397606c06 (patch)
tree8a6bb33086190196517ff7e255d815480da4d9b7 /apps/fparkan-game/src/script_coverage.rs
parentd43524a8e40bb923d9275e17d3dc586701f08bbf (diff)
downloadfparkan-64bb8b476b525706d08d00be7c6f6cc397606c06.tar.xz
fparkan-64bb8b476b525706d08d00be7c6f6cc397606c06.zip
feat(ai): carry ore from clan mines to storage
Resolve the stock transport order against the newly produced unit. Move between owned endpoints and limit transfers by rate, source stock and destination space. The window logged the first departure and the stock simulation completed an unloading cycle. Native roster selection was called directly. Port approaches and rates remain approximations.
Diffstat (limited to 'apps/fparkan-game/src/script_coverage.rs')
-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 4a7cc110..9d2a6613 100644
--- a/apps/fparkan-game/src/script_coverage.rs
+++ b/apps/fparkan-game/src/script_coverage.rs
@@ -42,6 +42,9 @@ pub(super) fn log_clan_ai_stops(report: &SimulationReport) {
for &(clan, target, count) in &report.script_factory_patrol_continues {
eprintln!("sim_coverage script_factory_patrol_continue_approx={count} clan={clan} target={target}");
}
+ for &(clan, unit, count) in &report.script_ore_transport_orders {
+ eprintln!("sim_coverage script_ore_transport_approx={count} clan={clan} unit={unit}");
+ }
for &(clan, count) in &report.script_capturer_queries {
eprintln!("sim_coverage script_nearest_capturer_approx={count} clan={clan}");
}