From a18976056bcceddf253263238ff6cef7ca6f9530 Mon Sep 17 00:00:00 2001 From: Joël Simoneau Date: Wed, 22 Jan 2025 15:41:31 -0500 Subject: Event auto_place_rebel --- tools/gencode.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools') 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": -- cgit v1.2.3