diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-12-16 00:00:02 +0100 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-12-16 00:00:02 +0100 |
commit | 491d9e6345c1fc3df828743fb906150b3187892e (patch) | |
tree | 23cd073c3486a24dd96c5da46d04904c66450866 /m4/nodes | |
parent | 9fbdc88203ca646c82e19eca812a102f9e537175 (diff) | |
download | luaatc_envs-491d9e6345c1fc3df828743fb906150b3187892e.tar.gz luaatc_envs-491d9e6345c1fc3df828743fb906150b3187892e.tar.bz2 luaatc_envs-491d9e6345c1fc3df828743fb906150b3187892e.zip |
State at 2024-12-16
Diffstat (limited to 'm4/nodes')
-rw-r--r-- | m4/nodes/(4049,24,5652).lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/m4/nodes/(4049,24,5652).lua b/m4/nodes/(4049,24,5652).lua new file mode 100644 index 0000000..037b135 --- /dev/null +++ b/m4/nodes/(4049,24,5652).lua @@ -0,0 +1,19 @@ +do return end +-- delete above line to re-enable reversing into Factory +if event.schedule then + if atc_id and atc_id == event.msg then + schedule_in("0;04",atc_id) + print("ping") + return + end + atc_send_to_train(event.msg, "B0WRS3") + setstate(POS(4051,24,5653),"cr") + print("end: "..event.msg) + return +end +if event.train and atc_arrow and get_line() == "E8" then + atc_send("B2") + schedule_in("0;04",atc_id) + print("Start "..atc_id) + return +end
\ No newline at end of file |