summaryrefslogtreecommitdiff
path: root/nlvcross
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-04-22 14:52:38 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-04-22 14:52:38 +0200
commitcfa65d94f1bc9d9e9efe13791711a9ad044a4a67 (patch)
treebdecc9982a58cb88367e4e8b1fcd9cfa1f95573e /nlvcross
parentf3da24b214b3337ad63ebd885da29d5b789d4738 (diff)
downloadluaatc_envs-cfa65d94f1bc9d9e9efe13791711a9ad044a4a67.tar.gz
luaatc_envs-cfa65d94f1bc9d9e9efe13791711a9ad044a4a67.tar.bz2
luaatc_envs-cfa65d94f1bc9d9e9efe13791711a9ad044a4a67.zip
State at 2021-04-04
Diffstat (limited to 'nlvcross')
-rw-r--r--nlvcross/init_code.lua1
-rw-r--r--nlvcross/nodes/(-117,5,-1975).lua5
-rw-r--r--nlvcross/nodes/(-170,7,-2008).lua5
-rw-r--r--nlvcross/nodes/(1604,-1,8169).lua1
-rw-r--r--nlvcross/nodes/(1607,-1,8169).lua1
-rw-r--r--nlvcross/nodes/(1615,-1,8169).lua1
-rw-r--r--nlvcross/nodes/(1618,-1,8169).lua1
-rw-r--r--nlvcross/nodes/(1683,26,8220).lua1
-rw-r--r--nlvcross/nodes/(1683,26,8223).lua1
-rw-r--r--nlvcross/nodes/(572,14,1011).lua2
10 files changed, 18 insertions, 1 deletions
diff --git a/nlvcross/init_code.lua b/nlvcross/init_code.lua
index 6dccede..2a5ffeb 100644
--- a/nlvcross/init_code.lua
+++ b/nlvcross/init_code.lua
@@ -20,6 +20,7 @@ F.crossings={
PH_WestS = 2,
gardonst = 4,
Trs_Church = 3,
+ NRG = 6,
}
--[[ Setting up level crossings:
1. choose a name
diff --git a/nlvcross/nodes/(-117,5,-1975).lua b/nlvcross/nodes/(-117,5,-1975).lua
new file mode 100644
index 0000000..cdcec9a
--- /dev/null
+++ b/nlvcross/nodes/(-117,5,-1975).lua
@@ -0,0 +1,5 @@
+if atc_arrow then
+ F.on("SF1SouthWest", 1)
+else
+ F.off("SF1SouthWest", 1, true)
+end \ No newline at end of file
diff --git a/nlvcross/nodes/(-170,7,-2008).lua b/nlvcross/nodes/(-170,7,-2008).lua
new file mode 100644
index 0000000..cdcec9a
--- /dev/null
+++ b/nlvcross/nodes/(-170,7,-2008).lua
@@ -0,0 +1,5 @@
+if atc_arrow then
+ F.on("SF1SouthWest", 1)
+else
+ F.off("SF1SouthWest", 1, true)
+end \ No newline at end of file
diff --git a/nlvcross/nodes/(1604,-1,8169).lua b/nlvcross/nodes/(1604,-1,8169).lua
new file mode 100644
index 0000000..06d0642
--- /dev/null
+++ b/nlvcross/nodes/(1604,-1,8169).lua
@@ -0,0 +1 @@
+F.off("NRG","S") \ No newline at end of file
diff --git a/nlvcross/nodes/(1607,-1,8169).lua b/nlvcross/nodes/(1607,-1,8169).lua
new file mode 100644
index 0000000..06d0642
--- /dev/null
+++ b/nlvcross/nodes/(1607,-1,8169).lua
@@ -0,0 +1 @@
+F.off("NRG","S") \ No newline at end of file
diff --git a/nlvcross/nodes/(1615,-1,8169).lua b/nlvcross/nodes/(1615,-1,8169).lua
new file mode 100644
index 0000000..de57380
--- /dev/null
+++ b/nlvcross/nodes/(1615,-1,8169).lua
@@ -0,0 +1 @@
+F.on("NRG","N") \ No newline at end of file
diff --git a/nlvcross/nodes/(1618,-1,8169).lua b/nlvcross/nodes/(1618,-1,8169).lua
new file mode 100644
index 0000000..de57380
--- /dev/null
+++ b/nlvcross/nodes/(1618,-1,8169).lua
@@ -0,0 +1 @@
+F.on("NRG","N") \ No newline at end of file
diff --git a/nlvcross/nodes/(1683,26,8220).lua b/nlvcross/nodes/(1683,26,8220).lua
new file mode 100644
index 0000000..a2d877b
--- /dev/null
+++ b/nlvcross/nodes/(1683,26,8220).lua
@@ -0,0 +1 @@
+F.off("NRG","N") \ No newline at end of file
diff --git a/nlvcross/nodes/(1683,26,8223).lua b/nlvcross/nodes/(1683,26,8223).lua
new file mode 100644
index 0000000..c3a20cf
--- /dev/null
+++ b/nlvcross/nodes/(1683,26,8223).lua
@@ -0,0 +1 @@
+F.on("NRG", "S") \ No newline at end of file
diff --git a/nlvcross/nodes/(572,14,1011).lua b/nlvcross/nodes/(572,14,1011).lua
index 5b08d92..4d71073 100644
--- a/nlvcross/nodes/(572,14,1011).lua
+++ b/nlvcross/nodes/(572,14,1011).lua
@@ -1,5 +1,5 @@
if atc_id then
- if get_line()=="E1" and get_aspect("gardonst_lvc_sig1").main.free then
+ if get_line()=="E1" and get_aspect("gardonst_lvc_sig1").main == -1 then
F.on("gardonst","1")
end
end \ No newline at end of file