summaryrefslogtreecommitdiff
path: root/durt
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-10-28 00:00:01 +0100
committerautocommitter <autocommitter@linux-forks.de>2024-10-28 00:00:01 +0100
commit1b9809da8b7b72ae9c59dbeabbfe76a26191f1a0 (patch)
tree09a00e6632a68cbb6e4869a6213f8c44d7dab4bb /durt
parent572b186e28ddc2a630613765c0f0780b4664380f (diff)
downloadluaatc_envs-1b9809da8b7b72ae9c59dbeabbfe76a26191f1a0.tar.gz
luaatc_envs-1b9809da8b7b72ae9c59dbeabbfe76a26191f1a0.tar.bz2
luaatc_envs-1b9809da8b7b72ae9c59dbeabbfe76a26191f1a0.zip
State at 2024-10-28
Diffstat (limited to 'durt')
-rw-r--r--durt/nodes/(-2080,3,827).lua (renamed from durt/nodes/(-2080,3,822).lua)2
-rw-r--r--durt/nodes/(-2080,3,839).lua (renamed from durt/nodes/(-2080,3,832).lua)0
-rw-r--r--durt/nodes/(-4152,13,-5840).lua5
3 files changed, 4 insertions, 3 deletions
diff --git a/durt/nodes/(-2080,3,822).lua b/durt/nodes/(-2080,3,827).lua
index c9d875f..74778f4 100644
--- a/durt/nodes/(-2080,3,822).lua
+++ b/durt/nodes/(-2080,3,827).lua
@@ -19,5 +19,5 @@ else --loco has rejoined from runaround. push through to headshunt, run over loa
"ARC_AUTO"
})
end
-set_route(POS(-2081,4,825),"Headshunt")
+set_route(POS(-2081,4,830),"Headshunt")
atc_send("A1S2") \ No newline at end of file
diff --git a/durt/nodes/(-2080,3,832).lua b/durt/nodes/(-2080,3,839).lua
index 4d71348..4d71348 100644
--- a/durt/nodes/(-2080,3,832).lua
+++ b/durt/nodes/(-2080,3,839).lua
diff --git a/durt/nodes/(-4152,13,-5840).lua b/durt/nodes/(-4152,13,-5840).lua
index 2611c48..8ef8f3d 100644
--- a/durt/nodes/(-4152,13,-5840).lua
+++ b/durt/nodes/(-4152,13,-5840).lua
@@ -35,13 +35,14 @@ local function send_train()
end
--no departures to collect, go straight to TYARD
set_rc(table.concat(cmd," "))
- atc_send("S0WRD2A1S4")
+ atc_send("I+S0WR;D2A1S4")
F.indicator(TYARD_notify_indicator,false)
return true
end
if event.schedule then
- if event.message == "check_again" then
+ print(rwt.to_string(rwt.now())..tostring(event.msg))
+ if event.msg == "check_again" then
if not send_train() then --will either send train or continue clock
schedule_in("1;0","check_again")
return