diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-10-15 22:37:42 +0200 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-10-15 22:37:42 +0200 |
commit | 572b186e28ddc2a630613765c0f0780b4664380f (patch) | |
tree | e93412c97c577b04bbf12749bfe61470e001063a /Tyard/nodes/(-4011,12,-2642).lua | |
parent | 5c7f77725394d47ce0b907aabf885ea207a507bd (diff) | |
download | luaatc_envs-572b186e28ddc2a630613765c0f0780b4664380f.tar.gz luaatc_envs-572b186e28ddc2a630613765c0f0780b4664380f.tar.bz2 luaatc_envs-572b186e28ddc2a630613765c0f0780b4664380f.zip |
Diffstat (limited to 'Tyard/nodes/(-4011,12,-2642).lua')
-rw-r--r-- | Tyard/nodes/(-4011,12,-2642).lua | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/Tyard/nodes/(-4011,12,-2642).lua b/Tyard/nodes/(-4011,12,-2642).lua deleted file mode 100644 index 2498bc5..0000000 --- a/Tyard/nodes/(-4011,12,-2642).lua +++ /dev/null @@ -1,38 +0,0 @@ --- Yard arrival checker --- F.dir = true if entering from south - -if F.has_rc("TY_NOSHUNT") then return end - -local function enter_yard() - F.dir(false) - F.yard_active(true) - F.add_rc({"TY_ARRIVE"}) - atc_set_ars_disable(false) - atc_send("S6") - return -end - -__approach_callback_mode = 1 -if event.approach and not event.has_entered then - atc_set_ars_disable(true) - atc_set_lzb_tsr(1) - return -end - -if event.train then - if F.yard_active() then - schedule_in(";10","recheck") - return - else - enter_yard() - end -end - -if event.schedule then - if F.yard_active() then - schedule_in(";10","recheck") - return - else - enter_yard() - end -end
\ No newline at end of file |