diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 15:03:17 +0200 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 15:03:17 +0200 |
commit | b9f2668f2a5c348cd927530f87e245f25ed41a6b (patch) | |
tree | d1247f4bf8313d54a56f4af29d6c01944f8a3bac | |
parent | 08b2223c5d433a08b72f68754af480c515094079 (diff) | |
download | luaatc_envs-b9f2668f2a5c348cd927530f87e245f25ed41a6b.tar.gz luaatc_envs-b9f2668f2a5c348cd927530f87e245f25ed41a6b.tar.bz2 luaatc_envs-b9f2668f2a5c348cd927530f87e245f25ed41a6b.zip |
State at 2023-11-23
-rw-r--r-- | Crossroads/init_code.lua | 7 | ||||
-rw-r--r-- | Crossroads/nodes/(2578,12,8138).lua | 1 | ||||
-rw-r--r-- | Crossroads/nodes/(2587,12,8135).lua | 1 | ||||
-rw-r--r-- | far/nodes/(21443,9,984).lua | 8 | ||||
-rw-r--r-- | il_timetable/init_code.lua | 2 |
5 files changed, 15 insertions, 4 deletions
diff --git a/Crossroads/init_code.lua b/Crossroads/init_code.lua index 7e0d79c..8c71d8e 100644 --- a/Crossroads/init_code.lua +++ b/Crossroads/init_code.lua @@ -457,8 +457,9 @@ F.stnlist = { scc = "Silver Coast Central", scn = "Silver Coast North", scs = "Silver Coast South", - ["SWALD-stn"] = "Sakurawäldle", ["SWALD-south"] = "Sakurawäldle Süd", + ["SWALD-stn"] = "Sakurawäldle", + ["SWALD-west"] = "Sakurawäldle West", thecube = "The Cube", } @@ -544,8 +545,8 @@ F.lines = { ring = false, rtt = 600, interval = 300, - [1] = { {"SWALD-south", "1", 45}, {"SWALD-stn", "N", 85}, {"krasnograd", "W", 195}, {"NRG-pek", "W", 235}, {"NRG-CW", "S", 280}, {"NRG-krstr", "S", 310}, {"NRG-yard", "W", 340}, }, - [2] = { {"NRG-yard", "W", 340}, {"NRG-krstr", "N", 370}, {"NRG-CW", "N", 400}, {"NRG-pek", "E", 440}, {"krasnograd", "E", 495}, {"SWALD-stn", "S", 605}, {"SWALD-south", "1", 645}, }, + [1] = { {"SWALD-south", "1", 45}, {"SWALD-stn", "N", 85}, {"SWALD-west", "W", 115}, {"krasnograd", "W", 195}, {"NRG-pek", "W", 235}, {"NRG-CW", "S", 280}, {"NRG-krstr", "S", 310}, {"NRG-yard", "W", 340}, }, + [2] = { {"NRG-yard", "W", 340}, {"NRG-krstr", "N", 370}, {"NRG-CW", "N", 400}, {"NRG-pek", "E", 440}, {"krasnograd", "E", 495}, {"SWALD-west", "E", 575}, {"SWALD-stn", "S", 605}, {"SWALD-south", "1", 645}, }, }, } diff --git a/Crossroads/nodes/(2578,12,8138).lua b/Crossroads/nodes/(2578,12,8138).lua new file mode 100644 index 0000000..b4c3984 --- /dev/null +++ b/Crossroads/nodes/(2578,12,8138).lua @@ -0,0 +1 @@ +F.stn2gen("SWALD-west", "W", "R")
\ No newline at end of file diff --git a/Crossroads/nodes/(2587,12,8135).lua b/Crossroads/nodes/(2587,12,8135).lua new file mode 100644 index 0000000..1400ef1 --- /dev/null +++ b/Crossroads/nodes/(2587,12,8135).lua @@ -0,0 +1 @@ +F.stn2gen("SWALD-west", "E", "R")
\ No newline at end of file diff --git a/far/nodes/(21443,9,984).lua b/far/nodes/(21443,9,984).lua new file mode 100644 index 0000000..6b7cd0a --- /dev/null +++ b/far/nodes/(21443,9,984).lua @@ -0,0 +1,8 @@ +-- far_luaatctrack_spot_check_01.lua + +local show_print = false +if event.train then + local posTable = POS(21443,9,984) + F.save_train(posTable) + return +end
\ No newline at end of file diff --git a/il_timetable/init_code.lua b/il_timetable/init_code.lua index 59cf8a2..a4aee4e 100644 --- a/il_timetable/init_code.lua +++ b/il_timetable/init_code.lua @@ -367,7 +367,7 @@ F.ttp_stop({ if tti.recording_train == atc_id then -- we are recording. save travel time tti.travel_times[p.stn] = rwt.diff(trn.initial_dep or 0, time_now) - print(atc_id," for ",p.tt,"at",p.stn,"-> travel time",rwt.to_string(tti.travel_times[p.stn])) + print(atc_id,"for",tt,"at",p.stn,"-> travel time",rwt.to_string(tti.travel_times[p.stn])) tti.station_order[#tti.station_order+1] = p.stn atc_set_text_inside(p.stn.."\nRec TT " ..rwt.to_string(tti.travel_times[p.stn], true).." Da" |