diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:57:49 +0200 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:57:49 +0200 |
commit | b48d879c279b5f1ee1b6fe6dc392ba77708de173 (patch) | |
tree | 21f5de44bda0f50bcf16d7aeaf30582c56a3f45c /durt | |
parent | 68dd87842504e16bd25b33500b80f7c0d3e4f7f0 (diff) | |
download | luaatc_envs-b48d879c279b5f1ee1b6fe6dc392ba77708de173.tar.gz luaatc_envs-b48d879c279b5f1ee1b6fe6dc392ba77708de173.tar.bz2 luaatc_envs-b48d879c279b5f1ee1b6fe6dc392ba77708de173.zip |
State at 2022-06-27
Diffstat (limited to 'durt')
-rw-r--r-- | durt/nodes/(-678,20,2478).lua | 1 | ||||
-rw-r--r-- | durt/nodes/(1904,8,9057).lua | 3 | ||||
-rw-r--r-- | durt/nodes/(1906,7,9136).lua | 2 | ||||
-rw-r--r-- | durt/nodes/(1949,7,9112).lua | 1 |
4 files changed, 4 insertions, 3 deletions
diff --git a/durt/nodes/(-678,20,2478).lua b/durt/nodes/(-678,20,2478).lua index 7b0b847..9d4e471 100644 --- a/durt/nodes/(-678,20,2478).lua +++ b/durt/nodes/(-678,20,2478).lua @@ -1,2 +1,3 @@ +do return end -- approach siding
atc_send("B0")
if S.yard_active then
interrupt(10, "recheck")
else
atc_send("S4")
S.rc = get_rc()
step_fc()
S.yard_active = true
set_route("CANNERY_WAITING", "APPROACH YARD") set_route("CANNERY_APPROACH","PICKUP")
end
\ No newline at end of file diff --git a/durt/nodes/(1904,8,9057).lua b/durt/nodes/(1904,8,9057).lua index 90f6a15..0851b53 100644 --- a/durt/nodes/(1904,8,9057).lua +++ b/durt/nodes/(1904,8,9057).lua @@ -7,11 +7,10 @@ end if event.train and atc_arrow then atc_send("S4") if F.has_rc("WOA_mine_around") then - F.remove_rc("FREIGHT") if train_length() == 1 then F.add_rc("WOA_ttb_s") else - F.add_rc("WOA_freight_left") + F.add_rc("WOA_shed_left") end end atc_set_ars_disable(false) diff --git a/durt/nodes/(1906,7,9136).lua b/durt/nodes/(1906,7,9136).lua index a80aa6a..df38109 100644 --- a/durt/nodes/(1906,7,9136).lua +++ b/durt/nodes/(1906,7,9136).lua @@ -1,3 +1,4 @@ +--base RC: FREIGHT WOA_IYARD IYARD IP_COLLECT_WOA_mine_empty IP_RTS WOA_mine_around local around_rc_list = { "WOA_around_active", "WOA_rev_north", @@ -26,6 +27,7 @@ if event.train and atc_arrow then atc_set_text_outside("Warmoneaye Mining Co.\nLocomotive Switching Ends") split_off_locomotive("B0A0") set_autocouple() + F.remove_rc({"WOA_shed_left"}) F.add_rc(around_rc_list) atc_send("S4A1") return diff --git a/durt/nodes/(1949,7,9112).lua b/durt/nodes/(1949,7,9112).lua index f434548..06aee8c 100644 --- a/durt/nodes/(1949,7,9112).lua +++ b/durt/nodes/(1949,7,9112).lua @@ -19,7 +19,6 @@ if (event.channel == "train_ctl" and event.msg == "send") or ((event.ext_int or F.indicator(ind,true) return end - F.add_rc("FREIGHT") set_route(POS(1942,8,9102),"Exit South") atc_send("I+S0WRD2;SMA1") F.indicator(ind,false) |