aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-script/src
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-11-14 22:04:26 +0300
committerValentin Popov <valentin@popov.link>2026-11-14 22:04:26 +0300
commite1f26ba007532eca4b6afe4d49aca58799c1ce05 (patch)
tree49b8bf2631ea79cb48bf7c0d8324570f893acf9f /crates/fparkan-script/src
parenta25aa2959dbac4d0f2a91299de16e12f492699f3 (diff)
downloadfparkan-e1f26ba007532eca4b6afe4d49aca58799c1ce05.tar.xz
fparkan-e1f26ba007532eca4b6afe4d49aca58799c1ce05.zip
feat(ai): dispatch scripted warbot groups
Single.01 selects a free warbot for the capture problem and issues a patrol around the moving capturer from stock startup. Group recruitment uses the supported TAKE_BY_HITS branch. Priority preemption and group expression scheduling remain open.
Diffstat (limited to 'crates/fparkan-script/src')
-rw-r--r--crates/fparkan-script/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/fparkan-script/src/lib.rs b/crates/fparkan-script/src/lib.rs
index b409713c..3b6e8856 100644
--- a/crates/fparkan-script/src/lib.rs
+++ b/crates/fparkan-script/src/lib.rs
@@ -1965,7 +1965,7 @@ pub struct Handler2RecordInput {
}
/// The exact three-word identity used by the original `Handler(2)` scheduler.
-#[derive(Clone, Copy, Debug, Eq, PartialEq)]
+#[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd)]
pub struct Handler2RecordKey {
/// First identity word from resolved slot 0.
pub word_0: u32,