summaryrefslogtreecommitdiff
path: root/tools/gencode.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gencode.js')
-rw-r--r--tools/gencode.js4
1 files changed, 4 insertions, 0 deletions
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