diff options
Diffstat (limited to 'durt/nodes/(1906,7,9136).lua')
-rw-r--r-- | durt/nodes/(1906,7,9136).lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/durt/nodes/(1906,7,9136).lua b/durt/nodes/(1906,7,9136).lua index f83e4fc..2432086 100644 --- a/durt/nodes/(1906,7,9136).lua +++ b/durt/nodes/(1906,7,9136).lua @@ -16,11 +16,15 @@ if event.approach and not event.has_entered then end if event.train and atc_arrow then +print("triggered") digiline_send("mine_counter_lcd",S.yards.WOA.mine_count) if F.has_rc("WOA_mine_around") then +print("has around") if F.has_rc("WOA_around_active") then +print("around active") F.remove_rc(around_rc_list) unset_autocouple() +print(S.yards.WOA.mine_count) if S.yards.WOA.mine_count < 7 then -- send train back to yard S.yards.WOA.mine_count = S.yards.WOA.mine_count + 1 print("WOA Mine Count: "..S.yards.WOA.mine_count) @@ -35,10 +39,12 @@ if event.train and atc_arrow then end atc_set_text_outside("Warmoneaye Mining Co.\nLocomotive Switching Ends") split_off_locomotive("B0A0") +print("split success") set_autocouple() F.remove_rc({"WOA_shed_left"}) F.add_rc(around_rc_list) atc_send("S4A1") +print("completed") return end end |