diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:56:59 +0200 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:56:59 +0200 |
commit | 7ce1ee32c9dd199eef6212c4f601ac4aaf3ce400 (patch) | |
tree | ec8bd4ab176ee2874fec6a83ba85db7125e426fd /Tyard/nodes/(-4100,12,-2742).lua | |
parent | 4590cc6504d625404f0af394da41bb71fc2dec45 (diff) | |
download | luaatc_envs-7ce1ee32c9dd199eef6212c4f601ac4aaf3ce400.tar.gz luaatc_envs-7ce1ee32c9dd199eef6212c4f601ac4aaf3ce400.tar.bz2 luaatc_envs-7ce1ee32c9dd199eef6212c4f601ac4aaf3ce400.zip |
State at 2022-04-21
Diffstat (limited to 'Tyard/nodes/(-4100,12,-2742).lua')
-rw-r--r-- | Tyard/nodes/(-4100,12,-2742).lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tyard/nodes/(-4100,12,-2742).lua b/Tyard/nodes/(-4100,12,-2742).lua index 1917d7f..ecc670f 100644 --- a/Tyard/nodes/(-4100,12,-2742).lua +++ b/Tyard/nodes/(-4100,12,-2742).lua @@ -1,7 +1,7 @@ -- Headshunt Controller -- Note: may need customising due to track layout local this_dir = false -- true = F.dir arrow points north. atc_arrow points towards yard -local error_indicator = POS(-4025,13,-2671) + __approach_callback_mode = 1 if event.approach and not event.has_entered then atc_set_ars_disable(true) @@ -11,6 +11,7 @@ end if event.train then if not atc_arrow then --train has entered headshunt from yard. bounce or depart + F.remove_rc({"TY_HEADSHUNT"}) if not F.has_rc("TY_DEPART") then --if has TY_DEPART then another controller closer to the signal will remove to ensure signal engages the RC schedule_in(";01",atc_id) atc_set_ars_disable(true) |