aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/script_time.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-11-25 11:20:10 +0300
committerValentin Popov <valentin@popov.link>2026-11-25 11:20:10 +0300
commitbccae28a00af19dc095910073e7e820aa81dc393 (patch)
tree77f8f37bff10b6274a84b87fd7f3b3e329089c1b /crates/fparkan-runtime/src/script_time.rs
parent05fe0d6d8c10629d0b485d1eb3c1e25279164a53 (diff)
downloadfparkan-bccae28a00af19dc095910073e7e820aa81dc393.tar.xz
fparkan-bccae28a00af19dc095910073e7e820aa81dc393.zip
feat(ai): guard the least defended clan building
Execute Handler(37) from the live clan roster, rank nearby guard strength and feed the existing protection scheduler. Keep the native strict 250-unit radius, first tie and empty-roster sentinel. Count approximate selections by clan and target in simulation reports. The GOG AI handler was called directly for weak buildings, equal strength, the radius boundary and an empty roster. Stock missions 8, 9 and 10 now assign guard patrols before reaching the next explicit script blocker. Mission 9 ran in the window with clean Vulkan validation. The existing factory protection regression and workspace checks pass.
Diffstat (limited to 'crates/fparkan-runtime/src/script_time.rs')
0 files changed, 0 insertions, 0 deletions