diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:57:40 +0200 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:57:40 +0200 |
commit | 8e22d662e526a44b9832490d1a9f4d0ff6115609 (patch) | |
tree | a93874b3620345ab68f851fb07f003e4ad41d13e /durt/nodes | |
parent | 387155be168afea0d3917b6d9936d301ca33b03a (diff) | |
download | luaatc_envs-8e22d662e526a44b9832490d1a9f4d0ff6115609.tar.gz luaatc_envs-8e22d662e526a44b9832490d1a9f4d0ff6115609.tar.bz2 luaatc_envs-8e22d662e526a44b9832490d1a9f4d0ff6115609.zip |
State at 2022-06-15
Diffstat (limited to 'durt/nodes')
-rw-r--r-- | durt/nodes/(-1459,11,-2588).lua | 8 | ||||
-rw-r--r-- | durt/nodes/(-1514,11,-2588).lua | 19 | ||||
-rw-r--r-- | durt/nodes/(-1515,7,-2625).lua | 1 |
3 files changed, 24 insertions, 4 deletions
diff --git a/durt/nodes/(-1459,11,-2588).lua b/durt/nodes/(-1459,11,-2588).lua new file mode 100644 index 0000000..3b1b94b --- /dev/null +++ b/durt/nodes/(-1459,11,-2588).lua @@ -0,0 +1,8 @@ +if event.train and atc_arrow then + atc_set_ars_disable(false) + if F.has_rc("S27_Overburden") and train_length() == 1 then + F.add_rc({"S27_HS_E","S27_DOCK3"}) + return + end + F.add_rc("S27_EXIT") +end
\ No newline at end of file diff --git a/durt/nodes/(-1514,11,-2588).lua b/durt/nodes/(-1514,11,-2588).lua index ad879df..be0bf95 100644 --- a/durt/nodes/(-1514,11,-2588).lua +++ b/durt/nodes/(-1514,11,-2588).lua @@ -1,6 +1,17 @@ -if event.train and atc_arrow then - atc_set_ars_disable(false) - atc_send("S3") - set_rc(get_rc().." S27_EXIT_BRIDGE") +__approach_callback_mode = 2 +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 atc_arrow then + atc_set_ars_disable(false) + atc_send("S3") + F.add_rc("S27_EXIT_BRIDGE") + return + end + atc_send("S1") + step_fc() end
\ No newline at end of file diff --git a/durt/nodes/(-1515,7,-2625).lua b/durt/nodes/(-1515,7,-2625).lua new file mode 100644 index 0000000..7489acc --- /dev/null +++ b/durt/nodes/(-1515,7,-2625).lua @@ -0,0 +1 @@ +--
\ No newline at end of file |