diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-03-25 13:15:04 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-05-03 18:48:16 +0200 |
commit | 6719398b5723fc67ad199926803e6a3b9d123ea7 (patch) | |
tree | c5a0814d317f161ca9f6602c02fc3a89073f4f7c /tools | |
parent | 93b0cf7f51b86faa4dc9990a77473b1a7e6f718e (diff) | |
download | andean-abyss-6719398b5723fc67ad199926803e6a3b9d123ea7.tar.gz |
auto_place in events
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gencode.js | 3 |
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": |