summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-04-22 14:53:48 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-04-22 14:53:48 +0200
commitf9e81e14be7244d3c298f8e578feb9a8b335c711 (patch)
treedc245274f2d8231c69e29ebad9158e8d05d91168
parentb3e15395e0827041d9f3d33be0ae029bd45c73a6 (diff)
downloadluaatc_envs-f9e81e14be7244d3c298f8e578feb9a8b335c711.tar.gz
luaatc_envs-f9e81e14be7244d3c298f8e578feb9a8b335c711.tar.bz2
luaatc_envs-f9e81e14be7244d3c298f8e578feb9a8b335c711.zip
State at 2021-07-31
-rw-r--r--durt/nodes/(-4129,5,-5616).lua24
-rw-r--r--durt/nodes/(-4129,5,-5624).lua24
-rw-r--r--durt/nodes/(-4129,5,-5626).lua12
-rw-r--r--durt/nodes/(-4129,9,-5588).lua12
4 files changed, 72 insertions, 0 deletions
diff --git a/durt/nodes/(-4129,5,-5616).lua b/durt/nodes/(-4129,5,-5616).lua
new file mode 100644
index 0000000..d30218f
--- /dev/null
+++ b/durt/nodes/(-4129,5,-5616).lua
@@ -0,0 +1,24 @@
+local lights = {
+ POS(-4131,5,-5623),
+ POS(-4127,5,-5623),
+ POS(-4127,5,-5617),
+ POS(-4131,5,-5617)
+}
+
+if event.train then
+ if atc_arrow then
+ schedule_in(";05",true)
+ return
+ end
+end
+
+if event.schedule then
+ if atc_id then
+ schedule_in(";05",true)
+ return
+ else
+ for _,v in pairs(lights) do
+ setstate(v,"off")
+ end
+ end
+end \ No newline at end of file
diff --git a/durt/nodes/(-4129,5,-5624).lua b/durt/nodes/(-4129,5,-5624).lua
new file mode 100644
index 0000000..d30218f
--- /dev/null
+++ b/durt/nodes/(-4129,5,-5624).lua
@@ -0,0 +1,24 @@
+local lights = {
+ POS(-4131,5,-5623),
+ POS(-4127,5,-5623),
+ POS(-4127,5,-5617),
+ POS(-4131,5,-5617)
+}
+
+if event.train then
+ if atc_arrow then
+ schedule_in(";05",true)
+ return
+ end
+end
+
+if event.schedule then
+ if atc_id then
+ schedule_in(";05",true)
+ return
+ else
+ for _,v in pairs(lights) do
+ setstate(v,"off")
+ end
+ end
+end \ No newline at end of file
diff --git a/durt/nodes/(-4129,5,-5626).lua b/durt/nodes/(-4129,5,-5626).lua
new file mode 100644
index 0000000..2dd69c1
--- /dev/null
+++ b/durt/nodes/(-4129,5,-5626).lua
@@ -0,0 +1,12 @@
+local lights = {
+ POS(-4131,5,-5623),
+ POS(-4127,5,-5623),
+ POS(-4127,5,-5617),
+ POS(-4131,5,-5617)
+}
+
+if event.train and atc_arrow then
+ for _,v in pairs(lights) do
+ setstate(v,"on")
+ end
+end
diff --git a/durt/nodes/(-4129,9,-5588).lua b/durt/nodes/(-4129,9,-5588).lua
new file mode 100644
index 0000000..2dd69c1
--- /dev/null
+++ b/durt/nodes/(-4129,9,-5588).lua
@@ -0,0 +1,12 @@
+local lights = {
+ POS(-4131,5,-5623),
+ POS(-4127,5,-5623),
+ POS(-4127,5,-5617),
+ POS(-4131,5,-5617)
+}
+
+if event.train and atc_arrow then
+ for _,v in pairs(lights) do
+ setstate(v,"on")
+ end
+end