summaryrefslogtreecommitdiff
path: root/nlvcross
diff options
context:
space:
mode:
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