summaryrefslogtreecommitdiff
path: root/durt/nodes
diff options
context:
space:
mode:
Diffstat (limited to 'durt/nodes')
-rw-r--r--durt/nodes/(-1459,11,-2588).lua8
-rw-r--r--durt/nodes/(-1514,11,-2588).lua19
-rw-r--r--durt/nodes/(-1515,7,-2625).lua1
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