summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJoël Simoneau <simoneaujoel@gmail.com>2025-02-19 11:43:55 -0500
committerJoël Simoneau <simoneaujoel@gmail.com>2025-02-19 11:43:55 -0500
commitcfe74b0842ddc33e281570e9c186868431529a36 (patch)
tree98ca0de7f6c87260413a7762fe843b1d9ec176cf /tools
parent7ad6c3eec0a3dc96c0f001cb5ad0dbf2194b9abd (diff)
downloadvijayanagara-cfe74b0842ddc33e281570e9c186868431529a36.tar.gz
Move_to
Diffstat (limited to 'tools')
-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