diff options
author | Joël Simoneau <simoneaujoel@gmail.com> | 2025-01-22 15:41:31 -0500 |
---|---|---|
committer | Joël Simoneau <simoneaujoel@gmail.com> | 2025-01-22 15:41:31 -0500 |
commit | a18976056bcceddf253263238ff6cef7ca6f9530 (patch) | |
tree | 18ca7812f2eae955126cdc503718ee7b40119ecc /tools/gencode.js | |
parent | d175614dee7eeb82060e2cfd5d32efa8a6a9182b (diff) | |
download | vijayanagara-a18976056bcceddf253263238ff6cef7ca6f9530.tar.gz |
Event auto_place_rebel
Diffstat (limited to 'tools/gencode.js')
-rw-r--r-- | tools/gencode.js | 5 |
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": |