summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-03-25 13:15:04 +0100
committerTor Andersson <tor@ccxvii.net>2023-05-03 18:48:16 +0200
commit6719398b5723fc67ad199926803e6a3b9d123ea7 (patch)
treec5a0814d317f161ca9f6602c02fc3a89073f4f7c /tools
parent93b0cf7f51b86faa4dc9990a77473b1a7e6f718e (diff)
downloadandean-abyss-6719398b5723fc67ad199926803e6a3b9d123ea7.tar.gz
auto_place in events
Diffstat (limited to 'tools')
-rw-r--r--tools/gencode.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/gencode.js b/tools/gencode.js
index 4ac01d1..efe1556 100644
--- a/tools/gencode.js
+++ b/tools/gencode.js
@@ -94,6 +94,9 @@ for (let line of fs.readFileSync("events.txt", "utf-8").split("\n")) {
case "place_undo":
emit([ "place", 1, 0, line[1], line[2] ])
break
+ case "auto_place":
+ emit([ "auto_place", 0, 0, line[1], line[2] ])
+ break
case "log":
case "prompt":