diff options
author | Joël Simoneau <simoneaujoel@gmail.com> | 2025-02-19 11:43:55 -0500 |
---|---|---|
committer | Joël Simoneau <simoneaujoel@gmail.com> | 2025-02-19 11:43:55 -0500 |
commit | cfe74b0842ddc33e281570e9c186868431529a36 (patch) | |
tree | 98ca0de7f6c87260413a7762fe843b1d9ec176cf /tools | |
parent | 7ad6c3eec0a3dc96c0f001cb5ad0dbf2194b9abd (diff) | |
download | vijayanagara-cfe74b0842ddc33e281570e9c186868431529a36.tar.gz |
Move_to
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gencode.js | 4 |
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 |