diff options
Diffstat (limited to 'il_timetable/nodes')
41 files changed, 235 insertions, 37 deletions
diff --git a/il_timetable/nodes/(-1109,5,-3256).lua b/il_timetable/nodes/(-1109,5,-3256).lua new file mode 100644 index 0000000..98df9b1 --- /dev/null +++ b/il_timetable/nodes/(-1109,5,-3256).lua @@ -0,0 +1,4 @@ +F.ttp_stop({ + stn = "Padrana Peninsula", + doorside = "R", +})
\ No newline at end of file diff --git a/il_timetable/nodes/(-1725,-1,-4420).lua b/il_timetable/nodes/(-1725,-1,-4420).lua new file mode 100644 index 0000000..2a9ff56 --- /dev/null +++ b/il_timetable/nodes/(-1725,-1,-4420).lua @@ -0,0 +1,3 @@ +if event.train and get_line() == "E1" then + atc_send("B1") +end
\ No newline at end of file diff --git a/il_timetable/nodes/(-1735,-1,-4398).lua b/il_timetable/nodes/(-1735,-1,-4398).lua new file mode 100644 index 0000000..2e1f620 --- /dev/null +++ b/il_timetable/nodes/(-1735,-1,-4398).lua @@ -0,0 +1 @@ +-- 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/(-640,14,-426).lua b/il_timetable/nodes/(-640,14,-426).lua index a67254f..72669e1 100644 --- a/il_timetable/nodes/(-640,14,-426).lua +++ b/il_timetable/nodes/(-640,14,-426).lua @@ -1,5 +1,4 @@ F.ttp_stop({ stn = "Spawn Main", doorside = "L", - end_of_tt = {CFE_S=true,NX_S=true,E1_S=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 new file mode 100644 index 0000000..908ee47 --- /dev/null +++ b/il_timetable/nodes/(-699,1,-426).lua @@ -0,0 +1,4 @@ +if get_line()=="KVE" then + set_rc("KVE_E") + atc_set_text_outside("[KVE] Kangasvarkaa Express\n-> KANGASVARKAA\nvia Sameary, Morija") +end
\ No newline at end of file diff --git a/il_timetable/nodes/(-863,14,-492).lua b/il_timetable/nodes/(-863,14,-492).lua index d86cc4c..9e9453c 100644 --- a/il_timetable/nodes/(-863,14,-492).lua +++ b/il_timetable/nodes/(-863,14,-492).lua @@ -3,7 +3,7 @@ if flip then atc_set_text_outside("E3 - BigFishCity\n via Trisiston") set_rc("E3_Sra") else - atc_set_text_outside("E3 - Shanielle Inlet\n via Trisiston") + atc_set_text_outside("E3 - Shanielle Park\n via Trisiston, Shn. Inlet") set_rc("E3_Edf") end flip = not flip
\ No newline at end of file diff --git a/il_timetable/nodes/(1074,14,3409).lua b/il_timetable/nodes/(1074,14,3409).lua new file mode 100644 index 0000000..c276192 --- /dev/null +++ b/il_timetable/nodes/(1074,14,3409).lua @@ -0,0 +1,4 @@ +F.ttp_stop({ + stn = "Manaugh Memorial", + doorside = "R", +})
\ No newline at end of file diff --git a/il_timetable/nodes/(1191,16,6141).lua b/il_timetable/nodes/(1191,16,6141).lua index 17e1b2f..8a8c0f9 100644 --- a/il_timetable/nodes/(1191,16,6141).lua +++ b/il_timetable/nodes/(1191,16,6141).lua @@ -1,10 +1,10 @@ F.ttp_begin({ stn = "Namespace Mountains", -- station name - tt = "E84_S", -- timetable ID - depint = "10;00", --departure slot interval - depoff = "07;30", --departure slot offset + tt = "E85_S", -- timetable ID + depint = "05;00", --departure slot interval + depoff = "02;30", --departure slot offset doorside = "L", reverse = true, - only_lines = { E84 = true }, + only_lines = { E85 = true }, force_tt_reset = false, -}) +})
\ No newline at end of file diff --git a/il_timetable/nodes/(1199,18,6127).lua b/il_timetable/nodes/(1199,18,6127).lua index 377e020..47bed36 100644 --- a/il_timetable/nodes/(1199,18,6127).lua +++ b/il_timetable/nodes/(1199,18,6127).lua @@ -1,5 +1,5 @@ F.ttp_station_display({ - lines = {"E84_N", "E84_S", "E85_N", "E85_S", }, + lines = {"E85_N", "E85_S", }, departure = {}, station = "Namespace Mountains", title = "Namespace Mtns", diff --git a/il_timetable/nodes/(152,11,892).lua b/il_timetable/nodes/(152,11,892).lua index a00ccff..c96a8e5 100644 --- a/il_timetable/nodes/(152,11,892).lua +++ b/il_timetable/nodes/(152,11,892).lua @@ -2,4 +2,5 @@ F.ttp_stop({ stn = "Schwarzschild Street", doorside = "L", only_lines={E1=true}, + no_disable_ars = true, })
\ No newline at end of file diff --git a/il_timetable/nodes/(1531,24,2649).lua b/il_timetable/nodes/(1531,24,2649).lua new file mode 100644 index 0000000..b35ef0a --- /dev/null +++ b/il_timetable/nodes/(1531,24,2649).lua @@ -0,0 +1,7 @@ +F.ttp_station_display({ + lines = {"E1_N"}, + departure = {}, + station = "Personhood South", + title = "Personhood South", + display1 = "d1", +})
\ No newline at end of file diff --git a/il_timetable/nodes/(1531,24,2660).lua b/il_timetable/nodes/(1531,24,2660).lua new file mode 100644 index 0000000..d24be5f --- /dev/null +++ b/il_timetable/nodes/(1531,24,2660).lua @@ -0,0 +1,7 @@ +F.ttp_station_display({ + lines = {"E1_S"}, + departure = {}, + station = "Personhood South", + title = "Personhood South", + display1 = "d1", +})
\ No newline at end of file diff --git a/il_timetable/nodes/(158,16,871).lua b/il_timetable/nodes/(158,16,871).lua new file mode 100644 index 0000000..dc89043 --- /dev/null +++ b/il_timetable/nodes/(158,16,871).lua @@ -0,0 +1,8 @@ +F.ttp_station_display({ + lines = {"E1_N", "E1_S", "S12_N", "S12_S"}, + departure = {}, + station = "Schwarzschild Street", + title = "Schwarzschild St.", + display1 = "d1", + display2 = "d2", +})
\ No newline at end of file diff --git a/il_timetable/nodes/(159,11,846).lua b/il_timetable/nodes/(159,11,846).lua index 49e1131..6932523 100644 --- a/il_timetable/nodes/(159,11,846).lua +++ b/il_timetable/nodes/(159,11,846).lua @@ -1,28 +1,28 @@ if event.train then -st_name = "Schwarzschild Street" -set_line("4") -flip = not flip + st_name = "Schwarzschild Street" + set_line("4") + 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") +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("B0 W O"..doors) + schedule(next_dep_time, "depart") +elseif event.schedule then + atc_send("OCD1SM") + digiline_send("monitor", "Last Departure: | "..rwt.to_string(rwt.now(), true)) + atc_set_text_inside("") + depart = true end - atc_set_text_inside(st_name.."\nDeparture: "..rwt.to_string(next_dep_time, true)) - atc_send("B0 W O"..doors) - schedule(next_dep_time, "depart") - elseif event.schedule then - atc_send("OCD1SM") - digiline_send("monitor", "Last Departure: | "..rwt.to_string(rwt.now(), true)) - atc_set_text_inside("") - depart = true - end diff --git a/il_timetable/nodes/(1633,9,4628).lua b/il_timetable/nodes/(1633,9,4628).lua new file mode 100644 index 0000000..96203b7 --- /dev/null +++ b/il_timetable/nodes/(1633,9,4628).lua @@ -0,0 +1,4 @@ +F.ttp_stop({ + stn = "Intercal", + doorside = "L", +})
\ No newline at end of file diff --git a/il_timetable/nodes/(1722,30,2933).lua b/il_timetable/nodes/(1722,30,2933).lua new file mode 100644 index 0000000..e5f5896 --- /dev/null +++ b/il_timetable/nodes/(1722,30,2933).lua @@ -0,0 +1,9 @@ +F.ttp_station_display({ + lines = {"E1_N", "E11_W", "E16_W"}, + departure = {}, + station = "Personhood Main", + title = "Arrivals", + interval = 15, + display1 = "d1", + --display2 = "d2", +})
\ No newline at end of file diff --git a/il_timetable/nodes/(1722,30,2937).lua b/il_timetable/nodes/(1722,30,2937).lua index 2d9fed2..560dfbe 100644 --- a/il_timetable/nodes/(1722,30,2937).lua +++ b/il_timetable/nodes/(1722,30,2937).lua @@ -1,9 +1,9 @@ F.ttp_station_display({ - lines = {"E1_N", "E1_S", "E84_N", "E84_S", "E11_W", "E11_E"}, + lines = {"E1_S", "E11_E", "E16_E"}, departure = {}, station = "Personhood Main", - title = "Personhood Main", + title = "Departures", interval = 15, display1 = "d1", - display2 = "d2", + --display2 = "d2", })
\ No newline at end of file diff --git a/il_timetable/nodes/(1725,28,2915).lua b/il_timetable/nodes/(1725,28,2915).lua index d28bc16..3d97e94 100644 --- a/il_timetable/nodes/(1725,28,2915).lua +++ b/il_timetable/nodes/(1725,28,2915).lua @@ -1,5 +1,5 @@ F.ttp_station_display({ - lines = {"E1_N", "E1_S"}, + lines = {"E1_N", "E1_S", "E11_W", "E11_E"}, departure = {}, station = "Personhood Main", title = "Personhood Main", diff --git a/il_timetable/nodes/(1728,28,3000).lua b/il_timetable/nodes/(1728,28,3000).lua new file mode 100644 index 0000000..d7f7c78 --- /dev/null +++ b/il_timetable/nodes/(1728,28,3000).lua @@ -0,0 +1 @@ +S.ttt[atc_id] = nil
\ No newline at end of file diff --git a/il_timetable/nodes/(1734,26,2929).lua b/il_timetable/nodes/(1734,26,2929).lua new file mode 100644 index 0000000..1d8f85b --- /dev/null +++ b/il_timetable/nodes/(1734,26,2929).lua @@ -0,0 +1,11 @@ +-- mary4: leave this here +F.ttp_begin({ + stn = "Personhood Main", -- station name + tt = "E16_E", -- timetable ID + depint = "05;00", --departure slot interval + depoff = "02;30", --departure slot offset + doorside = "R", + reverse = false, + only_lines = { E16 = true }, + force_tt_reset = false, +})
\ No newline at end of file diff --git a/il_timetable/nodes/(1739,28,2910).lua b/il_timetable/nodes/(1739,28,2910).lua new file mode 100644 index 0000000..ef59fd3 --- /dev/null +++ b/il_timetable/nodes/(1739,28,2910).lua @@ -0,0 +1,9 @@ +F.ttp_station_display({ + lines = {"E16_W", "E16_E"}, + departure = {}, + station = "Personhood Main", + title = "Personhood Main", + interval = 15, + display1 = "d1", +-- display2 = "d2", +})
\ No newline at end of file diff --git a/il_timetable/nodes/(1806,13,-217).lua b/il_timetable/nodes/(1806,13,-217).lua new file mode 100644 index 0000000..db11017 --- /dev/null +++ b/il_timetable/nodes/(1806,13,-217).lua @@ -0,0 +1,3 @@ +if get_line()=="KVE" then + set_rc("KVE_W") +end
\ No newline at end of file diff --git a/il_timetable/nodes/(1936,7,9131).lua b/il_timetable/nodes/(1936,7,9131).lua index cef8d24..ce4683f 100644 --- a/il_timetable/nodes/(1936,7,9131).lua +++ b/il_timetable/nodes/(1936,7,9131).lua @@ -8,4 +8,4 @@ F.ttp_begin({ only_lines = {['CFE'] = true}, force_tt_reset = false, }) -F.stat("CFE")
\ No newline at end of file +F.stat("CFE", false)
\ No newline at end of file diff --git a/il_timetable/nodes/(2253,25,4412).lua b/il_timetable/nodes/(2253,25,4412).lua new file mode 100644 index 0000000..35632c2 --- /dev/null +++ b/il_timetable/nodes/(2253,25,4412).lua @@ -0,0 +1,4 @@ +F.ttp_stop({ + stn = "Hound's Wood", + doorside = "L", +})
\ No newline at end of file diff --git a/il_timetable/nodes/(2514,7,5027).lua b/il_timetable/nodes/(2514,7,5027).lua new file mode 100644 index 0000000..1ab4b5c --- /dev/null +++ b/il_timetable/nodes/(2514,7,5027).lua @@ -0,0 +1,10 @@ +F.ttp_begin({ + stn = "Overfish Beach", -- station name + tt = "E16_W", -- timetable ID + depint = "00;30", --departure slot interval + depoff = "00;00", --departure slot offset + doorside = "L", + reverse = false, + only_lines = { E16 = true }, + force_tt_reset = false, +}) diff --git a/il_timetable/nodes/(2635,13,4369).lua b/il_timetable/nodes/(2635,13,4369).lua index 56e00a2..cf13114 100644 --- a/il_timetable/nodes/(2635,13,4369).lua +++ b/il_timetable/nodes/(2635,13,4369).lua @@ -1,4 +1,5 @@ F.ttp_stop({ stn = "Grub Valley (GVMER)", doorside = "R", + end_of_tt = {E16_E = true}, })
\ No newline at end of file diff --git a/il_timetable/nodes/(2655,15,4359).lua b/il_timetable/nodes/(2655,15,4359).lua index b2ab890..b9732b0 100644 --- a/il_timetable/nodes/(2655,15,4359).lua +++ b/il_timetable/nodes/(2655,15,4359).lua @@ -1,7 +1,8 @@ F.ttp_station_display({ - lines = {"E84_N", "E84_S", "E85_N", "E85_S"}, + lines = {"E85_N", "E85_S", "E16_E", "E16_W"}, departure = {}, station = "Grub Valley (GVMER)", title = "Grub Valley", display1 = "d1", + display2 = "d2", })
\ No newline at end of file diff --git a/il_timetable/nodes/(2716,8,4326).lua b/il_timetable/nodes/(2716,8,4326).lua new file mode 100644 index 0000000..f364e84 --- /dev/null +++ b/il_timetable/nodes/(2716,8,4326).lua @@ -0,0 +1,7 @@ +F.ttp_station_display({ + lines = {"E85_S"}, + departure = {}, + station = "Grub Valley", + title = "Grub Valley", + display1 = "d1", +})
\ No newline at end of file diff --git a/il_timetable/nodes/(2716,8,4338).lua b/il_timetable/nodes/(2716,8,4338).lua new file mode 100644 index 0000000..bc9576a --- /dev/null +++ b/il_timetable/nodes/(2716,8,4338).lua @@ -0,0 +1,7 @@ +F.ttp_station_display({ + lines = {"E85_N"}, + departure = {}, + station = "Grub Valley", + title = "Grub Valley", + display1 = "d1", +})
\ No newline at end of file diff --git a/il_timetable/nodes/(2739,6,4330).lua b/il_timetable/nodes/(2739,6,4330).lua new file mode 100644 index 0000000..73d6fe1 --- /dev/null +++ b/il_timetable/nodes/(2739,6,4330).lua @@ -0,0 +1,4 @@ +F.ttp_stop({ + stn = "Grub Valley", + doorside = "R", +})
\ No newline at end of file diff --git a/il_timetable/nodes/(288,4,206).lua b/il_timetable/nodes/(288,4,206).lua new file mode 100644 index 0000000..8b9e918 --- /dev/null +++ b/il_timetable/nodes/(288,4,206).lua @@ -0,0 +1,28 @@ +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/(3974,7,4046).lua b/il_timetable/nodes/(3974,7,4046).lua new file mode 100644 index 0000000..a43a423 --- /dev/null +++ b/il_timetable/nodes/(3974,7,4046).lua @@ -0,0 +1,4 @@ +F.ttp_stop({ + stn = "Konquest", + doorside = "R", +})
\ No newline at end of file diff --git a/il_timetable/nodes/(4100,4,5242).lua b/il_timetable/nodes/(4100,4,5242).lua new file mode 100644 index 0000000..2c1e7f7 --- /dev/null +++ b/il_timetable/nodes/(4100,4,5242).lua @@ -0,0 +1,4 @@ +if get_line()=="KVE" then + set_rc("KVE_W") + atc_set_text_outside("[KVE] Kangasvarkaa Express\n-> SPAWN\nvia Morija, Sameary, Origin") +end
\ No newline at end of file diff --git a/il_timetable/nodes/(4393,-2,1947).lua b/il_timetable/nodes/(4393,-2,1947).lua new file mode 100644 index 0000000..5e9d62c --- /dev/null +++ b/il_timetable/nodes/(4393,-2,1947).lua @@ -0,0 +1,10 @@ +F.ttp_begin({ + stn = "Morija North", -- station name + tt = "E85_N", -- timetable ID + depint = "05;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/(4587,7,2174).lua b/il_timetable/nodes/(4587,7,2174).lua new file mode 100644 index 0000000..5e9d62c --- /dev/null +++ b/il_timetable/nodes/(4587,7,2174).lua @@ -0,0 +1,10 @@ +F.ttp_begin({ + stn = "Morija North", -- station name + tt = "E85_N", -- timetable ID + depint = "05;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/(4622,12,6795).lua b/il_timetable/nodes/(4622,12,6795).lua new file mode 100644 index 0000000..cf6751b --- /dev/null +++ b/il_timetable/nodes/(4622,12,6795).lua @@ -0,0 +1,3 @@ +if event.train and get_line() == "E16" then + set_rc("E16_poor_mans_ars") +end
\ No newline at end of file diff --git a/il_timetable/nodes/(788,8,-109).lua b/il_timetable/nodes/(788,8,-109).lua new file mode 100644 index 0000000..78cf1f7 --- /dev/null +++ b/il_timetable/nodes/(788,8,-109).lua @@ -0,0 +1,5 @@ +-- 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/(957,14,1047).lua b/il_timetable/nodes/(957,14,1047).lua index 5e0be27..d9017d9 100644 --- a/il_timetable/nodes/(957,14,1047).lua +++ b/il_timetable/nodes/(957,14,1047).lua @@ -1,3 +1,4 @@ +--print(event,atc_id,"id") F.ttp_stop({ stn = "Ehlodex", doorside = "R", diff --git a/il_timetable/nodes/(981,22,1053).lua b/il_timetable/nodes/(981,22,1053).lua new file mode 100644 index 0000000..2a52ca4 --- /dev/null +++ b/il_timetable/nodes/(981,22,1053).lua @@ -0,0 +1,11 @@ +--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 +print(tr.." resetting timetable") + + +--print(rwt.get_time()) +--print(rwt.to_secs(rwt.now()))
\ No newline at end of file diff --git a/il_timetable/nodes/(982,22,1053).lua b/il_timetable/nodes/(982,22,1053).lua new file mode 100644 index 0000000..a30cd5d --- /dev/null +++ b/il_timetable/nodes/(982,22,1053).lua @@ -0,0 +1,6 @@ + +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 diff --git a/il_timetable/nodes/(999,16,1034).lua b/il_timetable/nodes/(999,16,1034).lua new file mode 100644 index 0000000..243ec26 --- /dev/null +++ b/il_timetable/nodes/(999,16,1034).lua @@ -0,0 +1,7 @@ +F.ttp_station_display({ + lines = {"CFE_N", "NX_N"}, + departure = {}, + station = "Ehlodex", + title = "Ehlodex", + display1 = "d1", +})
\ No newline at end of file |