summaryrefslogtreecommitdiff
path: root/durt/nodes/(-2080,3,822).lua
diff options
context:
space:
mode:
Diffstat (limited to 'durt/nodes/(-2080,3,822).lua')
-rw-r--r--durt/nodes/(-2080,3,822).lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/durt/nodes/(-2080,3,822).lua b/durt/nodes/(-2080,3,822).lua
index d450d7d..bc97348 100644
--- a/durt/nodes/(-2080,3,822).lua
+++ b/durt/nodes/(-2080,3,822).lua
@@ -6,13 +6,14 @@ if type(rc) == "string" then rc = function() return "" end end
if rc():match("ArcLoad_NOSHUNT") then return end
if event.train and atc_arrow then
- print(get_rc())
if getstate(indicator) == "green" then
F.remove_rc(shunting_rc,true)
atc_send("S0WRD1A1S2D10SM")
setstate(indicator,"red")
set_rc(rc().." ArcLoad_exit")
+ print("Arcload departing")
else
+ print("Arcload arrived")
local o_text = atc_get_text_outside() or ""
atc_set_text_outside("Waiting for Locomotive")
split_off_locomotive("A0B0",1)