From 6719398b5723fc67ad199926803e6a3b9d123ea7 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 25 Mar 2023 13:15:04 +0100 Subject: auto_place in events --- tools/gencode.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') 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": -- cgit v1.2.3