diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-10-15 22:37:32 +0200 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-10-15 22:37:32 +0200 |
commit | 5c7f77725394d47ce0b907aabf885ea207a507bd (patch) | |
tree | a1ff9c67ef8f225a259e4c6f4c163a45c58bb870 /durt/nodes/(1896,8,9053).lua | |
parent | b435d1b1b26db6f7c4f3eb589ecf1ed3bb79b57e (diff) | |
download | luaatc_envs-5c7f77725394d47ce0b907aabf885ea207a507bd.tar.gz luaatc_envs-5c7f77725394d47ce0b907aabf885ea207a507bd.tar.bz2 luaatc_envs-5c7f77725394d47ce0b907aabf885ea207a507bd.zip |
State at 2024-10-15
Diffstat (limited to 'durt/nodes/(1896,8,9053).lua')
-rw-r--r-- | durt/nodes/(1896,8,9053).lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/durt/nodes/(1896,8,9053).lua b/durt/nodes/(1896,8,9053).lua new file mode 100644 index 0000000..0851b53 --- /dev/null +++ b/durt/nodes/(1896,8,9053).lua @@ -0,0 +1,17 @@ +__approach_callback_mode = 1 +if event.approach and not event.has_entered then + atc_set_ars_disable(true) + atc_set_lzb_tsr(4) +end + +if event.train and atc_arrow then + atc_send("S4") + if F.has_rc("WOA_mine_around") then + if train_length() == 1 then + F.add_rc("WOA_ttb_s") + else + F.add_rc("WOA_shed_left") + end + end + atc_set_ars_disable(false) +end
\ No newline at end of file |