summaryrefslogtreecommitdiff
path: root/m4/nodes/(4049,24,5652).lua
diff options
context:
space:
mode:
Diffstat (limited to 'm4/nodes/(4049,24,5652).lua')
-rw-r--r--m4/nodes/(4049,24,5652).lua19
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