diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:52:38 +0200 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:52:38 +0200 |
commit | 919dbef9da1345a4c30f768ca99d63402dd606a3 (patch) | |
tree | e8947aa6e3eb2faff51e842f893dfda6392f47d5 /nodes | |
parent | f50738ad5ee065da57ff6211ed34c4fd15be703e (diff) | |
download | il_timetable-919dbef9da1345a4c30f768ca99d63402dd606a3.tar.gz il_timetable-919dbef9da1345a4c30f768ca99d63402dd606a3.tar.bz2 il_timetable-919dbef9da1345a4c30f768ca99d63402dd606a3.zip |
State at 2021-04-04
Diffstat (limited to 'nodes')
43 files changed, 325 insertions, 2 deletions
diff --git a/nodes/(-1023,21,-108).lua b/nodes/(-1023,21,-108).lua new file mode 100644 index 0000000..51ee459 --- /dev/null +++ b/nodes/(-1023,21,-108).lua @@ -0,0 +1 @@ +F.ttp_stop("testing", "Mitte 1", "L")
\ No newline at end of file diff --git a/nodes/(-1023,21,-150).lua b/nodes/(-1023,21,-150).lua new file mode 100644 index 0000000..ea2b0c2 --- /dev/null +++ b/nodes/(-1023,21,-150).lua @@ -0,0 +1 @@ +F.ttp_stop("testing", "Mitte 2", "L")
\ No newline at end of file diff --git a/nodes/(-1023,21,-190).lua b/nodes/(-1023,21,-190).lua new file mode 100644 index 0000000..c524004 --- /dev/null +++ b/nodes/(-1023,21,-190).lua @@ -0,0 +1 @@ +F.ttp_end("testing", "Sued", "L", 2)
\ No newline at end of file diff --git a/nodes/(-1023,21,-88).lua b/nodes/(-1023,21,-88).lua new file mode 100644 index 0000000..62a70b4 --- /dev/null +++ b/nodes/(-1023,21,-88).lua @@ -0,0 +1 @@ +F.ttp_begin("testing", "Nord", "01;00", "00;30", "L")
\ No newline at end of file diff --git a/nodes/(-1477,9,-83).lua b/nodes/(-1477,9,-83).lua new file mode 100644 index 0000000..21d7954 --- /dev/null +++ b/nodes/(-1477,9,-83).lua @@ -0,0 +1,29 @@ +if event.train then +st_name = "Shouwroom" +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), 240, 0) +if flip then + atc_set_text_outside("4 - Schwarzschild Street") + digiline_send("monitor", "4 Schwarzschild St . "..rwt.to_string(next_dep_time, true)) + set_rc("SC") +else + digiline_send("monitor", "4 NYE Square "..rwt.to_string(next_dep_time, true)) + atc_set_text_outside("4 - NYE Square") + set_rc("NY") +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") + set_route("shrdep", "*") + digiline_send("monitor", "Last Departure: | "..rwt.to_string(rwt.now(), true)) + atc_set_text_inside("") + depart = true + end +--
\ No newline at end of file diff --git a/nodes/(-1481,3,1160).lua b/nodes/(-1481,3,1160).lua new file mode 100644 index 0000000..8055b7a --- /dev/null +++ b/nodes/(-1481,3,1160).lua @@ -0,0 +1,10 @@ +if atc_arrow then +if flip then + atc_set_text_outside("4 - Schwarzschild Street") + set_rc("SC") +else + atc_set_text_outside("4 - NYE Square") + set_rc("NY") +end +flip = not flip +end
\ No newline at end of file diff --git a/nodes/(-2091,9,-4569).lua b/nodes/(-2091,9,-4569).lua new file mode 100644 index 0000000..293832f --- /dev/null +++ b/nodes/(-2091,9,-4569).lua @@ -0,0 +1 @@ +F.stop_sd_sched("Melinka", "L", "RSM", 10, 120, 0) diff --git a/nodes/(-640,14,-426).lua b/nodes/(-640,14,-426).lua new file mode 100644 index 0000000..0a32291 --- /dev/null +++ b/nodes/(-640,14,-426).lua @@ -0,0 +1,3 @@ +if event.train then + F.timetake_end("E1-Psh-Ehl") +end
\ No newline at end of file diff --git a/nodes/(1103,23,3014).lua b/nodes/(1103,23,3014).lua new file mode 100644 index 0000000..0ea53b2 --- /dev/null +++ b/nodes/(1103,23,3014).lua @@ -0,0 +1,8 @@ +F.ttp_station_display({ + lines = {"CFE_S", "NX_S"}, + departure = {CFE_S="15;00", NX_S="02;30"}, + station = "Personhood West", + title = "PH West - Track 4", + interval = 30, + display1 = "track4", +})
\ No newline at end of file diff --git a/nodes/(1103,23,3027).lua b/nodes/(1103,23,3027).lua new file mode 100644 index 0000000..0ea53b2 --- /dev/null +++ b/nodes/(1103,23,3027).lua @@ -0,0 +1,8 @@ +F.ttp_station_display({ + lines = {"CFE_S", "NX_S"}, + departure = {CFE_S="15;00", NX_S="02;30"}, + station = "Personhood West", + title = "PH West - Track 4", + interval = 30, + display1 = "track4", +})
\ No newline at end of file diff --git a/nodes/(1106,19,3007).lua b/nodes/(1106,19,3007).lua new file mode 100644 index 0000000..ff8b71e --- /dev/null +++ b/nodes/(1106,19,3007).lua @@ -0,0 +1,6 @@ +F.ttp_stop({ + stn = "Personhood West", + doorside = "R", +-- end_of_tt = {CFE_S=true, NX_S=true}, + departure = {CFE_S="15;00", NX_S="02;30"}, +})
\ No newline at end of file diff --git a/nodes/(1106,23,1943).lua b/nodes/(1106,23,1943).lua new file mode 100644 index 0000000..84a52d0 --- /dev/null +++ b/nodes/(1106,23,1943).lua @@ -0,0 +1,9 @@ +F.ttp_station_display({ + lines = {"CFE_S", "NX_S", "E1_S"}, + departure = {}, + station = "The Cube", + title = "The Cube (Track 2)", + interval = 15, + display1 = "display1", + display2 = "display2", +})
\ No newline at end of file diff --git a/nodes/(1107,16,1951).lua b/nodes/(1107,16,1951).lua new file mode 100644 index 0000000..1d7d775 --- /dev/null +++ b/nodes/(1107,16,1951).lua @@ -0,0 +1,5 @@ +F.ttp_stop({ + stn = "The Cube", + doorside = "R", + end_of_tt = {CFE_S=true,NX_S=true,E1_S=true}, +})
\ No newline at end of file diff --git a/nodes/(142,8,164).lua b/nodes/(142,8,164).lua new file mode 100644 index 0000000..acced81 --- /dev/null +++ b/nodes/(142,8,164).lua @@ -0,0 +1 @@ +atc_set_text_outside("[CFE] Warmoneaye\nvia Ehlodex, Personhood West, Crystal Farms")
\ No newline at end of file diff --git a/nodes/(1524,21,2656).lua b/nodes/(1524,21,2656).lua new file mode 100644 index 0000000..9b7580d --- /dev/null +++ b/nodes/(1524,21,2656).lua @@ -0,0 +1,4 @@ +F.ttp_stop({ + stn = "Personhood South", + doorside = "R", +})
\ No newline at end of file diff --git a/nodes/(159,11,846).lua b/nodes/(159,11,846).lua new file mode 100644 index 0000000..49e1131 --- /dev/null +++ b/nodes/(159,11,846).lua @@ -0,0 +1,28 @@ +if event.train then +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") +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/nodes/(1604,-1,7982).lua b/nodes/(1604,-1,7982).lua new file mode 100644 index 0000000..1326eab --- /dev/null +++ b/nodes/(1604,-1,7982).lua @@ -0,0 +1,10 @@ +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 + doorside = "L", + reverse = true, + only_lines = nil, + force_tt_reset = false, -- force reset of travel times for this timetable +})
\ No newline at end of file diff --git a/nodes/(1618,-1,7982).lua b/nodes/(1618,-1,7982).lua new file mode 100644 index 0000000..c1b0bce --- /dev/null +++ b/nodes/(1618,-1,7982).lua @@ -0,0 +1,10 @@ +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 + doorside = "R", + reverse = true, + only_lines = nil, + force_tt_reset = false, -- force reset of travel times for this timetable +})
\ No newline at end of file diff --git a/nodes/(1725,28,2912).lua b/nodes/(1725,28,2912).lua new file mode 100644 index 0000000..6c2907f --- /dev/null +++ b/nodes/(1725,28,2912).lua @@ -0,0 +1 @@ +F.timedisplay()
\ No newline at end of file diff --git a/nodes/(1730,26,2915).lua b/nodes/(1730,26,2915).lua new file mode 100644 index 0000000..44b483e --- /dev/null +++ b/nodes/(1730,26,2915).lua @@ -0,0 +1,12 @@ +-- 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/nodes/(1730,26,2926).lua b/nodes/(1730,26,2926).lua new file mode 100644 index 0000000..b2341c2 --- /dev/null +++ b/nodes/(1730,26,2926).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("E11 - Oasis") +F.stop_sd_sched("Personhood Main Station", "R", "RSM", 10, 300, 0)
\ No newline at end of file diff --git a/nodes/(1734,26,2922).lua b/nodes/(1734,26,2922).lua new file mode 100644 index 0000000..36913b1 --- /dev/null +++ b/nodes/(1734,26,2922).lua @@ -0,0 +1,10 @@ +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 = false, +}) diff --git a/nodes/(1899,19,8223).lua b/nodes/(1899,19,8223).lua new file mode 100644 index 0000000..c07fbb8 --- /dev/null +++ b/nodes/(1899,19,8223).lua @@ -0,0 +1,4 @@ +F.ttp_stop({ + stn = "Krasnograd", + doorside = "R", +})
\ No newline at end of file diff --git a/nodes/(1932,8,9112).lua b/nodes/(1932,8,9112).lua new file mode 100644 index 0000000..ab5f43e --- /dev/null +++ b/nodes/(1932,8,9112).lua @@ -0,0 +1,19 @@ +--S.ttp["CFE_S"].travel_times["Personhood West"] = 890 + +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/nodes/(1936,7,9131).lua b/nodes/(1936,7,9131).lua new file mode 100644 index 0000000..815f30a --- /dev/null +++ b/nodes/(1936,7,9131).lua @@ -0,0 +1,11 @@ +F.ttp_begin({ + stn = "Warmoneaye", -- station name + tt = "CFE_S", -- timetable ID + depint = "05;00", --departure slot interval + depoff = "00;00", --departure slot offset + doorside = "L", + reverse = true, + only_lines = nil, + force_tt_reset = false, +}) +F.stat("CFE")
\ No newline at end of file diff --git a/nodes/(1953,19,8220).lua b/nodes/(1953,19,8220).lua new file mode 100644 index 0000000..c07fbb8 --- /dev/null +++ b/nodes/(1953,19,8220).lua @@ -0,0 +1,4 @@ +F.ttp_stop({ + stn = "Krasnograd", + doorside = "R", +})
\ No newline at end of file diff --git a/nodes/(1971,5,7353).lua b/nodes/(1971,5,7353).lua new file mode 100644 index 0000000..d9f6da9 --- /dev/null +++ b/nodes/(1971,5,7353).lua @@ -0,0 +1,8 @@ +F.ttp_station_display({ + lines = {"CFE_S"}, + departure = {}, + station = "Crystal Farms", + title = "Crystal Farms", + interval = 60, + display1 = "disp1", +}) diff --git a/nodes/(1973,42,8384).lua b/nodes/(1973,42,8384).lua new file mode 100644 index 0000000..8fe1919 --- /dev/null +++ b/nodes/(1973,42,8384).lua @@ -0,0 +1,9 @@ +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/nodes/(1973,5,6132).lua b/nodes/(1973,5,6132).lua new file mode 100644 index 0000000..451a05c --- /dev/null +++ b/nodes/(1973,5,6132).lua @@ -0,0 +1,8 @@ +F.ttp_station_display({ + lines = {"CFE_S"}, + departure = {}, + station = "Grootshad - X Nihilo", + title = "Grootshad-XNihilo", + interval = 60, + display1 = "disp1", +}) diff --git a/nodes/(1976,5,7914).lua b/nodes/(1976,5,7914).lua new file mode 100644 index 0000000..313ac90 --- /dev/null +++ b/nodes/(1976,5,7914).lua @@ -0,0 +1,8 @@ +F.ttp_station_display({ + lines = {"CFE_S"}, + departure = {}, + station = "Malvarma Akvo", + title = "Malvarma Akvo", + interval = 60, + display1 = "disp1", +}) diff --git a/nodes/(1977,3,7354).lua b/nodes/(1977,3,7354).lua new file mode 100644 index 0000000..61e267f --- /dev/null +++ b/nodes/(1977,3,7354).lua @@ -0,0 +1,4 @@ +F.ttp_stop({ + stn = "Crystal Farms", + doorside = "R", +})
\ No newline at end of file diff --git a/nodes/(1980,3,6129).lua b/nodes/(1980,3,6129).lua new file mode 100644 index 0000000..438b60f --- /dev/null +++ b/nodes/(1980,3,6129).lua @@ -0,0 +1,4 @@ +F.ttp_stop({ + stn = "Grootshad - X Nihilo", + doorside = "R", +})
\ No newline at end of file diff --git a/nodes/(1980,3,7922).lua b/nodes/(1980,3,7922).lua new file mode 100644 index 0000000..9e91259 --- /dev/null +++ b/nodes/(1980,3,7922).lua @@ -0,0 +1,4 @@ +F.ttp_stop({ + stn = "Malvarma Akvo", + doorside = "R", +})
\ No newline at end of file diff --git a/nodes/(1980,41,8381).lua b/nodes/(1980,41,8381).lua new file mode 100644 index 0000000..bad022d --- /dev/null +++ b/nodes/(1980,41,8381).lua @@ -0,0 +1,5 @@ +F.ttp_stop({ + stn = "Azena Transirejo", + doorside = "R", + only_lines = {CFE=true} +})
\ No newline at end of file diff --git a/nodes/(1980,41,8395).lua b/nodes/(1980,41,8395).lua new file mode 100644 index 0000000..c763b43 --- /dev/null +++ b/nodes/(1980,41,8395).lua @@ -0,0 +1,10 @@ +F.ttp_begin({ + stn = "Azena Transirejo", -- station name + tt = "NRG_W", -- timetable ID + depint = "05;00", --departure slot interval + depoff = "00;30", --departure slot offset + doorside = "L", + reverse = true, + only_lines = {["CFE-NRG"] = true}, + force_tt_reset = false, -- force reset of travel times for this timetable +})
\ No newline at end of file diff --git a/nodes/(2648,13,4352).lua b/nodes/(2648,13,4352).lua new file mode 100644 index 0000000..565febb --- /dev/null +++ b/nodes/(2648,13,4352).lua @@ -0,0 +1,4 @@ +F.ttp_stop({ + stn = "GRUB Valley (GVMER)", + doorside = "R" +})
\ No newline at end of file diff --git a/nodes/(286,4,206).lua b/nodes/(286,4,206).lua new file mode 100644 index 0000000..8713687 --- /dev/null +++ b/nodes/(286,4,206).lua @@ -0,0 +1,27 @@ +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), 240, 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 diff --git a/nodes/(767,10,3484).lua b/nodes/(767,10,3484).lua new file mode 100644 index 0000000..1b4f884 --- /dev/null +++ b/nodes/(767,10,3484).lua @@ -0,0 +1,10 @@ +F.ttp_begin({ + stn = "Stopsleyhood Town Hall", -- station name + tt = "NX_S", -- timetable ID + depint = "05;00", --departure slot interval + depoff = "00;00", --departure slot offset + doorside = "L", + reverse = false, + only_lines = { XN = true }, + force_tt_reset = false, +}) diff --git a/nodes/(790,8,-109).lua b/nodes/(790,8,-109).lua new file mode 100644 index 0000000..78cf1f7 --- /dev/null +++ b/nodes/(790,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/nodes/(941,18,-571).lua b/nodes/(941,18,-571).lua new file mode 100644 index 0000000..38f1073 --- /dev/null +++ b/nodes/(941,18,-571).lua @@ -0,0 +1,5 @@ +atc_set_text_outside("Line 1 - Palm Bay") +-- 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("Windy Mountains", "R", "RSM", 10, 240, 60)
\ No newline at end of file diff --git a/nodes/(957,14,1047).lua b/nodes/(957,14,1047).lua index 74760fd..d28a823 100644 --- a/nodes/(957,14,1047).lua +++ b/nodes/(957,14,1047).lua @@ -2,6 +2,10 @@ -- d_off: Departure time offset -- function F.stop_sd(st_name, doors, departcommand, minstoptime, d_int, d_off) F.stop_sd_sched("Ehlodex", "R", "SM", 10, 60, 0) + +if event.train then + F.timetake_end("E1-Psh-Ehl") +end if depart then - setstate("Ehl6ARSPreventer", "st") + F.timetake_start("E1-Ehl-Spn") end
\ No newline at end of file diff --git a/nodes/(960,14,1067).lua b/nodes/(960,14,1067).lua new file mode 100644 index 0000000..43e2d7d --- /dev/null +++ b/nodes/(960,14,1067).lua @@ -0,0 +1,3 @@ +if event.train then +F.timetake_start("E1-Ehl-Psh") +end
\ No newline at end of file diff --git a/nodes/(972,14,1053).lua b/nodes/(972,14,1053).lua index fde413c..c316b90 100644 --- a/nodes/(972,14,1053).lua +++ b/nodes/(972,14,1053).lua @@ -1,4 +1,7 @@ -- 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, 75)
\ No newline at end of file +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 |