summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJoël Simoneau <simoneaujoel@gmail.com>2025-01-22 15:41:31 -0500
committerJoël Simoneau <simoneaujoel@gmail.com>2025-01-22 15:41:31 -0500
commita18976056bcceddf253263238ff6cef7ca6f9530 (patch)
tree18ca7812f2eae955126cdc503718ee7b40119ecc /tools
parentd175614dee7eeb82060e2cfd5d32efa8a6a9182b (diff)
downloadvijayanagara-a18976056bcceddf253263238ff6cef7ca6f9530.tar.gz
Event auto_place_rebel
Diffstat (limited to 'tools')
-rw-r--r--tools/gencode.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/gencode.js b/tools/gencode.js
index d155140..946464f 100644
--- a/tools/gencode.js
+++ b/tools/gencode.js
@@ -112,7 +112,10 @@ for (let line of fs.readFileSync("events.txt", "utf-8").split("\n")) {
emit([ "place", false, 1, line[1], line[2] ])
break
case "auto_place":
- emit([ "auto_place", false, 0, line[1], line[2] ])
+ emit([ "auto_place", false, 0, false, line[1], line[2] ])
+ break
+ case "auto_place_rebel":
+ emit([ "auto_place", false, 0, true, line[1], line[2] ])
break
case "log":