From cfe74b0842ddc33e281570e9c186868431529a36 Mon Sep 17 00:00:00 2001 From: Joël Simoneau Date: Wed, 19 Feb 2025 11:43:55 -0500 Subject: Move_to --- tools/gencode.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools') diff --git a/tools/gencode.js b/tools/gencode.js index e70794e..fb111bc 100644 --- a/tools/gencode.js +++ b/tools/gencode.js @@ -105,6 +105,10 @@ for (let line of fs.readFileSync("events.txt", "utf-8").split("\n")) { emit([ "shipment", false, 0, line[1], "(p,s)=>" + line.slice(2).join(" ") ]) break + case "move_to": + emit([ "move_to", line[1], "(p,s)=>" + line.slice(2).join(" ") ]) + break + case "place": emit([ "place", false, 0, line[1], line[2], line[3] ]) break -- cgit v1.2.3