Return loaded RM48U to depot by truck

Co-authored-by: Codex <codex@openai.com>
This commit is contained in:
2026-11-03 00:14:51 +03:00
parent d3378b37a2
commit bb931ab95c
8 changed files with 191 additions and 13 deletions
+2 -1
View File
@@ -60,6 +60,7 @@ pub fn tree() -> Tree {
Node::lit("raid").runs(),
Node::lit("sites").runs(),
Node::lit("ground-stock").then(Node::arg("склад", Value::int_from(1)).then(Node::arg("количество", Value::int_from(0)).runs())),
Node::lit("ground-cancel").then(Node::arg("комплекс", Value::int_from(1)).runs()),
Node::lit("ground-unload").then(Node::arg("комплекс", Value::int_from(1)).runs()),
Node::lit("ground-load").then(Node::arg("комплекс", Value::int_from(1)).runs()),
Node::lit("strike").then(Node::arg("номер", Value::int_from(1)).runs()),
@@ -239,7 +240,7 @@ mod tests {
fn completion_offers_the_next_word_only() {
let top = complete("", &[]);
for w in ["menu", "monitor", "grid", "replay", "scenario", "why", "raid", "repair", "import", "ew", "flare", "move",
"target", "give", "deploy", "wave", "clear", "targets", "damage", "truth", "shader", "hold", "lastchance", "roles", "doctrine", "stats", "sites", "strike", "ground-stock", "ground-load", "ground-unload"] {
"target", "give", "deploy", "wave", "clear", "targets", "damage", "truth", "shader", "hold", "lastchance", "roles", "doctrine", "stats", "sites", "strike", "ground-stock", "ground-load", "ground-unload", "ground-cancel"] {
assert!(top.contains(&w.to_string()), "{w} in {top:?}");
}
assert_eq!(top.len(), 33);