summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Crossroads/nodes/(1769,10,652).lua1
-rw-r--r--Crossroads/nodes/(1772,10,649).lua1
-rw-r--r--Crossroads/nodes/(1843,10,652).lua1
-rw-r--r--Crossroads/nodes/(1844,20,652).lua1
-rw-r--r--Crossroads/nodes/(1844,20,706).lua1
-rw-r--r--Crossroads/nodes/(1844,20,760).lua1
-rw-r--r--Crossroads/nodes/(1846,10,649).lua1
-rw-r--r--Crossroads/nodes/(1918,20,649).lua1
-rw-r--r--Crossroads/nodes/(1918,20,703).lua1
-rw-r--r--Crossroads/nodes/(1918,20,757).lua1
-rw-r--r--Crossroads/nodes/(1919,10,649).lua1
-rw-r--r--Crossroads/nodes/(1919,10,703).lua1
-rw-r--r--auto_yards/nodes/(-1947,16,837).lua2
-rw-r--r--auto_yards/nodes/(-2029,19,733).lua36
-rw-r--r--auto_yards/nodes/(-2042,19,723).lua8
-rw-r--r--auto_yards/nodes/(771,14,-16).lua55
-rw-r--r--auto_yards/nodes/(775,13,-20).lua1
-rw-r--r--auto_yards/nodes/(783,10,-57).lua2
-rw-r--r--auto_yards/nodes/(785,10,40).lua2
-rw-r--r--auto_yards/nodes/(789,10,-31).lua1
-rw-r--r--auto_yards/nodes/(789,10,13).lua1
-rw-r--r--auto_yards/nodes/(792,10,-31).lua1
-rw-r--r--auto_yards/nodes/(792,10,11).lua1
-rw-r--r--auto_yards/nodes/(794,10,31).lua46
-rw-r--r--auto_yards/nodes/(796,10,-39).lua1
-rw-r--r--auto_yards/nodes/(796,10,-54).lua46
-rw-r--r--auto_yards/nodes/(796,10,3).lua1
-rw-r--r--auto_yards/nodes/(799,10,-37).lua1
-rw-r--r--auto_yards/nodes/(799,10,3).lua1
-rw-r--r--durt/nodes/(-1973,16,800).lua28
-rw-r--r--durt/nodes/(-2039,19,719).lua9
-rw-r--r--durt/nodes/(-4138,13,-5778).lua7
-rw-r--r--far/nodes/(1753,8,1570).lua2
-rw-r--r--far/nodes/(30856,15,1814).lua2
-rw-r--r--far/nodes/(30863,15,1807).lua2
-rw-r--r--far/nodes/(30870,15,1800).lua2
-rw-r--r--il_timetable/nodes/(-1921,13,-4541).lua2
-rw-r--r--il_timetable/nodes/(-699,1,-426).lua2
-rw-r--r--il_timetable/nodes/(4100,4,5242).lua2
-rw-r--r--m4/nodes/(-1524,-11,-4611).lua3
-rw-r--r--m4/nodes/(-1921,13,-4576).lua5
-rw-r--r--m4/nodes/(-1967,-11,-4415).lua3
-rw-r--r--m4/nodes/(1345,3,-5637).lua5
-rw-r--r--subway/nodes/(-767,8,-282).lua2
44 files changed, 247 insertions, 47 deletions
diff --git a/Crossroads/nodes/(1769,10,652).lua b/Crossroads/nodes/(1769,10,652).lua
deleted file mode 100644
index 4f300b4..0000000
--- a/Crossroads/nodes/(1769,10,652).lua
+++ /dev/null
@@ -1 +0,0 @@
-F.stn2gen("crs_7_1","W","R") \ No newline at end of file
diff --git a/Crossroads/nodes/(1772,10,649).lua b/Crossroads/nodes/(1772,10,649).lua
deleted file mode 100644
index 9582a24..0000000
--- a/Crossroads/nodes/(1772,10,649).lua
+++ /dev/null
@@ -1 +0,0 @@
-F.stn2gen("crs_7_1","E","R") \ No newline at end of file
diff --git a/Crossroads/nodes/(1843,10,652).lua b/Crossroads/nodes/(1843,10,652).lua
deleted file mode 100644
index 6804b79..0000000
--- a/Crossroads/nodes/(1843,10,652).lua
+++ /dev/null
@@ -1 +0,0 @@
-F.stn2gen("crs_7_3","W","R") \ No newline at end of file
diff --git a/Crossroads/nodes/(1844,20,652).lua b/Crossroads/nodes/(1844,20,652).lua
deleted file mode 100644
index 1b25106..0000000
--- a/Crossroads/nodes/(1844,20,652).lua
+++ /dev/null
@@ -1 +0,0 @@
-F.stn2gen("crs_7_3", "N", "R") \ No newline at end of file
diff --git a/Crossroads/nodes/(1844,20,706).lua b/Crossroads/nodes/(1844,20,706).lua
deleted file mode 100644
index 382af54..0000000
--- a/Crossroads/nodes/(1844,20,706).lua
+++ /dev/null
@@ -1 +0,0 @@
-F.stn2gen("crs_6_3", "N", "R") \ No newline at end of file
diff --git a/Crossroads/nodes/(1844,20,760).lua b/Crossroads/nodes/(1844,20,760).lua
deleted file mode 100644
index 589b926..0000000
--- a/Crossroads/nodes/(1844,20,760).lua
+++ /dev/null
@@ -1 +0,0 @@
-F.stn2gen("crs_5_3", "N", "R") \ No newline at end of file
diff --git a/Crossroads/nodes/(1846,10,649).lua b/Crossroads/nodes/(1846,10,649).lua
deleted file mode 100644
index af71d24..0000000
--- a/Crossroads/nodes/(1846,10,649).lua
+++ /dev/null
@@ -1 +0,0 @@
-F.stn2gen("crs_7_3","E","R") \ No newline at end of file
diff --git a/Crossroads/nodes/(1918,20,649).lua b/Crossroads/nodes/(1918,20,649).lua
deleted file mode 100644
index 7ec3101..0000000
--- a/Crossroads/nodes/(1918,20,649).lua
+++ /dev/null
@@ -1 +0,0 @@
-F.stn2gen("crs_7_5", "S", "R") \ No newline at end of file
diff --git a/Crossroads/nodes/(1918,20,703).lua b/Crossroads/nodes/(1918,20,703).lua
deleted file mode 100644
index 4e69e03..0000000
--- a/Crossroads/nodes/(1918,20,703).lua
+++ /dev/null
@@ -1 +0,0 @@
-F.stn2gen("crs_6_5", "S", "R") \ No newline at end of file
diff --git a/Crossroads/nodes/(1918,20,757).lua b/Crossroads/nodes/(1918,20,757).lua
deleted file mode 100644
index 3e4fbcf..0000000
--- a/Crossroads/nodes/(1918,20,757).lua
+++ /dev/null
@@ -1 +0,0 @@
-F.stn2gen("crs_5_5", "S", "R") \ No newline at end of file
diff --git a/Crossroads/nodes/(1919,10,649).lua b/Crossroads/nodes/(1919,10,649).lua
deleted file mode 100644
index a4a5cab..0000000
--- a/Crossroads/nodes/(1919,10,649).lua
+++ /dev/null
@@ -1 +0,0 @@
-F.stn2gen("crs_7_5","W","R", true, true) \ No newline at end of file
diff --git a/Crossroads/nodes/(1919,10,703).lua b/Crossroads/nodes/(1919,10,703).lua
deleted file mode 100644
index 2bb729b..0000000
--- a/Crossroads/nodes/(1919,10,703).lua
+++ /dev/null
@@ -1 +0,0 @@
-F.stn2gen("crs_6_5","W","R",true,true) \ No newline at end of file
diff --git a/auto_yards/nodes/(-1947,16,837).lua b/auto_yards/nodes/(-1947,16,837).lua
index 0a82dfd..5e2841b 100644
--- a/auto_yards/nodes/(-1947,16,837).lua
+++ b/auto_yards/nodes/(-1947,16,837).lua
@@ -1,2 +1,2 @@
-S.yards.ARC.notify = {['S27_EXPORT'] = true}
+S.yards.ARC.notify = {['S27'] = true}
print(S.yards.ARC.notify) \ No newline at end of file
diff --git a/auto_yards/nodes/(-2029,19,733).lua b/auto_yards/nodes/(-2029,19,733).lua
index 58ed28c..afbb94b 100644
--- a/auto_yards/nodes/(-2029,19,733).lua
+++ b/auto_yards/nodes/(-2029,19,733).lua
@@ -1,28 +1,36 @@
local yard_id = "ARC"
+
+__approach_callback_mode = 1
+if event.approach and not event.has_entered then --disable ARS for all approaching trains
+ atc_set_ars_disable(true)
+ atc_set_lzb_tsr(1)
+ return
+end
+
if event.train then
- -- direct train to the headshunt to reenter the yard
if F.has_rc("ARC_YARD_REENTRY") then
-- loco will use S23-S approach track as headshunt and re-enter yard
-- RC will be removed by the headshunt controller (req to trigger it)
-- manually set the route here before ARS has a chance
set_route(POS(-2033,21,731),"Yard Reentry (LENGTH LIMIT)")
- -- defer re-enabling ARS to ensure the route has been accepted, if not set
+ F.indicator(S.yards[yard_id].active_indicator_pos,false)
+
+ -- Extract the second exit director from ARC_2nd_EXIT_x and insert if available
+ -- should be safe to add it now as the route has already been set to reenter the yard first
+ local rc = F.get_rc_safe():match("ARC_2ND_EXIT_(%S+)")
+ print("Second Exit RC: "..tostring(rc))
+ if rc then
+ F.remove_rc_match("ARC_2ND_EXIT_%S+")
+ F.add_rc(rc)
+ print(F.get_rc_safe())
+ end
+
+ -- defer re-enabling ARS to ensure the route has been accepted, or at least queued
atc_send("S4D1A1")
- return
+ return
end
- -- deal with ARC_2nd_EXIT_rc
- local rc = F.get_rc_safe():match("ARC_2ND_EXIT_(%S+)")
- print(rc)
- if rc then
- F.remove_rc_match("ARC_2ND_EXIT_%S+")
- F.add_rc(rc)
- print(F.get_rc_safe())
- atc_set_ars_disable(false)
- atc_send("SM")
- return
- end
-- disregard light exit locos
if F.has_rc(yard_id.."_LIGHT_EXIT") then
F.remove_rc(yard_id.."_LIGHT_EXIT")
diff --git a/auto_yards/nodes/(-2042,19,723).lua b/auto_yards/nodes/(-2042,19,723).lua
new file mode 100644
index 0000000..a0d12bd
--- /dev/null
+++ b/auto_yards/nodes/(-2042,19,723).lua
@@ -0,0 +1,8 @@
+if event.train and atc_arrow then
+ F.remove_rc_match("ARC_LOCOS_%S+")
+ F.remove_rc_match("ARC_WAGONS_%S+")
+ F.remove_rc({
+ "ARC_DEPART",
+ "ARC_FINAL_COLLECT"
+ })
+end \ No newline at end of file
diff --git a/auto_yards/nodes/(771,14,-16).lua b/auto_yards/nodes/(771,14,-16).lua
new file mode 100644
index 0000000..447dce1
--- /dev/null
+++ b/auto_yards/nodes/(771,14,-16).lua
@@ -0,0 +1,55 @@
+--leekston collection controller
+local up_dir = "North"
+local down_dir = "South"
+local up_dir_indicator = POS(771,13,-14)
+local down_dir_indicator = POS(771,13,-15)
+local exit_indicator_pos = POS(771,13,-18)
+
+local userlist = {
+ "Maverick2797",
+ "mary4"
+}
+
+if event.ext_int then --to be pinged by the departing LHF train only
+ local dir
+ if F.indicator(exit_indicator_pos) then
+ F.indicator(up_dir_indicator, false)
+ dir = up_dir
+ else
+ F.indicator(down_dir_indicator, false)
+ dir = down_dir
+ end
+ digiline_send("lcd",string.format("%s | Train collected and departed %sbound",rwt.to_string(rwt.now()), dir))
+ return
+end
+
+--confirm user is actually allowed to use this system
+local permitted_user = false
+for _,name in pairs(userlist) do
+ if name == event.name then
+ permitted_user = name
+ break
+ end
+end
+if not permitted_user then
+ digiline_send("lcd","User is not permitted to use this. Contact a moderator")
+ return
+end
+
+local dir = ""
+--cycle through the departure options
+if F.indicator(up_dir_indicator) then
+ F.indicator(up_dir_indicator, false)
+ F.indicator(down_dir_indicator, true)
+ dir = down_dir.."bound"
+elseif F.indicator(down_dir_indicator) then
+ F.indicator(up_dir_indicator, false)
+ F.indicator(down_dir_indicator, false)
+ dir = "Disabled"
+else
+ F.indicator(up_dir_indicator, true)
+ F.indicator(down_dir_indicator, false)
+ dir = up_dir.."bound"
+end
+
+digiline_send("lcd",string.format("%s\nCollection %s.\nUser %s", rwt.to_string(rwt.now()), dir, event.name)) \ No newline at end of file
diff --git a/auto_yards/nodes/(775,13,-20).lua b/auto_yards/nodes/(775,13,-20).lua
new file mode 100644
index 0000000..8cd2bb9
--- /dev/null
+++ b/auto_yards/nodes/(775,13,-20).lua
@@ -0,0 +1 @@
+interrupt_pos(POS(771,14,-16)) \ No newline at end of file
diff --git a/auto_yards/nodes/(783,10,-57).lua b/auto_yards/nodes/(783,10,-57).lua
new file mode 100644
index 0000000..e56cc30
--- /dev/null
+++ b/auto_yards/nodes/(783,10,-57).lua
@@ -0,0 +1,2 @@
+if not F.has_rc("LEEK_EXIT") then return end
+-- remove any extra yard RCs here \ No newline at end of file
diff --git a/auto_yards/nodes/(785,10,40).lua b/auto_yards/nodes/(785,10,40).lua
new file mode 100644
index 0000000..e56cc30
--- /dev/null
+++ b/auto_yards/nodes/(785,10,40).lua
@@ -0,0 +1,2 @@
+if not F.has_rc("LEEK_EXIT") then return end
+-- remove any extra yard RCs here \ No newline at end of file
diff --git a/auto_yards/nodes/(789,10,-31).lua b/auto_yards/nodes/(789,10,-31).lua
new file mode 100644
index 0000000..e877483
--- /dev/null
+++ b/auto_yards/nodes/(789,10,-31).lua
@@ -0,0 +1 @@
+-- arrival, dir = false \ No newline at end of file
diff --git a/auto_yards/nodes/(789,10,13).lua b/auto_yards/nodes/(789,10,13).lua
new file mode 100644
index 0000000..4d16159
--- /dev/null
+++ b/auto_yards/nodes/(789,10,13).lua
@@ -0,0 +1 @@
+-- arrival, dir = true \ No newline at end of file
diff --git a/auto_yards/nodes/(792,10,-31).lua b/auto_yards/nodes/(792,10,-31).lua
new file mode 100644
index 0000000..fa98cc9
--- /dev/null
+++ b/auto_yards/nodes/(792,10,-31).lua
@@ -0,0 +1 @@
+-- continue onwards \ No newline at end of file
diff --git a/auto_yards/nodes/(792,10,11).lua b/auto_yards/nodes/(792,10,11).lua
new file mode 100644
index 0000000..ece3c16
--- /dev/null
+++ b/auto_yards/nodes/(792,10,11).lua
@@ -0,0 +1 @@
+-- continue northwards \ No newline at end of file
diff --git a/auto_yards/nodes/(794,10,31).lua b/auto_yards/nodes/(794,10,31).lua
new file mode 100644
index 0000000..f7e80a9
--- /dev/null
+++ b/auto_yards/nodes/(794,10,31).lua
@@ -0,0 +1,46 @@
+-- Automatic bouncer for headshunts, assuming longer headshunt than train length. Arrow points into headshunt
+local rev_rc = "LEEK_HS_north"
+local rm_rc = true
+local autocouple = nil
+local rm_cpl_rc = true
+
+__approach_callback_mode = 1
+
+if event.approach and not event.has_entered then
+ if not F.has_rc(rev_rc) then return end
+ atc_set_lzb_tsr(3)
+ atc_set_ars_disable(true)
+ return
+end
+
+if event.train then
+ if not atc_arrow then --train has bounced
+ if F.has_rc(autocouple) then
+ atc_send("CplS0WD2S1")
+ if rm_cpl_rc then F.remove_rc({autocouple}) end
+ end
+ return
+ end
+
+ if not F.has_rc(rev_rc) then --not our train. disregard
+ atc_set_ars_disable(false)
+ return
+ end
+ atc_send("S3")
+ if rm_rc then F.remove_rc({rev_rc}) end
+ schedule_in(";01",atc_id)
+ return
+end
+
+if event.schedule then
+ if not atc_id then --bounce the train that just passed
+ atc_send_to_train(event.msg,"B0WRD1A1S3")
+ else
+ if atc_id == event.msg then --train hasn't fully passed yet, wait a bit longer
+ schedule_in(";01",atc_id)
+ else -- somehow another train crossed the controller before the first one returned. Unlikely but possible
+ atc_send_to_train(event.msg,"BBOL")
+ atc_send("BBOL")
+ end
+ end
+end \ No newline at end of file
diff --git a/auto_yards/nodes/(796,10,-39).lua b/auto_yards/nodes/(796,10,-39).lua
new file mode 100644
index 0000000..265c211
--- /dev/null
+++ b/auto_yards/nodes/(796,10,-39).lua
@@ -0,0 +1 @@
+-- collection track (controlled by tower UI) \ No newline at end of file
diff --git a/auto_yards/nodes/(796,10,-54).lua b/auto_yards/nodes/(796,10,-54).lua
new file mode 100644
index 0000000..a3f3e42
--- /dev/null
+++ b/auto_yards/nodes/(796,10,-54).lua
@@ -0,0 +1,46 @@
+-- Automatic bouncer for headshunts, assuming longer headshunt than train length. Arrow points into headshunt
+local rev_rc = "LEEK_HS_south"
+local rm_rc = true
+local autocouple = nil
+local rm_cpl_rc = true
+
+__approach_callback_mode = 1
+
+if event.approach and not event.has_entered then
+ if not F.has_rc(rev_rc) then return end
+ atc_set_lzb_tsr(3)
+ atc_set_ars_disable(true)
+ return
+end
+
+if event.train then
+ if not atc_arrow then --train has bounced
+ if F.has_rc(autocouple) then
+ atc_send("CplS0WD2S1")
+ if rm_cpl_rc then F.remove_rc({autocouple}) end
+ end
+ return
+ end
+
+ if not F.has_rc(rev_rc) then --not our train. disregard
+ atc_set_ars_disable(false)
+ return
+ end
+ atc_send("S3")
+ if rm_rc then F.remove_rc({rev_rc}) end
+ schedule_in(";01",atc_id)
+ return
+end
+
+if event.schedule then
+ if not atc_id then --bounce the train that just passed
+ atc_send_to_train(event.msg,"B0WRD1A1S3")
+ else
+ if atc_id == event.msg then --train hasn't fully passed yet, wait a bit longer
+ schedule_in(";01",atc_id)
+ else -- somehow another train crossed the controller before the first one returned. Unlikely but possible
+ atc_send_to_train(event.msg,"BBOL")
+ atc_send("BBOL")
+ end
+ end
+end \ No newline at end of file
diff --git a/auto_yards/nodes/(796,10,3).lua b/auto_yards/nodes/(796,10,3).lua
new file mode 100644
index 0000000..265c211
--- /dev/null
+++ b/auto_yards/nodes/(796,10,3).lua
@@ -0,0 +1 @@
+-- collection track (controlled by tower UI) \ No newline at end of file
diff --git a/auto_yards/nodes/(799,10,-37).lua b/auto_yards/nodes/(799,10,-37).lua
new file mode 100644
index 0000000..1db4581
--- /dev/null
+++ b/auto_yards/nodes/(799,10,-37).lua
@@ -0,0 +1 @@
+-- drop off here from LFH \ No newline at end of file
diff --git a/auto_yards/nodes/(799,10,3).lua b/auto_yards/nodes/(799,10,3).lua
new file mode 100644
index 0000000..1db4581
--- /dev/null
+++ b/auto_yards/nodes/(799,10,3).lua
@@ -0,0 +1 @@
+-- drop off here from LFH \ No newline at end of file
diff --git a/durt/nodes/(-1973,16,800).lua b/durt/nodes/(-1973,16,800).lua
index e886d2b..0e7e05c 100644
--- a/durt/nodes/(-1973,16,800).lua
+++ b/durt/nodes/(-1973,16,800).lua
@@ -6,8 +6,9 @@ local sections ={
store_4 = "032832" -- Destined for Arcadius Basement Loading Dock
}
local function send_train()
- atc_send("S0WRD2A1S4")
- local cmd = { -- collect wagons from BYARD, and park loco in loco siding if no departures at ARC
+ -- define default command to be overwritten if departures/local job available
+ -- collect wagons from BYARD, and park loco in loco siding if no departures at ARC
+ local cmd = {
"FREIGHT",
"ARC_LOCOSTORE",
"ARC_AUTO",
@@ -22,27 +23,28 @@ local function send_train()
"ARC_LIGHT_EXIT"
}
if #section_occupancy(sections.store_4) > 0 then
- if print_notification then print(rwt.to_string(rwt.now()).. " "..notification_id.." send_train() has local job from STORE_4") end
-- perform local job to Arcadius Basement Loading Dock before taking wagons to BYARD
+ if print_notification then print(rwt.to_string(rwt.now()).. " "..notification_id.." send_train() has local job from STORE_4") end
cmd = {
- "FREIGHT", --because it's freight
- "ARC_LOCOSTORE", --technically the loco identifier until we have wagon ID. will be ignored by yard_headshunt because no "ARC_DEPART" etc
- "ARC_YARD_REENTRY", --redirect back into the yard from yard_exit controller. will be checked by yard_exit before ARS triggers
- "ARC_RTS", --basic yard call
- "ARC_COLLECT_ARC_LOAD_DOCK", -- collect req wagons. can be left in place, if train_length == 1 then will return to siding anyway
- "ARC_AUTO_LOCAL_LOADING", --direct to ARC Basement Loading Dock
- "ARC_LOAD", --trigger the loading track
+ "FREIGHT", --because it's freight
+ "ARC_LOCOSTORE", --technically the loco identifier until we have wagon ID. will be ignored by yard_headshunt because no "ARC_DEPART" etc
+ "ARC_YARD_REENTRY", --redirect back into the yard from yard_exit controller. will be checked by yard_exit before ARS triggers
+ "ARC_RTS", --basic yard call
+ "ARC_COLLECT_ARC_LOAD_DOCK", -- collect req wagons. can be left in place, if train_length == 1 then will return to siding anyway
+ "ARC_AUTO_LOCAL_LOADING", --direct to ARC Basement Loading Dock
+ "ARC_LOAD", --trigger the loading track
}
elseif #section_occupancy(sections.departures) > 0 then
+ -- reenter yard, collect departures and head to Byard
if print_notification then print(rwt.to_string(rwt.now()).. " "..notification_id.." send_train() has local job from DEPARTURES") end
- cmd = { -- collect wagons from BYARD, and park loco in loco siding if no departures at ARC
+ cmd = {
"FREIGHT",
"ARC_LOCOSTORE",
"ARC_AUTO",
+ "ARC_YARD_REENTRY", -- trigger yard reentry on light exit
+ "ARC_2ND_EXIT_ARC_AUTO_S23S", -- exit direction after
"ARC_RTS",
"ARC_COLLECT_ARC_SB",
- "ARC_YARD_REENTRY",
- "ARC_2ND_EXIT_ARC_AUTO_S23S",
"S23E3N",
"BYARD",
"BY_RTS",
diff --git a/durt/nodes/(-2039,19,719).lua b/durt/nodes/(-2039,19,719).lua
index 107d03f..5a090ad 100644
--- a/durt/nodes/(-2039,19,719).lua
+++ b/durt/nodes/(-2039,19,719).lua
@@ -28,6 +28,15 @@ if event.train then
end
if rm_rc then F.remove_rc({rev_rc}) end
schedule_in(";01",atc_id)
+
+ -- remove stray control flags
+ F.remove_rc_match("ARC_LOCOS_%S+")
+ F.remove_rc_match("ARC_WAGONS_%S+")
+ F.remove_rc({
+ "ARC_DEPART",
+ "ARC_FINAL_COLLECT"
+ })
+
return
end
diff --git a/durt/nodes/(-4138,13,-5778).lua b/durt/nodes/(-4138,13,-5778).lua
new file mode 100644
index 0000000..7d57cd6
--- /dev/null
+++ b/durt/nodes/(-4138,13,-5778).lua
@@ -0,0 +1,7 @@
+print(rwt.to_string(rwt.now()))
+local fc_array = get_fc()
+for idx,list in ipairs(fc_array) do
+ fc_array[idx] = list:split("!",true)
+end
+print(fc_array)
+print(get_fc_index()) \ No newline at end of file
diff --git a/far/nodes/(1753,8,1570).lua b/far/nodes/(1753,8,1570).lua
index de0abbe..7d945dc 100644
--- a/far/nodes/(1753,8,1570).lua
+++ b/far/nodes/(1753,8,1570).lua
@@ -7,7 +7,7 @@ F.save_train(POS(1755,8,1570), "west")
F.ttp_begin({
stn = "Salt Factory", -- station name
tt = "FAR_E", -- timetable ID
- depint = "12;00", --departure slot interval
+ depint = "8;00", --departure slot interval
depoff = "00;00", --departure slot offset
doorside = "L",
reverse = true,
diff --git a/far/nodes/(30856,15,1814).lua b/far/nodes/(30856,15,1814).lua
index 21c8a05..919a0cc 100644
--- a/far/nodes/(30856,15,1814).lua
+++ b/far/nodes/(30856,15,1814).lua
@@ -7,7 +7,7 @@ F.save_train(POS(30856,15,1814), "east")
F.ttp_begin({
stn = "Fareast End", -- station name
tt = "FAR_W", -- timetable ID
- depint = "12;00", --departure slot interval
+ depint = "8;00", --departure slot interval
depoff = "00;00", --departure slot offset
doorside = "R",
reverse = false,
diff --git a/far/nodes/(30863,15,1807).lua b/far/nodes/(30863,15,1807).lua
index bdcac10..f42aa48 100644
--- a/far/nodes/(30863,15,1807).lua
+++ b/far/nodes/(30863,15,1807).lua
@@ -7,7 +7,7 @@ F.save_train(POS(30863,15,1807), "east")
F.ttp_begin({
stn = "Fareast End", -- station name
tt = "FAR_W", -- timetable ID
- depint = "12;00", --departure slot interval
+ depint = "8;00", --departure slot interval
depoff = "00;00", --departure slot offset
doorside = "R",
reverse = false,
diff --git a/far/nodes/(30870,15,1800).lua b/far/nodes/(30870,15,1800).lua
index 60180b5..273875d 100644
--- a/far/nodes/(30870,15,1800).lua
+++ b/far/nodes/(30870,15,1800).lua
@@ -7,7 +7,7 @@ F.save_train(POS(30870,15,1800), "east")
F.ttp_begin({
stn = "Fareast End", -- station name
tt = "FAR_W", -- timetable ID
- depint = "12;00", --departure slot interval
+ depint = "8;00", --departure slot interval
depoff = "00;00", --departure slot offset
doorside = "R",
reverse = false,
diff --git a/il_timetable/nodes/(-1921,13,-4541).lua b/il_timetable/nodes/(-1921,13,-4541).lua
index 921af94..b752e61 100644
--- a/il_timetable/nodes/(-1921,13,-4541).lua
+++ b/il_timetable/nodes/(-1921,13,-4541).lua
@@ -1,2 +1,2 @@
-- reset timetable for this train
-S.ttt[atc_id] = nil \ No newline at end of file
+S.ttt[atc_id] = nil
diff --git a/il_timetable/nodes/(-699,1,-426).lua b/il_timetable/nodes/(-699,1,-426).lua
index 908ee47..03c7dd0 100644
--- a/il_timetable/nodes/(-699,1,-426).lua
+++ b/il_timetable/nodes/(-699,1,-426).lua
@@ -1,4 +1,4 @@
if get_line()=="KVE" then
set_rc("KVE_E")
- atc_set_text_outside("[KVE] Kangasvarkaa Express\n-> KANGASVARKAA\nvia Sameary, Morija")
+ atc_set_text_outside("[KVE] Kangasvarkaa Express\n-> KANGASVARKAA\nvia Kameary, Morija")
end \ No newline at end of file
diff --git a/il_timetable/nodes/(4100,4,5242).lua b/il_timetable/nodes/(4100,4,5242).lua
index 2c1e7f7..67edfcf 100644
--- a/il_timetable/nodes/(4100,4,5242).lua
+++ b/il_timetable/nodes/(4100,4,5242).lua
@@ -1,4 +1,4 @@
if get_line()=="KVE" then
set_rc("KVE_W")
- atc_set_text_outside("[KVE] Kangasvarkaa Express\n-> SPAWN\nvia Morija, Sameary, Origin")
+ atc_set_text_outside("[KVE] Kangasvarkaa Express\n-> SPAWN\nvia Morija, Kameary, Origin")
end \ No newline at end of file
diff --git a/m4/nodes/(-1524,-11,-4611).lua b/m4/nodes/(-1524,-11,-4611).lua
new file mode 100644
index 0000000..7042980
--- /dev/null
+++ b/m4/nodes/(-1524,-11,-4611).lua
@@ -0,0 +1,3 @@
+if get_line()=="52" then
+ atc_set_text_outside("Line 52 - Olo Beach\nVia: Abyss Temple, Town of Abyss, Durai Resort")
+end \ No newline at end of file
diff --git a/m4/nodes/(-1921,13,-4576).lua b/m4/nodes/(-1921,13,-4576).lua
new file mode 100644
index 0000000..eb9b943
--- /dev/null
+++ b/m4/nodes/(-1921,13,-4576).lua
@@ -0,0 +1,5 @@
+if event.train then
+ if get_line()=="E36" then
+ atc_set_text_outside("[E36] Souford\nSouthbound Express (SBX)")
+ end
+end \ No newline at end of file
diff --git a/m4/nodes/(-1967,-11,-4415).lua b/m4/nodes/(-1967,-11,-4415).lua
new file mode 100644
index 0000000..17aa64e
--- /dev/null
+++ b/m4/nodes/(-1967,-11,-4415).lua
@@ -0,0 +1,3 @@
+if get_line()=="52" then
+ atc_set_text_outside("Line 52 - Merliansas Ruins\nVia: Town of Abyss, Aurlsamy Nagar, Wesley Beach")
+end \ No newline at end of file
diff --git a/m4/nodes/(1345,3,-5637).lua b/m4/nodes/(1345,3,-5637).lua
new file mode 100644
index 0000000..b34a162
--- /dev/null
+++ b/m4/nodes/(1345,3,-5637).lua
@@ -0,0 +1,5 @@
+if event.train then
+ if get_line()=="E36" then
+ atc_set_text_outside("[E36] Melinka\nSouthbound Express (SBX)")
+ end
+end \ No newline at end of file
diff --git a/subway/nodes/(-767,8,-282).lua b/subway/nodes/(-767,8,-282).lua
index fcb170e..d36ddb9 100644
--- a/subway/nodes/(-767,8,-282).lua
+++ b/subway/nodes/(-767,8,-282).lua
@@ -1,2 +1,4 @@
+
F.stn("Shn1W", "Jus1W", "Fre1W", "R")
+
S.line[atc_id]="1"