From 9e403132280e1acbdf659d7f3b9ce20f1a9cfc0d Mon Sep 17 00:00:00 2001 From: autocommitter Date: Tue, 8 Apr 2025 00:00:02 +0200 Subject: State at 2025-04-08 --- m4/nodes/(4045,24,5650).lua | 19 +++++++++++++++++++ m4/nodes/(4049,24,5652).lua | 19 ------------------- 2 files changed, 19 insertions(+), 19 deletions(-) create mode 100644 m4/nodes/(4045,24,5650).lua delete mode 100644 m4/nodes/(4049,24,5652).lua (limited to 'm4/nodes') diff --git a/m4/nodes/(4045,24,5650).lua b/m4/nodes/(4045,24,5650).lua new file mode 100644 index 0000000..037b135 --- /dev/null +++ b/m4/nodes/(4045,24,5650).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 diff --git a/m4/nodes/(4049,24,5652).lua b/m4/nodes/(4049,24,5652).lua deleted file mode 100644 index 037b135..0000000 --- a/m4/nodes/(4049,24,5652).lua +++ /dev/null @@ -1,19 +0,0 @@ -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 -- cgit v1.2.3