summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--far/nodes/(2715,8,1423).lua7
-rw-r--r--far/nodes/(2715,8,1427).lua7
-rw-r--r--far/nodes/(2839,14,1562).lua7
-rw-r--r--far/nodes/(2865,14,1575).lua7
-rw-r--r--il_timetable/init_code.lua14
5 files changed, 35 insertions, 7 deletions
diff --git a/far/nodes/(2715,8,1423).lua b/far/nodes/(2715,8,1423).lua
new file mode 100644
index 0000000..a51a5c5
--- /dev/null
+++ b/far/nodes/(2715,8,1423).lua
@@ -0,0 +1,7 @@
+-- far_luaatctrack_spot_check_01.lua
+
+if event.train then
+ local posTable = POS( 2715,8,1423 )
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(2715,8,1427).lua b/far/nodes/(2715,8,1427).lua
new file mode 100644
index 0000000..6ec469a
--- /dev/null
+++ b/far/nodes/(2715,8,1427).lua
@@ -0,0 +1,7 @@
+-- far_luaatctrack_spot_check_01.lua
+
+if event.train then
+ local posTable = POS( 2715,8,1427 )
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(2839,14,1562).lua b/far/nodes/(2839,14,1562).lua
new file mode 100644
index 0000000..2739288
--- /dev/null
+++ b/far/nodes/(2839,14,1562).lua
@@ -0,0 +1,7 @@
+-- far_luaatctrack_spot_check_01.lua
+
+if event.train then
+ local posTable = POS( 2839,14,1562 )
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(2865,14,1575).lua b/far/nodes/(2865,14,1575).lua
new file mode 100644
index 0000000..3befff2
--- /dev/null
+++ b/far/nodes/(2865,14,1575).lua
@@ -0,0 +1,7 @@
+-- far_luaatctrack_spot_check_01.lua
+
+if event.train then
+ local posTable = POS( 2865,14,1575 )
+ 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 322b0a4..5be7317 100644
--- a/il_timetable/init_code.lua
+++ b/il_timetable/init_code.lua
@@ -309,8 +309,8 @@ function F.ttp_begin(p)
tti.recording_train = nil
end
atc_set_text_outside(F.ttp[p.tt].outside_text)
- atc_set_text_inside(p.stn.."\nAa: "
- ..rwt.to_string(time_now, true).." Da: "
+ atc_set_text_inside(p.stn.."\nArr: "
+ ..rwt.to_string(time_now, true).." Dep: "
..rwt.to_string(next_dep_time, true))
end
if event.schedule then
@@ -319,7 +319,7 @@ function F.ttp_begin(p)
S.ttt[atc_id].actual_dep = rwt.now()
local delay = rwt.diff(S.ttt[atc_id].desired_dep, S.ttt[atc_id].actual_dep)
atc_set_text_inside(F.ttp[p.tt].inside_line_desc
- .."\nDelay:"..rwt.to_string(delay, true))
+ .."\nDelay: "..rwt.to_string(delay, true))
S.ttt[atc_id].last_delay = delay
end
if p.reverse then
@@ -411,9 +411,9 @@ F.ttp_stop({
-- don't depart before the planned departure time
next_dep_time = trn.desired_dep
end
- atc_set_text_inside(p.stn.."\nAa "
- ..rwt.to_string(time_now, true).." Dd"
- ..rwt.to_string(trn.desired_dep, true).." Da"
+ atc_set_text_inside(p.stn.."\nArr: "
+ ..rwt.to_string(time_now, true).." Plan: "
+ ..rwt.to_string(trn.desired_dep, true).." Dep: "
..rwt.to_string(next_dep_time, true))
local delay = rwt.diff(trn.desired_dep, next_dep_time)
@@ -442,7 +442,7 @@ F.ttp_stop({
trn.actual_dep = rwt.now()
local delay = rwt.diff(trn.desired_dep or trn.actual_dep, trn.actual_dep)
atc_set_text_inside(F.ttp[tt].inside_line_desc
- .."\nDelay:"..rwt.to_string(delay, true))
+ .."\nDelay: "..rwt.to_string(delay, true))
S.ttt[atc_id].last_delay = delay
atc_send(DEPCMD)
if p.end_of_tt and p.end_of_tt[tt] then