diff options
Diffstat (limited to 'il_timetable/nodes')
51 files changed, 77 insertions, 250 deletions
diff --git a/il_timetable/nodes/(-1725,-1,-4420).lua b/il_timetable/nodes/(-1725,-1,-4420).lua deleted file mode 100644 index 2a9ff56..0000000 --- a/il_timetable/nodes/(-1725,-1,-4420).lua +++ /dev/null @@ -1,3 +0,0 @@ -if event.train and get_line() == "E1" then - atc_send("B1") -end
\ No newline at end of file diff --git a/il_timetable/nodes/(-1728,10,-4324).lua b/il_timetable/nodes/(-1728,10,-4324).lua deleted file mode 100644 index b364ebd..0000000 --- a/il_timetable/nodes/(-1728,10,-4324).lua +++ /dev/null @@ -1,4 +0,0 @@ -F.ttp_stop({ - stn = "Town of Abyss", - doorside = "R", -})
\ No newline at end of file diff --git a/il_timetable/nodes/(-1728,7,-4381).lua b/il_timetable/nodes/(-1728,7,-4381).lua deleted file mode 100644 index b364ebd..0000000 --- a/il_timetable/nodes/(-1728,7,-4381).lua +++ /dev/null @@ -1,4 +0,0 @@ -F.ttp_stop({ - stn = "Town of Abyss", - doorside = "R", -})
\ No newline at end of file diff --git a/il_timetable/nodes/(-1731,7,-4402).lua b/il_timetable/nodes/(-1731,7,-4402).lua deleted file mode 100644 index c9dae37..0000000 --- a/il_timetable/nodes/(-1731,7,-4402).lua +++ /dev/null @@ -1,14 +0,0 @@ -if event.train then - if get_line() == "E1" then - if flip then - set_rc("E1_Mel_Left") - else - set_rc("E1_Mel_Right") - end - flip = not flip - end -end -F.ttp_stop({ - stn = "Town of Abyss", - doorside = "R", -})
\ No newline at end of file diff --git a/il_timetable/nodes/(-1735,-1,-4398).lua b/il_timetable/nodes/(-1735,-1,-4398).lua deleted file mode 100644 index 2e1f620..0000000 --- a/il_timetable/nodes/(-1735,-1,-4398).lua +++ /dev/null @@ -1 +0,0 @@ --- You forgot to change the env from ers so I did it for you. you had it as ers. It was blank as well. - erstazi
\ No newline at end of file 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/(-1937,21,-4581).lua b/il_timetable/nodes/(-1937,21,-4581).lua index 007736b..fcdffda 100644 --- a/il_timetable/nodes/(-1937,21,-4581).lua +++ b/il_timetable/nodes/(-1937,21,-4581).lua @@ -8,5 +8,6 @@ F.ttp_station_display({ -- interval = 15, display1 = "d1", -- display2 = "d2", + --show_trainid = true, }) end
\ No newline at end of file diff --git a/il_timetable/nodes/(-2091,9,-4569).lua b/il_timetable/nodes/(-2091,9,-4569).lua deleted file mode 100644 index b130beb..0000000 --- a/il_timetable/nodes/(-2091,9,-4569).lua +++ /dev/null @@ -1,2 +0,0 @@ -F.stop_sd_sched("Melinka", "L", "RSM", 10, 120, 0) -atc_set_text_outside("[E1] Personhood") diff --git a/il_timetable/nodes/(-4248,20,-3104).lua b/il_timetable/nodes/(-4248,20,-3104).lua index a8081e9..7535834 100644 --- a/il_timetable/nodes/(-4248,20,-3104).lua +++ b/il_timetable/nodes/(-4248,20,-3104).lua @@ -1 +1 @@ -atc_set_text_outside("S31 - Asha Cliffs <> Trisiston")
\ No newline at end of file +atc_set_text_outside("S32 - Asha Cliffs <> Trisiston")
\ No newline at end of file diff --git a/il_timetable/nodes/(-5595,6,-3553).lua b/il_timetable/nodes/(-5595,6,-3553).lua deleted file mode 100644 index 3bcd906..0000000 --- a/il_timetable/nodes/(-5595,6,-3553).lua +++ /dev/null @@ -1 +0,0 @@ -atc_set_text_outside("E3 - Euler Street\n via Trisiston")
\ No newline at end of file diff --git a/il_timetable/nodes/(-643,15,-424).lua b/il_timetable/nodes/(-643,15,-424).lua index f5190dc..a1278f2 100644 --- a/il_timetable/nodes/(-643,15,-424).lua +++ b/il_timetable/nodes/(-643,15,-424).lua @@ -5,4 +5,5 @@ F.ttp_station_display({ title = "Spawn Main T5/6", interval = 15, display1 = "display1", + --show_trainid = true, })
\ No newline at end of file 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/(1020,10,1021).lua b/il_timetable/nodes/(1020,10,1021).lua deleted file mode 100644 index dc3083a..0000000 --- a/il_timetable/nodes/(1020,10,1021).lua +++ /dev/null @@ -1,8 +0,0 @@ -F.ttp_station_display({ - lines = {"S12_S"}, - departure = {}, - station = "Ehlodex", - title = "Ehlodex", - interval = 30, - display1 = "d", -})
\ No newline at end of file diff --git a/il_timetable/nodes/(115,16,-74).lua b/il_timetable/nodes/(115,16,-74).lua deleted file mode 100644 index 6928a9d..0000000 --- a/il_timetable/nodes/(115,16,-74).lua +++ /dev/null @@ -1,5 +0,0 @@ --- d_int: Departure every n seconds (epoch modulo) --- d_off: Departure time offset --- function F.stop_sd(st_name, doors, departcommand, minstoptime, d_int, d_off) -atc_set_text_outside("E8 - Morija Center") -F.stop_sd_sched("Origin Marcuse Street", "L", "RSM", 10, 1200, 300)
\ No newline at end of file diff --git a/il_timetable/nodes/(1199,18,6127).lua b/il_timetable/nodes/(1187,21,6115).lua index 47bed36..47bed36 100644 --- a/il_timetable/nodes/(1199,18,6127).lua +++ b/il_timetable/nodes/(1187,21,6115).lua diff --git a/il_timetable/nodes/(1194,16,6141).lua b/il_timetable/nodes/(1194,16,6141).lua deleted file mode 100644 index 2120196..0000000 --- a/il_timetable/nodes/(1194,16,6141).lua +++ /dev/null @@ -1,10 +0,0 @@ -F.ttp_begin({ - stn = "Namespace Mountains", -- station name - tt = "E85_S", -- timetable ID - depint = "10;00", --departure slot interval - depoff = "02;30", --departure slot offset - doorside = "R", - reverse = true, - only_lines = { E85 = true }, - force_tt_reset = false, -})
\ No newline at end of file diff --git a/il_timetable/nodes/(1604,-1,7982).lua b/il_timetable/nodes/(1604,-1,7982).lua index 1326eab..540c7b7 100644 --- a/il_timetable/nodes/(1604,-1,7982).lua +++ b/il_timetable/nodes/(1604,-1,7982).lua @@ -2,7 +2,7 @@ F.ttp_begin({ stn = "New Roses Gardens", -- station name tt = "NRG_E", -- timetable ID depint = "10;00", --departure slot interval - depoff = "01;30", --departure slot offset + depoff = "03;30", --departure slot offset doorside = "L", reverse = true, only_lines = nil, diff --git a/il_timetable/nodes/(1618,-1,7982).lua b/il_timetable/nodes/(1618,-1,7982).lua index c1b0bce..9a51353 100644 --- a/il_timetable/nodes/(1618,-1,7982).lua +++ b/il_timetable/nodes/(1618,-1,7982).lua @@ -2,7 +2,7 @@ F.ttp_begin({ stn = "New Roses Gardens", -- station name tt = "NRG_E", -- timetable ID depint = "10;00", --departure slot interval - depoff = "06;30", --departure slot offset + depoff = "08;30", --departure slot offset doorside = "R", reverse = true, only_lines = nil, diff --git a/il_timetable/nodes/(1623,9,4628).lua b/il_timetable/nodes/(1623,9,4628).lua deleted file mode 100644 index 59c5b0c..0000000 --- a/il_timetable/nodes/(1623,9,4628).lua +++ /dev/null @@ -1,5 +0,0 @@ -F.ttp_stop({ - stn = "INTERCAL", - doorside = "L", - only_lines = {CFE=true}, -})
\ No newline at end of file diff --git a/il_timetable/nodes/(1626,9,4615).lua b/il_timetable/nodes/(1626,9,4615).lua deleted file mode 100644 index 36c8603..0000000 --- a/il_timetable/nodes/(1626,9,4615).lua +++ /dev/null @@ -1,6 +0,0 @@ -F.ttp_stop({ - stn = "INTERCAL", - doorside = "L", - only_lines = {CFE=true}, - no_disable_ars = true, -})
\ No newline at end of file diff --git a/il_timetable/nodes/(1708,29,3041).lua b/il_timetable/nodes/(1708,29,3041).lua deleted file mode 100644 index 02dec18..0000000 --- a/il_timetable/nodes/(1708,29,3041).lua +++ /dev/null @@ -1,12 +0,0 @@ -F.ttp_begin({ - stn = "Personhood Main", -- station name - tt = "E1_S", -- timetable ID - depint = "02;30", --departure slot interval - depoff = "00;00", --departure slot offset - doorside = "R", - reverse = true, - only_lines = { E1 = true }, - force_tt_reset = true, -}) - -atc_set_text_outside("[E1] Melinka Town via Spawn")
\ No newline at end of file diff --git a/il_timetable/nodes/(1730,26,2915).lua b/il_timetable/nodes/(1730,26,2915).lua deleted file mode 100644 index 44b483e..0000000 --- a/il_timetable/nodes/(1730,26,2915).lua +++ /dev/null @@ -1,12 +0,0 @@ --- d_int: Departure every n seconds (epoch modulo) --- d_off: Departure time offset --- function F.stop_sd(st_name, doors, departcommand, minstoptime, d_int, d_off) -F.stop_sd_sched("Personhood Main", "L", "RSM", 10, 120, 70) -atc_set_text_outside("E1: Personhood <-> Spawn <-> Melinka Town") -if event.train then - F.stat("E1", false) - F.timetake_end("E1-Ehl-Psh") -end -if depart then - F.timetake_start("E1-Psh-Ehl") -end diff --git a/il_timetable/nodes/(1730,26,2926).lua b/il_timetable/nodes/(1730,26,2926).lua deleted file mode 100644 index b2341c2..0000000 --- a/il_timetable/nodes/(1730,26,2926).lua +++ /dev/null @@ -1,5 +0,0 @@ --- d_int: Departure every n seconds (epoch modulo) --- d_off: Departure time offset --- function F.stop_sd(st_name, doors, departcommand, minstoptime, d_int, d_off) -atc_set_text_outside("E11 - Oasis") -F.stop_sd_sched("Personhood Main Station", "R", "RSM", 10, 300, 0)
\ No newline at end of file diff --git a/il_timetable/nodes/(1732,27,2924).lua b/il_timetable/nodes/(1732,27,2924).lua deleted file mode 100644 index 6c2907f..0000000 --- a/il_timetable/nodes/(1732,27,2924).lua +++ /dev/null @@ -1 +0,0 @@ -F.timedisplay()
\ No newline at end of file diff --git a/il_timetable/nodes/(1734,26,2905).lua b/il_timetable/nodes/(1734,26,2905).lua deleted file mode 100644 index ec82f24..0000000 --- a/il_timetable/nodes/(1734,26,2905).lua +++ /dev/null @@ -1,10 +0,0 @@ -F.ttp_begin({ - stn = "Personhood Main", -- station name - tt = "E84_N", -- timetable ID - depint = "10;00", --departure slot interval - depoff = "07;30", --departure slot offset - doorside = "L", - reverse = true, - only_lines = { E84 = true }, - force_tt_reset = false, -}) diff --git a/il_timetable/nodes/(1734,26,2921).lua b/il_timetable/nodes/(1734,26,2921).lua deleted file mode 100644 index 6d92d95..0000000 --- a/il_timetable/nodes/(1734,26,2921).lua +++ /dev/null @@ -1,5 +0,0 @@ --- d_int: Departure every n seconds (epoch modulo) --- d_off: Departure time offset --- function F.stop_sd(st_name, doors, departcommand, minstoptime, d_int, d_off) -F.stop_sd_sched("Personhood Main", "R", "RSM", 10, 120, 70) -atc_set_text_outside("E1: Personhood <-> Spawn <-> Melinka Town")
\ No newline at end of file diff --git a/il_timetable/nodes/(1734,26,2922).lua b/il_timetable/nodes/(1734,26,2922).lua deleted file mode 100644 index 2980622..0000000 --- a/il_timetable/nodes/(1734,26,2922).lua +++ /dev/null @@ -1,10 +0,0 @@ -F.ttp_begin({ - stn = "Personhood Main", -- station name - tt = "E1_S", -- timetable ID - depint = "02;30", --departure slot interval - depoff = "00;45", --departure slot offset - doorside = "R", - reverse = true, - only_lines = { E1 = true }, - force_tt_reset = false, -}) diff --git a/il_timetable/nodes/(1899,19,8223).lua b/il_timetable/nodes/(1899,19,8223).lua deleted file mode 100644 index c07fbb8..0000000 --- a/il_timetable/nodes/(1899,19,8223).lua +++ /dev/null @@ -1,4 +0,0 @@ -F.ttp_stop({ - stn = "Krasnograd", - doorside = "R", -})
\ No newline at end of file diff --git a/il_timetable/nodes/(1932,8,9112).lua b/il_timetable/nodes/(1932,8,9112).lua deleted file mode 100644 index 15f2c53..0000000 --- a/il_timetable/nodes/(1932,8,9112).lua +++ /dev/null @@ -1,22 +0,0 @@ ---S.ttp["CFE_S"].travel_times["Personhood West"] = 890 - -print(S.ttt) - -lines = F.ttp_info_times("CFE_S", "00;00") -linestr = F.ttp_info_trains("CFE_S", "00;00") -local li = lines -for i=1,#linestr do li[#li+1] = linestr[i] end -print(" CFE\n"..table.concat(li, "\n")) - ---[[ -lines = F.ttp_info_times("NX_S", "00;00") -linestr = F.ttp_info_trains("NX_S", "00;00") -li = lines -for i=1,#linestr do li[#li+1] = linestr[i] end -print(" NX\n"..table.concat(li, "\n")) -]] -lines = F.ttp_info_times("E1_S", "00;00") ---linestr = F.ttp_info_trains("E1_S", "00;00") -li = lines ---for i=1,#linestr do li[#li+1] = linestr[i] end -print(" E1\n"..table.concat(li, "\n"))
\ No newline at end of file diff --git a/il_timetable/nodes/(1953,19,8220).lua b/il_timetable/nodes/(1953,19,8220).lua index c07fbb8..66e9723 100644 --- a/il_timetable/nodes/(1953,19,8220).lua +++ b/il_timetable/nodes/(1953,19,8220).lua @@ -1,4 +1,5 @@ F.ttp_stop({ stn = "Krasnograd", doorside = "R", + departure = { NRG_E = "3;00" } })
\ No newline at end of file diff --git a/il_timetable/nodes/(1973,42,8384).lua b/il_timetable/nodes/(1973,42,8384).lua deleted file mode 100644 index 8fe1919..0000000 --- a/il_timetable/nodes/(1973,42,8384).lua +++ /dev/null @@ -1,9 +0,0 @@ -F.ttp_station_display({ - lines = {"CFE_S", "NRG_W", "NRG_E"}, - departure = {}, - station = "Azena Transirejo", - title = "Azena Transirejo", - interval = 30, - display1 = "display1", - display2 = "display2", -}) diff --git a/il_timetable/nodes/(2648,13,4352).lua b/il_timetable/nodes/(2648,13,4352).lua deleted file mode 100644 index 565febb..0000000 --- a/il_timetable/nodes/(2648,13,4352).lua +++ /dev/null @@ -1,4 +0,0 @@ -F.ttp_stop({ - stn = "GRUB Valley (GVMER)", - doorside = "R" -})
\ No newline at end of file diff --git a/il_timetable/nodes/(286,4,206).lua b/il_timetable/nodes/(286,4,206).lua deleted file mode 100644 index ccba33d..0000000 --- a/il_timetable/nodes/(286,4,206).lua +++ /dev/null @@ -1,27 +0,0 @@ -if event.train then -st_name = "NYE Square" -flip = not flip -end - -doors = "L" - if event.train then - local time_now = rwt.now() - local next_dep_time = rwt.next_rpt(rwt.add(time_now, 10), 120, 0) -if flip then - atc_set_text_outside("4 - Showroom") - digiline_send("monitor", "4 Showroom "..rwt.to_string(next_dep_time, true)) - set_rc("SH") -else - digiline_send("monitor", "4 Ice Mountain "..rwt.to_string(next_dep_time, true)) - atc_set_text_outside("4 - Ice Mountain") - set_rc("IM") -end - atc_set_text_inside(st_name.."\nDeparture: "..rwt.to_string(next_dep_time, true)) - atc_send("A0 B0 W O"..doors) - schedule(next_dep_time, "depart") - elseif event.schedule then - atc_send("A1OCD1SM") - digiline_send("monitor", "Last Departure: | "..rwt.to_string(rwt.now(), true)) - atc_set_text_inside("") - depart = true - end 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/il_timetable/nodes/(4401,-2,1976).lua b/il_timetable/nodes/(4401,-2,1976).lua deleted file mode 100644 index 0c7a9c5..0000000 --- a/il_timetable/nodes/(4401,-2,1976).lua +++ /dev/null @@ -1,5 +0,0 @@ --- d_int: Departure every n seconds (epoch modulo) --- d_off: Departure time offset --- function F.stop_sd(st_name, doors, departcommand, minstoptime, d_int, d_off) -atc_set_text_outside("E8 - Origin Marcuse Street") -F.stop_sd_sched("Morija Center", "L", "RSM", 10, 1200, 300)
\ No newline at end of file diff --git a/il_timetable/nodes/(4602,9,2181).lua b/il_timetable/nodes/(4602,9,2181).lua new file mode 100644 index 0000000..52448e2 --- /dev/null +++ b/il_timetable/nodes/(4602,9,2181).lua @@ -0,0 +1,7 @@ +F.ttp_station_display({ + lines = {"E85_N", "E85_S", }, + departure = {}, + station = "Morija North", + title = "Morija North", + display1 = "d1", +})
\ No newline at end of file diff --git a/il_timetable/nodes/(4892,9,2307).lua b/il_timetable/nodes/(4892,9,2307).lua deleted file mode 100644 index fdffe90..0000000 --- a/il_timetable/nodes/(4892,9,2307).lua +++ /dev/null @@ -1,10 +0,0 @@ -F.ttp_begin({ - stn = "BRIC / Morija North", -- station name - tt = "E85_N", -- timetable ID - depint = "10;00", --departure slot interval - depoff = "07;30", --departure slot offset - doorside = "L", - reverse = true, - only_lines = { E85 = true }, - force_tt_reset = false, -})
\ No newline at end of file diff --git a/il_timetable/nodes/(790,8,-109).lua b/il_timetable/nodes/(790,8,-109).lua deleted file mode 100644 index 78cf1f7..0000000 --- a/il_timetable/nodes/(790,8,-109).lua +++ /dev/null @@ -1,5 +0,0 @@ --- d_int: Departure every n seconds (epoch modulo) --- d_off: Departure time offset --- function F.stop_sd(st_name, doors, departcommand, minstoptime, d_int, d_off) -atc_set_text_outside("Line 1 - Palm Bay") -F.stop_sd_sched("Szymon's Dam Regional", "L", "RSM", 10, 120, 0)
\ No newline at end of file diff --git a/il_timetable/nodes/(943,14,1025).lua b/il_timetable/nodes/(943,14,1025).lua deleted file mode 100644 index b94fa87..0000000 --- a/il_timetable/nodes/(943,14,1025).lua +++ /dev/null @@ -1 +0,0 @@ -setstate("Ehl6ARSPreventer", "cr")
\ No newline at end of file diff --git a/il_timetable/nodes/(969,14,1049).lua b/il_timetable/nodes/(969,14,1049).lua deleted file mode 100644 index bf63cf8..0000000 --- a/il_timetable/nodes/(969,14,1049).lua +++ /dev/null @@ -1,4 +0,0 @@ --- d_int: Departure every n seconds (epoch modulo) --- d_off: Departure time offset --- function F.stop_sd(st_name, doors, departcommand, minstoptime, d_int, d_off) -F.stop_sd_sched("Ehlodex", "L", "RSM", 10, 120, 85)
\ No newline at end of file diff --git a/il_timetable/nodes/(972,14,1053).lua b/il_timetable/nodes/(972,14,1053).lua deleted file mode 100644 index c316b90..0000000 --- a/il_timetable/nodes/(972,14,1053).lua +++ /dev/null @@ -1,7 +0,0 @@ --- d_int: Departure every n seconds (epoch modulo) --- d_off: Departure time offset --- function F.stop_sd(st_name, doors, departcommand, minstoptime, d_int, d_off) -F.stop_sd_sched("Ehlodex", "R", "RSM", 10, 240, 65) -if event.train then -atc_set_text_outside("S12 - Spawn Main Station\nvia Schwarzschild Street, Anju Crossing") -end
\ No newline at end of file diff --git a/il_timetable/nodes/(981,15,1041).lua b/il_timetable/nodes/(981,15,1041).lua index b40c49c..b1c789c 100644 --- a/il_timetable/nodes/(981,15,1041).lua +++ b/il_timetable/nodes/(981,15,1041).lua @@ -5,5 +5,6 @@ F.ttp_station_display({ title = "Ehlodex", display1 = "d1", display2 = "d2", - display3 = "d3" + display3 = "d3", + show_trainid = get_mesecon_input("d"), })
\ No newline at end of file diff --git a/il_timetable/nodes/(981,19,1053).lua b/il_timetable/nodes/(981,19,1053).lua index ae36742..b46cebe 100644 --- a/il_timetable/nodes/(981,19,1053).lua +++ b/il_timetable/nodes/(981,19,1053).lua @@ -1,6 +1,13 @@ + +lines = F.ttp_info_times("CFE_N", "00;00") +linestr = F.ttp_info_trains("CFE_N", "00;00") +local li = lines +for i=1,#linestr do li[#li+1] = linestr[i] end +print(" CFE_N\n"..table.concat(li, "\n")) + lines = F.ttp_info_times("CFE_S", "00;00") linestr = F.ttp_info_trains("CFE_S", "00;00") local li = lines for i=1,#linestr do li[#li+1] = linestr[i] end -print(" CFE\n"..table.concat(li, "\n")) +print(" CFE_S\n"..table.concat(li, "\n")) diff --git a/il_timetable/nodes/(981,21,1053).lua b/il_timetable/nodes/(981,21,1053).lua index 567de55..be19fda 100644 --- a/il_timetable/nodes/(981,21,1053).lua +++ b/il_timetable/nodes/(981,21,1053).lua @@ -1,6 +1,14 @@ +--N/S +local line = "E85" -lines = F.ttp_info_times("CFE_N", "00;00") -linestr = F.ttp_info_trains("CFE_N", "00;00") +lines = F.ttp_info_times(line.."_N", "00;00") +linestr = F.ttp_info_trains(line.."_N", "00;00") local li = lines for i=1,#linestr do li[#li+1] = linestr[i] end -print(" CFE\n"..table.concat(li, "\n")) +print(line.."_N\n"..table.concat(li, "\n")) + +lines = F.ttp_info_times(line.."_S", "00;00") +linestr = F.ttp_info_trains(line.."_S", "00;00") +local li = lines +for i=1,#linestr do li[#li+1] = linestr[i] end +print(line.."_S\n"..table.concat(li, "\n"))
\ No newline at end of file diff --git a/il_timetable/nodes/(981,22,1053).lua b/il_timetable/nodes/(981,22,1053).lua index 2a52ca4..9e79f93 100644 --- a/il_timetable/nodes/(981,22,1053).lua +++ b/il_timetable/nodes/(981,22,1053).lua @@ -1,9 +1,7 @@ ---S.ttt["901424"] = nil ---S.ttp["E85_N"] = nil - -local tr="E85" -S.ttp[tr.."_N"].force_tt_reset = true -S.ttp[tr.."_S"].force_tt_reset = true +-- E/W +local tr="E11" +S.ttp[tr.."_E"].force_tt_reset = true +S.ttp[tr.."_W"].force_tt_reset = true print(tr.." resetting timetable") diff --git a/il_timetable/nodes/(982,19,1053).lua b/il_timetable/nodes/(982,19,1053).lua index 1acc131..88a245f 100644 --- a/il_timetable/nodes/(982,19,1053).lua +++ b/il_timetable/nodes/(982,19,1053).lua @@ -1,5 +1,11 @@ +lines = F.ttp_info_times("NX_N", "00;00") +linestr = F.ttp_info_trains("NX_N", "00;00") +li = lines +for i=1,#linestr do li[#li+1] = linestr[i] end +print(" NX_N\n"..table.concat(li, "\n")) + lines = F.ttp_info_times("NX_S", "00;00") linestr = F.ttp_info_trains("NX_S", "00;00") li = lines for i=1,#linestr do li[#li+1] = linestr[i] end -print(" NX\n"..table.concat(li, "\n"))
\ No newline at end of file +print(" NX_S\n"..table.concat(li, "\n"))
\ No newline at end of file diff --git a/il_timetable/nodes/(982,21,1053).lua b/il_timetable/nodes/(982,21,1053).lua index 4f6e3d8..00928a4 100644 --- a/il_timetable/nodes/(982,21,1053).lua +++ b/il_timetable/nodes/(982,21,1053).lua @@ -1,5 +1,14 @@ -lines = F.ttp_info_times("NX_N", "00;00") -linestr = F.ttp_info_trains("NX_N", "00;00") -li = lines +--W/E +local line = "FAR" + +lines = F.ttp_info_times(line.."_W", "00;00") +linestr = F.ttp_info_trains(line.."_W", "00;00") +local li = lines for i=1,#linestr do li[#li+1] = linestr[i] end -print(" NX\n"..table.concat(li, "\n"))
\ No newline at end of file +print(line.."_W\n"..table.concat(li, "\n")) + +lines = F.ttp_info_times(line.."_E", "00;00") +linestr = F.ttp_info_trains(line.."_E", "00;00") +local li = lines +for i=1,#linestr do li[#li+1] = linestr[i] end +print(line.."_E\n"..table.concat(li, "\n"))
\ No newline at end of file diff --git a/il_timetable/nodes/(982,22,1053).lua b/il_timetable/nodes/(982,22,1053).lua index a30cd5d..73b9d08 100644 --- a/il_timetable/nodes/(982,22,1053).lua +++ b/il_timetable/nodes/(982,22,1053).lua @@ -1,6 +1,5 @@ - -lines = F.ttp_info_times("E84_S", "00;00") -linestr = F.ttp_info_trains("E84_S", "00;00") -local li = lines -for i=1,#linestr do li[#li+1] = linestr[i] end -print(" E84\n"..table.concat(li, "\n"))
\ No newline at end of file +-- N/S +local tr="CFE" +S.ttp[tr.."_N"].force_tt_reset = true +S.ttp[tr.."_S"].force_tt_reset = true +print(tr.." resetting timetable")
\ No newline at end of file diff --git a/il_timetable/nodes/(983,19,1053).lua b/il_timetable/nodes/(983,19,1053).lua index fcd6179..9f41faa 100644 --- a/il_timetable/nodes/(983,19,1053).lua +++ b/il_timetable/nodes/(983,19,1053).lua @@ -1,5 +1,11 @@ +lines = F.ttp_info_times("E1_N", "00;00") +linestr = F.ttp_info_trains("E1_N", "00;00") +li = lines +for i=1,#linestr do li[#li+1] = linestr[i] end +print(" E1_N\n"..table.concat(li, "\n")) + lines = F.ttp_info_times("E1_S", "00;00") linestr = F.ttp_info_trains("E1_S", "00;00") li = lines for i=1,#linestr do li[#li+1] = linestr[i] end -print(" E1\n"..table.concat(li, "\n"))
\ No newline at end of file +print(" E1_S\n"..table.concat(li, "\n"))
\ No newline at end of file diff --git a/il_timetable/nodes/(983,21,1053).lua b/il_timetable/nodes/(983,21,1053).lua index 4c89cef..84bed9c 100644 --- a/il_timetable/nodes/(983,21,1053).lua +++ b/il_timetable/nodes/(983,21,1053).lua @@ -1,5 +1,3 @@ -lines = F.ttp_info_times("E1_N", "00;00") -linestr = F.ttp_info_trains("E1_N", "00;00") -li = lines -for i=1,#linestr do li[#li+1] = linestr[i] end -print(" E1\n"..table.concat(li, "\n"))
\ No newline at end of file +for key,_ in pairs(S.ttp) do + print(key) +end
\ No newline at end of file diff --git a/il_timetable/nodes/(983,22,1053).lua b/il_timetable/nodes/(983,22,1053).lua new file mode 100644 index 0000000..493aeb1 --- /dev/null +++ b/il_timetable/nodes/(983,22,1053).lua @@ -0,0 +1 @@ +S.ttt["732702"] = nil
\ No newline at end of file |