From 67cf6aa5ec027ccf1e9a414486258c892e7dc1c3 Mon Sep 17 00:00:00 2001 From: autocommitter Date: Mon, 22 Apr 2024 14:56:42 +0200 Subject: State at 2022-03-28 --- durt/nodes/(-4129,13,-5726).lua | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 durt/nodes/(-4129,13,-5726).lua (limited to 'durt/nodes/(-4129,13,-5726).lua') diff --git a/durt/nodes/(-4129,13,-5726).lua b/durt/nodes/(-4129,13,-5726).lua new file mode 100644 index 0000000..2f179db --- /dev/null +++ b/durt/nodes/(-4129,13,-5726).lua @@ -0,0 +1,28 @@ +if event.train then + if atc_arrow then + if F.has_rc("DLG_exit_north") then + F.remove_rc({"DLG_exit_north"}) + return + end + if F.has_rc("DLG_north_reverse") then + schedule_in(";01",atc_id) + return + end + else + if F.has_rc("DLG_north_reverse_couple") then + atc_send("CplD1S2") + return + end + end +end + + +if event.schedule then + if event.msg == atc_id then + schedule_in(";01",event.msg) + return + else + atc_send_to_train(event.msg,"S0WRS3") + return + end +end \ No newline at end of file -- cgit v1.2.3