summaryrefslogtreecommitdiff
path: root/durt/nodes
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-04-22 14:57:47 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-04-22 14:57:47 +0200
commitf7b6c1d04fe86be0d71b1936f1e7df4ad8a486db (patch)
tree3ce5a435ec17362b8539d9802b4dae1da36ea217 /durt/nodes
parent56678177b56791fa9fd5dd6a15a3b213ec103ec8 (diff)
downloadluaatc_envs-f7b6c1d04fe86be0d71b1936f1e7df4ad8a486db.tar.gz
luaatc_envs-f7b6c1d04fe86be0d71b1936f1e7df4ad8a486db.tar.bz2
luaatc_envs-f7b6c1d04fe86be0d71b1936f1e7df4ad8a486db.zip
State at 2022-06-24
Diffstat (limited to 'durt/nodes')
-rw-r--r--durt/nodes/(-1478,11,-2588).lua15
-rw-r--r--durt/nodes/(-1489,11,-2588).lua14
2 files changed, 28 insertions, 1 deletions
diff --git a/durt/nodes/(-1478,11,-2588).lua b/durt/nodes/(-1478,11,-2588).lua
index bb966dd..0239c6a 100644
--- a/durt/nodes/(-1478,11,-2588).lua
+++ b/durt/nodes/(-1478,11,-2588).lua
@@ -1 +1,14 @@
-__approach_callback_mode = 1 if event.approach and not event.has_entered then atc_set_ars_disable(true) atc_set_lzb_tsr(1) end if event.train and atc_arrow then atc_send("S1") end \ No newline at end of file
+__approach_callback_mode = 1
+
+if event.approach and not event.has_entered then
+ atc_set_ars_disable(true)
+ atc_set_lzb_tsr(1)
+end
+
+if event.train then
+ if atc_arrow then
+ atc_send("S1")
+ else
+ digiline_send("unloader","start")
+ end
+end \ No newline at end of file
diff --git a/durt/nodes/(-1489,11,-2588).lua b/durt/nodes/(-1489,11,-2588).lua
new file mode 100644
index 0000000..0239c6a
--- /dev/null
+++ b/durt/nodes/(-1489,11,-2588).lua
@@ -0,0 +1,14 @@
+__approach_callback_mode = 1
+
+if event.approach and not event.has_entered then
+ atc_set_ars_disable(true)
+ atc_set_lzb_tsr(1)
+end
+
+if event.train then
+ if atc_arrow then
+ atc_send("S1")
+ else
+ digiline_send("unloader","start")
+ end
+end \ No newline at end of file