From 659d0af30c8433b96aad397351e218ca7e825c99 Mon Sep 17 00:00:00 2001 From: autocommitter Date: Thu, 14 Nov 2024 00:00:02 +0100 Subject: State at 2024-11-14 --- il_timetable/init_code.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'il_timetable/init_code.lua') diff --git a/il_timetable/init_code.lua b/il_timetable/init_code.lua index 5be7317..2915a6d 100644 --- a/il_timetable/init_code.lua +++ b/il_timetable/init_code.lua @@ -507,7 +507,8 @@ end interval = 30, display1 = "d1", display2 = "d2", - display3 = "d3" + display3 = "d3", + show_trainid = false, }]] function F.ttp_station_display(p) --L425 @@ -522,7 +523,9 @@ local function is_past_station(tstn, stnorder) end local function add_train(deptime, line, train, tid) local tent = {dep = deptime, text = - rwt.to_string(deptime,true).." "..F.ttp[line].stn_display + rwt.to_string(deptime,true) + .." "..(p.show_trainid and tid or "") + ..F.ttp[line].stn_display .." +"..train.last_delay} for i,ntrn in ipairs(next_trains) do if rwt.diff(ntrn.dep, deptime)<0 then -- cgit v1.2.3