diff options
Diffstat (limited to 'il_timetable')
-rw-r--r-- | il_timetable/init_code.lua | 14 | ||||
-rw-r--r-- | il_timetable/nodes/(-1725,-1,-4420).lua | 3 | ||||
-rw-r--r-- | il_timetable/nodes/(-1735,-1,-4398).lua | 1 | ||||
-rw-r--r-- | il_timetable/nodes/(-1921,13,-4541).lua | 2 | ||||
-rw-r--r-- | il_timetable/nodes/(-1937,21,-4581).lua | 1 | ||||
-rw-r--r-- | il_timetable/nodes/(-699,1,-426).lua | 2 | ||||
-rw-r--r-- | il_timetable/nodes/(1187,21,6115).lua (renamed from il_timetable/nodes/(1199,18,6127).lua) | 0 | ||||
-rw-r--r-- | il_timetable/nodes/(1604,-1,7982).lua | 2 | ||||
-rw-r--r-- | il_timetable/nodes/(1618,-1,7982).lua | 2 | ||||
-rw-r--r-- | il_timetable/nodes/(1953,19,8220).lua | 1 | ||||
-rw-r--r-- | il_timetable/nodes/(4100,4,5242).lua | 2 | ||||
-rw-r--r-- | il_timetable/nodes/(4602,9,2181).lua | 7 | ||||
-rw-r--r-- | il_timetable/nodes/(981,22,1053).lua | 11 | ||||
-rw-r--r-- | il_timetable/nodes/(982,21,1053).lua | 2 | ||||
-rw-r--r-- | il_timetable/nodes/(982,22,1053).lua | 5 | ||||
-rw-r--r-- | il_timetable/nodes/(983,21,1053).lua | 3 | ||||
-rw-r--r-- | il_timetable/nodes/(983,22,1053).lua | 2 |
17 files changed, 40 insertions, 20 deletions
diff --git a/il_timetable/init_code.lua b/il_timetable/init_code.lua index 9357130..c28ae86 100644 --- a/il_timetable/init_code.lua +++ b/il_timetable/init_code.lua @@ -150,8 +150,8 @@ local STOP_TIME = 10 local STOPCMD="B0WO" local DEPCMD="A1OCD1SM" local RDEPCMD="RA1OCD1SM" -local DYNAMIC_THR = 10 -local DYNAMIC_EN = false +local DYNAMIC_THR = 15 +local DYNAMIC_EN = true if not S.ttp then S.ttp = {} end if not S.ttt then S.ttt = {} end @@ -236,6 +236,16 @@ F.ttp={ inside_line_desc = "E16 to Personhood", stn_display = "E16 Personhood ", }, + KVE_N = { + outside_text = "[KVE] Kangasvarkaa Express\n->Kangasvarkaan Rata", + inside_line_desc = "KVE to Kangasvarkaa", + stn_display = "KVE Kangasvarkaa", + }, + KVE_S = { + outside_text = "[KVE] Kangasvarkaa Express\n->Spawn Main Station", + inside_line_desc = "KVE to Spawn Main Station", + stn_display = "KVE Spawn Main ", + }, } --[[ 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/(-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/(-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/(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/(1604,-1,7982).lua b/il_timetable/nodes/(1604,-1,7982).lua index 05dd00b..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 = "02;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 ba93d1d..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 = "07;30", --departure slot offset + depoff = "08;30", --departure slot offset doorside = "R", reverse = true, only_lines = nil, 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/(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/(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/(981,22,1053).lua b/il_timetable/nodes/(981,22,1053).lua index 8f5f90c..9e79f93 100644 --- a/il_timetable/nodes/(981,22,1053).lua +++ b/il_timetable/nodes/(981,22,1053).lua @@ -1,10 +1,7 @@ ---S.ttt["901424"] = nil ---S.ttp["E85_N"] = nil -nope() - -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,21,1053).lua b/il_timetable/nodes/(982,21,1053).lua index c00a6ff..00928a4 100644 --- a/il_timetable/nodes/(982,21,1053).lua +++ b/il_timetable/nodes/(982,21,1053).lua @@ -1,5 +1,5 @@ --W/E -local line = "E16" +local line = "FAR" lines = F.ttp_info_times(line.."_W", "00;00") linestr = F.ttp_info_trains(line.."_W", "00;00") diff --git a/il_timetable/nodes/(982,22,1053).lua b/il_timetable/nodes/(982,22,1053).lua new file mode 100644 index 0000000..73b9d08 --- /dev/null +++ b/il_timetable/nodes/(982,22,1053).lua @@ -0,0 +1,5 @@ +-- 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,21,1053).lua b/il_timetable/nodes/(983,21,1053).lua new file mode 100644 index 0000000..84bed9c --- /dev/null +++ b/il_timetable/nodes/(983,21,1053).lua @@ -0,0 +1,3 @@ +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 index 23b5dea..493aeb1 100644 --- a/il_timetable/nodes/(983,22,1053).lua +++ b/il_timetable/nodes/(983,22,1053).lua @@ -1 +1 @@ -S.ttt["187794"] = nil
\ No newline at end of file +S.ttt["732702"] = nil
\ No newline at end of file |