diff options
619 files changed, 0 insertions, 3479 deletions
diff --git a/Crossroads/nodes/(-1902,2,698).lua b/Crossroads/nodes/(-1902,2,698).lua deleted file mode 100644 index e69de29..0000000 --- a/Crossroads/nodes/(-1902,2,698).lua +++ /dev/null diff --git a/Crossroads/nodes/(-1908,2,706).lua b/Crossroads/nodes/(-1908,2,706).lua deleted file mode 100644 index e69de29..0000000 --- a/Crossroads/nodes/(-1908,2,706).lua +++ /dev/null diff --git a/Crossroads/nodes/(-5301,13,-2560).lua b/Crossroads/nodes/(-5301,13,-2560).lua deleted file mode 100644 index e69de29..0000000 --- a/Crossroads/nodes/(-5301,13,-2560).lua +++ /dev/null diff --git a/Crossroads/nodes/(-5314,13,-2568).lua b/Crossroads/nodes/(-5314,13,-2568).lua deleted file mode 100644 index e69de29..0000000 --- a/Crossroads/nodes/(-5314,13,-2568).lua +++ /dev/null diff --git a/Crossroads/nodes/(1083,19,3028).lua b/Crossroads/nodes/(1083,19,3028).lua deleted file mode 100644 index 20ba94c..0000000 --- a/Crossroads/nodes/(1083,19,3028).lua +++ /dev/null @@ -1,5 +0,0 @@ -if event.train then - if not atc_arrow then return end - atc_set_text_outside("ATL Bronze Line - Crossroads City Hall") - set_line("AB") -end
\ No newline at end of file diff --git a/Crossroads/nodes/(1100,16,1967).lua b/Crossroads/nodes/(1100,16,1967).lua deleted file mode 100644 index 194c3d9..0000000 --- a/Crossroads/nodes/(1100,16,1967).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen("thecube","1","L")
\ No newline at end of file diff --git a/Crossroads/nodes/(1112,10,2639).lua b/Crossroads/nodes/(1112,10,2639).lua deleted file mode 100644 index 40d327a..0000000 --- a/Crossroads/nodes/(1112,10,2639).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen("phsc","N","R")
\ No newline at end of file diff --git a/Crossroads/nodes/(1117,16,1959).lua b/Crossroads/nodes/(1117,16,1959).lua deleted file mode 100644 index 29aeb3f..0000000 --- a/Crossroads/nodes/(1117,16,1959).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen("thecube","4","L")
\ No newline at end of file diff --git a/Crossroads/nodes/(1119,16,2760).lua b/Crossroads/nodes/(1119,16,2760).lua deleted file mode 100644 index dde01ed..0000000 --- a/Crossroads/nodes/(1119,16,2760).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen("grsc", "3", "R")
\ No newline at end of file diff --git a/Crossroads/nodes/(1122,16,2768).lua b/Crossroads/nodes/(1122,16,2768).lua deleted file mode 100644 index 27a6f78..0000000 --- a/Crossroads/nodes/(1122,16,2768).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen("grsc", "4", "R")
\ No newline at end of file diff --git a/Crossroads/nodes/(1122,16,2771).lua b/Crossroads/nodes/(1122,16,2771).lua deleted file mode 100644 index 27a6f78..0000000 --- a/Crossroads/nodes/(1122,16,2771).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen("grsc", "4", "R")
\ No newline at end of file diff --git a/Crossroads/nodes/(1122,19,3014).lua b/Crossroads/nodes/(1122,19,3014).lua deleted file mode 100644 index da8687d..0000000 --- a/Crossroads/nodes/(1122,19,3014).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen("phwest", "1", "R", true, true)
\ No newline at end of file diff --git a/Crossroads/nodes/(1187,-6,996).lua b/Crossroads/nodes/(1187,-6,996).lua deleted file mode 100644 index 5c86126..0000000 --- a/Crossroads/nodes/(1187,-6,996).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen("scc", "S2", "R")
\ No newline at end of file diff --git a/Crossroads/nodes/(1201,-6,1087).lua b/Crossroads/nodes/(1201,-6,1087).lua deleted file mode 100644 index e0c8632..0000000 --- a/Crossroads/nodes/(1201,-6,1087).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen("scn","N2","R")
\ No newline at end of file diff --git a/Crossroads/nodes/(1201,-6,999).lua b/Crossroads/nodes/(1201,-6,999).lua deleted file mode 100644 index 855f755..0000000 --- a/Crossroads/nodes/(1201,-6,999).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen("scc", "N2", "R")
\ No newline at end of file diff --git a/Crossroads/nodes/(1224,12,1555).lua b/Crossroads/nodes/(1224,12,1555).lua deleted file mode 100644 index 6577986..0000000 --- a/Crossroads/nodes/(1224,12,1555).lua +++ /dev/null @@ -1 +0,0 @@ -F.disp2gen("cg")
\ No newline at end of file diff --git a/Crossroads/nodes/(1227,12,1541).lua b/Crossroads/nodes/(1227,12,1541).lua deleted file mode 100644 index 6577986..0000000 --- a/Crossroads/nodes/(1227,12,1541).lua +++ /dev/null @@ -1 +0,0 @@ -F.disp2gen("cg")
\ No newline at end of file diff --git a/Crossroads/nodes/(1288,9,1545).lua b/Crossroads/nodes/(1288,9,1545).lua deleted file mode 100644 index f0f7da4..0000000 --- a/Crossroads/nodes/(1288,9,1545).lua +++ /dev/null @@ -1,4 +0,0 @@ -if event.train and atc_arrow then - atc_send("B8S8") - atc_set_text_inside("Next station:\nColored Grasses") -end
\ No newline at end of file diff --git a/Crossroads/nodes/(1350,11,1371).lua b/Crossroads/nodes/(1350,11,1371).lua deleted file mode 100644 index 657ef63..0000000 --- a/Crossroads/nodes/(1350,11,1371).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen("oc","S","R")
\ No newline at end of file diff --git a/Crossroads/nodes/(1352,11,1389).lua b/Crossroads/nodes/(1352,11,1389).lua deleted file mode 100644 index 0b10a66..0000000 --- a/Crossroads/nodes/(1352,11,1389).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen("oc", "N", "R")
\ No newline at end of file diff --git a/Crossroads/nodes/(1359,11,1380).lua b/Crossroads/nodes/(1359,11,1380).lua deleted file mode 100644 index 011abe3..0000000 --- a/Crossroads/nodes/(1359,11,1380).lua +++ /dev/null @@ -1 +0,0 @@ -F.ods('AGSoc', 'R', true)
\ No newline at end of file diff --git a/Crossroads/nodes/(1361,11,1379).lua b/Crossroads/nodes/(1361,11,1379).lua deleted file mode 100644 index 9781ffe..0000000 --- a/Crossroads/nodes/(1361,11,1379).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'AGSoc AGNocoutskirts')
\ No newline at end of file diff --git a/Crossroads/nodes/(1361,11,1380).lua b/Crossroads/nodes/(1361,11,1380).lua deleted file mode 100644 index cc40968..0000000 --- a/Crossroads/nodes/(1361,11,1380).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'AGSoc AGNnvboutskirts')
\ No newline at end of file diff --git a/Crossroads/nodes/(1361,11,1381).lua b/Crossroads/nodes/(1361,11,1381).lua deleted file mode 100644 index 3147e24..0000000 --- a/Crossroads/nodes/(1361,11,1381).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'AGSoc AGNmushroom')
\ No newline at end of file diff --git a/Crossroads/nodes/(1361,11,1382).lua b/Crossroads/nodes/(1361,11,1382).lua deleted file mode 100644 index e5316eb..0000000 --- a/Crossroads/nodes/(1361,11,1382).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'AGSoc AGNnvbold')
\ No newline at end of file diff --git a/Crossroads/nodes/(1361,11,1383).lua b/Crossroads/nodes/(1361,11,1383).lua deleted file mode 100644 index d3fe189..0000000 --- a/Crossroads/nodes/(1361,11,1383).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'AGSoc AGNnvbcentral')
\ No newline at end of file diff --git a/Crossroads/nodes/(1386,20,1722).lua b/Crossroads/nodes/(1386,20,1722).lua deleted file mode 100644 index eda2ff4..0000000 --- a/Crossroads/nodes/(1386,20,1722).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'RAGSmushroom AGNnvbcentral')
\ No newline at end of file diff --git a/Crossroads/nodes/(1387,20,1723).lua b/Crossroads/nodes/(1387,20,1723).lua deleted file mode 100644 index b7c5917..0000000 --- a/Crossroads/nodes/(1387,20,1723).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'RAGSmushroom AGNnvbold')
\ No newline at end of file diff --git a/Crossroads/nodes/(1388,-9,1321).lua b/Crossroads/nodes/(1388,-9,1321).lua deleted file mode 100644 index 64642da..0000000 --- a/Crossroads/nodes/(1388,-9,1321).lua +++ /dev/null @@ -1 +0,0 @@ -F.hst("ocmushroom","occh","L",8,nil,"2")
\ No newline at end of file diff --git a/Crossroads/nodes/(1388,-9,1373).lua b/Crossroads/nodes/(1388,-9,1373).lua deleted file mode 100644 index c53d4a6..0000000 --- a/Crossroads/nodes/(1388,-9,1373).lua +++ /dev/null @@ -1 +0,0 @@ -F.hst("occh","occrt","R",8,nil,"2")
\ No newline at end of file diff --git a/Crossroads/nodes/(1388,5,1964).lua b/Crossroads/nodes/(1388,5,1964).lua deleted file mode 100644 index b7047c9..0000000 --- a/Crossroads/nodes/(1388,5,1964).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'AGSnvbcentral RAGSoc')
\ No newline at end of file diff --git a/Crossroads/nodes/(1388,5,1965).lua b/Crossroads/nodes/(1388,5,1965).lua deleted file mode 100644 index 86a7837..0000000 --- a/Crossroads/nodes/(1388,5,1965).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'AGSnvbcentral RAGSocoutskirts')
\ No newline at end of file diff --git a/Crossroads/nodes/(1388,5,1966).lua b/Crossroads/nodes/(1388,5,1966).lua deleted file mode 100644 index 1c72cf4..0000000 --- a/Crossroads/nodes/(1388,5,1966).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'AGSnvbcentral RAGSnvboutskirts')
\ No newline at end of file diff --git a/Crossroads/nodes/(1388,5,1977).lua b/Crossroads/nodes/(1388,5,1977).lua deleted file mode 100644 index f7366dc..0000000 --- a/Crossroads/nodes/(1388,5,1977).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'AGSnvbcentral RAGSmushroom')
\ No newline at end of file diff --git a/Crossroads/nodes/(1388,5,1978).lua b/Crossroads/nodes/(1388,5,1978).lua deleted file mode 100644 index 79fa15f..0000000 --- a/Crossroads/nodes/(1388,5,1978).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'AGSnvbcentral RAGSnvbold')
\ No newline at end of file diff --git a/Crossroads/nodes/(1389,20,1723).lua b/Crossroads/nodes/(1389,20,1723).lua deleted file mode 100644 index 76ebd7a..0000000 --- a/Crossroads/nodes/(1389,20,1723).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'AGSmushroom RAGSnvboutskirts')
\ No newline at end of file diff --git a/Crossroads/nodes/(1390,20,1723).lua b/Crossroads/nodes/(1390,20,1723).lua deleted file mode 100644 index 72d77e0..0000000 --- a/Crossroads/nodes/(1390,20,1723).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'AGSmushroom RAGSocoutskirts')
\ No newline at end of file diff --git a/Crossroads/nodes/(1391,20,1723).lua b/Crossroads/nodes/(1391,20,1723).lua deleted file mode 100644 index 166001f..0000000 --- a/Crossroads/nodes/(1391,20,1723).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'AGSmushroom AGSoc')
\ No newline at end of file diff --git a/Crossroads/nodes/(1393,19,1619).lua b/Crossroads/nodes/(1393,19,1619).lua deleted file mode 100644 index 02e416b..0000000 --- a/Crossroads/nodes/(1393,19,1619).lua +++ /dev/null @@ -1 +0,0 @@ -F.timing(125,F.depint["AG"],"nvboutskirts", "ocoutskirts", "R", "M", nil, "S")
\ No newline at end of file diff --git a/Crossroads/nodes/(1393,19,1709).lua b/Crossroads/nodes/(1393,19,1709).lua deleted file mode 100644 index 4eaa76f..0000000 --- a/Crossroads/nodes/(1393,19,1709).lua +++ /dev/null @@ -1 +0,0 @@ -F.timing(85, F.depint["AG"], "mushroom", "nvboutskirts", "R", "M", nil, "S")
\ No newline at end of file diff --git a/Crossroads/nodes/(1393,19,1820).lua b/Crossroads/nodes/(1393,19,1820).lua deleted file mode 100644 index fada4e2..0000000 --- a/Crossroads/nodes/(1393,19,1820).lua +++ /dev/null @@ -1 +0,0 @@ -F.timing(50,F.depint["AG"],"nvbold","mushroom","L","M",nil,"S")
\ No newline at end of file diff --git a/Crossroads/nodes/(1393,4,1965).lua b/Crossroads/nodes/(1393,4,1965).lua deleted file mode 100644 index 0f6692c..0000000 --- a/Crossroads/nodes/(1393,4,1965).lua +++ /dev/null @@ -1 +0,0 @@ -F.timing(0, F.depint["AG"], "nvbcentral", "nvbold", "R", "M", "ATL Gold Line - Ocean City","GS")
\ No newline at end of file diff --git a/Crossroads/nodes/(1393,8,1489).lua b/Crossroads/nodes/(1393,8,1489).lua deleted file mode 100644 index 2c08535..0000000 --- a/Crossroads/nodes/(1393,8,1489).lua +++ /dev/null @@ -1 +0,0 @@ -F.timing(165,F.depint["AG"],"ocoutskirts","oc","R","M",nil,"S")
\ No newline at end of file diff --git a/Crossroads/nodes/(1395,19,1623).lua b/Crossroads/nodes/(1395,19,1623).lua deleted file mode 100644 index f544a1c..0000000 --- a/Crossroads/nodes/(1395,19,1623).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'AGSnvboutskirts AGSoc')
\ No newline at end of file diff --git a/Crossroads/nodes/(1395,19,1624).lua b/Crossroads/nodes/(1395,19,1624).lua deleted file mode 100644 index a00da3f..0000000 --- a/Crossroads/nodes/(1395,19,1624).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'AGSnvboutskirts RAGSocoutskirts')
\ No newline at end of file diff --git a/Crossroads/nodes/(1395,19,1626).lua b/Crossroads/nodes/(1395,19,1626).lua deleted file mode 100644 index cce6686..0000000 --- a/Crossroads/nodes/(1395,19,1626).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'RAGSnvboutskirts AGNmushroom')
\ No newline at end of file diff --git a/Crossroads/nodes/(1395,19,1627).lua b/Crossroads/nodes/(1395,19,1627).lua deleted file mode 100644 index 3aa49a2..0000000 --- a/Crossroads/nodes/(1395,19,1627).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'RAGSnvboutskirts AGNnvbold')
\ No newline at end of file diff --git a/Crossroads/nodes/(1395,19,1628).lua b/Crossroads/nodes/(1395,19,1628).lua deleted file mode 100644 index 17e262c..0000000 --- a/Crossroads/nodes/(1395,19,1628).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'RAGSnvboutskirts AGNnvbcentral')
\ No newline at end of file diff --git a/Crossroads/nodes/(1395,21,1829).lua b/Crossroads/nodes/(1395,21,1829).lua deleted file mode 100644 index 93cd05a..0000000 --- a/Crossroads/nodes/(1395,21,1829).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'AGSnvbold RAGSnvboutskirts')
\ No newline at end of file diff --git a/Crossroads/nodes/(1395,22,1829).lua b/Crossroads/nodes/(1395,22,1829).lua deleted file mode 100644 index 5d674ea..0000000 --- a/Crossroads/nodes/(1395,22,1829).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG','AGSnvbold RAGSocoutskirts')
\ No newline at end of file diff --git a/Crossroads/nodes/(1395,23,1829).lua b/Crossroads/nodes/(1395,23,1829).lua deleted file mode 100644 index 3f7a3fc..0000000 --- a/Crossroads/nodes/(1395,23,1829).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'AGSnvbold AGSoc')
\ No newline at end of file diff --git a/Crossroads/nodes/(1395,8,1492).lua b/Crossroads/nodes/(1395,8,1492).lua deleted file mode 100644 index 171aba5..0000000 --- a/Crossroads/nodes/(1395,8,1492).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'AGSocoutskirts AGSoc')
\ No newline at end of file diff --git a/Crossroads/nodes/(1395,8,1494).lua b/Crossroads/nodes/(1395,8,1494).lua deleted file mode 100644 index dac0c0f..0000000 --- a/Crossroads/nodes/(1395,8,1494).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'RAGSocoutskirts AGNnvboutskirts')
\ No newline at end of file diff --git a/Crossroads/nodes/(1395,8,1495).lua b/Crossroads/nodes/(1395,8,1495).lua deleted file mode 100644 index 4fe61eb..0000000 --- a/Crossroads/nodes/(1395,8,1495).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'RAGSocoutskirts AGNmushroom')
\ No newline at end of file diff --git a/Crossroads/nodes/(1395,8,1496).lua b/Crossroads/nodes/(1395,8,1496).lua deleted file mode 100644 index 69d1cc4..0000000 --- a/Crossroads/nodes/(1395,8,1496).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'RAGSocoutskirts AGNnvbold')
\ No newline at end of file diff --git a/Crossroads/nodes/(1395,8,1497).lua b/Crossroads/nodes/(1395,8,1497).lua deleted file mode 100644 index b7f16f1..0000000 --- a/Crossroads/nodes/(1395,8,1497).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'RAGSocoutskirts AGNnvbcentral')
\ No newline at end of file diff --git a/Crossroads/nodes/(1397,19,1630).lua b/Crossroads/nodes/(1397,19,1630).lua deleted file mode 100644 index d343142..0000000 --- a/Crossroads/nodes/(1397,19,1630).lua +++ /dev/null @@ -1 +0,0 @@ -F.timing(305,F.depint["AG"],"nvboutskirts", "mushroom", "R", "M", nil, "N")
\ No newline at end of file diff --git a/Crossroads/nodes/(1397,19,1720).lua b/Crossroads/nodes/(1397,19,1720).lua deleted file mode 100644 index 85d220d..0000000 --- a/Crossroads/nodes/(1397,19,1720).lua +++ /dev/null @@ -1 +0,0 @@ -F.timing(345,F.depint["AG"],"mushroom","nvbold","R","M",nil,"N")
\ No newline at end of file diff --git a/Crossroads/nodes/(1397,4,1977).lua b/Crossroads/nodes/(1397,4,1977).lua deleted file mode 100644 index d42c671..0000000 --- a/Crossroads/nodes/(1397,4,1977).lua +++ /dev/null @@ -1 +0,0 @@ -F.bhf("nvbcentral","nvbcentral","R","8","ATL Gold Line - Ocean City","N")
\ No newline at end of file diff --git a/Crossroads/nodes/(1397,8,1501).lua b/Crossroads/nodes/(1397,8,1501).lua deleted file mode 100644 index 58832a9..0000000 --- a/Crossroads/nodes/(1397,8,1501).lua +++ /dev/null @@ -1 +0,0 @@ -F.timing(265,F.depint["AG"],"ocoutskirts","nvboutskirts","R","M", nil, "N")
\ No newline at end of file diff --git a/Crossroads/nodes/(1400,21,1829).lua b/Crossroads/nodes/(1400,21,1829).lua deleted file mode 100644 index 51f80da..0000000 --- a/Crossroads/nodes/(1400,21,1829).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG','RAGSnvbold AGNnvbcentral')
\ No newline at end of file diff --git a/Crossroads/nodes/(1400,21,819).lua b/Crossroads/nodes/(1400,21,819).lua deleted file mode 100644 index 97c3d17..0000000 --- a/Crossroads/nodes/(1400,21,819).lua +++ /dev/null @@ -1 +0,0 @@ --- F.bhf("crwm","scs","L","M",nil,"FW")
\ No newline at end of file diff --git a/Crossroads/nodes/(1400,22,1829).lua b/Crossroads/nodes/(1400,22,1829).lua deleted file mode 100644 index caac89e..0000000 --- a/Crossroads/nodes/(1400,22,1829).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc('AG', 'AGSnvbold RAGSmushroom')
\ No newline at end of file diff --git a/Crossroads/nodes/(1402,19,1820).lua b/Crossroads/nodes/(1402,19,1820).lua deleted file mode 100644 index 6569ce9..0000000 --- a/Crossroads/nodes/(1402,19,1820).lua +++ /dev/null @@ -1 +0,0 @@ -F.timing(385, F.depint["AG"], "nvbold", "nvbcentral", "L", "M", nil, "N")
\ No newline at end of file diff --git a/Crossroads/nodes/(1419,26,819).lua b/Crossroads/nodes/(1419,26,819).lua deleted file mode 100644 index e3c0adf..0000000 --- a/Crossroads/nodes/(1419,26,819).lua +++ /dev/null @@ -1 +0,0 @@ -F.bhf("crwm","crch","R","M",nil,"1")
\ No newline at end of file diff --git a/Crossroads/nodes/(1453,6,7980).lua b/Crossroads/nodes/(1453,6,7980).lua deleted file mode 100644 index 6d0d5e1..0000000 --- a/Crossroads/nodes/(1453,6,7980).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen("NRG-yard", "W", "R", true, true)
\ No newline at end of file diff --git a/Crossroads/nodes/(1538,6,7946).lua b/Crossroads/nodes/(1538,6,7946).lua deleted file mode 100644 index f4d3045..0000000 --- a/Crossroads/nodes/(1538,6,7946).lua +++ /dev/null @@ -1 +0,0 @@ -F.ax_on {NRG_1 = 1}
\ No newline at end of file diff --git a/Crossroads/nodes/(1601,5,1992).lua b/Crossroads/nodes/(1601,5,1992).lua deleted file mode 100644 index 4cb1cb8..0000000 --- a/Crossroads/nodes/(1601,5,1992).lua +++ /dev/null @@ -1,9 +0,0 @@ --- -local interval = 900 -- Interval in seconds -local offset = interval/2 -- Offset for the timing system -if event.type == "train" then - if atc_arrow then - interrupt_time = (offset-os.time())%interval - atc_send(string.format("BBWD%dRSM",interrupt_time)) - end -end
\ No newline at end of file diff --git a/Crossroads/nodes/(1610,6,7943).lua b/Crossroads/nodes/(1610,6,7943).lua deleted file mode 100644 index 11efa6f..0000000 --- a/Crossroads/nodes/(1610,6,7943).lua +++ /dev/null @@ -1 +0,0 @@ -F.x_on{NRG_4 = 1, NRG_5 = 1}
\ No newline at end of file diff --git a/Crossroads/nodes/(1611,6,7941).lua b/Crossroads/nodes/(1611,6,7941).lua deleted file mode 100644 index 11efa6f..0000000 --- a/Crossroads/nodes/(1611,6,7941).lua +++ /dev/null @@ -1 +0,0 @@ -F.x_on{NRG_4 = 1, NRG_5 = 1}
\ No newline at end of file diff --git a/Crossroads/nodes/(1612,6,7941).lua b/Crossroads/nodes/(1612,6,7941).lua deleted file mode 100644 index 9e8bcab..0000000 --- a/Crossroads/nodes/(1612,6,7941).lua +++ /dev/null @@ -1 +0,0 @@ -F.x_on{NRG_3 = 1}
\ No newline at end of file diff --git a/Crossroads/nodes/(1612,6,7942).lua b/Crossroads/nodes/(1612,6,7942).lua deleted file mode 100644 index 56bd0a1..0000000 --- a/Crossroads/nodes/(1612,6,7942).lua +++ /dev/null @@ -1 +0,0 @@ -F.x_on {NRG_3 = 1}
\ No newline at end of file diff --git a/Crossroads/nodes/(1623,6,7925).lua b/Crossroads/nodes/(1623,6,7925).lua deleted file mode 100644 index 5ba5cb2..0000000 --- a/Crossroads/nodes/(1623,6,7925).lua +++ /dev/null @@ -1 +0,0 @@ -F.x_off{NRG_3 = 1}
\ No newline at end of file diff --git a/Crossroads/nodes/(1670,18,8231).lua b/Crossroads/nodes/(1670,18,8231).lua deleted file mode 100644 index 8e9d36c..0000000 --- a/Crossroads/nodes/(1670,18,8231).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen("NRG-pek", "E", "L", true)
\ No newline at end of file diff --git a/Crossroads/nodes/(1673,20,985).lua b/Crossroads/nodes/(1673,20,985).lua deleted file mode 100644 index 20d4674..0000000 --- a/Crossroads/nodes/(1673,20,985).lua +++ /dev/null @@ -1 +0,0 @@ -F.stnbasic("crsmacker", "L", (30-os.date().sec)%30, false, "M", "CRT 1 - Counterclockwise Route", false, nil, nil, "cras", "2")
\ No newline at end of file diff --git a/Crossroads/nodes/(1675,20,985).lua b/Crossroads/nodes/(1675,20,985).lua deleted file mode 100644 index 3f91691..0000000 --- a/Crossroads/nodes/(1675,20,985).lua +++ /dev/null @@ -1 +0,0 @@ -F.ods('1Wcrsmacker','L',true)
\ No newline at end of file diff --git a/Crossroads/nodes/(1682,20,971).lua b/Crossroads/nodes/(1682,20,971).lua deleted file mode 100644 index 048d9f3..0000000 --- a/Crossroads/nodes/(1682,20,971).lua +++ /dev/null @@ -1 +0,0 @@ -F.stnbasic("crsmacker", "L", (27-os.date().sec)%30+5, false, "M", "CRT 1 - Clockwise Route", false, nil, nil, "crch", "1")
\ No newline at end of file diff --git a/Crossroads/nodes/(1702,12,914).lua b/Crossroads/nodes/(1702,12,914).lua deleted file mode 100644 index 4ce5b54..0000000 --- a/Crossroads/nodes/(1702,12,914).lua +++ /dev/null @@ -1,2 +0,0 @@ ---F.hst("cras","crsmacker","L","M",nil,"1") -atc_send("SM")
\ No newline at end of file diff --git a/Crossroads/nodes/(1702,5,906).lua b/Crossroads/nodes/(1702,5,906).lua deleted file mode 100644 index 03259d6..0000000 --- a/Crossroads/nodes/(1702,5,906).lua +++ /dev/null @@ -1,6 +0,0 @@ -__approach_callback_mode = 1 -if event.type == "approach" then - atc_set_lzb_tsr(2) -elseif event.type == "train" then - atc_send("B2") -end
\ No newline at end of file diff --git a/Crossroads/nodes/(1709,17,914).lua b/Crossroads/nodes/(1709,17,914).lua deleted file mode 100644 index 4b17b62..0000000 --- a/Crossroads/nodes/(1709,17,914).lua +++ /dev/null @@ -1,2 +0,0 @@ ---F.hst("cras","crchs","R","M",nil,"2") -atc_send("SM")
\ No newline at end of file diff --git a/Crossroads/nodes/(1714,5,912).lua b/Crossroads/nodes/(1714,5,912).lua deleted file mode 100644 index f9e2be2..0000000 --- a/Crossroads/nodes/(1714,5,912).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen ("cras", "N", "R", true, true)
\ No newline at end of file diff --git a/Crossroads/nodes/(1720,15,995).lua b/Crossroads/nodes/(1720,15,995).lua deleted file mode 100644 index 1d2fbf8..0000000 --- a/Crossroads/nodes/(1720,15,995).lua +++ /dev/null @@ -1 +0,0 @@ --- Obsolete: the track at the station should change the display
\ No newline at end of file diff --git a/Crossroads/nodes/(1738,-1,990).lua b/Crossroads/nodes/(1738,-1,990).lua deleted file mode 100644 index a20d76a..0000000 --- a/Crossroads/nodes/(1738,-1,990).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen ("crch", "U1", "L")
\ No newline at end of file diff --git a/Crossroads/nodes/(1741,-1,1020).lua b/Crossroads/nodes/(1741,-1,1020).lua deleted file mode 100644 index 479b44d..0000000 --- a/Crossroads/nodes/(1741,-1,1020).lua +++ /dev/null @@ -1 +0,0 @@ -F.odd("CRT2")
\ No newline at end of file diff --git a/Crossroads/nodes/(1746,12,914).lua b/Crossroads/nodes/(1746,12,914).lua deleted file mode 100644 index 4a5be7d..0000000 --- a/Crossroads/nodes/(1746,12,914).lua +++ /dev/null @@ -1 +0,0 @@ -F.hst("crchs","cras","R",8,nil,"1")
\ No newline at end of file diff --git a/Crossroads/nodes/(1746,17,987).lua b/Crossroads/nodes/(1746,17,987).lua deleted file mode 100644 index 819ca25..0000000 --- a/Crossroads/nodes/(1746,17,987).lua +++ /dev/null @@ -1 +0,0 @@ -F.hst("crch","crsmacker","L","M",nil,"R2")
\ No newline at end of file diff --git a/Crossroads/nodes/(1753,12,988).lua b/Crossroads/nodes/(1753,12,988).lua deleted file mode 100644 index c3dce37..0000000 --- a/Crossroads/nodes/(1753,12,988).lua +++ /dev/null @@ -1 +0,0 @@ -F.hst("crch","crchs","R","M",nil,"R1")
\ No newline at end of file diff --git a/Crossroads/nodes/(1753,17,917).lua b/Crossroads/nodes/(1753,17,917).lua deleted file mode 100644 index 4e4f080..0000000 --- a/Crossroads/nodes/(1753,17,917).lua +++ /dev/null @@ -1 +0,0 @@ -F.hst("crchs","crch","L","M",nil,"1")
\ No newline at end of file diff --git a/Crossroads/nodes/(1755,27,942).lua b/Crossroads/nodes/(1755,27,942).lua deleted file mode 100644 index f8ddd3f..0000000 --- a/Crossroads/nodes/(1755,27,942).lua +++ /dev/null @@ -1,3 +0,0 @@ -if event.type == "digiline" and event.channel == "upd" then - digiline_send("upd_main","") -end
\ No newline at end of file diff --git a/Crossroads/nodes/(1755,27,943).lua b/Crossroads/nodes/(1755,27,943).lua deleted file mode 100644 index 227e164..0000000 --- a/Crossroads/nodes/(1755,27,943).lua +++ /dev/null @@ -1,40 +0,0 @@ -local head = { "V TRAIN LINE STATION ", " " } -local length = 18 -local sformat = string.format - -if event.type=="digiline" or event.type=="punch" then - if event.channel=="upd_main" or event.type=="punch" then - local table = table - local start_t = os.clock() - if not S.lagrec then S.lagrec = {} end - local la = {} - local lb = {} - local i - local counter=0 - local ids = {} - for i in pairs(S.trains) do ids[#ids+1] = i end - table.sort(ids) - for id = 1, #ids, 1 do - local st = (S.trains[ids[id] or 0] or "") - i = (counter-counter%7)/7*2+((counter%7<3) and 1 or 2) - if not la[i] then la[i] = (i%2==0) and {} or {head[1]} end - if not lb[i] then lb[i] = (i%2==0) and {} or {head[2]} end - local n = sformat("[%s] %s", st.t or "?", F.stnlist[st.s] or st.s) - la[i][#la[i]+1] = sformat("%02d %06d %-7s %s", st.v, ids[id], st.l, n) - lb[i][#lb[i]+1] = (n:len() < 10 and " " or n:sub(10)) - counter = counter + 1 - end - for i=1,#la,1 do - digiline_send("d"..tostring(i).."a", table.concat(la[i] or {" "," "},"\n")) - digiline_send("d"..tostring(i).."b", table.concat(lb[i] or {" "," "},"\n")) - end - local end_t = os.clock() - S.lagrec[#S.lagrec+1] = end_t - start_t - table.sort(S.lagrec) - local lagavg = 0 - for i = 1, #S.lagrec, 1 do lagavg = lagavg + S.lagrec[i] end - lagavg = lagavg / #S.lagrec - digiline_send("lag1", sformat("DEBUG\nTRAINS: %d\nTS: %d", counter, os.time())) - digiline_send("lag2", sformat("CUR %f\nMIN %f\nMAX %f\nAVG %f", end_t - start_t, S.lagrec[1], S.lagrec[#S.lagrec], lagavg)) - end -end
\ No newline at end of file diff --git a/Crossroads/nodes/(1758,-1,998).lua b/Crossroads/nodes/(1758,-1,998).lua deleted file mode 100644 index 4116d94..0000000 --- a/Crossroads/nodes/(1758,-1,998).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen ("crch", "U2", "L")
\ No newline at end of file diff --git a/Crossroads/nodes/(1760,5,1000).lua b/Crossroads/nodes/(1760,5,1000).lua deleted file mode 100644 index 7489acc..0000000 --- a/Crossroads/nodes/(1760,5,1000).lua +++ /dev/null @@ -1 +0,0 @@ ---
\ No newline at end of file diff --git a/Crossroads/nodes/(1767,27,946).lua b/Crossroads/nodes/(1767,27,946).lua deleted file mode 100644 index f30bb31..0000000 --- a/Crossroads/nodes/(1767,27,946).lua +++ /dev/null @@ -1,2 +0,0 @@ -S.trains = {} -S.lagrec = {}
\ No newline at end of file diff --git a/Crossroads/nodes/(1772,10,703).lua b/Crossroads/nodes/(1772,10,703).lua deleted file mode 100644 index 4098a4c..0000000 --- a/Crossroads/nodes/(1772,10,703).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen("crs_6_1","E","R")
\ No newline at end of file diff --git a/Crossroads/nodes/(1772,10,757).lua b/Crossroads/nodes/(1772,10,757).lua deleted file mode 100644 index eee2333..0000000 --- a/Crossroads/nodes/(1772,10,757).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen("crs_5_1","E","R")
\ No newline at end of file diff --git a/Crossroads/nodes/(1773,5,994).lua b/Crossroads/nodes/(1773,5,994).lua deleted file mode 100644 index b65a919..0000000 --- a/Crossroads/nodes/(1773,5,994).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen ("crch", "A1", "R", true, true)
\ No newline at end of file diff --git a/Crossroads/nodes/(1777,5,912).lua b/Crossroads/nodes/(1777,5,912).lua deleted file mode 100644 index 03a63bd..0000000 --- a/Crossroads/nodes/(1777,5,912).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen ("crchs", "E", "L")
\ No newline at end of file diff --git a/Crossroads/nodes/(1786,5,994).lua b/Crossroads/nodes/(1786,5,994).lua deleted file mode 100644 index e701f62..0000000 --- a/Crossroads/nodes/(1786,5,994).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen("crch", "A1", "R", true, true)
\ No newline at end of file diff --git a/Crossroads/nodes/(1787,-1,1020).lua b/Crossroads/nodes/(1787,-1,1020).lua deleted file mode 100644 index 56956f8..0000000 --- a/Crossroads/nodes/(1787,-1,1020).lua +++ /dev/null @@ -1 +0,0 @@ -F.ods("CRT2Ecrch")
\ No newline at end of file diff --git a/Crossroads/nodes/(1789,20,995).lua b/Crossroads/nodes/(1789,20,995).lua deleted file mode 100644 index de7fd7b..0000000 --- a/Crossroads/nodes/(1789,20,995).lua +++ /dev/null @@ -1 +0,0 @@ -F.ods('1Wcrchn','L')
\ No newline at end of file diff --git a/Crossroads/nodes/(1790,-1,1020).lua b/Crossroads/nodes/(1790,-1,1020).lua deleted file mode 100644 index 586acca..0000000 --- a/Crossroads/nodes/(1790,-1,1020).lua +++ /dev/null @@ -1 +0,0 @@ -F.ods("CRT2Wcrch","L")
\ No newline at end of file diff --git a/Crossroads/nodes/(1790,5,1020).lua b/Crossroads/nodes/(1790,5,1020).lua deleted file mode 100644 index b7a24f0..0000000 --- a/Crossroads/nodes/(1790,5,1020).lua +++ /dev/null @@ -1 +0,0 @@ -F.kbhf("crrathaus","crbfsw","L","M","CRT2 - Crossroads North","5")
\ No newline at end of file diff --git a/Crossroads/nodes/(1791,20,995).lua b/Crossroads/nodes/(1791,20,995).lua deleted file mode 100644 index 499937e..0000000 --- a/Crossroads/nodes/(1791,20,995).lua +++ /dev/null @@ -1 +0,0 @@ -F.ods('1Ecrchn','R')
\ No newline at end of file diff --git a/Crossroads/nodes/(1791,5,912).lua b/Crossroads/nodes/(1791,5,912).lua deleted file mode 100644 index 01add38..0000000 --- a/Crossroads/nodes/(1791,5,912).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen ("crchs", "W", "R")
\ No newline at end of file diff --git a/Crossroads/nodes/(1792,-1,1020).lua b/Crossroads/nodes/(1792,-1,1020).lua deleted file mode 100644 index 35127ba..0000000 --- a/Crossroads/nodes/(1792,-1,1020).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen ('crch', 'U6', 'L', true, true)
\ No newline at end of file diff --git a/Crossroads/nodes/(1795,5,1000).lua b/Crossroads/nodes/(1795,5,1000).lua deleted file mode 100644 index 7489acc..0000000 --- a/Crossroads/nodes/(1795,5,1000).lua +++ /dev/null @@ -1 +0,0 @@ ---
\ No newline at end of file diff --git a/Crossroads/nodes/(1796,25,1011).lua b/Crossroads/nodes/(1796,25,1011).lua deleted file mode 100644 index 9aafeb8..0000000 --- a/Crossroads/nodes/(1796,25,1011).lua +++ /dev/null @@ -1 +0,0 @@ -F.kbhf("crch","crwm","L","M","CRT 12","C4")
\ No newline at end of file diff --git a/Crossroads/nodes/(1796,25,1019).lua b/Crossroads/nodes/(1796,25,1019).lua deleted file mode 100644 index 69f3d92..0000000 --- a/Crossroads/nodes/(1796,25,1019).lua +++ /dev/null @@ -1 +0,0 @@ -F.kbhf("crch","crch","R","M",nil,"C5")
\ No newline at end of file diff --git a/Crossroads/nodes/(1797,21,989).lua b/Crossroads/nodes/(1797,21,989).lua deleted file mode 100644 index f06c626..0000000 --- a/Crossroads/nodes/(1797,21,989).lua +++ /dev/null @@ -1 +0,0 @@ --- stub
\ No newline at end of file diff --git a/Crossroads/nodes/(1798,21,989).lua b/Crossroads/nodes/(1798,21,989).lua deleted file mode 100644 index f06c626..0000000 --- a/Crossroads/nodes/(1798,21,989).lua +++ /dev/null @@ -1 +0,0 @@ --- stub
\ No newline at end of file diff --git a/Crossroads/nodes/(1799,21,989).lua b/Crossroads/nodes/(1799,21,989).lua deleted file mode 100644 index f06c626..0000000 --- a/Crossroads/nodes/(1799,21,989).lua +++ /dev/null @@ -1 +0,0 @@ --- stub
\ No newline at end of file diff --git a/Crossroads/nodes/(1801,1,1016).lua b/Crossroads/nodes/(1801,1,1016).lua deleted file mode 100644 index bab001c..0000000 --- a/Crossroads/nodes/(1801,1,1016).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc("CRT2","CRT2Ecrch RCRT2Ecrnsw")
\ No newline at end of file diff --git a/Crossroads/nodes/(1801,1,1017).lua b/Crossroads/nodes/(1801,1,1017).lua deleted file mode 100644 index 837e17a..0000000 --- a/Crossroads/nodes/(1801,1,1017).lua +++ /dev/null @@ -1 +0,0 @@ -F.odc("CRT2", "CRT2Ecrch RCRT2Ecrbfsw")
\ No newline at end of file diff --git a/Crossroads/nodes/(1801,5,1008).lua b/Crossroads/nodes/(1801,5,1008).lua deleted file mode 100644 index 72e6533..0000000 --- a/Crossroads/nodes/(1801,5,1008).lua +++ /dev/null @@ -1,5 +0,0 @@ ---[[if event.type == "train" then - if atc_arrow then - atc_set_text_outside("ATL Mithril Line - Ehlodex") - end -end]]
\ No newline at end of file diff --git a/Crossroads/nodes/(1928,19,8223).lua b/Crossroads/nodes/(1928,19,8223).lua deleted file mode 100644 index 80be033..0000000 --- a/Crossroads/nodes/(1928,19,8223).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen("krasnograd", "2", "R")
\ No newline at end of file diff --git a/Crossroads/nodes/(1950,19,8220).lua b/Crossroads/nodes/(1950,19,8220).lua deleted file mode 100644 index 7938637..0000000 --- a/Crossroads/nodes/(1950,19,8220).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen("krasnograd", "E", "R")
\ No newline at end of file diff --git a/Crossroads/nodes/(2065,5,978).lua b/Crossroads/nodes/(2065,5,978).lua deleted file mode 100644 index 3ddbf0f..0000000 --- a/Crossroads/nodes/(2065,5,978).lua +++ /dev/null @@ -1,16 +0,0 @@ -local outline = "" -local outrc = "" -if event.type=="train" then - if atc_arrow then - atc_send("OC") - atc_set_text_outside("") - atc_set_text_inside("") - set_rc("") - set_line("") - else - if outline then set_line(outline) end - if outrc then set_rc(outrc) end - atc_set_text_outside("Not in service") - end - --unset_shunt() -end
\ No newline at end of file diff --git a/Crossroads/nodes/(2675,12,8041).lua b/Crossroads/nodes/(2675,12,8041).lua deleted file mode 100644 index 8619f14..0000000 --- a/Crossroads/nodes/(2675,12,8041).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn2gen("SWALD-south", "1", "L", true, true)
\ No newline at end of file diff --git a/Crossroads/nodes/(544,11,2139).lua b/Crossroads/nodes/(544,11,2139).lua deleted file mode 100644 index 69612c9..0000000 --- a/Crossroads/nodes/(544,11,2139).lua +++ /dev/null @@ -1,9 +0,0 @@ --- -local interval = 900 -- Interval in seconds -local offset = 0 -- Offset for the timing system -if event.type == "train" then - if atc_arrow then - interrupt_time = (offset-os.time())%interval - atc_send(string.format("BBWD%dRSM",interrupt_time)) - end -end
\ No newline at end of file diff --git a/Crossroads/nodes/(544,11,2152).lua b/Crossroads/nodes/(544,11,2152).lua deleted file mode 100644 index 69612c9..0000000 --- a/Crossroads/nodes/(544,11,2152).lua +++ /dev/null @@ -1,9 +0,0 @@ --- -local interval = 900 -- Interval in seconds -local offset = 0 -- Offset for the timing system -if event.type == "train" then - if atc_arrow then - interrupt_time = (offset-os.time())%interval - atc_send(string.format("BBWD%dRSM",interrupt_time)) - end -end
\ No newline at end of file diff --git a/Crossroads/nodes/(851,14,773).lua b/Crossroads/nodes/(851,14,773).lua deleted file mode 100644 index c27c086..0000000 --- a/Crossroads/nodes/(851,14,773).lua +++ /dev/null @@ -1,11 +0,0 @@ -if event.train then - if atc_arrow then - atc_send("BB W OLD15OCD2SM") - atc_set_text_inside("EVO") - interrupt(15) - end -end - -if event.int then - atc_set_text_inside("") -end
\ No newline at end of file diff --git a/Crossroads/nodes/(852,12,710).lua b/Crossroads/nodes/(852,12,710).lua deleted file mode 100644 index 7d7b203..0000000 --- a/Crossroads/nodes/(852,12,710).lua +++ /dev/null @@ -1,6 +0,0 @@ -if event.train then - if atc_arrow then - atc_send("B14S14") - atc_set_text_inside("Next station: EVO") - end -end
\ No newline at end of file diff --git a/Crossroads/nodes/(861,12,725).lua b/Crossroads/nodes/(861,12,725).lua deleted file mode 100644 index 7d7b203..0000000 --- a/Crossroads/nodes/(861,12,725).lua +++ /dev/null @@ -1,6 +0,0 @@ -if event.train then - if atc_arrow then - atc_send("B14S14") - atc_set_text_inside("Next station: EVO") - end -end
\ No newline at end of file diff --git a/Crossroads/nodes/(864,14,793).lua b/Crossroads/nodes/(864,14,793).lua deleted file mode 100644 index 97639de..0000000 --- a/Crossroads/nodes/(864,14,793).lua +++ /dev/null @@ -1,10 +0,0 @@ -if event.train then - if atc_arrow then - atc_send("BB W OLD15OCD2SM") - atc_set_text_inside("EVO") - interrupt(15) - end -end -if event.int then - atc_set_text_inside("") -end
\ No newline at end of file diff --git a/Crossroads/nodes/(867,14,776).lua b/Crossroads/nodes/(867,14,776).lua deleted file mode 100644 index 7e1e849..0000000 --- a/Crossroads/nodes/(867,14,776).lua +++ /dev/null @@ -1,11 +0,0 @@ -if event.train then - if atc_arrow then - atc_send("BBWOLD15OCD2SM") - atc_set_text_inside("EVO") - interrupt(15) - end -end - -if event.int and atc_id then - atc_set_text_inside("") -end
\ No newline at end of file diff --git a/Crossroads/nodes/(880,14,789).lua b/Crossroads/nodes/(880,14,789).lua deleted file mode 100644 index f6c14b8..0000000 --- a/Crossroads/nodes/(880,14,789).lua +++ /dev/null @@ -1 +0,0 @@ -F.bhf("evo","scs","L","M",nil,"ZN")
\ No newline at end of file diff --git a/Crossroads/nodes/(881,6,886).lua b/Crossroads/nodes/(881,6,886).lua deleted file mode 100644 index fada148..0000000 --- a/Crossroads/nodes/(881,6,886).lua +++ /dev/null @@ -1,6 +0,0 @@ -if event.train then - if atc_arrow then - atc_send("B14S14") - atc_set_text_inside("Next station: EVO") - end -end
\ No newline at end of file diff --git a/Crossroads/nodes/(898,14,835).lua b/Crossroads/nodes/(898,14,835).lua deleted file mode 100644 index 7d7b203..0000000 --- a/Crossroads/nodes/(898,14,835).lua +++ /dev/null @@ -1,6 +0,0 @@ -if event.train then - if atc_arrow then - atc_send("B14S14") - atc_set_text_inside("Next station: EVO") - end -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2594,12,-1721).lua b/Hyard/nodes/(-2594,12,-1721).lua deleted file mode 100644 index 952b979..0000000 --- a/Hyard/nodes/(-2594,12,-1721).lua +++ /dev/null @@ -1,28 +0,0 @@ -local dir = 2 -local lane = 6 -if S.dir == dir and atc_arrow then - set_route("HYE"..lane, "HEADSHUNT") - local plen = train_length() - local rc = split_at_fc("B0") - local trc = "HY"..rc..dir - S.cars = plen - train_length() - if plen == train_length() and (rc == "" or S.rc:match(trc)) and not (S.rc:match("HYREVERSE")) then - S.exiting = true - end - if rc and rc ~= "" then - set_rc("HY"..rc..dir) - else - set_rc(S.rc) - S.reversing = false - S.exiting = true - end -elseif S.dir == 1 and atc_arrow then -if S.rc:match("HYREVERSE") and S.cars == 0 then - set_route("HYE"..lane, "HEADSHUNT") -S.reversing = true -S.dir = 2 -end -if not S.reversing then -atc_send("B0WD1RS4") -end -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2594,12,-1780).lua b/Hyard/nodes/(-2594,12,-1780).lua deleted file mode 100644 index 7a257db..0000000 --- a/Hyard/nodes/(-2594,12,-1780).lua +++ /dev/null @@ -1,28 +0,0 @@ - -local dir = 1 -local lane = 6 -if S.dir == dir and atc_arrow then - set_route("HYD"..lane, "HEADSHUNT1") - local plen = train_length() - local rc = split_at_fc("B0") - local trc = "HY"..rc..dir - S.cars = plen - train_length() - if plen == train_length() and (rc == "" or S.rc:match(trc)) and not (S.rc:match("HYREVERSE")) then - S.exiting = true - end - if rc and rc ~= "" then - set_rc("HY"..rc..dir) - else - set_rc(S.rc) - S.exiting = true - end -elseif S.dir == 2 and atc_arrow then -if S.rc:match("HYREVERSE") and S.cars == 0 then - set_route("HYD"..lane, "HEADSHUNT1") -S.reversing = true -S.dir = 1 -end -if not S.reversing then -atc_send("B0WD1RS4") -end -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2594,12,-1784).lua b/Hyard/nodes/(-2594,12,-1784).lua deleted file mode 100644 index 31d73ca..0000000 --- a/Hyard/nodes/(-2594,12,-1784).lua +++ /dev/null @@ -1,3 +0,0 @@ -if not atc_arrow then -set_autocouple() -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2594,12,-1802).lua b/Hyard/nodes/(-2594,12,-1802).lua deleted file mode 100644 index cfca16e..0000000 --- a/Hyard/nodes/(-2594,12,-1802).lua +++ /dev/null @@ -1,9 +0,0 @@ -atc_send("B0") -if S.rc then -interrupt(10, "recheck") -else -atc_send("S4") -S.dir = 2 -S.rc = get_rc() -set_route("HYENTRY2", "PICKUP") -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2596,12,-1721).lua b/Hyard/nodes/(-2596,12,-1721).lua deleted file mode 100644 index cc285f9..0000000 --- a/Hyard/nodes/(-2596,12,-1721).lua +++ /dev/null @@ -1,17 +0,0 @@ -local dir = 2 -local lane = 5 -if S.dir == dir then -if atc_arrow and not S.exiting then -split_off_locomotive("B0") -set_rc("PICKUP") -set_route("HYE"..lane, "HEADSHUNT") -end - -if atc_arrow and S.exiting then -set_rc("EXIT") - set_route("HYE"..lane, "EXIT") -S.exiting = false -end -elseif atc_arrow then -atc_send("B0WD1RS4") -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2596,12,-1780).lua b/Hyard/nodes/(-2596,12,-1780).lua deleted file mode 100644 index aaf4293..0000000 --- a/Hyard/nodes/(-2596,12,-1780).lua +++ /dev/null @@ -1,14 +0,0 @@ -local dir = 1 -if S.dir == dir then -if atc_arrow and not S.exiting then -split_off_locomotive("B0") -set_rc("PICKUP") -end - -if atc_arrow and S.exiting then -set_rc("EXIT") -S.exiting = false -end -elseif atc_arrow then -atc_send("B0WD1RS4") -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2596,12,-1784).lua b/Hyard/nodes/(-2596,12,-1784).lua deleted file mode 100644 index 31d73ca..0000000 --- a/Hyard/nodes/(-2596,12,-1784).lua +++ /dev/null @@ -1,3 +0,0 @@ -if not atc_arrow then -set_autocouple() -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2596,12,-1830).lua b/Hyard/nodes/(-2596,12,-1830).lua deleted file mode 100644 index 0b5e1ac..0000000 --- a/Hyard/nodes/(-2596,12,-1830).lua +++ /dev/null @@ -1,15 +0,0 @@ -if S.reversing and atc_arrow then -set_rc(S.rc) -S.exiting = true -S.reversing = false -elseif atc_arrow and S.exiting and S.rc:match("HYREVERSE") then -set_rc("PICKUP") -S.dir = 2 -S.reversing = true -elseif get_rc():match("EXIT") and not S.reversing then - if S.rc:match("HIP") then - set_route("HYEXIT1", "Hippodrome") - else - set_route("HYEXIT1", "Trisiston") -end -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2597,12,-1708).lua b/Hyard/nodes/(-2597,12,-1708).lua deleted file mode 100644 index d87f3f9..0000000 --- a/Hyard/nodes/(-2597,12,-1708).lua +++ /dev/null @@ -1,4 +0,0 @@ - -if atc_arrow then -set_autocouple() -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2598,12,-1708).lua b/Hyard/nodes/(-2598,12,-1708).lua deleted file mode 100644 index d87f3f9..0000000 --- a/Hyard/nodes/(-2598,12,-1708).lua +++ /dev/null @@ -1,4 +0,0 @@ - -if atc_arrow then -set_autocouple() -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2598,12,-1721).lua b/Hyard/nodes/(-2598,12,-1721).lua deleted file mode 100644 index d19e777..0000000 --- a/Hyard/nodes/(-2598,12,-1721).lua +++ /dev/null @@ -1,17 +0,0 @@ -local dir = 2 -local lane = 4 -if S.dir == dir then -if atc_arrow and not S.exiting then -split_off_locomotive("B0") -set_rc("PICKUP") -set_route("HYE"..lane, "HEADSHUNT") -end - -if atc_arrow and S.exiting then -set_rc("EXIT") - set_route("HYE"..lane, "EXIT") -S.exiting = false -end -elseif atc_arrow then -atc_send("B0WD1RS4") -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2598,12,-1780).lua b/Hyard/nodes/(-2598,12,-1780).lua deleted file mode 100644 index aaf4293..0000000 --- a/Hyard/nodes/(-2598,12,-1780).lua +++ /dev/null @@ -1,14 +0,0 @@ -local dir = 1 -if S.dir == dir then -if atc_arrow and not S.exiting then -split_off_locomotive("B0") -set_rc("PICKUP") -end - -if atc_arrow and S.exiting then -set_rc("EXIT") -S.exiting = false -end -elseif atc_arrow then -atc_send("B0WD1RS4") -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2598,12,-1784).lua b/Hyard/nodes/(-2598,12,-1784).lua deleted file mode 100644 index 31d73ca..0000000 --- a/Hyard/nodes/(-2598,12,-1784).lua +++ /dev/null @@ -1,3 +0,0 @@ -if not atc_arrow then -set_autocouple() -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2600,12,-1708).lua b/Hyard/nodes/(-2600,12,-1708).lua deleted file mode 100644 index d87f3f9..0000000 --- a/Hyard/nodes/(-2600,12,-1708).lua +++ /dev/null @@ -1,4 +0,0 @@ - -if atc_arrow then -set_autocouple() -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2600,12,-1721).lua b/Hyard/nodes/(-2600,12,-1721).lua deleted file mode 100644 index 8766946..0000000 --- a/Hyard/nodes/(-2600,12,-1721).lua +++ /dev/null @@ -1,17 +0,0 @@ -local dir = 2 -local lane = 3 -if S.dir == dir then -if atc_arrow and not S.exiting then -split_off_locomotive("B0") -set_rc("PICKUP") -set_route("HYE"..lane, "HEADSHUNT") -end - -if atc_arrow and S.exiting then -set_rc("EXIT") - set_route("HYE"..lane, "EXIT") -S.exiting = false -end -elseif atc_arrow then -atc_send("B0WD1RS4") -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2600,12,-1780).lua b/Hyard/nodes/(-2600,12,-1780).lua deleted file mode 100644 index aaf4293..0000000 --- a/Hyard/nodes/(-2600,12,-1780).lua +++ /dev/null @@ -1,14 +0,0 @@ -local dir = 1 -if S.dir == dir then -if atc_arrow and not S.exiting then -split_off_locomotive("B0") -set_rc("PICKUP") -end - -if atc_arrow and S.exiting then -set_rc("EXIT") -S.exiting = false -end -elseif atc_arrow then -atc_send("B0WD1RS4") -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2600,12,-1784).lua b/Hyard/nodes/(-2600,12,-1784).lua deleted file mode 100644 index 31d73ca..0000000 --- a/Hyard/nodes/(-2600,12,-1784).lua +++ /dev/null @@ -1,3 +0,0 @@ -if not atc_arrow then -set_autocouple() -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2602,12,-1708).lua b/Hyard/nodes/(-2602,12,-1708).lua deleted file mode 100644 index d87f3f9..0000000 --- a/Hyard/nodes/(-2602,12,-1708).lua +++ /dev/null @@ -1,4 +0,0 @@ - -if atc_arrow then -set_autocouple() -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2602,12,-1721).lua b/Hyard/nodes/(-2602,12,-1721).lua deleted file mode 100644 index 3d3cb4e..0000000 --- a/Hyard/nodes/(-2602,12,-1721).lua +++ /dev/null @@ -1,17 +0,0 @@ -local dir = 2 -local lane = 2 -if S.dir == dir then -if atc_arrow and not S.exiting then -split_off_locomotive("B0") -set_rc("PICKUP") -set_route("HYE"..lane, "HEADSHUNT") -end - -if atc_arrow and S.exiting then -set_rc("EXIT") - set_route("HYE"..lane, "EXIT") -S.exiting = false -end -elseif atc_arrow then -atc_send("B0WD1RS4") -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2602,12,-1780).lua b/Hyard/nodes/(-2602,12,-1780).lua deleted file mode 100644 index aaf4293..0000000 --- a/Hyard/nodes/(-2602,12,-1780).lua +++ /dev/null @@ -1,14 +0,0 @@ -local dir = 1 -if S.dir == dir then -if atc_arrow and not S.exiting then -split_off_locomotive("B0") -set_rc("PICKUP") -end - -if atc_arrow and S.exiting then -set_rc("EXIT") -S.exiting = false -end -elseif atc_arrow then -atc_send("B0WD1RS4") -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2602,12,-1784).lua b/Hyard/nodes/(-2602,12,-1784).lua deleted file mode 100644 index 31d73ca..0000000 --- a/Hyard/nodes/(-2602,12,-1784).lua +++ /dev/null @@ -1,3 +0,0 @@ -if not atc_arrow then -set_autocouple() -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2603,12,-1784).lua b/Hyard/nodes/(-2603,12,-1784).lua deleted file mode 100644 index 31d73ca..0000000 --- a/Hyard/nodes/(-2603,12,-1784).lua +++ /dev/null @@ -1,3 +0,0 @@ -if not atc_arrow then -set_autocouple() -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2604,12,-1708).lua b/Hyard/nodes/(-2604,12,-1708).lua deleted file mode 100644 index d87f3f9..0000000 --- a/Hyard/nodes/(-2604,12,-1708).lua +++ /dev/null @@ -1,4 +0,0 @@ - -if atc_arrow then -set_autocouple() -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2604,12,-1721).lua b/Hyard/nodes/(-2604,12,-1721).lua deleted file mode 100644 index 1d2aaa9..0000000 --- a/Hyard/nodes/(-2604,12,-1721).lua +++ /dev/null @@ -1,17 +0,0 @@ -local dir = 2 -local lane = 1 -if S.dir == dir then -if atc_arrow and not S.exiting then -split_off_locomotive("B0") -set_rc("PICKUP") -set_route("HYE"..lane, "HEADSHUNT") -end - -if atc_arrow and S.exiting then -set_rc("EXIT") - set_route("HYE"..lane, "EXIT") -S.exiting = false -end -elseif atc_arrow then -atc_send("B0WD1RS4") -end
\ No newline at end of file diff --git a/Hyard/nodes/(-2604,12,-1780).lua b/Hyard/nodes/(-2604,12,-1780).lua deleted file mode 100644 index aaf4293..0000000 --- a/Hyard/nodes/(-2604,12,-1780).lua +++ /dev/null @@ -1,14 +0,0 @@ -local dir = 1 -if S.dir == dir then -if atc_arrow and not S.exiting then -split_off_locomotive("B0") -set_rc("PICKUP") -end - -if atc_arrow and S.exiting then -set_rc("EXIT") -S.exiting = false -end -elseif atc_arrow then -atc_send("B0WD1RS4") -end
\ No newline at end of file diff --git a/Tyard/nodes/(-3967,12,-2646).lua b/Tyard/nodes/(-3967,12,-2646).lua deleted file mode 100644 index bf0099d..0000000 --- a/Tyard/nodes/(-3967,12,-2646).lua +++ /dev/null @@ -1,43 +0,0 @@ --- Headshunt Exit Controller -local exit_signal = POS(-3962,14,-2645) - -if not F.yard_active() then return end -__approach_callback_mode = 1 -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 - if F.has_rc("TY_DEPART") then - print("Train departs yard to mainline at full speed") - unset_autocouple() - F.remove_rc({"TY_FINAL_COLLECT","TY_DEPART"}) - F.remove_rc_match("TY_LOCOS_%d+") - F.remove_rc_match("TY_WAGONS_%d+") - atc_set_ars_disable(false) - set_route(exit_signal,"Exit Yard") - atc_send("S6D10SM") - schedule_in(";05","deactivate_check") -- wait a little to ensure train is clear from headshunt to deactivate yard - print(F.get_rc_safe()) - return - end - else - atc_send("BBOL") - F.error(true) - end -end - -if event.schedule then - if event.msg == "deactivate_check" then - if not atc_id then - F.yard_active(false) - print("Yard Disabled") - else - schedule_in(";05","deactivate_check") - return - end - end -end
\ No newline at end of file diff --git a/Tyard/nodes/(-4011,12,-2642).lua b/Tyard/nodes/(-4011,12,-2642).lua deleted file mode 100644 index 2498bc5..0000000 --- a/Tyard/nodes/(-4011,12,-2642).lua +++ /dev/null @@ -1,38 +0,0 @@ --- Yard arrival checker --- F.dir = true if entering from south - -if F.has_rc("TY_NOSHUNT") then return end - -local function enter_yard() - F.dir(false) - F.yard_active(true) - F.add_rc({"TY_ARRIVE"}) - atc_set_ars_disable(false) - atc_send("S6") - return -end - -__approach_callback_mode = 1 -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 F.yard_active() then - schedule_in(";10","recheck") - return - else - enter_yard() - end -end - -if event.schedule then - if F.yard_active() then - schedule_in(";10","recheck") - return - else - enter_yard() - end -end
\ No newline at end of file diff --git a/Tyard/nodes/(-4011,12,-2646).lua b/Tyard/nodes/(-4011,12,-2646).lua deleted file mode 100644 index 3c9efc3..0000000 --- a/Tyard/nodes/(-4011,12,-2646).lua +++ /dev/null @@ -1 +0,0 @@ ---arrow points into yard
-- config'd for Southbound entrance (North end of yard)
local dir = "N"
local entrance_signal = "Tyard_Enter_"..dir
-- train enters from mainline. stop at signal to be safe
if event.train and atc_arrow then atc_send("B0") end
if atc_arrow then
local rc = get_rc() or ""
-- allow for manual working
if rc:match("TYARD_NOSHUNT") then return end
if S.yard_active then -- send train to "waiting"
if can_set_route(entrance_signal,"WAITING") then
set_route(entrance_signal,"WAITING")
atc_set_text_outside("Waiting for yard to clear")
atc_send("S6")
else
interrupt(5,"recheck")
end
else -- send train to "pickup"
S.yard_active = true
step_fc()
local rc = get_rc() or ""
S.rc = rc
--check for RTS
if S.single_dir == true or S.rc:match("TY_RTS") then
S.dir = dir
--working end = entrance dir
S.RTS = true
set_rc("AROUND_"..S.dir)
else
--invert S.dir
--working end ~= entrance end
if dir == "N" then
S.dir = "S"
else
S.dir = "N"
end
end
set_route(entrance_signal,"PICKUP")
atc_set_text_outside("Proceeding to Classification Yard")
atc_send("S4")
end
else -- train exiting
set_rc(S.rc)
S.yard_active = nil
S.rc = nil
S.dir = nil
unset_autocouple()
atc_send("SM")
end
\ No newline at end of file diff --git a/Tyard/nodes/(-4011,12,-2647).lua b/Tyard/nodes/(-4011,12,-2647).lua deleted file mode 100644 index 3c9efc3..0000000 --- a/Tyard/nodes/(-4011,12,-2647).lua +++ /dev/null @@ -1 +0,0 @@ ---arrow points into yard
-- config'd for Southbound entrance (North end of yard)
local dir = "N"
local entrance_signal = "Tyard_Enter_"..dir
-- train enters from mainline. stop at signal to be safe
if event.train and atc_arrow then atc_send("B0") end
if atc_arrow then
local rc = get_rc() or ""
-- allow for manual working
if rc:match("TYARD_NOSHUNT") then return end
if S.yard_active then -- send train to "waiting"
if can_set_route(entrance_signal,"WAITING") then
set_route(entrance_signal,"WAITING")
atc_set_text_outside("Waiting for yard to clear")
atc_send("S6")
else
interrupt(5,"recheck")
end
else -- send train to "pickup"
S.yard_active = true
step_fc()
local rc = get_rc() or ""
S.rc = rc
--check for RTS
if S.single_dir == true or S.rc:match("TY_RTS") then
S.dir = dir
--working end = entrance dir
S.RTS = true
set_rc("AROUND_"..S.dir)
else
--invert S.dir
--working end ~= entrance end
if dir == "N" then
S.dir = "S"
else
S.dir = "N"
end
end
set_route(entrance_signal,"PICKUP")
atc_set_text_outside("Proceeding to Classification Yard")
atc_send("S4")
end
else -- train exiting
set_rc(S.rc)
S.yard_active = nil
S.rc = nil
S.dir = nil
unset_autocouple()
atc_send("SM")
end
\ No newline at end of file diff --git a/Tyard/nodes/(-4012,12,-2646).lua b/Tyard/nodes/(-4012,12,-2646).lua deleted file mode 100644 index 00d6c1b..0000000 --- a/Tyard/nodes/(-4012,12,-2646).lua +++ /dev/null @@ -1,61 +0,0 @@ --- Headshunt Controller --- Note: may need customising due to track layout -local this_dir = true -- true = F.dir arrow points north. atc_arrow points towards yard - -if not F.yard_active() then return end - -__approach_callback_mode = 1 -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 not atc_arrow then --train has entered headshunt from yard. bounce or depart - atc_set_ars_disable(true) - F.remove_rc({"TY_HEADSHUNT"}) - if not F.has_rc("TY_FINAL_COLLECT") then - if not F.has_rc("TY_DEPART") then - schedule_in(";01",atc_id) - return - else - local collect = F.get_rc_safe():match("TY_COLLECT_(%S+)") - if collect then --train needs to collect a rake from the yard before departing - F.add_rc({"TY_FINAL_COLLECT","TY_CLASS_"..collect}) - schedule_in(";01",atc_id) - return - end - end - - --else let train proceed forward to the exit controller without a rake - end --else train has already collected rake. let it exit yard - else --train has bounced - if F.has_rc("TY_AROUND") then - if this_dir == F.dir() then --send train to Classification - F.remove_rc({"TY_AROUND"}) - F.add_rc({"TY_PICKUP"}) - atc_set_ars_disable(false) - return - end --if at wrong end, do nothing. train will follow TY_AROUND ARS to relevant headshunt - end -- if doesn't have TY_AROUND then let ARS classify the train - - atc_set_ars_disable(false) - end - return -end - -if event.schedule then - if not atc_id then --bounce the train that just passed - atc_send_to_train(event.msg,"B0WRD1S3A1") - else - if atc_id == event.msg then --train hasn't fully passed yet, wait a bit longer - schedule_in(";01",atc_id) - else -- somehow another train crossed the controller before the first one returned. Unlikely but possible - atc_send_to_train(event.msg,"BBOL") - atc_send("BBOL") - F.error(true) - end - end - return -end
\ No newline at end of file diff --git a/Tyard/nodes/(-4024,12,-2642).lua b/Tyard/nodes/(-4024,12,-2642).lua deleted file mode 100644 index 36743ff..0000000 --- a/Tyard/nodes/(-4024,12,-2642).lua +++ /dev/null @@ -1 +0,0 @@ -if event.channel=="ops" or event.punch then
digiline_send("lcd","Active:"..tostring(S.yard_active).."\nRC:"..tostring(S.rc).."\nRTS:"..tostring(S.RTS) .. " Dir:"..tostring(S.dir) .."\nExiting:"..tostring(S.exiting))
end
\ No newline at end of file diff --git a/Tyard/nodes/(-4027,12,-2655).lua b/Tyard/nodes/(-4027,12,-2655).lua deleted file mode 100644 index 1c12a8f..0000000 --- a/Tyard/nodes/(-4027,12,-2655).lua +++ /dev/null @@ -1,58 +0,0 @@ --- Classification track -local this_dir = true --- this_dir == true for north end, false for south end -if F.yard_active() then - if atc_arrow then -- loco is at working end - F.remove_rc({"TY_PICKUP"}) - if F.has_rc("TY_ARRIVE") and F.dir() == this_dir then --first pass, prep train for working - F.remove_rc({"TY_AROUND"}) - if not F.get_rc_safe():match("TY_LOCOS_%d+") or not F.get_rc_safe():match("TY_WAGONS_%d+") then - local full_length = train_length() - split_off_locomotive("A0B0") - F.add_rc({"TY_HEADSHUNT"}) -- train will end up going through headshunt no matter what. there shouldn't be any trains entering that pass straight through. - if train_length() == full_length then --train is either only here for collection or there's no FC's in the wagons. can't differentiate - local lane = F.get_rc_safe():match("TY_COLLECT_(%S+)") or "" - F.add_rc({"TY_LAST_CLASS","TY_CLASS_"..lane}) -- direct train to correct lane for collection - else --identify and save loco:wagon ratio, then bounce back from headshunt. it's easier than trying to reconnect - F.add_rc({"TY_LOCOS_"..train_length(), "TY_WAGONS_"..(full_length-train_length()),"TY_PICKUP"}) - end - return -- train has departed for headshunt - end - if F.has_rc("TY_RTS") then - F.dir(not F.dir()) - F.remove_rc({"TY_RTS"}) - F.add_rc({"TY_AROUND"}) -- send loco around to the other end - split_off_locomotive("A0B0") - atc_set_ars_disable(false) - return -- train has departed for RTS loop - end - F.remove_rc({"TY_ARRIVE"}) - step_fc() - end - if this_dir == F.dir() then --train has bounced and is ready to classify wagon(s) - -- local pre_split = train_length() - local lane = split_at_fc("A0B0",5) -- where to classify this rake -- headshunt length - local locos = tonumber(F.get_rc_safe():match("TY_LOCOS_(%d+)")) or 1 --saved loco count - local wagons = tonumber(F.get_rc_safe():match("TY_WAGONS_(%d+)")) or 0 -- wagon_count from last classification split - local this_rake = train_length() - locos-- subtract these wagons from the overall wagon count - if this_rake == wagons then -- mark for last_classification - F.add_rc({"TY_LAST_CLASS"}) - end - if lane ~= "" then - F.add_rc({"TY_CLASS_"..lane}) - end - for v in F.get_rc_safe():gmatch("(TY_WAGONS_%d+)") do - F.remove_rc({v}) - end - F.add_rc({"TY_HEADSHUNT","TY_WAGONS_"..wagons-this_rake}) - atc_set_ars_disable(false) - set_autocouple() - else --bounce train back towards working end - atc_set_ars_disable(true) - atc_send("S0WRD1S3") - unset_autocouple() - end - else -- train entering from the far end. set autocouple so it pushes all the way through to the bounce - set_autocouple() - end -end
\ No newline at end of file diff --git a/Tyard/nodes/(-4027,12,-2731).lua b/Tyard/nodes/(-4027,12,-2731).lua deleted file mode 100644 index 5491309..0000000 --- a/Tyard/nodes/(-4027,12,-2731).lua +++ /dev/null @@ -1,58 +0,0 @@ --- Classification track -local this_dir = false --- this_dir == true for north end, false for south end -if F.yard_active() then - if atc_arrow then -- loco is at working end - F.remove_rc({"TY_PICKUP"}) - if F.has_rc("TY_ARRIVE") and F.dir() == this_dir then --first pass, prep train for working - F.remove_rc({"TY_AROUND"}) - if not F.get_rc_safe():match("TY_LOCOS_%d+") or not F.get_rc_safe():match("TY_WAGONS_%d+") then - local full_length = train_length() - split_off_locomotive("A0B0") - F.add_rc({"TY_HEADSHUNT"}) -- train will end up going through headshunt no matter what. there shouldn't be any trains entering that pass straight through. - if train_length() == full_length then --train is either only here for collection or there's no FC's in the wagons. can't differentiate - local lane = F.get_rc_safe():match("TY_COLLECT_(%S+)") or "" - F.add_rc({"TY_LAST_CLASS","TY_CLASS_"..lane}) -- direct train to correct lane for collection - else --identify and save loco:wagon ratio, then bounce back from headshunt. it's easier than trying to reconnect - F.add_rc({"TY_LOCOS_"..train_length(), "TY_WAGONS_"..(full_length-train_length()),"TY_PICKUP"}) - end - return -- train has departed for headshunt - end - if F.has_rc("TY_RTS") then - F.dir(not F.dir()) - F.remove_rc({"TY_RTS"}) - F.add_rc({"TY_AROUND"}) -- send loco around to the other end - split_off_locomotive("A0B0") - atc_set_ars_disable(false) - return -- train has departed for RTS loop - end - F.remove_rc({"TY_ARRIVE"}) - step_fc() - end - if this_dir == F.dir() then --train has bounced and is ready to classify wagon(s) - -- local pre_split = train_length() - local lane = split_at_fc("A0B0",5) -- where to classify this rake -- headshunt length - local locos = tonumber(F.get_rc_safe():match("TY_LOCOS_(%d+)")) or 1 --saved loco count - local wagons = tonumber(F.get_rc_safe():match("TY_WAGONS_(%d+)")) or 0 -- wagon_count from last classification split - local this_rake = train_length() - locos-- subtract these wagons from the overall wagon count - if this_rake == wagons then -- mark for last_classification - F.add_rc({"TY_LAST_CLASS"}) - end - if lane ~= "" then - F.add_rc({"TY_CLASS_"..lane}) - end - for v in F.get_rc_safe():gmatch("(TY_WAGONS_%d+)") do - F.remove_rc({v}) - end - F.add_rc({"TY_HEADSHUNT","TY_WAGONS_"..wagons-this_rake}) - atc_set_ars_disable(false) - set_autocouple() - else --bounce train back towards working end - atc_set_ars_disable(true) - atc_send("S0WRD1S3") - unset_autocouple() - end - else -- train entering from the far end. set autocouple so it pushes all the way through to the bounce - set_autocouple() - end -end
\ No newline at end of file diff --git a/Tyard/nodes/(-4028,12,-2655).lua b/Tyard/nodes/(-4028,12,-2655).lua deleted file mode 100644 index 39f9b81..0000000 --- a/Tyard/nodes/(-4028,12,-2655).lua +++ /dev/null @@ -1 +0,0 @@ ---North pickup splitter
local dir = "N"
local lane = 0
--nothing below this line should indicate a hard direction
--should be able to convert to function using only above args
--------------------------------------------------
if S.yard_active then
if atc_arrow then
if S.dir == dir then
set_route("TY"..dir.."_"..lane, "HEADSHUNT")
local plen = train_length()
local rc = split_at_fc("B0")
local trc = "TY"..dir.."_"..rc
if plen == train_length() and (rc == "" or S.rc:match(trc)) then
S.exiting = true
end
if rc and rc ~= "" then
set_rc("TY"..dir.."_"..rc)
else
set_rc(S.rc)
S.exiting = true
end
else -- if S.dir ~= dir
if S.RTS then -- loop around to other HS
S.RTS = nil
set_route("TY"..dir.."_"..lane,"AROUND")
split_off_locomotive("B0")
set_rc("AROUND_"..S.dir)
return
else
atc_send("B0WRS4")
end
end
end -- nothing to do if train goes against arrow
end
\ No newline at end of file diff --git a/Tyard/nodes/(-4028,12,-2731).lua b/Tyard/nodes/(-4028,12,-2731).lua deleted file mode 100644 index b04ffad..0000000 --- a/Tyard/nodes/(-4028,12,-2731).lua +++ /dev/null @@ -1 +0,0 @@ ---South pickup splitter
local dir = "S"
local lane = 0
--nothing below this line should indicate a hard direction
--should be able to convert to function using only above args
--------------------------------------------------
if S.yard_active then
if atc_arrow then
if S.dir == dir then
set_route("TY"..dir.."_"..lane, "HEADSHUNT")
local plen = train_length()
local rc = split_at_fc("B0")
local trc = "TY"..dir.."_"..rc
if plen == train_length() and (rc == "" or S.rc:match(trc)) then
S.exiting = true
end
if rc and rc ~= "" then
set_rc("TY"..dir.."_"..rc)
else
set_rc(S.rc)
S.exiting = true
end
else -- if S.dir ~= dir
if S.RTS then -- loop around to other HS
S.RTS = nil
set_route("TY"..dir.."_"..lane,"AROUND")
split_off_locomotive("B0")
set_rc("AROUND_"..S.dir)
return
else
atc_send("B0WRS4")
end
end
end -- nothing to do if train goes against arrow
end
\ No newline at end of file diff --git a/Tyard/nodes/(-4031,12,-2655).lua b/Tyard/nodes/(-4031,12,-2655).lua deleted file mode 100644 index f08c2fe..0000000 --- a/Tyard/nodes/(-4031,12,-2655).lua +++ /dev/null @@ -1,28 +0,0 @@ ---EOL code -local this_dir = true -- true = F.dir arrow points north - -if not F.yard_active() then return end -if atc_arrow then - if F.dir() == this_dir then --train has bounced and needs to leave the rake or depart with it - if F.has_rc("TY_LAST_CLASS") then -- take the whole rake to the exit - F.remove_rc({"TY_LAST_CLASS"}) - F.add_rc({"TY_DEPART"}) - split_off_locomotive("A0B0") - elseif not F.has_rc("TY_FINAL_COLLECT") then - -- disconnect loco and return to pickup - split_off_locomotive("A0B0") - F.add_rc({"TY_PICKUP"}) - end --if has FINAL_COLLECT then don't split off the loco. take the full rake - F.add_rc({"TY_HEADSHUNT"}) - else --train needs to bounce - atc_send("B0WRD1S4") - end -else - if F.dir() == this_dir then - --train is clasifying wagons, let it pass and couple to the rest of the rake - F.remove_rc_match("TY_CLASS_%S+") - else --this should never come into play as it means the train has entered from the wrong end somehow - atc_send("BBOL") --stop the train and open the doors (if available) to signify assistance required - F.error(true) - end -end
\ No newline at end of file diff --git a/Tyard/nodes/(-4031,12,-2731).lua b/Tyard/nodes/(-4031,12,-2731).lua deleted file mode 100644 index aad7649..0000000 --- a/Tyard/nodes/(-4031,12,-2731).lua +++ /dev/null @@ -1,28 +0,0 @@ ---EOL code -local this_dir = false -- true = F.dir arrow points north - -if not F.yard_active() then return end -if atc_arrow then - if F.dir() == this_dir then --train has bounced and needs to leave the rake or depart with it - if F.has_rc("TY_LAST_CLASS") then -- take the whole rake to the exit - F.remove_rc({"TY_LAST_CLASS"}) - F.add_rc({"TY_DEPART"}) - split_off_locomotive("A0B0") - elseif not F.has_rc("TY_FINAL_COLLECT") then - -- disconnect loco and return to pickup - split_off_locomotive("A0B0") - F.add_rc({"TY_PICKUP"}) - end --if has FINAL_COLLECT then don't split off the loco. take the full rake - F.add_rc({"TY_HEADSHUNT"}) - else --train needs to bounce - atc_send("B0WRD1S4") - end -else - if F.dir() == this_dir then - --train is clasifying wagons, let it pass and couple to the rest of the rake - F.remove_rc_match("TY_CLASS_%S+") - else --this should never come into play as it means the train has entered from the wrong end somehow - atc_send("BBOL") --stop the train and open the doors (if available) to signify assistance required - F.error(true) - end -end
\ No newline at end of file diff --git a/Tyard/nodes/(-4032,12,-2655).lua b/Tyard/nodes/(-4032,12,-2655).lua deleted file mode 100644 index b6c6d60..0000000 --- a/Tyard/nodes/(-4032,12,-2655).lua +++ /dev/null @@ -1 +0,0 @@ -F.EOL("N",1)
\ No newline at end of file diff --git a/Tyard/nodes/(-4032,12,-2731).lua b/Tyard/nodes/(-4032,12,-2731).lua deleted file mode 100644 index c4c1959..0000000 --- a/Tyard/nodes/(-4032,12,-2731).lua +++ /dev/null @@ -1 +0,0 @@ -F.EOL("S",1)
\ No newline at end of file diff --git a/Tyard/nodes/(-4035,12,-2655).lua b/Tyard/nodes/(-4035,12,-2655).lua deleted file mode 100644 index f08c2fe..0000000 --- a/Tyard/nodes/(-4035,12,-2655).lua +++ /dev/null @@ -1,28 +0,0 @@ ---EOL code -local this_dir = true -- true = F.dir arrow points north - -if not F.yard_active() then return end -if atc_arrow then - if F.dir() == this_dir then --train has bounced and needs to leave the rake or depart with it - if F.has_rc("TY_LAST_CLASS") then -- take the whole rake to the exit - F.remove_rc({"TY_LAST_CLASS"}) - F.add_rc({"TY_DEPART"}) - split_off_locomotive("A0B0") - elseif not F.has_rc("TY_FINAL_COLLECT") then - -- disconnect loco and return to pickup - split_off_locomotive("A0B0") - F.add_rc({"TY_PICKUP"}) - end --if has FINAL_COLLECT then don't split off the loco. take the full rake - F.add_rc({"TY_HEADSHUNT"}) - else --train needs to bounce - atc_send("B0WRD1S4") - end -else - if F.dir() == this_dir then - --train is clasifying wagons, let it pass and couple to the rest of the rake - F.remove_rc_match("TY_CLASS_%S+") - else --this should never come into play as it means the train has entered from the wrong end somehow - atc_send("BBOL") --stop the train and open the doors (if available) to signify assistance required - F.error(true) - end -end
\ No newline at end of file diff --git a/Tyard/nodes/(-4035,12,-2731).lua b/Tyard/nodes/(-4035,12,-2731).lua deleted file mode 100644 index aad7649..0000000 --- a/Tyard/nodes/(-4035,12,-2731).lua +++ /dev/null @@ -1,28 +0,0 @@ ---EOL code -local this_dir = false -- true = F.dir arrow points north - -if not F.yard_active() then return end -if atc_arrow then - if F.dir() == this_dir then --train has bounced and needs to leave the rake or depart with it - if F.has_rc("TY_LAST_CLASS") then -- take the whole rake to the exit - F.remove_rc({"TY_LAST_CLASS"}) - F.add_rc({"TY_DEPART"}) - split_off_locomotive("A0B0") - elseif not F.has_rc("TY_FINAL_COLLECT") then - -- disconnect loco and return to pickup - split_off_locomotive("A0B0") - F.add_rc({"TY_PICKUP"}) - end --if has FINAL_COLLECT then don't split off the loco. take the full rake - F.add_rc({"TY_HEADSHUNT"}) - else --train needs to bounce - atc_send("B0WRD1S4") - end -else - if F.dir() == this_dir then - --train is clasifying wagons, let it pass and couple to the rest of the rake - F.remove_rc_match("TY_CLASS_%S+") - else --this should never come into play as it means the train has entered from the wrong end somehow - atc_send("BBOL") --stop the train and open the doors (if available) to signify assistance required - F.error(true) - end -end
\ No newline at end of file diff --git a/Tyard/nodes/(-4036,12,-2655).lua b/Tyard/nodes/(-4036,12,-2655).lua deleted file mode 100644 index 3fd7dcb..0000000 --- a/Tyard/nodes/(-4036,12,-2655).lua +++ /dev/null @@ -1 +0,0 @@ -F.EOL("N",2)
\ No newline at end of file diff --git a/Tyard/nodes/(-4036,12,-2731).lua b/Tyard/nodes/(-4036,12,-2731).lua deleted file mode 100644 index f15a717..0000000 --- a/Tyard/nodes/(-4036,12,-2731).lua +++ /dev/null @@ -1 +0,0 @@ -F.EOL("S",2)
\ No newline at end of file diff --git a/Tyard/nodes/(-4039,12,-2655).lua b/Tyard/nodes/(-4039,12,-2655).lua deleted file mode 100644 index f08c2fe..0000000 --- a/Tyard/nodes/(-4039,12,-2655).lua +++ /dev/null @@ -1,28 +0,0 @@ ---EOL code -local this_dir = true -- true = F.dir arrow points north - -if not F.yard_active() then return end -if atc_arrow then - if F.dir() == this_dir then --train has bounced and needs to leave the rake or depart with it - if F.has_rc("TY_LAST_CLASS") then -- take the whole rake to the exit - F.remove_rc({"TY_LAST_CLASS"}) - F.add_rc({"TY_DEPART"}) - split_off_locomotive("A0B0") - elseif not F.has_rc("TY_FINAL_COLLECT") then - -- disconnect loco and return to pickup - split_off_locomotive("A0B0") - F.add_rc({"TY_PICKUP"}) - end --if has FINAL_COLLECT then don't split off the loco. take the full rake - F.add_rc({"TY_HEADSHUNT"}) - else --train needs to bounce - atc_send("B0WRD1S4") - end -else - if F.dir() == this_dir then - --train is clasifying wagons, let it pass and couple to the rest of the rake - F.remove_rc_match("TY_CLASS_%S+") - else --this should never come into play as it means the train has entered from the wrong end somehow - atc_send("BBOL") --stop the train and open the doors (if available) to signify assistance required - F.error(true) - end -end
\ No newline at end of file diff --git a/Tyard/nodes/(-4039,12,-2731).lua b/Tyard/nodes/(-4039,12,-2731).lua deleted file mode 100644 index aad7649..0000000 --- a/Tyard/nodes/(-4039,12,-2731).lua +++ /dev/null @@ -1,28 +0,0 @@ ---EOL code -local this_dir = false -- true = F.dir arrow points north - -if not F.yard_active() then return end -if atc_arrow then - if F.dir() == this_dir then --train has bounced and needs to leave the rake or depart with it - if F.has_rc("TY_LAST_CLASS") then -- take the whole rake to the exit - F.remove_rc({"TY_LAST_CLASS"}) - F.add_rc({"TY_DEPART"}) - split_off_locomotive("A0B0") - elseif not F.has_rc("TY_FINAL_COLLECT") then - -- disconnect loco and return to pickup - split_off_locomotive("A0B0") - F.add_rc({"TY_PICKUP"}) - end --if has FINAL_COLLECT then don't split off the loco. take the full rake - F.add_rc({"TY_HEADSHUNT"}) - else --train needs to bounce - atc_send("B0WRD1S4") - end -else - if F.dir() == this_dir then - --train is clasifying wagons, let it pass and couple to the rest of the rake - F.remove_rc_match("TY_CLASS_%S+") - else --this should never come into play as it means the train has entered from the wrong end somehow - atc_send("BBOL") --stop the train and open the doors (if available) to signify assistance required - F.error(true) - end -end
\ No newline at end of file diff --git a/Tyard/nodes/(-4040,12,-2655).lua b/Tyard/nodes/(-4040,12,-2655).lua deleted file mode 100644 index 592871f..0000000 --- a/Tyard/nodes/(-4040,12,-2655).lua +++ /dev/null @@ -1 +0,0 @@ -F.EOL("N",3)
\ No newline at end of file diff --git a/Tyard/nodes/(-4040,12,-2731).lua b/Tyard/nodes/(-4040,12,-2731).lua deleted file mode 100644 index af4c22e..0000000 --- a/Tyard/nodes/(-4040,12,-2731).lua +++ /dev/null @@ -1 +0,0 @@ -F.EOL("S",3)
\ No newline at end of file diff --git a/Tyard/nodes/(-4043,12,-2655).lua b/Tyard/nodes/(-4043,12,-2655).lua deleted file mode 100644 index f08c2fe..0000000 --- a/Tyard/nodes/(-4043,12,-2655).lua +++ /dev/null @@ -1,28 +0,0 @@ ---EOL code -local this_dir = true -- true = F.dir arrow points north - -if not F.yard_active() then return end -if atc_arrow then - if F.dir() == this_dir then --train has bounced and needs to leave the rake or depart with it - if F.has_rc("TY_LAST_CLASS") then -- take the whole rake to the exit - F.remove_rc({"TY_LAST_CLASS"}) - F.add_rc({"TY_DEPART"}) - split_off_locomotive("A0B0") - elseif not F.has_rc("TY_FINAL_COLLECT") then - -- disconnect loco and return to pickup - split_off_locomotive("A0B0") - F.add_rc({"TY_PICKUP"}) - end --if has FINAL_COLLECT then don't split off the loco. take the full rake - F.add_rc({"TY_HEADSHUNT"}) - else --train needs to bounce - atc_send("B0WRD1S4") - end -else - if F.dir() == this_dir then - --train is clasifying wagons, let it pass and couple to the rest of the rake - F.remove_rc_match("TY_CLASS_%S+") - else --this should never come into play as it means the train has entered from the wrong end somehow - atc_send("BBOL") --stop the train and open the doors (if available) to signify assistance required - F.error(true) - end -end
\ No newline at end of file diff --git a/Tyard/nodes/(-4043,12,-2731).lua b/Tyard/nodes/(-4043,12,-2731).lua deleted file mode 100644 index aad7649..0000000 --- a/Tyard/nodes/(-4043,12,-2731).lua +++ /dev/null @@ -1,28 +0,0 @@ ---EOL code -local this_dir = false -- true = F.dir arrow points north - -if not F.yard_active() then return end -if atc_arrow then - if F.dir() == this_dir then --train has bounced and needs to leave the rake or depart with it - if F.has_rc("TY_LAST_CLASS") then -- take the whole rake to the exit - F.remove_rc({"TY_LAST_CLASS"}) - F.add_rc({"TY_DEPART"}) - split_off_locomotive("A0B0") - elseif not F.has_rc("TY_FINAL_COLLECT") then - -- disconnect loco and return to pickup - split_off_locomotive("A0B0") - F.add_rc({"TY_PICKUP"}) - end --if has FINAL_COLLECT then don't split off the loco. take the full rake - F.add_rc({"TY_HEADSHUNT"}) - else --train needs to bounce - atc_send("B0WRD1S4") - end -else - if F.dir() == this_dir then - --train is clasifying wagons, let it pass and couple to the rest of the rake - F.remove_rc_match("TY_CLASS_%S+") - else --this should never come into play as it means the train has entered from the wrong end somehow - atc_send("BBOL") --stop the train and open the doors (if available) to signify assistance required - F.error(true) - end -end
\ No newline at end of file diff --git a/Tyard/nodes/(-4044,12,-2655).lua b/Tyard/nodes/(-4044,12,-2655).lua deleted file mode 100644 index c86923a..0000000 --- a/Tyard/nodes/(-4044,12,-2655).lua +++ /dev/null @@ -1 +0,0 @@ -F.EOL("N",4)
\ No newline at end of file diff --git a/Tyard/nodes/(-4044,12,-2731).lua b/Tyard/nodes/(-4044,12,-2731).lua deleted file mode 100644 index 9227db4..0000000 --- a/Tyard/nodes/(-4044,12,-2731).lua +++ /dev/null @@ -1 +0,0 @@ -F.EOL("S",4)
\ No newline at end of file diff --git a/Tyard/nodes/(-4047,12,-2655).lua b/Tyard/nodes/(-4047,12,-2655).lua deleted file mode 100644 index f08c2fe..0000000 --- a/Tyard/nodes/(-4047,12,-2655).lua +++ /dev/null @@ -1,28 +0,0 @@ ---EOL code -local this_dir = true -- true = F.dir arrow points north - -if not F.yard_active() then return end -if atc_arrow then - if F.dir() == this_dir then --train has bounced and needs to leave the rake or depart with it - if F.has_rc("TY_LAST_CLASS") then -- take the whole rake to the exit - F.remove_rc({"TY_LAST_CLASS"}) - F.add_rc({"TY_DEPART"}) - split_off_locomotive("A0B0") - elseif not F.has_rc("TY_FINAL_COLLECT") then - -- disconnect loco and return to pickup - split_off_locomotive("A0B0") - F.add_rc({"TY_PICKUP"}) - end --if has FINAL_COLLECT then don't split off the loco. take the full rake - F.add_rc({"TY_HEADSHUNT"}) - else --train needs to bounce - atc_send("B0WRD1S4") - end -else - if F.dir() == this_dir then - --train is clasifying wagons, let it pass and couple to the rest of the rake - F.remove_rc_match("TY_CLASS_%S+") - else --this should never come into play as it means the train has entered from the wrong end somehow - atc_send("BBOL") --stop the train and open the doors (if available) to signify assistance required - F.error(true) - end -end
\ No newline at end of file diff --git a/Tyard/nodes/(-4047,12,-2731).lua b/Tyard/nodes/(-4047,12,-2731).lua deleted file mode 100644 index aad7649..0000000 --- a/Tyard/nodes/(-4047,12,-2731).lua +++ /dev/null @@ -1,28 +0,0 @@ ---EOL code -local this_dir = false -- true = F.dir arrow points north - -if not F.yard_active() then return end -if atc_arrow then - if F.dir() == this_dir then --train has bounced and needs to leave the rake or depart with it - if F.has_rc("TY_LAST_CLASS") then -- take the whole rake to the exit - F.remove_rc({"TY_LAST_CLASS"}) - F.add_rc({"TY_DEPART"}) - split_off_locomotive("A0B0") - elseif not F.has_rc("TY_FINAL_COLLECT") then - -- disconnect loco and return to pickup - split_off_locomotive("A0B0") - F.add_rc({"TY_PICKUP"}) - end --if has FINAL_COLLECT then don't split off the loco. take the full rake - F.add_rc({"TY_HEADSHUNT"}) - else --train needs to bounce - atc_send("B0WRD1S4") - end -else - if F.dir() == this_dir then - --train is clasifying wagons, let it pass and couple to the rest of the rake - F.remove_rc_match("TY_CLASS_%S+") - else --this should never come into play as it means the train has entered from the wrong end somehow - atc_send("BBOL") --stop the train and open the doors (if available) to signify assistance required - F.error(true) - end -end
\ No newline at end of file diff --git a/Tyard/nodes/(-4048,12,-2655).lua b/Tyard/nodes/(-4048,12,-2655).lua deleted file mode 100644 index 3ce2888..0000000 --- a/Tyard/nodes/(-4048,12,-2655).lua +++ /dev/null @@ -1 +0,0 @@ -F.EOL("N",5)
\ No newline at end of file diff --git a/Tyard/nodes/(-4048,12,-2731).lua b/Tyard/nodes/(-4048,12,-2731).lua deleted file mode 100644 index e953f0e..0000000 --- a/Tyard/nodes/(-4048,12,-2731).lua +++ /dev/null @@ -1 +0,0 @@ -F.EOL("S",5)
\ No newline at end of file diff --git a/Tyard/nodes/(-4051,12,-2655).lua b/Tyard/nodes/(-4051,12,-2655).lua deleted file mode 100644 index f08c2fe..0000000 --- a/Tyard/nodes/(-4051,12,-2655).lua +++ /dev/null @@ -1,28 +0,0 @@ ---EOL code -local this_dir = true -- true = F.dir arrow points north - -if not F.yard_active() then return end -if atc_arrow then - if F.dir() == this_dir then --train has bounced and needs to leave the rake or depart with it - if F.has_rc("TY_LAST_CLASS") then -- take the whole rake to the exit - F.remove_rc({"TY_LAST_CLASS"}) - F.add_rc({"TY_DEPART"}) - split_off_locomotive("A0B0") - elseif not F.has_rc("TY_FINAL_COLLECT") then - -- disconnect loco and return to pickup - split_off_locomotive("A0B0") - F.add_rc({"TY_PICKUP"}) - end --if has FINAL_COLLECT then don't split off the loco. take the full rake - F.add_rc({"TY_HEADSHUNT"}) - else --train needs to bounce - atc_send("B0WRD1S4") - end -else - if F.dir() == this_dir then - --train is clasifying wagons, let it pass and couple to the rest of the rake - F.remove_rc_match("TY_CLASS_%S+") - else --this should never come into play as it means the train has entered from the wrong end somehow - atc_send("BBOL") --stop the train and open the doors (if available) to signify assistance required - F.error(true) - end -end
\ No newline at end of file diff --git a/Tyard/nodes/(-4051,12,-2731).lua b/Tyard/nodes/(-4051,12,-2731).lua deleted file mode 100644 index aad7649..0000000 --- a/Tyard/nodes/(-4051,12,-2731).lua +++ /dev/null @@ -1,28 +0,0 @@ ---EOL code -local this_dir = false -- true = F.dir arrow points north - -if not F.yard_active() then return end -if atc_arrow then - if F.dir() == this_dir then --train has bounced and needs to leave the rake or depart with it - if F.has_rc("TY_LAST_CLASS") then -- take the whole rake to the exit - F.remove_rc({"TY_LAST_CLASS"}) - F.add_rc({"TY_DEPART"}) - split_off_locomotive("A0B0") - elseif not F.has_rc("TY_FINAL_COLLECT") then - -- disconnect loco and return to pickup - split_off_locomotive("A0B0") - F.add_rc({"TY_PICKUP"}) - end --if has FINAL_COLLECT then don't split off the loco. take the full rake - F.add_rc({"TY_HEADSHUNT"}) - else --train needs to bounce - atc_send("B0WRD1S4") - end -else - if F.dir() == this_dir then - --train is clasifying wagons, let it pass and couple to the rest of the rake - F.remove_rc_match("TY_CLASS_%S+") - else --this should never come into play as it means the train has entered from the wrong end somehow - atc_send("BBOL") --stop the train and open the doors (if available) to signify assistance required - F.error(true) - end -end
\ No newline at end of file diff --git a/Tyard/nodes/(-4052,12,-2655).lua b/Tyard/nodes/(-4052,12,-2655).lua deleted file mode 100644 index 9e4298b..0000000 --- a/Tyard/nodes/(-4052,12,-2655).lua +++ /dev/null @@ -1 +0,0 @@ -F.EOL("N",6)
\ No newline at end of file diff --git a/Tyard/nodes/(-4052,12,-2731).lua b/Tyard/nodes/(-4052,12,-2731).lua deleted file mode 100644 index 2fc4fc5..0000000 --- a/Tyard/nodes/(-4052,12,-2731).lua +++ /dev/null @@ -1 +0,0 @@ -F.EOL("S",6)
\ No newline at end of file diff --git a/Tyard/nodes/(-4055,12,-2655).lua b/Tyard/nodes/(-4055,12,-2655).lua deleted file mode 100644 index f08c2fe..0000000 --- a/Tyard/nodes/(-4055,12,-2655).lua +++ /dev/null @@ -1,28 +0,0 @@ ---EOL code -local this_dir = true -- true = F.dir arrow points north - -if not F.yard_active() then return end -if atc_arrow then - if F.dir() == this_dir then --train has bounced and needs to leave the rake or depart with it - if F.has_rc("TY_LAST_CLASS") then -- take the whole rake to the exit - F.remove_rc({"TY_LAST_CLASS"}) - F.add_rc({"TY_DEPART"}) - split_off_locomotive("A0B0") - elseif not F.has_rc("TY_FINAL_COLLECT") then - -- disconnect loco and return to pickup - split_off_locomotive("A0B0") - F.add_rc({"TY_PICKUP"}) - end --if has FINAL_COLLECT then don't split off the loco. take the full rake - F.add_rc({"TY_HEADSHUNT"}) - else --train needs to bounce - atc_send("B0WRD1S4") - end -else - if F.dir() == this_dir then - --train is clasifying wagons, let it pass and couple to the rest of the rake - F.remove_rc_match("TY_CLASS_%S+") - else --this should never come into play as it means the train has entered from the wrong end somehow - atc_send("BBOL") --stop the train and open the doors (if available) to signify assistance required - F.error(true) - end -end
\ No newline at end of file diff --git a/Tyard/nodes/(-4055,12,-2731).lua b/Tyard/nodes/(-4055,12,-2731).lua deleted file mode 100644 index aad7649..0000000 --- a/Tyard/nodes/(-4055,12,-2731).lua +++ /dev/null @@ -1,28 +0,0 @@ ---EOL code -local this_dir = false -- true = F.dir arrow points north - -if not F.yard_active() then return end -if atc_arrow then - if F.dir() == this_dir then --train has bounced and needs to leave the rake or depart with it - if F.has_rc("TY_LAST_CLASS") then -- take the whole rake to the exit - F.remove_rc({"TY_LAST_CLASS"}) - F.add_rc({"TY_DEPART"}) - split_off_locomotive("A0B0") - elseif not F.has_rc("TY_FINAL_COLLECT") then - -- disconnect loco and return to pickup - split_off_locomotive("A0B0") - F.add_rc({"TY_PICKUP"}) - end --if has FINAL_COLLECT then don't split off the loco. take the full rake - F.add_rc({"TY_HEADSHUNT"}) - else --train needs to bounce - atc_send("B0WRD1S4") - end -else - if F.dir() == this_dir then - --train is clasifying wagons, let it pass and couple to the rest of the rake - F.remove_rc_match("TY_CLASS_%S+") - else --this should never come into play as it means the train has entered from the wrong end somehow - atc_send("BBOL") --stop the train and open the doors (if available) to signify assistance required - F.error(true) - end -end
\ No newline at end of file diff --git a/Tyard/nodes/(-4056,12,-2655).lua b/Tyard/nodes/(-4056,12,-2655).lua deleted file mode 100644 index 4113ece..0000000 --- a/Tyard/nodes/(-4056,12,-2655).lua +++ /dev/null @@ -1 +0,0 @@ -F.EOL("N",7)
\ No newline at end of file diff --git a/Tyard/nodes/(-4056,12,-2731).lua b/Tyard/nodes/(-4056,12,-2731).lua deleted file mode 100644 index edb2ef8..0000000 --- a/Tyard/nodes/(-4056,12,-2731).lua +++ /dev/null @@ -1 +0,0 @@ -F.EOL("S",7)
\ No newline at end of file diff --git a/Tyard/nodes/(-4059,12,-2714).lua b/Tyard/nodes/(-4059,12,-2714).lua deleted file mode 100644 index f89a6ec..0000000 --- a/Tyard/nodes/(-4059,12,-2714).lua +++ /dev/null @@ -1 +0,0 @@ ---waiting lane
-- config'd for the southbound-waiting lane
-- train nose points south, using a north signal
local dir = "N"
local waiting_signal = "TY_WAITING_"..dir
if S.yard_active then
if atc_id then
atc_send("B0")
interrupt(10,"recheck")
end
else -- send train to "headshunt"
if not atc_id then return end
S.yard_active = true
step_fc()
local rc = get_rc() or ""
S.rc = rc
--check for RTS
if S.single_dir == true or S.rc:match("TY_RTS") then
S.dir = dir
--working end = entrance dir
S.RTS = true -- to direct train to PICKUP lane. AROUND_dir will be set by the pickup track
else
--invert S.dir
--working end ~= entrance end
if dir == "N" then
S.dir = "S"
else
S.dir = "N"
end
end
set_rc("PICKUP")
set_route(waiting_signal,"HEADSHUNT")
atc_set_text_outside("Proceeding to Classification Yard")
atc_send("S0WRS4")
end
\ No newline at end of file diff --git a/Tyard/nodes/(-4063,12,-2669).lua b/Tyard/nodes/(-4063,12,-2669).lua deleted file mode 100644 index 7489acc..0000000 --- a/Tyard/nodes/(-4063,12,-2669).lua +++ /dev/null @@ -1 +0,0 @@ ---
\ No newline at end of file diff --git a/Tyard/nodes/(-4100,12,-2742).lua b/Tyard/nodes/(-4100,12,-2742).lua deleted file mode 100644 index 8ed965e..0000000 --- a/Tyard/nodes/(-4100,12,-2742).lua +++ /dev/null @@ -1,61 +0,0 @@ --- Headshunt Controller --- Note: may need customising due to track layout -local this_dir = false -- true = F.dir arrow points north. atc_arrow points towards yard - -if not F.yard_active() then return end - -__approach_callback_mode = 1 -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 not atc_arrow then --train has entered headshunt from yard. bounce or depart - atc_set_ars_disable(true) - F.remove_rc({"TY_HEADSHUNT"}) - if not F.has_rc("TY_FINAL_COLLECT") then - if not F.has_rc("TY_DEPART") then - schedule_in(";01",atc_id) - return - else - local collect = F.get_rc_safe():match("TY_COLLECT_(%S+)") - if collect then --train needs to collect a rake from the yard before departing - F.add_rc({"TY_FINAL_COLLECT","TY_CLASS_"..collect}) - schedule_in(";01",atc_id) - return - end - end - - --else let train proceed forward to the exit controller without a rake - end --else train has already collected rake. let it exit yard - else --train has bounced - if F.has_rc("TY_AROUND") then - if this_dir == F.dir() then --send train to Classification - F.remove_rc({"TY_AROUND"}) - F.add_rc({"TY_PICKUP"}) - atc_set_ars_disable(false) - return - end --if at wrong end, do nothing. train will follow TY_AROUND ARS to relevant headshunt - end -- if doesn't have TY_AROUND then let ARS classify the train - - atc_set_ars_disable(false) - end - return -end - -if event.schedule then - if not atc_id then --bounce the train that just passed - atc_send_to_train(event.msg,"B0WRD1S3A1") - else - if atc_id == event.msg then --train hasn't fully passed yet, wait a bit longer - schedule_in(";01",atc_id) - else -- somehow another train crossed the controller before the first one returned. Unlikely but possible - atc_send_to_train(event.msg,"BBOL") - atc_send("BBOL") - F.error(true) - end - end - return -end
\ No newline at end of file diff --git a/Tyard/nodes/(-4100,12,-2745).lua b/Tyard/nodes/(-4100,12,-2745).lua deleted file mode 100644 index 7f6b3e5..0000000 --- a/Tyard/nodes/(-4100,12,-2745).lua +++ /dev/null @@ -1,38 +0,0 @@ --- Yard arrival checker --- F.dir = true if entering from south - -if F.has_rc("TY_NOSHUNT") then return end - -local function enter_yard() - F.dir(true) - F.yard_active(true) - F.add_rc({"TY_ARRIVE"}) - atc_set_ars_disable(false) - atc_send("S6") - return -end - -__approach_callback_mode = 1 -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 F.yard_active() then - schedule_in(";10","recheck") - return - else - enter_yard() - end -end - -if event.schedule then - if F.yard_active() then - schedule_in(";10","recheck") - return - else - enter_yard() - end -end
\ No newline at end of file diff --git a/Tyard/nodes/(-4167,12,-2742).lua b/Tyard/nodes/(-4167,12,-2742).lua deleted file mode 100644 index fe1b446..0000000 --- a/Tyard/nodes/(-4167,12,-2742).lua +++ /dev/null @@ -1,42 +0,0 @@ --- Headshunt Exit Controller -if not F.yard_active() then return end -local exit_signal = POS(-4178,15,-2742) -__approach_callback_mode = 1 -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 - if F.has_rc("TY_DEPART") then - print("Train departs yard to mainline at full speed") - unset_autocouple() - F.remove_rc({"TY_FINAL_COLLECT","TY_DEPART"}) - F.remove_rc_match("TY_LOCOS_%d+") - F.remove_rc_match("TY_WAGONS_%d+") - atc_set_ars_disable(false) - set_route(exit_signal,"Exit Yard") - atc_send("S6D10SM") - schedule_in(";05","deactivate_check") -- wait a little to ensure train is clear from headshunt to deactivate yard - print(F.get_rc_safe()) - return - end - else - atc_send("BBOL") - F.error(true) - end -end - -if event.schedule then - if event.msg == "deactivate_check" then - if not atc_id then - F.yard_active(false) - print("Yard Disabled") - else - schedule_in(";05","deactivate_check") - return - end - end -end
\ No newline at end of file diff --git a/X_Nihilo/nodes/(-1728,10,-4338).lua b/X_Nihilo/nodes/(-1728,10,-4338).lua deleted file mode 100644 index e69de29..0000000 --- a/X_Nihilo/nodes/(-1728,10,-4338).lua +++ /dev/null diff --git a/X_Nihilo/nodes/(926,25,3081).lua b/X_Nihilo/nodes/(926,25,3081).lua deleted file mode 100644 index e69de29..0000000 --- a/X_Nihilo/nodes/(926,25,3081).lua +++ /dev/null diff --git a/auto_yards/nodes/(-1897,10,-921).lua b/auto_yards/nodes/(-1897,10,-921).lua deleted file mode 100644 index 98955fa..0000000 --- a/auto_yards/nodes/(-1897,10,-921).lua +++ /dev/null @@ -1,16 +0,0 @@ -local function tprint (tbl, indent) - if not indent then indent = 0 end - for k, v in pairs(tbl) do - formatting = string.rep("--", indent) .."[".. k .. "]: " - if type(v) == "table" then - print(formatting) - tprint(v, indent+1) - elseif type(v) == 'boolean' then - print(formatting .. tostring(v)) - else - print(formatting .. v) - end - end -end - -if event.punch then tprint(S) end
\ No newline at end of file diff --git a/auto_yards/nodes/(-1902,10,-893).lua b/auto_yards/nodes/(-1902,10,-893).lua deleted file mode 100644 index a878623..0000000 --- a/auto_yards/nodes/(-1902,10,-893).lua +++ /dev/null @@ -1 +0,0 @@ ---EXIT
\ No newline at end of file diff --git a/auto_yards/nodes/(-1908,16,835).lua b/auto_yards/nodes/(-1908,16,835).lua deleted file mode 100644 index 89349e3..0000000 --- a/auto_yards/nodes/(-1908,16,835).lua +++ /dev/null @@ -1 +0,0 @@ -F.lane_EOL("ARC",false)
\ No newline at end of file diff --git a/auto_yards/nodes/(-1909,10,-930).lua b/auto_yards/nodes/(-1909,10,-930).lua deleted file mode 100644 index 90ea19a..0000000 --- a/auto_yards/nodes/(-1909,10,-930).lua +++ /dev/null @@ -1 +0,0 @@ --- HEADSHUNT and EXIT
\ No newline at end of file diff --git a/auto_yards/nodes/(-1909,10,-957).lua b/auto_yards/nodes/(-1909,10,-957).lua deleted file mode 100644 index 3774070..0000000 --- a/auto_yards/nodes/(-1909,10,-957).lua +++ /dev/null @@ -1 +0,0 @@ -F.pickup("BY","N","0")
\ No newline at end of file diff --git a/auto_yards/nodes/(-1909,7,-1017).lua b/auto_yards/nodes/(-1909,7,-1017).lua deleted file mode 100644 index b78dee7..0000000 --- a/auto_yards/nodes/(-1909,7,-1017).lua +++ /dev/null @@ -1 +0,0 @@ -F.pickup("BY","S","0")
\ No newline at end of file diff --git a/auto_yards/nodes/(-1910,16,837).lua b/auto_yards/nodes/(-1910,16,837).lua deleted file mode 100644 index 89349e3..0000000 --- a/auto_yards/nodes/(-1910,16,837).lua +++ /dev/null @@ -1 +0,0 @@ -F.lane_EOL("ARC",false)
\ No newline at end of file diff --git a/auto_yards/nodes/(-1912,10,-928).lua b/auto_yards/nodes/(-1912,10,-928).lua deleted file mode 100644 index afbdcef..0000000 --- a/auto_yards/nodes/(-1912,10,-928).lua +++ /dev/null @@ -1 +0,0 @@ --- ENTRY and WAITING
\ No newline at end of file diff --git a/auto_yards/nodes/(-1912,10,-957).lua b/auto_yards/nodes/(-1912,10,-957).lua deleted file mode 100644 index 68f24bb..0000000 --- a/auto_yards/nodes/(-1912,10,-957).lua +++ /dev/null @@ -1 +0,0 @@ -F.EOL("BY","N","1")
\ No newline at end of file diff --git a/auto_yards/nodes/(-1912,16,839).lua b/auto_yards/nodes/(-1912,16,839).lua deleted file mode 100644 index 89349e3..0000000 --- a/auto_yards/nodes/(-1912,16,839).lua +++ /dev/null @@ -1 +0,0 @@ -F.lane_EOL("ARC",false)
\ No newline at end of file diff --git a/auto_yards/nodes/(-1912,7,-1017).lua b/auto_yards/nodes/(-1912,7,-1017).lua deleted file mode 100644 index 572ed50..0000000 --- a/auto_yards/nodes/(-1912,7,-1017).lua +++ /dev/null @@ -1 +0,0 @@ -F.EOL("BY","S","1")
\ No newline at end of file diff --git a/auto_yards/nodes/(-1915,10,-957).lua b/auto_yards/nodes/(-1915,10,-957).lua deleted file mode 100644 index 40a85b3..0000000 --- a/auto_yards/nodes/(-1915,10,-957).lua +++ /dev/null @@ -1 +0,0 @@ -F.EOL("BY","N","2")
\ No newline at end of file diff --git a/auto_yards/nodes/(-1915,7,-1017).lua b/auto_yards/nodes/(-1915,7,-1017).lua deleted file mode 100644 index 217f0f4..0000000 --- a/auto_yards/nodes/(-1915,7,-1017).lua +++ /dev/null @@ -1 +0,0 @@ -F.EOL("BY","S","2")
\ No newline at end of file diff --git a/auto_yards/nodes/(-1918,10,-957).lua b/auto_yards/nodes/(-1918,10,-957).lua deleted file mode 100644 index f4f335b..0000000 --- a/auto_yards/nodes/(-1918,10,-957).lua +++ /dev/null @@ -1 +0,0 @@ -F.EOL("BY","N","3")
\ No newline at end of file diff --git a/auto_yards/nodes/(-1918,7,-1017).lua b/auto_yards/nodes/(-1918,7,-1017).lua deleted file mode 100644 index 6c9c7d1..0000000 --- a/auto_yards/nodes/(-1918,7,-1017).lua +++ /dev/null @@ -1 +0,0 @@ -F.EOL("BY","S","3")
\ No newline at end of file diff --git a/auto_yards/nodes/(-1925,16,833).lua b/auto_yards/nodes/(-1925,16,833).lua deleted file mode 100644 index 2d94f29..0000000 --- a/auto_yards/nodes/(-1925,16,833).lua +++ /dev/null @@ -1 +0,0 @@ -F.classification("ARC",false)
\ No newline at end of file diff --git a/auto_yards/nodes/(-1928,16,834).lua b/auto_yards/nodes/(-1928,16,834).lua deleted file mode 100644 index 89349e3..0000000 --- a/auto_yards/nodes/(-1928,16,834).lua +++ /dev/null @@ -1 +0,0 @@ -F.lane_EOL("ARC",false)
\ No newline at end of file diff --git a/auto_yards/nodes/(-1932,3,-1053).lua b/auto_yards/nodes/(-1932,3,-1053).lua deleted file mode 100644 index 2970f21..0000000 --- a/auto_yards/nodes/(-1932,3,-1053).lua +++ /dev/null @@ -1 +0,0 @@ ---HEADSHUNT and EXIT
\ No newline at end of file diff --git a/auto_yards/nodes/(-1933,16,833).lua b/auto_yards/nodes/(-1933,16,833).lua deleted file mode 100644 index 89349e3..0000000 --- a/auto_yards/nodes/(-1933,16,833).lua +++ /dev/null @@ -1 +0,0 @@ -F.lane_EOL("ARC",false)
\ No newline at end of file diff --git a/auto_yards/nodes/(-1933,3,-1050).lua b/auto_yards/nodes/(-1933,3,-1050).lua deleted file mode 100644 index afbdcef..0000000 --- a/auto_yards/nodes/(-1933,3,-1050).lua +++ /dev/null @@ -1 +0,0 @@ --- ENTRY and WAITING
\ No newline at end of file diff --git a/auto_yards/nodes/(-1936,16,834).lua b/auto_yards/nodes/(-1936,16,834).lua deleted file mode 100644 index 89349e3..0000000 --- a/auto_yards/nodes/(-1936,16,834).lua +++ /dev/null @@ -1 +0,0 @@ -F.lane_EOL("ARC",false)
\ No newline at end of file diff --git a/auto_yards/nodes/(-1958,16,808).lua b/auto_yards/nodes/(-1958,16,808).lua deleted file mode 100644 index 4503e25..0000000 --- a/auto_yards/nodes/(-1958,16,808).lua +++ /dev/null @@ -1 +0,0 @@ -F.lane_EOL("ARC",true)
\ No newline at end of file diff --git a/auto_yards/nodes/(-1959,16,811).lua b/auto_yards/nodes/(-1959,16,811).lua deleted file mode 100644 index 4503e25..0000000 --- a/auto_yards/nodes/(-1959,16,811).lua +++ /dev/null @@ -1 +0,0 @@ -F.lane_EOL("ARC",true)
\ No newline at end of file diff --git a/auto_yards/nodes/(-1982,3,-1079).lua b/auto_yards/nodes/(-1982,3,-1079).lua deleted file mode 100644 index a878623..0000000 --- a/auto_yards/nodes/(-1982,3,-1079).lua +++ /dev/null @@ -1 +0,0 @@ ---EXIT
\ No newline at end of file diff --git a/auto_yards/nodes/(-2006,3,-1099).lua b/auto_yards/nodes/(-2006,3,-1099).lua deleted file mode 100644 index d774476..0000000 --- a/auto_yards/nodes/(-2006,3,-1099).lua +++ /dev/null @@ -1,2 +0,0 @@ -if event.digiline then return end -print("Notification Sent")
\ No newline at end of file diff --git a/auto_yards/nodes/(-2035,3,-1091).lua b/auto_yards/nodes/(-2035,3,-1091).lua deleted file mode 100644 index cbce1da..0000000 --- a/auto_yards/nodes/(-2035,3,-1091).lua +++ /dev/null @@ -1 +0,0 @@ -F.lane_EOL("BY",false)
\ No newline at end of file diff --git a/auto_yards/nodes/(416,17,5).lua b/auto_yards/nodes/(416,17,5).lua deleted file mode 100644 index e8c1b0e..0000000 --- a/auto_yards/nodes/(416,17,5).lua +++ /dev/null @@ -1,27 +0,0 @@ -local stack = function(t,channel,num_screens) - for i=0,math.ceil(#t/4) do - local calc = i*4 - local working_t = {t[calc+1],t[calc+2],t[calc+3],t[calc+4]} - local message = table.concat(working_t,"\n") - if i+1 > num_screens then return end - digiline_send(channel..i+1,message) - end -end - -if event.channel=="clock" or event.punch then - local txt = {"-- AUTOMATIC YARD STATUS --","Railway Time: "..rwt.to_string(rwt.now(),true),"LHF Trains: 719814"," ========================"} - local s - for yard_id,info in pairs(S.yards) do - table.insert(txt, yard_id.." - Active: " .. tostring(F.indicator(info.active_indicator_pos))) - table.insert(txt," Direction: " .. tostring(F.indicator(info.dir_indicator_pos))) - table.insert(txt," Error: ".. tostring(F.indicator(info.error_indicator_pos))) - if info.notify and info.notify[1] then - table.insert(txt,"Notify: "..table.concat(info.notify,", ")) - else - table.insert(txt,"Notify: N/A") - end - end - - stack(txt,"yard_status",4) - return -end
\ No newline at end of file diff --git a/durt/nodes/(-1478,11,-2588).lua b/durt/nodes/(-1478,11,-2588).lua deleted file mode 100644 index 0239c6a..0000000 --- a/durt/nodes/(-1478,11,-2588).lua +++ /dev/null @@ -1,14 +0,0 @@ -__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 deleted file mode 100644 index 0239c6a..0000000 --- a/durt/nodes/(-1489,11,-2588).lua +++ /dev/null @@ -1,14 +0,0 @@ -__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/(-149,8,-2209).lua b/durt/nodes/(-149,8,-2209).lua deleted file mode 100644 index c5bdaaf..0000000 --- a/durt/nodes/(-149,8,-2209).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Acm","E")
\ No newline at end of file diff --git a/durt/nodes/(-1497,16,-2594).lua b/durt/nodes/(-1497,16,-2594).lua deleted file mode 100644 index e0ed6bc..0000000 --- a/durt/nodes/(-1497,16,-2594).lua +++ /dev/null @@ -1,6 +0,0 @@ -if event.type=="digiline" then - if event.channel=="shunt_type" then - S.yards.S27.shunt_type = event.msg - digiline_send("lcd","====== | Shunt | Split | "..tostring(S.yards.S27.shunt_type).." | ======") - end -end
\ No newline at end of file diff --git a/durt/nodes/(-1506,15,-2599).lua b/durt/nodes/(-1506,15,-2599).lua deleted file mode 100644 index e0ed6bc..0000000 --- a/durt/nodes/(-1506,15,-2599).lua +++ /dev/null @@ -1,6 +0,0 @@ -if event.type=="digiline" then - if event.channel=="shunt_type" then - S.yards.S27.shunt_type = event.msg - digiline_send("lcd","====== | Shunt | Split | "..tostring(S.yards.S27.shunt_type).." | ======") - end -end
\ No newline at end of file diff --git a/durt/nodes/(-151,8,-2196).lua b/durt/nodes/(-151,8,-2196).lua deleted file mode 100644 index 602ea01..0000000 --- a/durt/nodes/(-151,8,-2196).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Acm","W")
\ No newline at end of file diff --git a/durt/nodes/(-1511,11,-2590).lua b/durt/nodes/(-1511,11,-2590).lua deleted file mode 100644 index 9c41623..0000000 --- a/durt/nodes/(-1511,11,-2590).lua +++ /dev/null @@ -1,67 +0,0 @@ -__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 - if S.yards.S27.shunt_type == true then - - --split and run around properly. player is present to supervise autocouple - local info = { - ['rc'] = get_rc() or " ", - ['ln'] = get_line() or " ", - ['it'] = atc_get_text_inside() or " ", - ['ot'] = atc_get_text_outside() or " " - } - print("Local Info:") - print(info) - print("===========") - if info.rc ~= "S27_HEADSHUNT S27_AROUND" then - S.yards.S27['info'] = info - print("info.rc false --> S.yards.S27: ") - print(S.yards.S27) - print("===========") - split_at_index(2,"BBWR") - set_rc("S27_HEADSHUNT S27_AROUND") - set_autocouple() - else - info = S.yards.S27['info'] - print("info.rc true --> S.yards.S27: ") - print(S.yards.S27) - print("===========") - set_rc(info.rc) - set_line(info.ln) - atc_set_text_inside(info.it) - atc_set_text_outside(info.ot) - - atc_send("BBWD3RD1SM") - end - atc_set_ars_disable(false) - return - elseif S.yards.S27.shunt_type == false then - --reverse around loop. player not present to supervise autocouple operation - local rc = get_rc() or "" - - local action = 0 - local rc_list = {} - for token in rc:gmatch("[^%s]+") do - if token=="S27_LOOP" then - action = 1 - else - table.insert(rc_list,token) - end - end - - if action == 0 then - rc = rc.." S27_LOOP" - else - rc = table.concat(rc_list," ").." S27_EXIT" - end - set_rc(rc) - atc_set_ars_disable(false) - atc_send("B0WRD1S3") - return - end -end
\ No newline at end of file diff --git a/durt/nodes/(-1511,9,-2591).lua b/durt/nodes/(-1511,9,-2591).lua deleted file mode 100644 index e0ed6bc..0000000 --- a/durt/nodes/(-1511,9,-2591).lua +++ /dev/null @@ -1,6 +0,0 @@ -if event.type=="digiline" then - if event.channel=="shunt_type" then - S.yards.S27.shunt_type = event.msg - digiline_send("lcd","====== | Shunt | Split | "..tostring(S.yards.S27.shunt_type).." | ======") - end -end
\ No newline at end of file diff --git a/durt/nodes/(-1513,11,-2588).lua b/durt/nodes/(-1513,11,-2588).lua deleted file mode 100644 index c76d2ce..0000000 --- a/durt/nodes/(-1513,11,-2588).lua +++ /dev/null @@ -1 +0,0 @@ -__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
if S.yards.S27.shunt_type == false then
--reverse around loop. player not present to supervise autocouple
local rc = get_rc() or ""
local action = 0
local rc_list = {}
for token in rc:gmatch("[^%s]+") do
if token=="S27_LOOP" then
action = 1
else
table.insert(rc_list,token)
end
end
if action == 0 then
rc = rc.." S27_LOOP"
else
rc = table.concat(rc_list," ").." S27_EXIT"
end
set_rc(rc)
atc_set_ars_disable(false)
atc_send("B0WRD1S3")
return
elseif S.yards.S27.shunt_type == true then
--split and run around properly. player is present to supervise autocouple
local info = {
['rc'] = get_rc() or "",
['ln'] = get_line() or "",
['it'] = atc_get_text_inside() or "",
['ot'] = atc_get_text_outside() or ""
}
if info.rc == "S27_HEADSHUNT S27_AROUND" then
info = S.yards.S27.info
set_rc(info.rc)
set_line(inf.ln)
atc_set_text_inside(info.it)
atc_set_text_outside(info.ot)
atc_send("BBWD3RD1SM")
else
S.yards.S27[info] = info
split_at_index(2,"BBWR")
set_rc("S27_HEADSHUNT S27_AROUND")
set_autocouple()
end
atc_set_ars_disable(false)
return
end
end
\ No newline at end of file diff --git a/durt/nodes/(-1514,11,-2590).lua b/durt/nodes/(-1514,11,-2590).lua deleted file mode 100644 index c76d2ce..0000000 --- a/durt/nodes/(-1514,11,-2590).lua +++ /dev/null @@ -1 +0,0 @@ -__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
if S.yards.S27.shunt_type == false then
--reverse around loop. player not present to supervise autocouple
local rc = get_rc() or ""
local action = 0
local rc_list = {}
for token in rc:gmatch("[^%s]+") do
if token=="S27_LOOP" then
action = 1
else
table.insert(rc_list,token)
end
end
if action == 0 then
rc = rc.." S27_LOOP"
else
rc = table.concat(rc_list," ").." S27_EXIT"
end
set_rc(rc)
atc_set_ars_disable(false)
atc_send("B0WRD1S3")
return
elseif S.yards.S27.shunt_type == true then
--split and run around properly. player is present to supervise autocouple
local info = {
['rc'] = get_rc() or "",
['ln'] = get_line() or "",
['it'] = atc_get_text_inside() or "",
['ot'] = atc_get_text_outside() or ""
}
if info.rc == "S27_HEADSHUNT S27_AROUND" then
info = S.yards.S27.info
set_rc(info.rc)
set_line(inf.ln)
atc_set_text_inside(info.it)
atc_set_text_outside(info.ot)
atc_send("BBWD3RD1SM")
else
S.yards.S27[info] = info
split_at_index(2,"BBWR")
set_rc("S27_HEADSHUNT S27_AROUND")
set_autocouple()
end
atc_set_ars_disable(false)
return
end
end
\ No newline at end of file diff --git a/durt/nodes/(-1515,11,-2588).lua b/durt/nodes/(-1515,11,-2588).lua deleted file mode 100644 index b3a645f..0000000 --- a/durt/nodes/(-1515,11,-2588).lua +++ /dev/null @@ -1,6 +0,0 @@ -if event.train and atc_arrow then - atc_set_ars_disable(false) - atc_send("S3") - set_rc(get_rc().." S27_EXIT") - return -end
\ No newline at end of file diff --git a/durt/nodes/(-1516,11,-2590).lua b/durt/nodes/(-1516,11,-2590).lua deleted file mode 100644 index 7352032..0000000 --- a/durt/nodes/(-1516,11,-2590).lua +++ /dev/null @@ -1 +0,0 @@ -if event.train and atc_arrow then
if S.yards.S27.shunt_type == false then
--reverse around loop. player not present to supervise autocouple operation
local rc = get_rc() or ""
local action = 0
local rc_list = {}
for token in rc:gmatch("[^%s]+") do
if token=="S27_LOOP" then
action = 1
else
table.insert(rc_list,token)
end
end
if action == 0 then
rc = rc.." S27_LOOP"
else
rc = table.concat(rc_list," ").." S27_EXIT"
end
set_rc(rc)
atc_set_ars_disable(false)
atc_send("B0WRD1S3")
return
end
end
\ No newline at end of file diff --git a/durt/nodes/(-168,7,-2053).lua b/durt/nodes/(-168,7,-2053).lua deleted file mode 100644 index f64a829..0000000 --- a/durt/nodes/(-168,7,-2053).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Ghd","E")
\ No newline at end of file diff --git a/durt/nodes/(-170,7,-2040).lua b/durt/nodes/(-170,7,-2040).lua deleted file mode 100644 index c17ee1f..0000000 --- a/durt/nodes/(-170,7,-2040).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Ghd","W")
\ No newline at end of file diff --git a/durt/nodes/(-1728,10,-1823).lua b/durt/nodes/(-1728,10,-1823).lua deleted file mode 100644 index 0e7dc6d..0000000 --- a/durt/nodes/(-1728,10,-1823).lua +++ /dev/null @@ -1,4 +0,0 @@ -if get_line() == "S23" or get_line() == "BH" then - atc_set_text_inside("S23 -> Arcadius") - atc_set_text_outside("S23 -> Arcadius") -end
\ No newline at end of file diff --git a/durt/nodes/(-1924,13,-1692).lua b/durt/nodes/(-1924,13,-1692).lua deleted file mode 100644 index 9d2f57f..0000000 --- a/durt/nodes/(-1924,13,-1692).lua +++ /dev/null @@ -1 +0,0 @@ -signal = "foundry_roads_sorting"
if (event.train and atc_arrow) or (event.int and event.message == "check_signal" and atc_id) then
if can_set_route(signal,"Out Road (Loadout)") then
set_route(signal,"Out Road (Loadout)")
elseif can_set_route(signal,"In Road (Fuel In)") then
set_route(signal,"In Road (Fuel In)")
else
if atc_speed > 0 then
atc_send("S0")
else
atc_send("B0")
end
interrupt(5,"check_signal")
return
end
atc_send("S1")
return
end
\ No newline at end of file diff --git a/durt/nodes/(-1987,13,-1700).lua b/durt/nodes/(-1987,13,-1700).lua deleted file mode 100644 index fc6a367..0000000 --- a/durt/nodes/(-1987,13,-1700).lua +++ /dev/null @@ -1,4 +0,0 @@ -if event.train and atc_arrow and atc_speed == 1 then - atc_send("SM") -end -F.M27_tracking("Exit Foundry")
\ No newline at end of file diff --git a/durt/nodes/(-1988,13,-1698).lua b/durt/nodes/(-1988,13,-1698).lua deleted file mode 100644 index 3ca3126..0000000 --- a/durt/nodes/(-1988,13,-1698).lua +++ /dev/null @@ -1 +0,0 @@ -F.M27_tracking("Enter Foundry")
\ No newline at end of file diff --git a/durt/nodes/(-20,8,-2319).lua b/durt/nodes/(-20,8,-2319).lua deleted file mode 100644 index c788356..0000000 --- a/durt/nodes/(-20,8,-2319).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Ghb","E")
\ No newline at end of file diff --git a/durt/nodes/(-2077,3,821).lua b/durt/nodes/(-2077,3,821).lua deleted file mode 100644 index eceb40a..0000000 --- a/durt/nodes/(-2077,3,821).lua +++ /dev/null @@ -1,25 +0,0 @@ -local dir_indicator = POS(-2079,7,803) -local this_dir = true - -__approach_callback_mode = 2 -if event.approach and not event.has_entered then - atc_set_lzb_tsr(2) - atc_set_ars_disable(true) - return -end - -if event.train then - if not atc_arrow then - if F.dir(dir_indicator) == this_dir then - atc_send("B1") - end -- no else, should never happen - else - if F.has_rc("ARC_LOAD_load") and (F.dir(dir_indicator) == not this_dir) then - F.remove_rc({"ARC_LOAD_load"}) - F.add_rc("ARC_LOAD_rejoin") - atc_send("B0WRD1S2") - else - atc_send("A1S2") - end - end -end
\ No newline at end of file diff --git a/durt/nodes/(-2080,19,731).lua b/durt/nodes/(-2080,19,731).lua deleted file mode 100644 index 440ca17..0000000 --- a/durt/nodes/(-2080,19,731).lua +++ /dev/null @@ -1,32 +0,0 @@ -local dir_indicator = POS(-2079,7,803) -local this_dir = false - -if event.schedule then - if not atc_id then - atc_send_to_train(event.msg,"B0WRD1S1") - return - end - if event.msg == atc_id then - schedule_in(";01",atc_id) - return - else - atc_send("BB") - atc_send_to_train("BB") - return - end - return -end - -if event.train and atc_arrow then - if F.has_rc("ARC_LOAD_reverse") and F.dir(dir_indicator) == this_dir then - set_autocouple() - schedule_in(";01",atc_id) - return - end - if F.has_rc("ARC_LOAD_exit") then - F.remove_rc({"ARC_LOAD_exit"}) - atc_send("D5SM") - return - end -end - diff --git a/durt/nodes/(-2080,3,787).lua b/durt/nodes/(-2080,3,787).lua deleted file mode 100644 index 79ffde6..0000000 --- a/durt/nodes/(-2080,3,787).lua +++ /dev/null @@ -1,36 +0,0 @@ -local dir_indicator = POS(-2079,7,803) -local this_dir = false - -__approach_callback_mode = 2 -if event.approach and not event.has_entered then - atc_set_lzb_tsr(2) - atc_set_ars_disable(true) - return -end - -if event.train then - if not F.has_rc("ARC_LOAD") then - atc_set_ars_disable(false) - return - end - if F.has_rc("ARC_LOAD_exit") then - atc_set_ars_disable(false) - return - end - if not atc_arrow then - atc_send("S2") - return - end - - if not F.has_rc("ARC_LOAD_rejoin") then - split_at_fc("B0") - F.add_rc("ARC_LOAD_reverse ARC_LOAD_load") - atc_send("A1S2") - F.dir(dir_indicator,this_dir) - else - unset_autocouple() - F.remove_rc({"ARC_LOAD_reverse","ARC_LOAD_rejoin"}) - F.add_rc("ARC_LOAD_exit") - atc_send("B0WRD1S6A1") - end -end
\ No newline at end of file diff --git a/durt/nodes/(-2080,3,834).lua b/durt/nodes/(-2080,3,834).lua deleted file mode 100644 index c983a88..0000000 --- a/durt/nodes/(-2080,3,834).lua +++ /dev/null @@ -1,3 +0,0 @@ -if event.train then - atc_send("S0I+WR;D2S3") -end
\ No newline at end of file diff --git a/durt/nodes/(-2080,3,837).lua b/durt/nodes/(-2080,3,837).lua deleted file mode 100644 index a765227..0000000 --- a/durt/nodes/(-2080,3,837).lua +++ /dev/null @@ -1,3 +0,0 @@ -if event.train and F.has_rc("ARC_LOAD_REVERSE") then - atc_send("S0I+WR;D2S3") -end
\ No newline at end of file diff --git a/durt/nodes/(-2081,1,811).lua b/durt/nodes/(-2081,1,811).lua deleted file mode 100644 index 1ee1917..0000000 --- a/durt/nodes/(-2081,1,811).lua +++ /dev/null @@ -1,3 +0,0 @@ -if event.punch then - interrupt_pos(POS(-4144,16,-5792)) -end
\ No newline at end of file diff --git a/durt/nodes/(-2081,19,690).lua b/durt/nodes/(-2081,19,690).lua deleted file mode 100644 index 703d4e4..0000000 --- a/durt/nodes/(-2081,19,690).lua +++ /dev/null @@ -1 +0,0 @@ -F.remove_rc({"ArcLoad_exit"},true)
\ No newline at end of file diff --git a/durt/nodes/(-2083,3,822).lua b/durt/nodes/(-2083,3,822).lua deleted file mode 100644 index 88d416f..0000000 --- a/durt/nodes/(-2083,3,822).lua +++ /dev/null @@ -1,3 +0,0 @@ -if event.punch then - print(getstate(POS(-2078,4,826))) -end
\ No newline at end of file diff --git a/durt/nodes/(-2084,21,851).lua b/durt/nodes/(-2084,21,851).lua deleted file mode 100644 index 555a3ed..0000000 --- a/durt/nodes/(-2084,21,851).lua +++ /dev/null @@ -1,9 +0,0 @@ -if get_line() == "S23" or get_line() == "BH" then - if atc_arrow then - atc_set_text_inside("S23 -> Mom Junction") - atc_set_text_outside("S23 -> Mom Junction") - else - atc_set_text_inside("Terminus: Arcadius/nChange here for S20") - atc_set_text_outside("S23") - end -end
\ No newline at end of file diff --git a/durt/nodes/(-2105,19,829).lua b/durt/nodes/(-2105,19,829).lua deleted file mode 100644 index 06660b9..0000000 --- a/durt/nodes/(-2105,19,829).lua +++ /dev/null @@ -1 +0,0 @@ -print(type(section_occupancy)=="function" and "section_occupancy() is a go" or "no dice yet. still waiting to update")
\ No newline at end of file diff --git a/durt/nodes/(-2211,8,902).lua b/durt/nodes/(-2211,8,902).lua deleted file mode 100644 index 7e11761..0000000 --- a/durt/nodes/(-2211,8,902).lua +++ /dev/null @@ -1 +0,0 @@ -if event.type=="digiline" then
if event.channel ~= "trainctl" then return end
if event.msg == "send" then
if atc_id and atc_arrow then
atc_send("S0WRS5")
elseif atc_id and atc_arrow == false then
atc_send("S5")
end
end
end
\ No newline at end of file diff --git a/durt/nodes/(-2227,8,290).lua b/durt/nodes/(-2227,8,290).lua deleted file mode 100644 index 6e6f7ef..0000000 --- a/durt/nodes/(-2227,8,290).lua +++ /dev/null @@ -1,3 +0,0 @@ -local msg = "S23 -> Redwood" -atc_set_text_outside(msg) -atc_set_text_inside(msg)
\ No newline at end of file diff --git a/durt/nodes/(-2227,8,292).lua b/durt/nodes/(-2227,8,292).lua deleted file mode 100644 index 75c39d7..0000000 --- a/durt/nodes/(-2227,8,292).lua +++ /dev/null @@ -1,75 +0,0 @@ --- - -local delta = 4*60+20 -- HERE IS THE VALUE - -local owdata = S.BaHi_T6 -local numval = 5 -local switchbox_cp = { x=-2221,y=14,z=297} - -function save_delay(d) - if not owndata then - owndata = { false, false, false, false, false, false, false, false, } - end - for i=numval,2,-1 do - owndata[i] = owndata[i-1] - end - owndata[1] = d -end - -function delay_text() - if not owndata then - return "" - end - local rg = "" - for i=1,numval do - h = owndata[i] - if not h then h = "" end - rg = rg .. h .." " - end - return rg -end - -if event.type == "train" then - if atc_arrow then - atc_send("B0WOL") -- D20OCD3S2") --- setstate("BaHi_T5_S2","st") --- setstate("BaHi_T5_S1","st") - - if not S.BaHi_T6 then - S.BaHi_T6 = os.time() - end --- interrupt(1,"departure") --- else - now = os.time() - tempdist = now-S.BaHi_T6 - save_delay(tempdist) - delaystr = delay_text() - output = "last: "..S.BaHi_T6 .. "\nnow: " .. now .. "\ndelta: " .. tempdist.. "\n"..delta .. " " .. delaystr - digiline_send("lcd",output) - interrupt_pos( switchbox_cp, { action = "display", data = output } ) - if tempdist > delta then - interrupt(15,"departure") - else - interrupt(-tempdist+delta,"departure") - end --- end - end - return -end - -if event.type == "int" then - if event.msg == "departure" then - -- setstate("BaHi_T5_S2","st") - -- setstate("BaHi_T5_S1","st") - atc_set_text_inside("S23 -> Redwood") - atc_send("ROCD3S2") - now = os.time() - delaystr = delay_text() --- digiline_send("lcd","last: \nnow: " .. now .. "\ndelta: " .. tempdist.. "\n"..delta .. " " .. delaystr) - output = "last: " .. now .. " \n \n \n"..delta.." "..delaystr - digiline_send("lcd",output ) - interrupt_pos( switchbox_cp, { action = "display", data = output } ) - S.BaHi_T6 = now - end - return -end
\ No newline at end of file diff --git a/durt/nodes/(-2343,15,-1336).lua b/durt/nodes/(-2343,15,-1336).lua deleted file mode 100644 index c8dc75c..0000000 --- a/durt/nodes/(-2343,15,-1336).lua +++ /dev/null @@ -1 +0,0 @@ -F.M27_tracking("Tanh Depot")
\ No newline at end of file diff --git a/durt/nodes/(-2732,11,891).lua b/durt/nodes/(-2732,11,891).lua deleted file mode 100644 index e69de29..0000000 --- a/durt/nodes/(-2732,11,891).lua +++ /dev/null diff --git a/durt/nodes/(-2734,10,-1693).lua b/durt/nodes/(-2734,10,-1693).lua deleted file mode 100644 index 8043b8c..0000000 --- a/durt/nodes/(-2734,10,-1693).lua +++ /dev/null @@ -1 +0,0 @@ ---Still need to convert to a function rather than trackside
local hs_sig = "M27_Quarry_Headshunt"
local hs_route = "Headshunt"
local exit_sig = "M27_Quarry_Exit"
local exit_route = "Exit to Mainline"
local siding_id = "M27_Quarry_runaround"
local length_prefix = "Loco"
if (event.train and atc_arrow) then
local rc = get_rc() or " "
-- the RC that controls the link to split
-- rc value: "<rc><num_wagons to shunt with>" default is single loco
-- eg "Loco2" for tenders, "Loco3" for
local loco_pos = rc:match(length_prefix.."%d+") or length_prefix.."1"
loco_pos = tonumber(loco_pos:match("%d+"))+1
if not S.runarounds[siding_id].shunting then -- train to be split
--store info for later re-insertion
S.runarounds[siding_id] = {
['shunting'] = true,
['rc'] = rc,
['line'] = get_line() or " "
}
atc_send("B0S0")
interrupt(5,{['cmd'] = "split", ['leng'] = loco_pos})
-- change int time if needed, depends on approach speed slowdown
else -- train has rejoined
--re-insert info to train
if S.runarounds[siding_id].rc then set_rc(S.runarounds[siding_id].rc) end
if S.runarounds[siding_id].line then set_line(S.runarounds[siding_id].line) end
--depart
atc_send("B0WD3RSM")
set_route(exit_sig,exit_route)
S.runarounds[siding_id].shunting = false
end
end
if event.int then
if event.msg.cmd=="split" then
cmd = event.msg
split_at_index(cmd.leng,"")
set_rc(S.runarounds[siding_id].rc .. " shunt_limit")
atc_send("S2")
set_route(hs_sig,hs_route)
end
end
\ No newline at end of file diff --git a/durt/nodes/(-2734,11,891).lua b/durt/nodes/(-2734,11,891).lua deleted file mode 100644 index e69de29..0000000 --- a/durt/nodes/(-2734,11,891).lua +++ /dev/null diff --git a/durt/nodes/(-35,8,-2323).lua b/durt/nodes/(-35,8,-2323).lua deleted file mode 100644 index 401821c..0000000 --- a/durt/nodes/(-35,8,-2323).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Ghb","W")
\ No newline at end of file diff --git a/durt/nodes/(-3525,8,-2281).lua b/durt/nodes/(-3525,8,-2281).lua deleted file mode 100644 index cb3c02c..0000000 --- a/durt/nodes/(-3525,8,-2281).lua +++ /dev/null @@ -1,8 +0,0 @@ -if event.train then - if not atc_arrow then - atc_send("S1B1") - set_autocouple() - else - digiline_send("lcd",atc_id) - end -end
\ No newline at end of file diff --git a/durt/nodes/(-3530,8,-2267).lua b/durt/nodes/(-3530,8,-2267).lua deleted file mode 100644 index 40c32b6..0000000 --- a/durt/nodes/(-3530,8,-2267).lua +++ /dev/null @@ -1 +0,0 @@ ---control interface
loading_road_control_track = POS(-3544,8,-2277)
entry_exit_road_control = nil --still need to add a track for traffic balancing
if event.ext_int then
digiline_send("train_control_screen",event.message)
return
end
if event.digiline then
if event.channel ~= "train_control" then return end
if event.msg=="rehead" then
digiline_send("train_control_screen","Loco Change Ends")
interrupt_pos(loading_road_control_track,"split_around")
return
end
if event.msg=="depart" then
digiline_send("train_control_screen","Depart via Accelerator")
interrupt_pos(loading_road_control_track,"depart")
return
end
if event.msg=="shuffle_loading" then
digiline_send("train_control_screen","Loading Shuffle")
interrupt_pos(loading_road_control_track,"shuffle")
return
end
return
end
\ No newline at end of file diff --git a/durt/nodes/(-3588,8,-2277).lua b/durt/nodes/(-3588,8,-2277).lua deleted file mode 100644 index fb2ab3a..0000000 --- a/durt/nodes/(-3588,8,-2277).lua +++ /dev/null @@ -1,3 +0,0 @@ -do return end -------------------------------------------------------------------
--West End of Loading Road
local siding_id = "TreeFarm"
local control_interface = POS(-3553,18,-2261)
local hs_sig = POS(-3594,9,-2277)
local hs_route = "Shunt Around Via Loop"
if not S[siding_id] then S[siding_id] = {} end
if not atc_arrow then atc_send("B1") end
if not S[siding_id].yard_active then
if atc_arrow then
S[siding_id].yard_active = true
S[siding_id].info = {
['rc'] = get_rc() or "",
['line'] = get_line() or ""
}
-- set_rc("AROUND") - step_fc()
split_off_locomotive("B0WR")
set_route(hs_sig,hs_route)
atc_send("S4")
end
else
if atc_arrow then -- train has rejoined
atc_send("B0WD2RS1") -- reverse and load train
set_rc(S[siding_id].info.rc)
set_line(S[siding_id].info.line)
unset_autocouple()
interrupt_pos(control_interface,"Train Shunted||Now Loading")
S[siding_id].info.rc = nil
S[siding_id].info.line = nil
S[siding_id].yard_active = nil
end
end
\ No newline at end of file diff --git a/durt/nodes/(-3590,18,-3906).lua b/durt/nodes/(-3590,18,-3906).lua deleted file mode 100644 index f13c279..0000000 --- a/durt/nodes/(-3590,18,-3906).lua +++ /dev/null @@ -1,2 +0,0 @@ --- -F.M27_tracking("DJNC<-->Willow Tunnel")
\ No newline at end of file diff --git a/durt/nodes/(-3594,18,-3954).lua b/durt/nodes/(-3594,18,-3954).lua deleted file mode 100644 index 7489acc..0000000 --- a/durt/nodes/(-3594,18,-3954).lua +++ /dev/null @@ -1 +0,0 @@ ---
\ No newline at end of file diff --git a/durt/nodes/(-3596,18,-3930).lua b/durt/nodes/(-3596,18,-3930).lua deleted file mode 100644 index 731b66e..0000000 --- a/durt/nodes/(-3596,18,-3930).lua +++ /dev/null @@ -1 +0,0 @@ -local id = "DJnc_4" --change here
if (event.train and atc_arrow) then
setstate(POS(-3596,18,-3927),"st")
if not S.runarounds[id].active then
S.runarounds[id].active = true
atc_set_text_outside("Please Wait\nTrain Changing Ends") --change here
split_off_locomotive("B0WROL")
set_autocouple()
set_rc("runaround") --change here
return
else
S.runarounds[id].active = nil
atc_send("OCB0WRD1SM")
set_rc("sfh_service") --change here
atc_set_text_outside("Sulfur Hills Branch Line -> Sulfur Hills")
set_line("SHBL")
unset_autocouple()
setstate(POS(-3596,18,-3945),"st")
end
end
\ No newline at end of file diff --git a/durt/nodes/(-3596,8,-2281).lua b/durt/nodes/(-3596,8,-2281).lua deleted file mode 100644 index 230fdd4..0000000 --- a/durt/nodes/(-3596,8,-2281).lua +++ /dev/null @@ -1 +0,0 @@ -control_interface = POS(-3530,8,-2267)
exit_road_signal = POS(-3538,9,-2282)
if event.train then
if not atc_arrow then return end
if atc_speed > 13 then
if can_set_route(exit_road_signal,"Exit to Mainline") then
set_route(exit_road_signal,"Exit to Mainline")
interrupt_pos(control_interface,"Train Merging to Mainline")
return
else
set_route(exit_road_signal,"Train Accelerator Loop")
interrupt_pos(control_interface,"Waiting for Mainline||Unable to set edxit route")
return
end
else
set_route(exit_road_signal,"Train Accelerator Loop")
interrupt_pos(control_interface,"Train too slow to merge||Looping back around")
return
end
end
\ No newline at end of file diff --git a/durt/nodes/(-3601,18,-3961).lua b/durt/nodes/(-3601,18,-3961).lua deleted file mode 100644 index 84387eb..0000000 --- a/durt/nodes/(-3601,18,-3961).lua +++ /dev/null @@ -1,2 +0,0 @@ --- -F.M27_tracking("DJNC<-->Dcaves")
\ No newline at end of file diff --git a/durt/nodes/(-3670,12,-3742).lua b/durt/nodes/(-3670,12,-3742).lua deleted file mode 100644 index df19540..0000000 --- a/durt/nodes/(-3670,12,-3742).lua +++ /dev/null @@ -1,2 +0,0 @@ --- -F.M27_tracking("Sinensis<-->Willow Tunnel")
\ No newline at end of file diff --git a/durt/nodes/(-3761,12,-3554).lua b/durt/nodes/(-3761,12,-3554).lua deleted file mode 100644 index 118b1c4..0000000 --- a/durt/nodes/(-3761,12,-3554).lua +++ /dev/null @@ -1,2 +0,0 @@ --- -F.M27_tracking("EV_S<-->Sinensis")
\ No newline at end of file diff --git a/durt/nodes/(-3764,12,-3562).lua b/durt/nodes/(-3764,12,-3562).lua deleted file mode 100644 index 118b1c4..0000000 --- a/durt/nodes/(-3764,12,-3562).lua +++ /dev/null @@ -1,2 +0,0 @@ --- -F.M27_tracking("EV_S<-->Sinensis")
\ No newline at end of file diff --git a/durt/nodes/(-3776,11,-4340).lua b/durt/nodes/(-3776,11,-4340).lua deleted file mode 100644 index 228f4d3..0000000 --- a/durt/nodes/(-3776,11,-4340).lua +++ /dev/null @@ -1 +0,0 @@ -if event.train then
if atc_arrow then
atc_send("B1")
--atc_set_text_outside("Unloading Cargo")
F.M27_tracking("Storage Entry")
else
atc_send("SM")
--atc_set_text_outside("M27 Foundries Inc.")
--set_rc("FREIGHT M27 Tanh_loop M27_Foundry autorun M27_tracking")
--set_rc("FREIGHT M27 M27_Quarry autorun M27_tracking")
F.M27_tracking("Storage Exit")
end
end
\ No newline at end of file diff --git a/durt/nodes/(-3820,18,-4730).lua b/durt/nodes/(-3820,18,-4730).lua deleted file mode 100644 index d1f3c8e..0000000 --- a/durt/nodes/(-3820,18,-4730).lua +++ /dev/null @@ -1,8 +0,0 @@ -do return end ---disabled while extension trackwork in progress. Service is stopped anyway - - - -if event.train and atc_arrow and get_rc() == "sfh_shunt" then - setstate("SFH-T1-N", "st")
atc_send("B0WRD1S3") -end
\ No newline at end of file diff --git a/durt/nodes/(-3820,18,-4743).lua b/durt/nodes/(-3820,18,-4743).lua deleted file mode 100644 index 3f5d585..0000000 --- a/durt/nodes/(-3820,18,-4743).lua +++ /dev/null @@ -1,3 +0,0 @@ -if atc_arrow and get_rc() == "sfh_shunt" then - set_rc("sfh_service") -end
\ No newline at end of file diff --git a/durt/nodes/(-3821,18,-4761).lua b/durt/nodes/(-3821,18,-4761).lua deleted file mode 100644 index 64f31ae..0000000 --- a/durt/nodes/(-3821,18,-4761).lua +++ /dev/null @@ -1,10 +0,0 @@ -if (event.type == "train") then - local rc = get_rc() - if rc == "sfh_service" then - set_autocouple()
atc_send("B0")
set_rc("sfh_shunt")
interrupt(5, "proceed") - else
atc_send("B0WD3OCRSM") - unset_autocouple() - set_rc("sfh_service") - set_line("SHBL") - atc_set_text_outside("Sulfur Hills Branch Line -> Desert Junction")
end
elseif (event.type == "int") then
set_route("sfh-T1-headshunt", "Enter Headshunt")
split_off_locomotive("B0OL") - setstate("SFH-T2-S", "cr")
atc_send("S2")
end
\ No newline at end of file diff --git a/durt/nodes/(-3824,18,-4774).lua b/durt/nodes/(-3824,18,-4774).lua deleted file mode 100644 index 8ece33e..0000000 --- a/durt/nodes/(-3824,18,-4774).lua +++ /dev/null @@ -1,7 +0,0 @@ -if event.type == "train" and atc_arrow and get_rc() == "sfh_shunt" then - atc_send("B0WRS4") ---setstate("SFH-T2-S", "st") --- interrupt(3, "proceed") ---elseif (event.type == "int") then --- atc_send("R S4") -end
\ No newline at end of file diff --git a/durt/nodes/(-3843,20,-4372).lua b/durt/nodes/(-3843,20,-4372).lua deleted file mode 100644 index fa4d49f..0000000 --- a/durt/nodes/(-3843,20,-4372).lua +++ /dev/null @@ -1 +0,0 @@ -if (event.punch or event.channel=="clock") then
--digiline_send("lcd","test")
digiline_send("lcd"," --Foundry Train Status-- \nPrevious: ".. tostring(S.M27_tracking.last or "No Data").."\nCurrent :" ..tostring(S.M27_tracking.now or "No Data"))
end
\ No newline at end of file diff --git a/durt/nodes/(-4002,12,-2768).lua b/durt/nodes/(-4002,12,-2768).lua deleted file mode 100644 index 7d5ef08..0000000 --- a/durt/nodes/(-4002,12,-2768).lua +++ /dev/null @@ -1,2 +0,0 @@ --- -F.M27_tracking("Iceberg On Bamboo")
\ No newline at end of file diff --git a/durt/nodes/(-4117,16,-5770).lua b/durt/nodes/(-4117,16,-5770).lua deleted file mode 100644 index ee1ea3f..0000000 --- a/durt/nodes/(-4117,16,-5770).lua +++ /dev/null @@ -1 +0,0 @@ -print(get_aspect(POS(-4119,18,-5770)))
\ No newline at end of file diff --git a/durt/nodes/(-4117,16,-5793).lua b/durt/nodes/(-4117,16,-5793).lua deleted file mode 100644 index 8331ec8..0000000 --- a/durt/nodes/(-4117,16,-5793).lua +++ /dev/null @@ -1,2 +0,0 @@ -do return end -if event.train then print(atc_id) end
\ No newline at end of file diff --git a/durt/nodes/(-4127,5,-5624).lua b/durt/nodes/(-4127,5,-5624).lua deleted file mode 100644 index d30218f..0000000 --- a/durt/nodes/(-4127,5,-5624).lua +++ /dev/null @@ -1,24 +0,0 @@ -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/(-4128,5,-5630).lua b/durt/nodes/(-4128,5,-5630).lua deleted file mode 100644 index ef978ad..0000000 --- a/durt/nodes/(-4128,5,-5630).lua +++ /dev/null @@ -1,21 +0,0 @@ -local pt = POS(-4129,5,-5628) -local bt = POS(-4132,4,-5626) -local dir = "l" -if event.train then - if atc_arrow then - setstate(pt,dir) - setstate(bt,"on") - atc_send("S5") - schedule_in(";05",true) - end -end - -if event.schedule then - if atc_id then - schedule_in(";05",true) - return - else - setstate(bt,"off") - return - end -end
\ No newline at end of file diff --git a/durt/nodes/(-4128,6,-5692).lua b/durt/nodes/(-4128,6,-5692).lua deleted file mode 100644 index 19d83df..0000000 --- a/durt/nodes/(-4128,6,-5692).lua +++ /dev/null @@ -1,20 +0,0 @@ -if atc_arrow then - if get_rc():match("DLG_shunt") then - atc_send("BBWRSM") - F.remove_rc({"DLG_shunt"},true) - else - atc_send("BB") - end -end - -if event.channel=="train_ctl" and event.msg=="send" then - if not atc_id or not atc_arrow then - digiline_send("error","Error "..os.time().."\nArrow:"..tostring(atc_arrow).."\nID:"..tostring(atc_id)) - return - end - atc_send("S3") - set_rc((get_rc() or "").." DLG_shunt") - split_at_index(2,"BB") - set_autocouple() - return -end
\ No newline at end of file diff --git a/durt/nodes/(-4129,13,-5726).lua b/durt/nodes/(-4129,13,-5726).lua deleted file mode 100644 index 2f179db..0000000 --- a/durt/nodes/(-4129,13,-5726).lua +++ /dev/null @@ -1,28 +0,0 @@ -if event.train then - if atc_arrow then - if F.has_rc("DLG_exit_north") then - F.remove_rc({"DLG_exit_north"}) - return - end - if F.has_rc("DLG_north_reverse") then - schedule_in(";01",atc_id) - return - end - else - if F.has_rc("DLG_north_reverse_couple") then - atc_send("CplD1S2") - return - end - end -end - - -if event.schedule then - if event.msg == atc_id then - schedule_in(";01",event.msg) - return - else - atc_send_to_train(event.msg,"S0WRS3") - return - end -end
\ No newline at end of file diff --git a/durt/nodes/(-4129,16,-5745).lua b/durt/nodes/(-4129,16,-5745).lua deleted file mode 100644 index 7ba350f..0000000 --- a/durt/nodes/(-4129,16,-5745).lua +++ /dev/null @@ -1,14 +0,0 @@ -local signal = POS(-4128,16,-5754) -if event.train and atc_arrow then - local rc = (get_rc() or "") - if rc:match("DLG_shunt_platforms") then - atc_send("B0WD2A0RS3CplS1") - if rc:match("DLG_shunt_Platform1") then - set_route(signal,"SHUNT Platform 1") - return - elseif rc:match("DLG_shunt_Platform2") then - set_route(signal,"SHUNT Platform 2") - return - end - end -end
\ No newline at end of file diff --git a/durt/nodes/(-4129,16,-5802).lua b/durt/nodes/(-4129,16,-5802).lua deleted file mode 100644 index 2e1142d..0000000 --- a/durt/nodes/(-4129,16,-5802).lua +++ /dev/null @@ -1,26 +0,0 @@ -local split_indicator = POS(-4128,17,-5768) -__approach_callback_mode = 1 - -if event.approach and not event.has_entered then - if get_line() ~= "DLG_OFB" then return end - - atc_set_ars_disable(true) - atc_set_lzb_tsr(1) -end - -if event.train then - if get_line() ~= "DLG_OFB" then return end - if not atc_arrow then return end - local state = getstate(split_indicator) - if state == "red" then - split_off_locomotive("A0B0OL",1) - atc_send("S3") - atc_set_ars_disable(false) - setstate(split_indicator,"green") - set_rc((get_rc() or "").." DLG_south_reverse DLG_around_short DLG_north_reverse DLG_shunt_platforms DLG_shunt_Platform2") - elseif state == "green" then - atc_send("B0WROCA1D2S4D10SM") - setstate(split_indicator,"red") - F.remove_rc({"DLG_south_reverse","DLG_around_long","DLG_north_reverse","DLG_shunt_platforms","DLG_shunt_Platform2"}) - end -end
\ No newline at end of file diff --git a/durt/nodes/(-4129,5,-5616).lua b/durt/nodes/(-4129,5,-5616).lua deleted file mode 100644 index d30218f..0000000 --- a/durt/nodes/(-4129,5,-5616).lua +++ /dev/null @@ -1,24 +0,0 @@ -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 deleted file mode 100644 index d30218f..0000000 --- a/durt/nodes/(-4129,5,-5624).lua +++ /dev/null @@ -1,24 +0,0 @@ -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 deleted file mode 100644 index 2dd69c1..0000000 --- a/durt/nodes/(-4129,5,-5626).lua +++ /dev/null @@ -1,12 +0,0 @@ -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,5,-5630).lua b/durt/nodes/(-4129,5,-5630).lua deleted file mode 100644 index 26a4ecb..0000000 --- a/durt/nodes/(-4129,5,-5630).lua +++ /dev/null @@ -1,21 +0,0 @@ -local pt = POS(-4129,5,-5628) -local bt = POS(-4132,4,-5626) -local dir = "s" -if event.train then - if atc_arrow then - setstate(pt,dir) - setstate(bt,"on") - atc_send("S5") - schedule_in(";05",true) - end -end - -if event.schedule then - if atc_id then - schedule_in(";05",true) - return - else - setstate(bt,"off") - return - end -end
\ No newline at end of file diff --git a/durt/nodes/(-4129,9,-5588).lua b/durt/nodes/(-4129,9,-5588).lua deleted file mode 100644 index 86a9f95..0000000 --- a/durt/nodes/(-4129,9,-5588).lua +++ /dev/null @@ -1,44 +0,0 @@ -local lights = { - POS(-4131,5,-5623), - POS(-4127,5,-5623), - POS(-4127,5,-5617), - POS(-4131,5,-5617) -} -local pt = POS(-4129,5,-5628) -local bt = POS(-4132,4,-5626) - -if event.train then - if atc_arrow then - for _,v in pairs(lights) do - setstate(v,"on") - end - if getstate(bt)=="on" then - atc_send("BB") - schedule_in(";05",true) - else - if (get_rc() or ""):match("CAN_corn") then - setstate(pt,"r") - atc_send("B1") - else - setstate(pt,"s") - atc_send("S3") - end - end - else - if tostring(get_rc() or ""):match("DLG_shunt") then - atc_send("S3D5S0WRD1S3") - else - atc_send("SM") - end - end -end - -if event.schedule then - if getstate(bt)=="on" then - atc_send("BB") - schedule_in(";05",true) - else - setstate(pt,"r") - atc_send("S3") - end -end
\ No newline at end of file diff --git a/durt/nodes/(-4130,5,-5630).lua b/durt/nodes/(-4130,5,-5630).lua deleted file mode 100644 index 0045f17..0000000 --- a/durt/nodes/(-4130,5,-5630).lua +++ /dev/null @@ -1,21 +0,0 @@ -local pt = POS(-4129,5,-5628) -local bt = POS(-4132,4,-5626) -local dir = "r" -if event.train then - if atc_arrow then - setstate(pt,dir) - setstate(bt,"on") - atc_send("S5") - schedule_in(";05",true) - end -end - -if event.schedule then - if atc_id then - schedule_in(";05",true) - return - else - setstate(bt,"off") - return - end -end
\ No newline at end of file diff --git a/durt/nodes/(-4132,6,-5690).lua b/durt/nodes/(-4132,6,-5690).lua deleted file mode 100644 index a30b837..0000000 --- a/durt/nodes/(-4132,6,-5690).lua +++ /dev/null @@ -1,20 +0,0 @@ -if atc_arrow then - if get_rc():match("DLG_shunt") then - atc_send("BBWRSM") - F.remove_rc({"DLG_shunt"},true) - else - atc_send("BB") - end -end - -if event.channel=="train_ctl" and event.msg=="send" then - if not atc_id or not atc_arrow then - digiline_send("error","Error "..os.time()) - return - end - atc_send("S3") - set_rc((get_rc() or "").." DLG_shunt") - split_at_index(2,"BB") - set_autocouple() - return -end
\ No newline at end of file diff --git a/durt/nodes/(-4134,5,-5629).lua b/durt/nodes/(-4134,5,-5629).lua deleted file mode 100644 index 7dab90e..0000000 --- a/durt/nodes/(-4134,5,-5629).lua +++ /dev/null @@ -1,14 +0,0 @@ -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 - for _,v in pairs(lights) do - setstate(v,"on") - end - end -end
\ No newline at end of file diff --git a/durt/nodes/(-4134,5,-5631).lua b/durt/nodes/(-4134,5,-5631).lua deleted file mode 100644 index d30218f..0000000 --- a/durt/nodes/(-4134,5,-5631).lua +++ /dev/null @@ -1,24 +0,0 @@ -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/(-4135,16,-5809).lua b/durt/nodes/(-4135,16,-5809).lua deleted file mode 100644 index 28ae5f2..0000000 --- a/durt/nodes/(-4135,16,-5809).lua +++ /dev/null @@ -1,27 +0,0 @@ -local split_indicator = POS(-4134,17,-5811) -__approach_callback_mode = 1 - -if event.approach and not event.has_entered then - if not F.has_rc("DLG_ArcRun") then return end - - atc_set_ars_disable(true) - atc_set_lzb_tsr(1) -end - -if event.train then - if not F.has_rc("DLG_ArcRun") then return end - if not atc_arrow then return end - local state = getstate(split_indicator) - if state == "red" then - split_off_locomotive("A0B0OL",1) - atc_send("S3") - atc_set_ars_disable(false) - setstate(split_indicator,"green") - set_rc(F.get_rc_safe().." DLG_south_reverse DLG_around_long DLG_north_reverse DLG_north_reverse_couple DLG_shunt_platforms DLG_shunt_Freight2") - elseif state == "green" then - atc_send("B0WROCA1D2S4") - setstate(split_indicator,"red") - F.remove_rc({"DLG_south_reverse","DLG_around_long","DLG_north_reverse_couple","DLG_shunt_Freight2"}) - set_rc(F.get_rc_safe().." DLG_shunt_Freight4") - end -end
\ No newline at end of file diff --git a/durt/nodes/(-4138,16,-5809).lua b/durt/nodes/(-4138,16,-5809).lua deleted file mode 100644 index 7489acc..0000000 --- a/durt/nodes/(-4138,16,-5809).lua +++ /dev/null @@ -1 +0,0 @@ ---
\ No newline at end of file diff --git a/durt/nodes/(-4142,17,-5792).lua b/durt/nodes/(-4142,17,-5792).lua deleted file mode 100644 index a82d158..0000000 --- a/durt/nodes/(-4142,17,-5792).lua +++ /dev/null @@ -1,4 +0,0 @@ -if event.punch then - interrupt_pos(POS(-4144,16,-5792)) -end -
\ No newline at end of file diff --git a/durt/nodes/(-4142,17,-5841).lua b/durt/nodes/(-4142,17,-5841).lua deleted file mode 100644 index 24270e4..0000000 --- a/durt/nodes/(-4142,17,-5841).lua +++ /dev/null @@ -1,24 +0,0 @@ -if event.train then - if atc_arrow then - if F.has_rc("DLG_south_reverse") then - schedule_in(";01",atc_id) - return - end - else - if F.has_rc("DLG_south_reverse_couple") then - atc_send("CplD1S2") - return - end - end -end - - -if event.schedule then - if event.msg == atc_id then - schedule_in(";01",event.msg) - return - else - atc_send_to_train(event.msg,"S0WRS3") - return - end -end
\ No newline at end of file diff --git a/durt/nodes/(-4144,16,-5792).lua b/durt/nodes/(-4144,16,-5792).lua deleted file mode 100644 index 53bf8c4..0000000 --- a/durt/nodes/(-4144,16,-5792).lua +++ /dev/null @@ -1,19 +0,0 @@ -if event.ext_int then - if not atc_id then - print("No train") - return - end - F.remove_rc({"DLG_north_reverse","DLG_shunt_platforms","DLG_shunt_Freight4"}) - F.add_rc("DLG_exit_north") - atc_send("I+S0WR;S4D10SM") - print("Train departing DLG\nTrain id: "..atc_id) -end - -__approach_callback_mode = 1 -if event.approach and not event.has_entered then - atc_set_lzb_tsr(1) -end - -if event.train and atc_arrow then - atc_send("S1") -end
\ No newline at end of file diff --git a/durt/nodes/(-4146,16,-5793).lua b/durt/nodes/(-4146,16,-5793).lua deleted file mode 100644 index a82d158..0000000 --- a/durt/nodes/(-4146,16,-5793).lua +++ /dev/null @@ -1,4 +0,0 @@ -if event.punch then - interrupt_pos(POS(-4144,16,-5792)) -end -
\ No newline at end of file diff --git a/durt/nodes/(-4147,19,-5792).lua b/durt/nodes/(-4147,19,-5792).lua deleted file mode 100644 index c53ad9d..0000000 --- a/durt/nodes/(-4147,19,-5792).lua +++ /dev/null @@ -1,3 +0,0 @@ -local track = POS(-4144,16,-5792) -local message = "ArcRun" -if event.punch then interrupt_pos(track,message) end
\ No newline at end of file diff --git a/durt/nodes/(-4158,12,-2742).lua b/durt/nodes/(-4158,12,-2742).lua deleted file mode 100644 index b18dc7f..0000000 --- a/durt/nodes/(-4158,12,-2742).lua +++ /dev/null @@ -1 +0,0 @@ ---Still need to convert to a function rather than trackside
local hs_sig = "TheStacks_hs"
local hs_route = "Right to Wye"
local exit_sig = "TheStacks_exit"
local exit_route = "Exit to Mainline"
local siding_id = "TheStacks"
local length_prefix = "Loco"
if (event.train and atc_arrow) then
local rc = get_rc() or " "
-- the RC that controls the link to split
-- rc value: "<rc><num_wagons to shunt with>" default is single loco
-- eg "Loco2" for tenders, "Loco3" for
local loco_pos = rc:match(length_prefix.."%d+") or length_prefix.."1"
loco_pos = tonumber(loco_pos:match("%d+"))+1
if not S.runarounds[siding_id].shunting then -- train to be split
--store info for later re-insertion
S.runarounds[siding_id] = {
['shunting'] = true,
['rc'] = rc,
['line'] = get_line() or " "
}
atc_send("B0S0")
interrupt(5,{['cmd'] = "split", ['leng'] = loco_pos})
-- change int time if needed, depends on approach speed slowdown
else -- train has rejoined
--re-insert info to train
if S.runarounds[siding_id].rc then set_rc(S.runarounds[siding_id].rc) end
if S.runarounds[siding_id].line then set_line(S.runarounds[siding_id].line) end
--depart
atc_send("B0S0WD1RSM")
set_route(exit_sig,exit_route)
S.runarounds[siding_id].shunting = false
end
end
if event.int then
if event.msg.cmd=="split" then
cmd = event.msg
split_at_index(cmd.leng,"")
atc_send("S2")
set_route(hs_sig,hs_route)
end
end
\ No newline at end of file diff --git a/durt/nodes/(-4599,7,-6502).lua b/durt/nodes/(-4599,7,-6502).lua deleted file mode 100644 index 748b242..0000000 --- a/durt/nodes/(-4599,7,-6502).lua +++ /dev/null @@ -1,24 +0,0 @@ -if event.train then - if atc_arrow == true then - if F.has_rc("BFT_Mainline_Headshunt") then - atc_send("S2") - schedule_in(";01",atc_id) - return - end - else - if F.has_rc("BFT_rejoin_from_north") then - atc_send("CplS1") - return - end - end -end - -if event.schedule then - if atc_id and event.msg == atc_id then - schedule_in(";01",event.msg) - return - else - atc_send_to_train(event.msg,"S0WRS3") - return - end -end
\ No newline at end of file diff --git a/durt/nodes/(-4623,7,-6597).lua b/durt/nodes/(-4623,7,-6597).lua deleted file mode 100644 index 4a4dcb0..0000000 --- a/durt/nodes/(-4623,7,-6597).lua +++ /dev/null @@ -1,35 +0,0 @@ -local split_indicator = POS(-4627,8,-6597) -__approach_callback_mode = 1 - -local shunt_actions = { - "BFT_Siding_B", - "BFT_shunt_platforms", - "BFT_shunt_around_Track2", - "BFT_Mainline_Headshunt", - "BFT_rejoin_from_north", - "BFT_Platform1" -} - -if event.approach and not event.has_entered then - if F.has_rc("BFT_around_test") == false then return end - - atc_set_ars_disable(true) - atc_set_lzb_tsr(1) -end - -if event.train then - if F.has_rc("BFT_around_test") == false then return end - if not atc_arrow then return end - local state = getstate(split_indicator) - if state == "off" then - split_off_locomotive("A0B0OR",1) - atc_send("S3") - atc_set_ars_disable(false) - setstate(split_indicator,"on") - set_rc(F.get_rc_safe() .." ".. table.concat(shunt_actions," ")) - elseif state == "on" then - atc_send("I>1B0ES0;WROCA1D2S4D10SM") - setstate(split_indicator,"off") - F.remove_rc(shunt_actions) - end -end
\ No newline at end of file diff --git a/durt/nodes/(-4626,7,-6638).lua b/durt/nodes/(-4626,7,-6638).lua deleted file mode 100644 index b22f859..0000000 --- a/durt/nodes/(-4626,7,-6638).lua +++ /dev/null @@ -1,19 +0,0 @@ -local signal = POS(-4626,7,-6616) -if event.train and atc_arrow then - if F.has_rc("BFT_shunt_platforms") then - local control = {"A0S0WD2RA1"} - if F.has_rc("BFT_shunt_Platform1") then - set_route(signal,"SHUNT Platform 1") - control[2] = "S3CplS1" - elseif F.has_rc("BFT_shunt_Track2") then - set_route(signal,"SHUNT Track 2") - control[2] = "S3CplS1" - elseif F.has_rc("BFT_shunt_around_Track2") then - set_route(signal,"Around via Track 2") - control[2] = "S4" - end - control = table.concat(control,"") - atc_send(control) - return - end -end
\ No newline at end of file diff --git a/durt/nodes/(-541,26,2469).lua b/durt/nodes/(-541,26,2469).lua deleted file mode 100644 index ea080ea..0000000 --- a/durt/nodes/(-541,26,2469).lua +++ /dev/null @@ -1 +0,0 @@ --- arrow points towards loco HS for Bounce
local lane = 1
if S.yard_active then
if atc_arrow and S.exiting then
set_rc("EXIT")
set_route("CANNERY_W"..lane, "EXIT")
atc_send("B0WRD1SM")
else
atc_send("B0WD1RS4")
end
end
\ No newline at end of file diff --git a/durt/nodes/(-541,26,2472).lua b/durt/nodes/(-541,26,2472).lua deleted file mode 100644 index d5d7bd4..0000000 --- a/durt/nodes/(-541,26,2472).lua +++ /dev/null @@ -1 +0,0 @@ --- arrow points towards loco HS for Bounce
local lane = 2
if S.yard_active then
if atc_arrow and S.exiting then
set_rc("EXIT")
set_route("CANNERY_W"..lane, "EXIT")
atc_send("B0WRD1SM")
else
atc_send("B0WD1RS4")
end
end
\ No newline at end of file diff --git a/durt/nodes/(-541,26,2475).lua b/durt/nodes/(-541,26,2475).lua deleted file mode 100644 index 58c5e8b..0000000 --- a/durt/nodes/(-541,26,2475).lua +++ /dev/null @@ -1 +0,0 @@ --- arrow points towards loco HS for Bounce
local lane = 3
if S.yard_active then
if atc_arrow and S.exiting then
set_rc("EXIT")
set_route("CANNERY_W"..lane, "EXIT")
atc_send("B0WRD1SM")
else
atc_send("B0WD1RS4")
end
end
\ No newline at end of file diff --git a/durt/nodes/(-549,26,2478).lua b/durt/nodes/(-549,26,2478).lua deleted file mode 100644 index 90eb7a9..0000000 --- a/durt/nodes/(-549,26,2478).lua +++ /dev/null @@ -1 +0,0 @@ ---LOCO SPLITTER
local lane = 4
if S.yard_active then
if not S.first_pass then
S.first_pass = true
set_route("CANNERY_E"..lane,"HEADSHUNT")
split_off_locomotive("B0")
set_rc("AROUND")
else
-- has collected wagons, now bounce back to sorting splitter
atc_send("B0WRD1S4")
end
end
\ No newline at end of file diff --git a/durt/nodes/(-585,26,2478).lua b/durt/nodes/(-585,26,2478).lua deleted file mode 100644 index f79b2c9..0000000 --- a/durt/nodes/(-585,26,2478).lua +++ /dev/null @@ -1 +0,0 @@ ---arrow points west towards working HS
local lane = 4
if S.yard_active == true then
if atc_arrow then
set_route("CANNERY_W"..lane, "HEADSHUNT")
-- turnouts should already be set by the train returning from HS
local plen = train_length()
local rc = split_at_fc("B0",3)
local trc = "CAN_"..rc
if plen == train_length() and (rc == "" or S.rc:match(trc)) then
S.exiting = true
end
if rc and rc ~= "" then
set_rc("CAN_"..rc)
else
set_rc(S.rc)
S.exiting = true
end
end
end
\ No newline at end of file diff --git a/durt/nodes/(-615,26,2475).lua b/durt/nodes/(-615,26,2475).lua deleted file mode 100644 index 96871b7..0000000 --- a/durt/nodes/(-615,26,2475).lua +++ /dev/null @@ -1,7 +0,0 @@ -__approach_callback_mode = 1 -if event.approach and not event.has_entered then - atc_set_lzb_tsr(1) -end -if event.train and atc_arrow then - atc_send("S1") -end
\ No newline at end of file diff --git a/durt/nodes/(-620,26,2464).lua b/durt/nodes/(-620,26,2464).lua deleted file mode 100644 index cb7688f..0000000 --- a/durt/nodes/(-620,26,2464).lua +++ /dev/null @@ -1,9 +0,0 @@ -__approach_callback_mode = 1 - -if event.approach and not event.has_entered then - atc_set_lzb_tsr(1) -end -if event.train and atc_arrow then - atc_send("S1") -end -if event.digiline and event.channel=="trainctl" then atc_send("I+S0WR;D1S3") end
\ No newline at end of file diff --git a/durt/nodes/(-621,26,2469).lua b/durt/nodes/(-621,26,2469).lua deleted file mode 100644 index 80f4e52..0000000 --- a/durt/nodes/(-621,26,2469).lua +++ /dev/null @@ -1 +0,0 @@ --- arrow points towards Sorting HS for Bounce
local lane = 1
if S.yard_active == true then
if (atc_arrow and not S.exiting) then
split_off_locomotive("B0WR")
set_route("CANNERY_W"..lane,"HEADSHUNT")
set_rc("PICKUP")
elseif atc_arrow and S.exiting then
set_route("CANNERY_W"..lane,"EXIT")
end
end
\ No newline at end of file diff --git a/durt/nodes/(-621,26,2472).lua b/durt/nodes/(-621,26,2472).lua deleted file mode 100644 index de4552e..0000000 --- a/durt/nodes/(-621,26,2472).lua +++ /dev/null @@ -1 +0,0 @@ --- arrow points towards Sorting HS for Bounce
local lane = 2
if S.yard_active == true then
if (atc_arrow and not S.exiting) then
split_off_locomotive("B0WR")
set_route("CANNERY_W"..lane,"HEADSHUNT")
set_rc("PICKUP")
elseif atc_arrow and S.exiting then
set_route("CANNERY_W"..lane,"EXIT")
end
end
\ No newline at end of file diff --git a/durt/nodes/(-621,26,2475).lua b/durt/nodes/(-621,26,2475).lua deleted file mode 100644 index 35e4773..0000000 --- a/durt/nodes/(-621,26,2475).lua +++ /dev/null @@ -1 +0,0 @@ --- arrow points towards Sorting HS for Bounce
local lane = 3
if S.yard_active == true then
if (atc_arrow and not S.exiting) then
split_off_locomotive("B0WR")
set_route("CANNERY_W"..lane,"HEADSHUNT")
set_rc("PICKUP")
elseif atc_arrow and S.exiting then
set_route("CANNERY_W"..lane,"EXIT")
end
end
\ No newline at end of file diff --git a/durt/nodes/(-638,26,2475).lua b/durt/nodes/(-638,26,2475).lua deleted file mode 100644 index 2b808a1..0000000 --- a/durt/nodes/(-638,26,2475).lua +++ /dev/null @@ -1 +0,0 @@ ---Yard Exit
--arrow points away from yard
if S.yard_active == true then
if atc_arrow then --exiting yard after shunt sequence
set_rc(S.rc)
S.yard_active = nil
S.rc = nil
S.first_pass = nil
S.exiting = nil
unset_autocouple()
end
end
\ No newline at end of file diff --git a/durt/nodes/(-646,26,2469).lua b/durt/nodes/(-646,26,2469).lua deleted file mode 100644 index 1158ddb..0000000 --- a/durt/nodes/(-646,26,2469).lua +++ /dev/null @@ -1,6 +0,0 @@ --- -if S.yard_active then - if atc_arrow then - set_autocouple() - end -end
\ No newline at end of file diff --git a/durt/nodes/(-678,20,2478).lua b/durt/nodes/(-678,20,2478).lua deleted file mode 100644 index 9d4e471..0000000 --- a/durt/nodes/(-678,20,2478).lua +++ /dev/null @@ -1,3 +0,0 @@ -do return end --- approach siding
atc_send("B0")
if S.yard_active then
interrupt(10, "recheck")
else
atc_send("S4")
S.rc = get_rc()
step_fc()
S.yard_active = true
set_route("CANNERY_WAITING", "APPROACH YARD") -set_route("CANNERY_APPROACH","PICKUP")
end
\ No newline at end of file diff --git a/durt/nodes/(-736,3,1857).lua b/durt/nodes/(-736,3,1857).lua deleted file mode 100644 index b40529e..0000000 --- a/durt/nodes/(-736,3,1857).lua +++ /dev/null @@ -1 +0,0 @@ -mainline_rc = "autorun FREIGHT"
mainline_ln = "Maverick2797_diamonds"
function speed_check()
if atc_speed > 0 then
interrupt(1,"speed_check")
return
else
interrupt(1,"split_train")
return
end
end
if event.train then
if atc_arrow then
if get_rc()=="split_around" then
if atc_speed > 0 then
speed_check()
end
return
else
set_rc(mainline_rc)
set_line(mainline_ln)
set_route("icebreaker_shunt1","return to factory")
atc_send("S3")
return
end
return
end
return
end
if event.int then
if event.message == "speed_check" then speed_check() end
if event.message=="split_train" then
atc_send("S0")
split_at_index(2,"")
set_route("icebreaker_shunt1","split->headhunt")
atc_send("S3")
return
end
return
end
\ No newline at end of file diff --git a/durt/nodes/(-743,3,1888).lua b/durt/nodes/(-743,3,1888).lua deleted file mode 100644 index 7489acc..0000000 --- a/durt/nodes/(-743,3,1888).lua +++ /dev/null @@ -1 +0,0 @@ ---
\ No newline at end of file diff --git a/durt/nodes/(-759,3,1861).lua b/durt/nodes/(-759,3,1861).lua deleted file mode 100644 index 117ee31..0000000 --- a/durt/nodes/(-759,3,1861).lua +++ /dev/null @@ -1,6 +0,0 @@ -if (event.train and atc_arrow) then - set_rc("merge_from_shunt") - atc_set_text_inside("merge_from_shunt") - atc_send("S0WRS3") - return -end
\ No newline at end of file diff --git a/durt/nodes/(-799,3,1863).lua b/durt/nodes/(-799,3,1863).lua deleted file mode 100644 index 77cc579..0000000 --- a/durt/nodes/(-799,3,1863).lua +++ /dev/null @@ -1 +0,0 @@ -if event.train then
if get_rc() ~= "mainline_running_code" then
set_rc("mainline_running_code")
atc_set_text_inside("mainline_running_code")
atc_send("S0WRS3")
return
end
return
end
if event.digiline then
if event.msg=="switch_ends" then
if not atc_id then return end
if atc_speed > 0 then return end
atc_send("S0")
interrupt(1,"braking delay")
return
end
return
end
if event.int then
if event.message=="braking delay" then
split_at_index(2,"")
set_route(POS(-802,4,1864),"to wye")
interrupt(1,"split delay")
return
end
if event.message=="split delay" then
atc_set_text_inside("engine")
atc_send("S3")
return
end
return
end
\ No newline at end of file diff --git a/durt/nodes/(139,8,-2054).lua b/durt/nodes/(139,8,-2054).lua deleted file mode 100644 index da88c32..0000000 --- a/durt/nodes/(139,8,-2054).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Gcl","W")
\ No newline at end of file diff --git a/durt/nodes/(151,8,-2046).lua b/durt/nodes/(151,8,-2046).lua deleted file mode 100644 index 24a6c0b..0000000 --- a/durt/nodes/(151,8,-2046).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Gcl","E")
\ No newline at end of file diff --git a/durt/nodes/(1852,8,9034).lua b/durt/nodes/(1852,8,9034).lua deleted file mode 100644 index 7489acc..0000000 --- a/durt/nodes/(1852,8,9034).lua +++ /dev/null @@ -1 +0,0 @@ ---
\ No newline at end of file diff --git a/durt/nodes/(1904,7,9133).lua b/durt/nodes/(1904,7,9133).lua deleted file mode 100644 index 64329a2..0000000 --- a/durt/nodes/(1904,7,9133).lua +++ /dev/null @@ -1 +0,0 @@ -local yard_id = "WOA"
__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
local init = false
if not S.WOA_stats then
S.WOA_stats = true
init = true
end
F.stat("WOA_mine",init)
end
\ No newline at end of file diff --git a/durt/nodes/(1904,8,9057).lua b/durt/nodes/(1904,8,9057).lua deleted file mode 100644 index 0851b53..0000000 --- a/durt/nodes/(1904,8,9057).lua +++ /dev/null @@ -1,17 +0,0 @@ -__approach_callback_mode = 1 -if event.approach and not event.has_entered then - atc_set_ars_disable(true) - atc_set_lzb_tsr(4) -end - -if event.train and atc_arrow then - atc_send("S4") - if F.has_rc("WOA_mine_around") then - if train_length() == 1 then - F.add_rc("WOA_ttb_s") - else - F.add_rc("WOA_shed_left") - end - end - atc_set_ars_disable(false) -end
\ No newline at end of file diff --git a/durt/nodes/(1905,0,9143).lua b/durt/nodes/(1905,0,9143).lua deleted file mode 100644 index 500f0a0..0000000 --- a/durt/nodes/(1905,0,9143).lua +++ /dev/null @@ -1,5 +0,0 @@ -if event.punch then - S.yards.WOA.mine_count = 1 - print("WOA Mine: reset counter") - digiline_send("train_ctl","send") -end
\ No newline at end of file diff --git a/durt/nodes/(1907,9,9129).lua b/durt/nodes/(1907,9,9129).lua deleted file mode 100644 index e4e4500..0000000 --- a/durt/nodes/(1907,9,9129).lua +++ /dev/null @@ -1,3 +0,0 @@ -local yard_id = "WOA"
if event.schedule then
local now = rwt.now()
local last = S.yards[yard_id].last_pass1
local dtime = rwt.diff(last,now)
local rtt = rwt.diff(S.yards[yard_id].last_pass2,last)
digiline_send("lcd",string.format("Now: %s |Last Pass: %s |ID: %s Delta: %s |TBT: %s ",rwt.to_string(now),rwt.to_string(last),S.yards.WOA.last_id,rwt.to_string(dtime),rwt.to_string(rtt)))
schedule(rwt.next_rpt(rwt.now(), "0;05", 0))
end
if event.punch then - schedule(rwt.next_rpt(rwt.now(), "0;05", 0)) - if S.WOA_stats == true then S.WOA_stats = false end
end
\ No newline at end of file diff --git a/durt/nodes/(1909,8,9115).lua b/durt/nodes/(1909,8,9115).lua deleted file mode 100644 index 224bafc..0000000 --- a/durt/nodes/(1909,8,9115).lua +++ /dev/null @@ -1,5 +0,0 @@ -do return end - - - -local foundry_track = POS(-1962,13,-1709)
local warmoneaye_track = POS(1918,7,9099)
if event.ext_int then
if type(event.msg) == "string" then digiline_send("lcd",event.msg) end
if type(event.msg) == "table" then
local m = event.msg
local location = m.location
local message = m.msg
digiline_send(location,message)
return
end
end
if event.digiline then
if event.channel=="send" then
-- interrupt_pos(foundry_track,"send")
interrupt_pos(warmoneaye_track,"send")
end
end
if event.punch then
digiline_send("Foundry","test")
digiline_send("Warmoneaye","test")
end
\ No newline at end of file diff --git a/durt/nodes/(1918,7,9099).lua b/durt/nodes/(1918,7,9099).lua deleted file mode 100644 index 3df43db..0000000 --- a/durt/nodes/(1918,7,9099).lua +++ /dev/null @@ -1 +0,0 @@ -local location = "Warmoneaye"
local ctl_pan = POS(1919,7,9093)
local signal = POS(1919,10,9094)
local route = "Exit South"
err = interrupt_pos
if event.ext_int then
if not atc_id then
err(ctl_pan,{['location'] = location, ['msg'] = " | No Train"})
end
if event.msg == "send" then
set_route(signal,route)
if atc_arrow then
atc_send("SM")
else
atc_send("S0WRSM")
end
end
end
\ No newline at end of file diff --git a/durt/nodes/(1918,7,9147).lua b/durt/nodes/(1918,7,9147).lua deleted file mode 100644 index 7489acc..0000000 --- a/durt/nodes/(1918,7,9147).lua +++ /dev/null @@ -1 +0,0 @@ ---
\ No newline at end of file diff --git a/durt/nodes/(1921,7,9148).lua b/durt/nodes/(1921,7,9148).lua deleted file mode 100644 index 7489acc..0000000 --- a/durt/nodes/(1921,7,9148).lua +++ /dev/null @@ -1 +0,0 @@ ---
\ No newline at end of file diff --git a/durt/nodes/(1950,7,9108).lua b/durt/nodes/(1950,7,9108).lua deleted file mode 100644 index a3a64b6..0000000 --- a/durt/nodes/(1950,7,9108).lua +++ /dev/null @@ -1 +0,0 @@ -interrupt_pos(POS(1949,7,9112),"send")
\ No newline at end of file diff --git a/durt/nodes/(258,2,-2054).lua b/durt/nodes/(258,2,-2054).lua deleted file mode 100644 index 23e79be..0000000 --- a/durt/nodes/(258,2,-2054).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Sfs","W")
\ No newline at end of file diff --git a/durt/nodes/(273,2,-2046).lua b/durt/nodes/(273,2,-2046).lua deleted file mode 100644 index 36cbad2..0000000 --- a/durt/nodes/(273,2,-2046).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Sfs","E")
\ No newline at end of file diff --git a/durt/nodes/(363,-3,-2026).lua b/durt/nodes/(363,-3,-2026).lua deleted file mode 100644 index a15195a..0000000 --- a/durt/nodes/(363,-3,-2026).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Jms","W")
\ No newline at end of file diff --git a/durt/nodes/(377,-3,-2018).lua b/durt/nodes/(377,-3,-2018).lua deleted file mode 100644 index a06c323..0000000 --- a/durt/nodes/(377,-3,-2018).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Jms","E")
\ No newline at end of file diff --git a/durt/nodes/(430,17,19).lua b/durt/nodes/(430,17,19).lua deleted file mode 100644 index ed65c79..0000000 --- a/durt/nodes/(430,17,19).lua +++ /dev/null @@ -1 +0,0 @@ -local line = "S23"
if event.punch or (event.channel=="clock" and event.msg=="pulse")then
digiline_send("status_update",S.lines[line].monitoring)
end
\ No newline at end of file diff --git a/durt/nodes/(430,17,7).lua b/durt/nodes/(430,17,7).lua deleted file mode 100644 index 07c8260..0000000 --- a/durt/nodes/(430,17,7).lua +++ /dev/null @@ -1 +0,0 @@ -local line = "U21"
if event.punch or (event.channel=="clock" and event.msg=="pulse")then
digiline_send("status_update",S.lines[line].monitoring)
end
\ No newline at end of file diff --git a/durt/nodes/(501,-3,-2026).lua b/durt/nodes/(501,-3,-2026).lua deleted file mode 100644 index 708c331..0000000 --- a/durt/nodes/(501,-3,-2026).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Bam","W")
\ No newline at end of file diff --git a/durt/nodes/(515,-3,-2018).lua b/durt/nodes/(515,-3,-2018).lua deleted file mode 100644 index ef7d6a4..0000000 --- a/durt/nodes/(515,-3,-2018).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Bam","E")
\ No newline at end of file diff --git a/durt/nodes/(596,-3,-1963).lua b/durt/nodes/(596,-3,-1963).lua deleted file mode 100644 index ef232c3..0000000 --- a/durt/nodes/(596,-3,-1963).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Cli","W")
\ No newline at end of file diff --git a/durt/nodes/(608,-3,-1957).lua b/durt/nodes/(608,-3,-1957).lua deleted file mode 100644 index 37f35ff..0000000 --- a/durt/nodes/(608,-3,-1957).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Cli","E")
\ No newline at end of file diff --git a/durt/nodes/(686,-3,-1961).lua b/durt/nodes/(686,-3,-1961).lua deleted file mode 100644 index 94c23fb..0000000 --- a/durt/nodes/(686,-3,-1961).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Wat","W")
\ No newline at end of file diff --git a/durt/nodes/(698,-3,-1959).lua b/durt/nodes/(698,-3,-1959).lua deleted file mode 100644 index f646518..0000000 --- a/durt/nodes/(698,-3,-1959).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Wat","E")
\ No newline at end of file diff --git a/durt/nodes/(74,8,-2124).lua b/durt/nodes/(74,8,-2124).lua deleted file mode 100644 index 4589804..0000000 --- a/durt/nodes/(74,8,-2124).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Dri","E")
\ No newline at end of file diff --git a/durt/nodes/(74,8,-2297).lua b/durt/nodes/(74,8,-2297).lua deleted file mode 100644 index 02cba9c..0000000 --- a/durt/nodes/(74,8,-2297).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Ged","E")
\ No newline at end of file diff --git a/durt/nodes/(770,6,-1938).lua b/durt/nodes/(770,6,-1938).lua deleted file mode 100644 index af2e64f..0000000 --- a/durt/nodes/(770,6,-1938).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Duf", "W")
\ No newline at end of file diff --git a/durt/nodes/(771,25,8503).lua b/durt/nodes/(771,25,8503).lua deleted file mode 100644 index 58252f0..0000000 --- a/durt/nodes/(771,25,8503).lua +++ /dev/null @@ -1,3 +0,0 @@ -if atc_arrow == true and get_line() == "DTLS1" then - atc_set_text_outside("DTL S1 -> Azena Transirejo") -end
\ No newline at end of file diff --git a/durt/nodes/(78,8,-2139).lua b/durt/nodes/(78,8,-2139).lua deleted file mode 100644 index d16d287..0000000 --- a/durt/nodes/(78,8,-2139).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Dri","W")
\ No newline at end of file diff --git a/durt/nodes/(78,8,-2312).lua b/durt/nodes/(78,8,-2312).lua deleted file mode 100644 index 6a061ac..0000000 --- a/durt/nodes/(78,8,-2312).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Ged","W")
\ No newline at end of file diff --git a/durt/nodes/(782,6,-1930).lua b/durt/nodes/(782,6,-1930).lua deleted file mode 100644 index 56e8aa5..0000000 --- a/durt/nodes/(782,6,-1930).lua +++ /dev/null @@ -1 +0,0 @@ -F.station("Duf","E")
\ No newline at end of file diff --git a/ers/nodes/(1655,1,1261).lua b/ers/nodes/(1655,1,1261).lua deleted file mode 100644 index 2d9ef7a..0000000 --- a/ers/nodes/(1655,1,1261).lua +++ /dev/null @@ -1,30 +0,0 @@ --- luaatctrack_main_depot_01.lua -local show_print = false -if event.train then - if atc_arrow then - local passive_name = "ErsDepotTurnaround" - local track_route = "" - local can_do_route = false - F.train_duration("start") - F.train_info(passive_name, show_print) - - if F.does_train_have_rc("ERSTAZIDEPOTUNLOAD") then - track_route = "01 UNLOADING TRACK" - F.send_route(passive_name, track_route, show_print) - elseif F.does_train_have_rc("ERSTAZITST") then - track_route = "02 LOADING TRACK" - F.send_route(passive_name, track_route, show_print) - else - track_route = "03 EXTRA" - can_do_route = F.send_route(passive_name, track_route, show_print) - if can_do_route == false then - track_route = "04 EXTRA" - F.send_route(passive_name, track_route, show_print) - end - end - else - local passive_name = "ErsDepotTurnaround" - F.train_duration("end") - F.train_info(passive_name, show_print) - end -end
\ No newline at end of file diff --git a/ers/nodes/(1655,1,1264).lua b/ers/nodes/(1655,1,1264).lua deleted file mode 100644 index 0cb6ef7..0000000 --- a/ers/nodes/(1655,1,1264).lua +++ /dev/null @@ -1,6 +0,0 @@ --- luaoperatingpanel_depot_01.lua -local show_print = false -if event.type == "punch" then - F.train_info("RESETALL", show_print) - return -end
\ No newline at end of file diff --git a/ers/nodes/(1655,6,1260).lua b/ers/nodes/(1655,6,1260).lua deleted file mode 100644 index 0cb6ef7..0000000 --- a/ers/nodes/(1655,6,1260).lua +++ /dev/null @@ -1,6 +0,0 @@ --- luaoperatingpanel_depot_01.lua -local show_print = false -if event.type == "punch" then - F.train_info("RESETALL", show_print) - return -end
\ No newline at end of file diff --git a/ers/nodes/(1657,1,1240).lua b/ers/nodes/(1657,1,1240).lua deleted file mode 100644 index d0d33a8..0000000 --- a/ers/nodes/(1657,1,1240).lua +++ /dev/null @@ -1,38 +0,0 @@ --- luaatctrack_main_depot_01.lua -local show_print = false -if event.train then - if atc_arrow then - local passive_name = "ErsDepotTurnaround" - local track_route = "01 EXTRA" - local can_do_route1 = false - local can_do_route2 = false - F.train_duration("start") - F.train_info(passive_name, show_print) - - if F.does_train_have_rc("ERSTAZIDEPOTUNLOAD") then - track_route = "03 UNLOADING TRACK" - elseif F.does_train_have_rc("DEPOTUNLOADING") then - track_route = "03 UNLOADING TRACK" - elseif F.does_train_have_rc("FERTRUNNER") then - track_route = "03 UNLOADING TRACK" - elseif F.does_train_have_rc("DEPOTLOADING") then - track_route = "02 LOADING TRACK" - elseif F.does_train_have_rc("ERSTAZITST") then - track_route = "02 LOADING TRACK" - end - - can_do_route1 = F.send_route(passive_name, track_route, show_print) - if can_do_route1 == false then - track_route = "01 EXTRA" - can_do_route2 = F.send_route(passive_name, track_route, show_print) - if can_do_route2 == false then - track_route = "04 EXTRA" - F.send_route(passive_name, track_route, show_print) - end - end - else - local passive_name = "ErsDepotTurnaround" - F.train_duration("end") - F.train_info(passive_name, show_print) - end -end
\ No newline at end of file diff --git a/ers/nodes/(2545,64,-3274).lua b/ers/nodes/(2545,64,-3274).lua deleted file mode 100644 index e69de29..0000000 --- a/ers/nodes/(2545,64,-3274).lua +++ /dev/null diff --git a/ers/nodes/(2549,64,-3274).lua b/ers/nodes/(2549,64,-3274).lua deleted file mode 100644 index e69de29..0000000 --- a/ers/nodes/(2549,64,-3274).lua +++ /dev/null diff --git a/ers/nodes/(3159,74,2331).lua b/ers/nodes/(3159,74,2331).lua deleted file mode 100644 index e69de29..0000000 --- a/ers/nodes/(3159,74,2331).lua +++ /dev/null diff --git a/ers_mtn/nodes/(1779,10,1235).lua b/ers_mtn/nodes/(1779,10,1235).lua deleted file mode 100644 index 3de7f76..0000000 --- a/ers_mtn/nodes/(1779,10,1235).lua +++ /dev/null @@ -1,91 +0,0 @@ --- --- --- 1779,10,1235 - - - -local einblendung = { -{ " Bergbahn Zugpositionen", "", "", "" }, -{ "", "", "", "" }, -{ "", "", "", "" }, -{ "", "Tal:", "Gleis A/B: %-6s %-6s", "Gleis A Gleis B" }, -} - --- ------------------------------ - - - -local function disp_update() - - for t=1,4 do - local tl = "" - for z=1,4 do - if z>1 then tl = tl.."\n" end - local h = einblendung[t][z] - if #h < 1 then h = " " end - tl = tl .. h - end - digiline_send("txt"..t,tl) - end - return -end - --- ------------------------------ - - -if event.type == "punch" then - local text = " AUA!!!" - for i=1,4 do - digiline_send("txt"..i," "..i.."\n"..text) - end - - interrupt(10,"clear") - return -end - - -if event.type == "int" then - if event.message == "clear" then - disp_update() --- for i=1,4 do --- digiline_send("txt"..i,i) --- end - end - return -end - - - - -local zeilen = {"gleisa","gleisb","tal" } - - -if event.type == "ext_int" then - local nachricht = event.message - if nachricht == nil then return end - if type(nachricht) == "string" then - if nachricht == "update" then - local t - local z - local e=1 - for t = 1,4 do - local ausgabe = "" - for z = 1,4 do - if z>1 then ausgabe = ausgabe.."\n" end - ausgabe = ausgabe .. S.daten[e] - e = e+1 - end - digiline_send("txt"..t,ausgabe) - end - return - end - return - end - if type(nachricht) == "table" then - if not nachricht.von_pos then return end - - return - end - return -end - diff --git a/ers_mtn/nodes/(1793,3,1280).lua b/ers_mtn/nodes/(1793,3,1280).lua deleted file mode 100644 index dd48338..0000000 --- a/ers_mtn/nodes/(1793,3,1280).lua +++ /dev/null @@ -1,8 +0,0 @@ --- --- --- --- stop for trains which should not run --- --- 1793,3,1280 --- --- diff --git a/far/nodes/(15478,14,1140).lua b/far/nodes/(15478,14,1140).lua deleted file mode 100644 index 0bf4df5..0000000 --- a/far/nodes/(15478,14,1140).lua +++ /dev/null @@ -1,9 +0,0 @@ - -local show_print = false -if event.type == "punch" then - --- F.delete_train_info("595542") - - F.list_trains(15) - return -end
\ No newline at end of file diff --git a/far/nodes/(21333,13,880).lua b/far/nodes/(21333,13,880).lua deleted file mode 100644 index 863fc83..0000000 --- a/far/nodes/(21333,13,880).lua +++ /dev/null @@ -1,8 +0,0 @@ --- far_luaatctrack_spot_check_01.lua - -local show_print = false -if event.train then - local posTable = POS(21333,13,880) - F.save_train(posTable) - return -end
\ No newline at end of file diff --git a/far/nodes/(21435,9,957).lua b/far/nodes/(21435,9,957).lua deleted file mode 100644 index 95420c8..0000000 --- a/far/nodes/(21435,9,957).lua +++ /dev/null @@ -1,8 +0,0 @@ --- far_luaatctrack_spot_check_01.lua - -local show_print = false -if event.train then - local posTable = POS(21435,9,957) - F.save_train(posTable) - return -end
\ No newline at end of file diff --git a/far/nodes/(21443,9,984).lua b/far/nodes/(21443,9,984).lua deleted file mode 100644 index 6b7cd0a..0000000 --- a/far/nodes/(21443,9,984).lua +++ /dev/null @@ -1,8 +0,0 @@ --- far_luaatctrack_spot_check_01.lua - -local show_print = false -if event.train then - local posTable = POS(21443,9,984) - F.save_train(posTable) - return -end
\ No newline at end of file diff --git a/far/nodes/(26345,30,1505).lua b/far/nodes/(26345,30,1505).lua deleted file mode 100644 index 0b528fe..0000000 --- a/far/nodes/(26345,30,1505).lua +++ /dev/null @@ -1,8 +0,0 @@ --- far_luaatctrack_spot_check_01.lua - -local show_print = false -if event.train then - local posTable = POS( 26345,30,1505 ) - F.save_train(posTable) - return -end
\ No newline at end of file diff --git a/far/nodes/(26347,30,1502).lua b/far/nodes/(26347,30,1502).lua deleted file mode 100644 index ace4109..0000000 --- a/far/nodes/(26347,30,1502).lua +++ /dev/null @@ -1,8 +0,0 @@ --- far_luaatctrack_spot_check_01.lua - -local show_print = false -if event.train then - local posTable = POS( 26347,30,1502 ) - F.save_train(posTable) - return -end
\ No newline at end of file diff --git a/far/nodes/(30834,16,1863).lua b/far/nodes/(30834,16,1863).lua deleted file mode 100644 index f19117f..0000000 --- a/far/nodes/(30834,16,1863).lua +++ /dev/null @@ -1,33 +0,0 @@ --- far_luaatctrack_farcom_op_01.lua - - -if event.type == "punch" then --- F.delete_train_info("298909") - S.stop_display = true - - F.send_update_displays() - - if S.stop_display then - date = F.date_formatted() - time = F.time_formatted() - digiline_send("time", " FAR COM\n\n " .. date .. "\n " .. time) - F.list_trains(true) - else - local pos = POS(30848,15,1852) - interrupt_pos(pos, "display") - end - - return -end - -if event.type == "digiline" then - if event.channel == "display" then - if event.msg == "update" then - date = F.date_formatted() - time = F.time_formatted() - digiline_send("time", " FAR COM\n\n " .. date .. "\n " .. time) - F.list_trains(false) - end - end - return -end diff --git a/far/nodes/(30836,16,1863).lua b/far/nodes/(30836,16,1863).lua deleted file mode 100644 index d478fb1..0000000 --- a/far/nodes/(30836,16,1863).lua +++ /dev/null @@ -1,13 +0,0 @@ - -if event.type == "punch" then --- F.delete_train_info("240661") - --- F.slow_train_down("010765") --- F.slow_train_down("264353") --- F.slow_train_down("403053") --- F.slow_train_down("428934") - - F.clear_main_depot_displays() - F.print("Cleared displays at FARCOM") - return -end
\ No newline at end of file diff --git a/far/nodes/(30919,13,1812).lua b/far/nodes/(30919,13,1812).lua deleted file mode 100644 index 392f2a6..0000000 --- a/far/nodes/(30919,13,1812).lua +++ /dev/null @@ -1,10 +0,0 @@ -if event.type == "ext_int" then - if event.message == "display" then - S.datetime = os.date("%Y-%m-%d %H:%M:%S") - digiline_send("time", " \n " .. S.datetime) - F.list_trains(true) - F.print("INSIDE A LUA TRACK: " .. S.datetime) - end - return -end - diff --git a/far/nodes/(30919,13,1814).lua b/far/nodes/(30919,13,1814).lua deleted file mode 100644 index 738d0c0..0000000 --- a/far/nodes/(30919,13,1814).lua +++ /dev/null @@ -1,27 +0,0 @@ --- far_luaatctrack_farcom_op_01.lua - - -if event.type == "punch" then --- F.delete_train_info("298909") - digiline_send("time", " \nUPDATE") - - S.datetime = os.date("%Y-%m-%d %H:%M:%S") - digiline_send("time", " \n " .. S.datetime) - F.list_trains(false) --- local pos = POS(30919,13,1812) --- interrupt_pos(pos, "display") --- interrupt(1, "farcom_display") - return -end - - ---[[ - -if event.iid == "farcom_display" then - local pos = POS(30919,13,1812) - interrupt_pos(pos, "display") - - interrupt(30, "farcom_display") - return -end -]]
\ No newline at end of file diff --git a/far/nodes/(30919,13,1815).lua b/far/nodes/(30919,13,1815).lua deleted file mode 100644 index 5624662..0000000 --- a/far/nodes/(30919,13,1815).lua +++ /dev/null @@ -1,12 +0,0 @@ - -local show_print = false -if event.type == "punch" then - - F.slow_train_down("010765") --- F.slow_train_down("403053") --- F.slow_train_down("428934") - - F.clear_main_depot_displays() - F.print("Cleared displays at FARCOM") - return -end
\ No newline at end of file diff --git a/far/nodes/(4725,11,2214).lua b/far/nodes/(4725,11,2214).lua deleted file mode 100644 index ca726c1..0000000 --- a/far/nodes/(4725,11,2214).lua +++ /dev/null @@ -1,8 +0,0 @@ --- far_luaatctrack_spot_check_01.lua - -local show_print = false -if event.train then - local posTable = POS(4725,11,2214) - F.save_train(posTable) - return -end
\ No newline at end of file diff --git a/far/nodes/(4728,11,2211).lua b/far/nodes/(4728,11,2211).lua deleted file mode 100644 index bc2d604..0000000 --- a/far/nodes/(4728,11,2211).lua +++ /dev/null @@ -1,8 +0,0 @@ --- far_luaatctrack_spot_check_01.lua - -local show_print = false -if event.train then - local posTable = POS(4728,11,2211) - F.save_train(posTable) - return -end
\ No newline at end of file diff --git a/far/nodes/(4839,7,2222).lua b/far/nodes/(4839,7,2222).lua deleted file mode 100644 index ea0ca9a..0000000 --- a/far/nodes/(4839,7,2222).lua +++ /dev/null @@ -1,8 +0,0 @@ --- far_luaatctrack_spot_check_01.lua - -local show_print = false -if event.train then - local posTable = POS(4839,7,2222) - F.save_train(posTable) - return -end
\ No newline at end of file diff --git a/far/nodes/(4839,7,2226).lua b/far/nodes/(4839,7,2226).lua deleted file mode 100644 index 37eee58..0000000 --- a/far/nodes/(4839,7,2226).lua +++ /dev/null @@ -1,8 +0,0 @@ --- far_luaatctrack_spot_check_01.lua - -local show_print = false -if event.train then - local posTable = POS(4839,7,2226) - F.save_train(posTable) - return -end
\ No newline at end of file diff --git a/far/nodes/(5856,21,2306).lua b/far/nodes/(5856,21,2306).lua deleted file mode 100644 index 72eeb79..0000000 --- a/far/nodes/(5856,21,2306).lua +++ /dev/null @@ -1,8 +0,0 @@ --- far_luaatctrack_spot_check_01.lua - -local show_print = false -if event.train then - local posTable = POS(5856,21,2306) - F.save_train(posTable) - return -end
\ No newline at end of file diff --git a/far/nodes/(5856,21,2317).lua b/far/nodes/(5856,21,2317).lua deleted file mode 100644 index fc0cc91..0000000 --- a/far/nodes/(5856,21,2317).lua +++ /dev/null @@ -1,8 +0,0 @@ --- far_luaatctrack_spot_check_01.lua - -local show_print = false -if event.train then - local posTable = POS(5856,21,2317) - F.save_train(posTable) - return -end
\ No newline at end of file diff --git a/far/nodes/(6173,25,2302).lua b/far/nodes/(6173,25,2302).lua deleted file mode 100644 index 690af51..0000000 --- a/far/nodes/(6173,25,2302).lua +++ /dev/null @@ -1,8 +0,0 @@ --- far_luaatctrack_spot_check_01.lua - -local show_print = false -if event.train then - local posTable = POS(6173,25,2302) - F.save_train(posTable) - return -end
\ No newline at end of file diff --git a/far/nodes/(6173,25,2312).lua b/far/nodes/(6173,25,2312).lua deleted file mode 100644 index ab08a5c..0000000 --- a/far/nodes/(6173,25,2312).lua +++ /dev/null @@ -1,8 +0,0 @@ --- far_luaatctrack_spot_check_01.lua - -local show_print = false -if event.train then - local posTable = POS(6173,25,2312) - F.save_train(posTable) - return -end
\ No newline at end of file diff --git a/far/nodes/(7288,5,1987).lua b/far/nodes/(7288,5,1987).lua deleted file mode 100644 index 07f806b..0000000 --- a/far/nodes/(7288,5,1987).lua +++ /dev/null @@ -1,8 +0,0 @@ --- far_luaatctrack_spot_check_01.lua - -local show_print = false -if event.train then - local posTable = POS(7288,5,1987) - F.save_train(posTable) - return -end
\ No newline at end of file diff --git a/far/nodes/(7288,5,1991).lua b/far/nodes/(7288,5,1991).lua deleted file mode 100644 index 50c0fac..0000000 --- a/far/nodes/(7288,5,1991).lua +++ /dev/null @@ -1,8 +0,0 @@ --- far_luaatctrack_spot_check_01.lua - -local show_print = false -if event.train then - local posTable = POS(7288,5,1991) - F.save_train(posTable) - return -end
\ No newline at end of file diff --git a/il_timetable/nodes/(-1728,10,-4324).lua b/il_timetable/nodes/(-1728,10,-4324).lua deleted file mode 100644 index b364ebd..0000000 --- a/il_timetable/nodes/(-1728,10,-4324).lua +++ /dev/null @@ -1,4 +0,0 @@ -F.ttp_stop({ - stn = "Town of Abyss", - doorside = "R", -})
\ No newline at end of file diff --git a/il_timetable/nodes/(-1728,7,-4381).lua b/il_timetable/nodes/(-1728,7,-4381).lua deleted file mode 100644 index b364ebd..0000000 --- a/il_timetable/nodes/(-1728,7,-4381).lua +++ /dev/null @@ -1,4 +0,0 @@ -F.ttp_stop({ - stn = "Town of Abyss", - doorside = "R", -})
\ No newline at end of file diff --git a/il_timetable/nodes/(-1731,7,-4402).lua b/il_timetable/nodes/(-1731,7,-4402).lua deleted file mode 100644 index c9dae37..0000000 --- a/il_timetable/nodes/(-1731,7,-4402).lua +++ /dev/null @@ -1,14 +0,0 @@ -if event.train then - if get_line() == "E1" then - if flip then - set_rc("E1_Mel_Left") - else - set_rc("E1_Mel_Right") - end - flip = not flip - end -end -F.ttp_stop({ - stn = "Town of Abyss", - doorside = "R", -})
\ No newline at end of file diff --git a/il_timetable/nodes/(-2091,9,-4569).lua b/il_timetable/nodes/(-2091,9,-4569).lua deleted file mode 100644 index b130beb..0000000 --- a/il_timetable/nodes/(-2091,9,-4569).lua +++ /dev/null @@ -1,2 +0,0 @@ -F.stop_sd_sched("Melinka", "L", "RSM", 10, 120, 0) -atc_set_text_outside("[E1] Personhood") diff --git a/il_timetable/nodes/(-5595,6,-3553).lua b/il_timetable/nodes/(-5595,6,-3553).lua deleted file mode 100644 index 3bcd906..0000000 --- a/il_timetable/nodes/(-5595,6,-3553).lua +++ /dev/null @@ -1 +0,0 @@ -atc_set_text_outside("E3 - Euler Street\n via Trisiston")
\ No newline at end of file diff --git a/il_timetable/nodes/(1020,10,1021).lua b/il_timetable/nodes/(1020,10,1021).lua deleted file mode 100644 index dc3083a..0000000 --- a/il_timetable/nodes/(1020,10,1021).lua +++ /dev/null @@ -1,8 +0,0 @@ -F.ttp_station_display({ - lines = {"S12_S"}, - departure = {}, - station = "Ehlodex", - title = "Ehlodex", - interval = 30, - display1 = "d", -})
\ No newline at end of file diff --git a/il_timetable/nodes/(115,16,-74).lua b/il_timetable/nodes/(115,16,-74).lua deleted file mode 100644 index 6928a9d..0000000 --- a/il_timetable/nodes/(115,16,-74).lua +++ /dev/null @@ -1,5 +0,0 @@ --- d_int: Departure every n seconds (epoch modulo) --- d_off: Departure time offset --- function F.stop_sd(st_name, doors, departcommand, minstoptime, d_int, d_off) -atc_set_text_outside("E8 - Morija Center") -F.stop_sd_sched("Origin Marcuse Street", "L", "RSM", 10, 1200, 300)
\ No newline at end of file diff --git a/il_timetable/nodes/(1194,16,6141).lua b/il_timetable/nodes/(1194,16,6141).lua deleted file mode 100644 index 2120196..0000000 --- a/il_timetable/nodes/(1194,16,6141).lua +++ /dev/null @@ -1,10 +0,0 @@ -F.ttp_begin({ - stn = "Namespace Mountains", -- station name - tt = "E85_S", -- timetable ID - depint = "10;00", --departure slot interval - depoff = "02;30", --departure slot offset - doorside = "R", - reverse = true, - only_lines = { E85 = true }, - force_tt_reset = false, -})
\ No newline at end of file diff --git a/il_timetable/nodes/(1623,9,4628).lua b/il_timetable/nodes/(1623,9,4628).lua deleted file mode 100644 index 59c5b0c..0000000 --- a/il_timetable/nodes/(1623,9,4628).lua +++ /dev/null @@ -1,5 +0,0 @@ -F.ttp_stop({ - stn = "INTERCAL", - doorside = "L", - only_lines = {CFE=true}, -})
\ No newline at end of file diff --git a/il_timetable/nodes/(1626,9,4615).lua b/il_timetable/nodes/(1626,9,4615).lua deleted file mode 100644 index 36c8603..0000000 --- a/il_timetable/nodes/(1626,9,4615).lua +++ /dev/null @@ -1,6 +0,0 @@ -F.ttp_stop({ - stn = "INTERCAL", - doorside = "L", - only_lines = {CFE=true}, - no_disable_ars = true, -})
\ No newline at end of file diff --git a/il_timetable/nodes/(1708,29,3041).lua b/il_timetable/nodes/(1708,29,3041).lua deleted file mode 100644 index 02dec18..0000000 --- a/il_timetable/nodes/(1708,29,3041).lua +++ /dev/null @@ -1,12 +0,0 @@ -F.ttp_begin({ - stn = "Personhood Main", -- station name - tt = "E1_S", -- timetable ID - depint = "02;30", --departure slot interval - depoff = "00;00", --departure slot offset - doorside = "R", - reverse = true, - only_lines = { E1 = true }, - force_tt_reset = true, -}) - -atc_set_text_outside("[E1] Melinka Town via Spawn")
\ No newline at end of file diff --git a/il_timetable/nodes/(1730,26,2915).lua b/il_timetable/nodes/(1730,26,2915).lua deleted file mode 100644 index 44b483e..0000000 --- a/il_timetable/nodes/(1730,26,2915).lua +++ /dev/null @@ -1,12 +0,0 @@ --- d_int: Departure every n seconds (epoch modulo) --- d_off: Departure time offset --- function F.stop_sd(st_name, doors, departcommand, minstoptime, d_int, d_off) -F.stop_sd_sched("Personhood Main", "L", "RSM", 10, 120, 70) -atc_set_text_outside("E1: Personhood <-> Spawn <-> Melinka Town") -if event.train then - F.stat("E1", false) - F.timetake_end("E1-Ehl-Psh") -end -if depart then - F.timetake_start("E1-Psh-Ehl") -end diff --git a/il_timetable/nodes/(1730,26,2926).lua b/il_timetable/nodes/(1730,26,2926).lua deleted file mode 100644 index b2341c2..0000000 --- a/il_timetable/nodes/(1730,26,2926).lua +++ /dev/null @@ -1,5 +0,0 @@ --- d_int: Departure every n seconds (epoch modulo) --- d_off: Departure time offset --- function F.stop_sd(st_name, doors, departcommand, minstoptime, d_int, d_off) -atc_set_text_outside("E11 - Oasis") -F.stop_sd_sched("Personhood Main Station", "R", "RSM", 10, 300, 0)
\ No newline at end of file diff --git a/il_timetable/nodes/(1732,27,2924).lua b/il_timetable/nodes/(1732,27,2924).lua deleted file mode 100644 index 6c2907f..0000000 --- a/il_timetable/nodes/(1732,27,2924).lua +++ /dev/null @@ -1 +0,0 @@ -F.timedisplay()
\ No newline at end of file diff --git a/il_timetable/nodes/(1734,26,2905).lua b/il_timetable/nodes/(1734,26,2905).lua deleted file mode 100644 index ec82f24..0000000 --- a/il_timetable/nodes/(1734,26,2905).lua +++ /dev/null @@ -1,10 +0,0 @@ -F.ttp_begin({ - stn = "Personhood Main", -- station name - tt = "E84_N", -- timetable ID - depint = "10;00", --departure slot interval - depoff = "07;30", --departure slot offset - doorside = "L", - reverse = true, - only_lines = { E84 = true }, - force_tt_reset = false, -}) diff --git a/il_timetable/nodes/(1734,26,2921).lua b/il_timetable/nodes/(1734,26,2921).lua deleted file mode 100644 index 6d92d95..0000000 --- a/il_timetable/nodes/(1734,26,2921).lua +++ /dev/null @@ -1,5 +0,0 @@ --- d_int: Departure every n seconds (epoch modulo) --- d_off: Departure time offset --- function F.stop_sd(st_name, doors, departcommand, minstoptime, d_int, d_off) -F.stop_sd_sched("Personhood Main", "R", "RSM", 10, 120, 70) -atc_set_text_outside("E1: Personhood <-> Spawn <-> Melinka Town")
\ No newline at end of file diff --git a/il_timetable/nodes/(1734,26,2922).lua b/il_timetable/nodes/(1734,26,2922).lua deleted file mode 100644 index 2980622..0000000 --- a/il_timetable/nodes/(1734,26,2922).lua +++ /dev/null @@ -1,10 +0,0 @@ -F.ttp_begin({ - stn = "Personhood Main", -- station name - tt = "E1_S", -- timetable ID - depint = "02;30", --departure slot interval - depoff = "00;45", --departure slot offset - doorside = "R", - reverse = true, - only_lines = { E1 = true }, - force_tt_reset = false, -}) diff --git a/il_timetable/nodes/(1899,19,8223).lua b/il_timetable/nodes/(1899,19,8223).lua deleted file mode 100644 index c07fbb8..0000000 --- a/il_timetable/nodes/(1899,19,8223).lua +++ /dev/null @@ -1,4 +0,0 @@ -F.ttp_stop({ - stn = "Krasnograd", - doorside = "R", -})
\ No newline at end of file diff --git a/il_timetable/nodes/(1932,8,9112).lua b/il_timetable/nodes/(1932,8,9112).lua deleted file mode 100644 index 15f2c53..0000000 --- a/il_timetable/nodes/(1932,8,9112).lua +++ /dev/null @@ -1,22 +0,0 @@ ---S.ttp["CFE_S"].travel_times["Personhood West"] = 890 - -print(S.ttt) - -lines = F.ttp_info_times("CFE_S", "00;00") -linestr = F.ttp_info_trains("CFE_S", "00;00") -local li = lines -for i=1,#linestr do li[#li+1] = linestr[i] end -print(" CFE\n"..table.concat(li, "\n")) - ---[[ -lines = F.ttp_info_times("NX_S", "00;00") -linestr = F.ttp_info_trains("NX_S", "00;00") -li = lines -for i=1,#linestr do li[#li+1] = linestr[i] end -print(" NX\n"..table.concat(li, "\n")) -]] -lines = F.ttp_info_times("E1_S", "00;00") ---linestr = F.ttp_info_trains("E1_S", "00;00") -li = lines ---for i=1,#linestr do li[#li+1] = linestr[i] end -print(" E1\n"..table.concat(li, "\n"))
\ No newline at end of file diff --git a/il_timetable/nodes/(1973,42,8384).lua b/il_timetable/nodes/(1973,42,8384).lua deleted file mode 100644 index 8fe1919..0000000 --- a/il_timetable/nodes/(1973,42,8384).lua +++ /dev/null @@ -1,9 +0,0 @@ -F.ttp_station_display({ - lines = {"CFE_S", "NRG_W", "NRG_E"}, - departure = {}, - station = "Azena Transirejo", - title = "Azena Transirejo", - interval = 30, - display1 = "display1", - display2 = "display2", -}) diff --git a/il_timetable/nodes/(2648,13,4352).lua b/il_timetable/nodes/(2648,13,4352).lua deleted file mode 100644 index 565febb..0000000 --- a/il_timetable/nodes/(2648,13,4352).lua +++ /dev/null @@ -1,4 +0,0 @@ -F.ttp_stop({ - stn = "GRUB Valley (GVMER)", - doorside = "R" -})
\ No newline at end of file diff --git a/il_timetable/nodes/(286,4,206).lua b/il_timetable/nodes/(286,4,206).lua deleted file mode 100644 index ccba33d..0000000 --- a/il_timetable/nodes/(286,4,206).lua +++ /dev/null @@ -1,27 +0,0 @@ -if event.train then -st_name = "NYE Square" -flip = not flip -end - -doors = "L" - if event.train then - local time_now = rwt.now() - local next_dep_time = rwt.next_rpt(rwt.add(time_now, 10), 120, 0) -if flip then - atc_set_text_outside("4 - Showroom") - digiline_send("monitor", "4 Showroom "..rwt.to_string(next_dep_time, true)) - set_rc("SH") -else - digiline_send("monitor", "4 Ice Mountain "..rwt.to_string(next_dep_time, true)) - atc_set_text_outside("4 - Ice Mountain") - set_rc("IM") -end - atc_set_text_inside(st_name.."\nDeparture: "..rwt.to_string(next_dep_time, true)) - atc_send("A0 B0 W O"..doors) - schedule(next_dep_time, "depart") - elseif event.schedule then - atc_send("A1OCD1SM") - digiline_send("monitor", "Last Departure: | "..rwt.to_string(rwt.now(), true)) - atc_set_text_inside("") - depart = true - end diff --git a/il_timetable/nodes/(4401,-2,1976).lua b/il_timetable/nodes/(4401,-2,1976).lua deleted file mode 100644 index 0c7a9c5..0000000 --- a/il_timetable/nodes/(4401,-2,1976).lua +++ /dev/null @@ -1,5 +0,0 @@ --- d_int: Departure every n seconds (epoch modulo) --- d_off: Departure time offset --- function F.stop_sd(st_name, doors, departcommand, minstoptime, d_int, d_off) -atc_set_text_outside("E8 - Origin Marcuse Street") -F.stop_sd_sched("Morija Center", "L", "RSM", 10, 1200, 300)
\ No newline at end of file diff --git a/il_timetable/nodes/(4892,9,2307).lua b/il_timetable/nodes/(4892,9,2307).lua deleted file mode 100644 index fdffe90..0000000 --- a/il_timetable/nodes/(4892,9,2307).lua +++ /dev/null @@ -1,10 +0,0 @@ -F.ttp_begin({ - stn = "BRIC / Morija North", -- station name - tt = "E85_N", -- timetable ID - depint = "10;00", --departure slot interval - depoff = "07;30", --departure slot offset - doorside = "L", - reverse = true, - only_lines = { E85 = true }, - force_tt_reset = false, -})
\ No newline at end of file diff --git a/il_timetable/nodes/(790,8,-109).lua b/il_timetable/nodes/(790,8,-109).lua deleted file mode 100644 index 78cf1f7..0000000 --- a/il_timetable/nodes/(790,8,-109).lua +++ /dev/null @@ -1,5 +0,0 @@ --- d_int: Departure every n seconds (epoch modulo) --- d_off: Departure time offset --- function F.stop_sd(st_name, doors, departcommand, minstoptime, d_int, d_off) -atc_set_text_outside("Line 1 - Palm Bay") -F.stop_sd_sched("Szymon's Dam Regional", "L", "RSM", 10, 120, 0)
\ No newline at end of file diff --git a/il_timetable/nodes/(943,14,1025).lua b/il_timetable/nodes/(943,14,1025).lua deleted file mode 100644 index b94fa87..0000000 --- a/il_timetable/nodes/(943,14,1025).lua +++ /dev/null @@ -1 +0,0 @@ -setstate("Ehl6ARSPreventer", "cr")
\ No newline at end of file diff --git a/il_timetable/nodes/(969,14,1049).lua b/il_timetable/nodes/(969,14,1049).lua deleted file mode 100644 index bf63cf8..0000000 --- a/il_timetable/nodes/(969,14,1049).lua +++ /dev/null @@ -1,4 +0,0 @@ --- d_int: Departure every n seconds (epoch modulo) --- d_off: Departure time offset --- function F.stop_sd(st_name, doors, departcommand, minstoptime, d_int, d_off) -F.stop_sd_sched("Ehlodex", "L", "RSM", 10, 120, 85)
\ No newline at end of file diff --git a/il_timetable/nodes/(972,14,1053).lua b/il_timetable/nodes/(972,14,1053).lua deleted file mode 100644 index c316b90..0000000 --- a/il_timetable/nodes/(972,14,1053).lua +++ /dev/null @@ -1,7 +0,0 @@ --- d_int: Departure every n seconds (epoch modulo) --- d_off: Departure time offset --- function F.stop_sd(st_name, doors, departcommand, minstoptime, d_int, d_off) -F.stop_sd_sched("Ehlodex", "R", "RSM", 10, 240, 65) -if event.train then -atc_set_text_outside("S12 - Spawn Main Station\nvia Schwarzschild Street, Anju Crossing") -end
\ No newline at end of file diff --git a/nlvcross/nodes/(-144,8,-1980).lua b/nlvcross/nodes/(-144,8,-1980).lua deleted file mode 100644 index 5bf45a6..0000000 --- a/nlvcross/nodes/(-144,8,-1980).lua +++ /dev/null @@ -1,5 +0,0 @@ -if atc_arrow then - F.off("SF1SouthWest", 1, true) -else - F.on("SF1SouthWest", 1, true) -end
\ No newline at end of file diff --git a/nlvcross/nodes/(-159,8,-1995).lua b/nlvcross/nodes/(-159,8,-1995).lua deleted file mode 100644 index e0ebb06..0000000 --- a/nlvcross/nodes/(-159,8,-1995).lua +++ /dev/null @@ -1 +0,0 @@ -F.on("SF1SouthWest", 1, true)
\ No newline at end of file diff --git a/nlvcross/nodes/(-257,19,-339).lua b/nlvcross/nodes/(-257,19,-339).lua deleted file mode 100644 index b230511..0000000 --- a/nlvcross/nodes/(-257,19,-339).lua +++ /dev/null @@ -1 +0,0 @@ -F.on("MOriStn", "R1")
\ No newline at end of file diff --git a/nlvcross/nodes/(-333,19,-342).lua b/nlvcross/nodes/(-333,19,-342).lua deleted file mode 100644 index cdf78c1..0000000 --- a/nlvcross/nodes/(-333,19,-342).lua +++ /dev/null @@ -1,2 +0,0 @@ -F.off("MOriStn", "R2") -F.off("MOriStn", "R2_ug")
\ No newline at end of file diff --git a/nlvcross/nodes/(-359,19,-325).lua b/nlvcross/nodes/(-359,19,-325).lua deleted file mode 100644 index d8f0d8b..0000000 --- a/nlvcross/nodes/(-359,19,-325).lua +++ /dev/null @@ -1,2 +0,0 @@ -F.off("MOriStn", "R1") -F.on("LovelaceAve", 1)
\ No newline at end of file diff --git a/nlvcross/nodes/(-362,19,-326).lua b/nlvcross/nodes/(-362,19,-326).lua deleted file mode 100644 index 65b69f9..0000000 --- a/nlvcross/nodes/(-362,19,-326).lua +++ /dev/null @@ -1 +0,0 @@ -F.off("MOriStn", "R1") diff --git a/nlvcross/nodes/(-4955,6,-3553).lua b/nlvcross/nodes/(-4955,6,-3553).lua deleted file mode 100644 index 1e4449c..0000000 --- a/nlvcross/nodes/(-4955,6,-3553).lua +++ /dev/null @@ -1 +0,0 @@ -F.on("ML1_Scl1", "W")
\ No newline at end of file diff --git a/nlvcross/nodes/(-5063,6,-3553).lua b/nlvcross/nodes/(-5063,6,-3553).lua deleted file mode 100644 index 7abf5fe..0000000 --- a/nlvcross/nodes/(-5063,6,-3553).lua +++ /dev/null @@ -1 +0,0 @@ -F.off("ML1_Scl1", "E")
\ No newline at end of file diff --git a/nlvcross/nodes/(-5063,6,-3556).lua b/nlvcross/nodes/(-5063,6,-3556).lua deleted file mode 100644 index 7abf5fe..0000000 --- a/nlvcross/nodes/(-5063,6,-3556).lua +++ /dev/null @@ -1 +0,0 @@ -F.off("ML1_Scl1", "E")
\ No newline at end of file diff --git a/nlvcross/nodes/(-5078,6,-3553).lua b/nlvcross/nodes/(-5078,6,-3553).lua deleted file mode 100644 index 1e4449c..0000000 --- a/nlvcross/nodes/(-5078,6,-3553).lua +++ /dev/null @@ -1 +0,0 @@ -F.on("ML1_Scl1", "W")
\ No newline at end of file diff --git a/nlvcross/nodes/(-5089,6,-3556).lua b/nlvcross/nodes/(-5089,6,-3556).lua deleted file mode 100644 index 1e4449c..0000000 --- a/nlvcross/nodes/(-5089,6,-3556).lua +++ /dev/null @@ -1 +0,0 @@ -F.on("ML1_Scl1", "W")
\ No newline at end of file diff --git a/nlvcross/nodes/(-5111,7,-3553).lua b/nlvcross/nodes/(-5111,7,-3553).lua deleted file mode 100644 index 00f0234..0000000 --- a/nlvcross/nodes/(-5111,7,-3553).lua +++ /dev/null @@ -1 +0,0 @@ -F.off("ML1_Scl1", "W")
\ No newline at end of file diff --git a/nlvcross/nodes/(-5181,7,-3556).lua b/nlvcross/nodes/(-5181,7,-3556).lua deleted file mode 100644 index 6f08c7f..0000000 --- a/nlvcross/nodes/(-5181,7,-3556).lua +++ /dev/null @@ -1 +0,0 @@ -F.on("ML1_Scl1", "E")
\ No newline at end of file diff --git a/nlvcross/nodes/(-602,14,-560).lua b/nlvcross/nodes/(-602,14,-560).lua deleted file mode 100644 index 41ee727..0000000 --- a/nlvcross/nodes/(-602,14,-560).lua +++ /dev/null @@ -1 +0,0 @@ -F.on("spneul_jnc", "")
\ No newline at end of file diff --git a/nlvcross/nodes/(-740,8,-712).lua b/nlvcross/nodes/(-740,8,-712).lua deleted file mode 100644 index 248fddb..0000000 --- a/nlvcross/nodes/(-740,8,-712).lua +++ /dev/null @@ -1 +0,0 @@ -F.on("smlpatha", 1)
\ No newline at end of file diff --git a/nlvcross/nodes/(-740,8,-715).lua b/nlvcross/nodes/(-740,8,-715).lua deleted file mode 100644 index 5751df0..0000000 --- a/nlvcross/nodes/(-740,8,-715).lua +++ /dev/null @@ -1 +0,0 @@ -F.on("smlpatha", 2)
\ No newline at end of file diff --git a/nlvcross/nodes/(-821,8,-712).lua b/nlvcross/nodes/(-821,8,-712).lua deleted file mode 100644 index 856d35f..0000000 --- a/nlvcross/nodes/(-821,8,-712).lua +++ /dev/null @@ -1 +0,0 @@ -F.off("smlpatha", 1)
\ No newline at end of file diff --git a/nlvcross/nodes/(-821,8,-715).lua b/nlvcross/nodes/(-821,8,-715).lua deleted file mode 100644 index 7a5d486..0000000 --- a/nlvcross/nodes/(-821,8,-715).lua +++ /dev/null @@ -1 +0,0 @@ -F.off("smlpatha", 2)
\ No newline at end of file diff --git a/nlvcross/nodes/(-861,8,-712).lua b/nlvcross/nodes/(-861,8,-712).lua deleted file mode 100644 index 856d35f..0000000 --- a/nlvcross/nodes/(-861,8,-712).lua +++ /dev/null @@ -1 +0,0 @@ -F.off("smlpatha", 1)
\ No newline at end of file diff --git a/nlvcross/nodes/(-861,8,-715).lua b/nlvcross/nodes/(-861,8,-715).lua deleted file mode 100644 index 7a5d486..0000000 --- a/nlvcross/nodes/(-861,8,-715).lua +++ /dev/null @@ -1 +0,0 @@ -F.off("smlpatha", 2)
\ No newline at end of file diff --git a/nlvcross/nodes/(-88,2,-1984).lua b/nlvcross/nodes/(-88,2,-1984).lua deleted file mode 100644 index cdcec9a..0000000 --- a/nlvcross/nodes/(-88,2,-1984).lua +++ /dev/null @@ -1,5 +0,0 @@ -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/(1683,26,8223).lua b/nlvcross/nodes/(1683,26,8223).lua deleted file mode 100644 index c3a20cf..0000000 --- a/nlvcross/nodes/(1683,26,8223).lua +++ /dev/null @@ -1 +0,0 @@ -F.on("NRG", "S")
\ No newline at end of file diff --git a/nlvcross/nodes/(1801,8,-43).lua b/nlvcross/nodes/(1801,8,-43).lua deleted file mode 100644 index 71cd7d6..0000000 --- a/nlvcross/nodes/(1801,8,-43).lua +++ /dev/null @@ -1,15 +0,0 @@ -local d = os.date() -local m = d.min -if event.train then -atc_send("B0WOL") -end -if m % 10 == 5 then -atc_send("B0WOCD1RSM") -local h = d.hour -local mm = (m + 10)%60 -if mm<10 and m>10 then h=h+1 end -digiline_send("depmon", "Train to | Marcuse Street | Next dep.: | "..h..":"..mm) -else -digiline_send("depmon", "Train to | Marcuse Street | in "..(4-(m%10)).."m"..(59-d.sec).."s") -interrupt(10) -end
\ No newline at end of file diff --git a/nlvcross/nodes/(256,2,-2054).lua b/nlvcross/nodes/(256,2,-2054).lua deleted file mode 100644 index b42d779..0000000 --- a/nlvcross/nodes/(256,2,-2054).lua +++ /dev/null @@ -1 +0,0 @@ -F.on("SF1Station", 2)
\ No newline at end of file diff --git a/nlvcross/nodes/(4990,18,5960).lua b/nlvcross/nodes/(4990,18,5960).lua deleted file mode 100644 index e69de29..0000000 --- a/nlvcross/nodes/(4990,18,5960).lua +++ /dev/null diff --git a/nlvcross/nodes/(633,11,-23).lua b/nlvcross/nodes/(633,11,-23).lua deleted file mode 100644 index 93da240..0000000 --- a/nlvcross/nodes/(633,11,-23).lua +++ /dev/null @@ -1,2 +0,0 @@ -F.off("Snb", 1) -atc_send("B2")
\ No newline at end of file diff --git a/nlvcross/nodes/(702,14,1011).lua b/nlvcross/nodes/(702,14,1011).lua deleted file mode 100644 index ab471ad..0000000 --- a/nlvcross/nodes/(702,14,1011).lua +++ /dev/null @@ -1 +0,0 @@ -F.off("gardonst","1")
\ No newline at end of file diff --git a/nlvcross/nodes/(704,12,-42).lua b/nlvcross/nodes/(704,12,-42).lua deleted file mode 100644 index 80c6783..0000000 --- a/nlvcross/nodes/(704,12,-42).lua +++ /dev/null @@ -1 +0,0 @@ -F.on("Snb", 1)
\ No newline at end of file diff --git a/nlvcross/nodes/(803,14,1014).lua b/nlvcross/nodes/(803,14,1014).lua deleted file mode 100644 index 5776672..0000000 --- a/nlvcross/nodes/(803,14,1014).lua +++ /dev/null @@ -1 +0,0 @@ -F.on("gardonst","2")
\ No newline at end of file diff --git a/ocean_city/nodes/(-23138,11,467).lua b/ocean_city/nodes/(-23138,11,467).lua deleted file mode 100644 index e69de29..0000000 --- a/ocean_city/nodes/(-23138,11,467).lua +++ /dev/null diff --git a/ocean_city/nodes/(-23138,11,470).lua b/ocean_city/nodes/(-23138,11,470).lua deleted file mode 100644 index e69de29..0000000 --- a/ocean_city/nodes/(-23138,11,470).lua +++ /dev/null diff --git a/ondemand/nodes/(-543,-5,-772).lua b/ondemand/nodes/(-543,-5,-772).lua deleted file mode 100644 index 6fc7189..0000000 --- a/ondemand/nodes/(-543,-5,-772).lua +++ /dev/null @@ -1,3 +0,0 @@ -depart=false -F.stn("Wbb3N", "Rsi3N", "Leo3N", "L") -F.stat("Line 3", false)
\ No newline at end of file diff --git a/subway/nodes/(-1088,16,-221).lua b/subway/nodes/(-1088,16,-221).lua deleted file mode 100644 index 5ee1ede..0000000 --- a/subway/nodes/(-1088,16,-221).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Mnn4W", "Max4W", "Snp4W", "R")
\ No newline at end of file diff --git a/subway/nodes/(-1090,16,-233).lua b/subway/nodes/(-1090,16,-233).lua deleted file mode 100644 index 861e8b5..0000000 --- a/subway/nodes/(-1090,16,-233).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Snp4E", "Max4E", "Mnn4E", "R")
\ No newline at end of file diff --git a/subway/nodes/(-113,16,-472).lua b/subway/nodes/(-113,16,-472).lua deleted file mode 100644 index e7c10f5..0000000 --- a/subway/nodes/(-113,16,-472).lua +++ /dev/null @@ -1,2 +0,0 @@ -F.stn_return_free("Ppo8W", "Uic8SW", "st") -F.stn("Uic8E", "Ppo8E", "Ctd8E", "R")
\ No newline at end of file diff --git a/subway/nodes/(-121,16,-472).lua b/subway/nodes/(-121,16,-472).lua deleted file mode 100644 index 3c5035e..0000000 --- a/subway/nodes/(-121,16,-472).lua +++ /dev/null @@ -1 +0,0 @@ -set_line(8)
\ No newline at end of file diff --git a/subway/nodes/(-1249,20,-207).lua b/subway/nodes/(-1249,20,-207).lua deleted file mode 100644 index 229d355..0000000 --- a/subway/nodes/(-1249,20,-207).lua +++ /dev/null @@ -1 +0,0 @@ ---F.stn_return_free("Max4W", "Snp4ES", "st")
\ No newline at end of file diff --git a/subway/nodes/(-125,3,-283).lua b/subway/nodes/(-125,3,-283).lua deleted file mode 100644 index 2cb728a..0000000 --- a/subway/nodes/(-125,3,-283).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn_ilk("Uic4E", "ioa4E", "Erd4E", "R")
\ No newline at end of file diff --git a/subway/nodes/(-128,3,-295).lua b/subway/nodes/(-128,3,-295).lua deleted file mode 100644 index b5c395c..0000000 --- a/subway/nodes/(-128,3,-295).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn_ilk("Erd4W", "ioa1W", "Jun1W", "R")
\ No newline at end of file diff --git a/subway/nodes/(-1301,20,-207).lua b/subway/nodes/(-1301,20,-207).lua deleted file mode 100644 index a8b3932..0000000 --- a/subway/nodes/(-1301,20,-207).lua +++ /dev/null @@ -1,2 +0,0 @@ ---F.stn_return_free("Snp4W", "Wpy4ES", "st") -F.stn("Wpy4E", "Snp4E", "Max4E", "R")
\ No newline at end of file diff --git a/subway/nodes/(-1311,20,-203).lua b/subway/nodes/(-1311,20,-203).lua deleted file mode 100644 index eb7a692..0000000 --- a/subway/nodes/(-1311,20,-203).lua +++ /dev/null @@ -1,3 +0,0 @@ ---F.stn_return("Max4W", "Snp4W", "Max4E", "R", "Snp4ES", "cr") ---atc_set_text_outside("Line 4 - Jungle") -F.stn("Max4W", "Snp4W", "Wpy4E", "R", 10)
\ No newline at end of file diff --git a/subway/nodes/(-1364,20,-207).lua b/subway/nodes/(-1364,20,-207).lua deleted file mode 100644 index c88df58..0000000 --- a/subway/nodes/(-1364,20,-207).lua +++ /dev/null @@ -1,8 +0,0 @@ -F.stn("Gho4E", "Wpy4E", "Snp4E", "R", 10) -if event.train then -S.Wpy4E_lvcross=false -if not (S.Wpy4E_lvcross or S.Wpy4W_lvcross) then -setstate("WpyLvcross1", "off") -setstate("WpyLvcross2", "off") -end -end
\ No newline at end of file diff --git a/subway/nodes/(-1377,20,-203).lua b/subway/nodes/(-1377,20,-203).lua deleted file mode 100644 index 9b5ddc1..0000000 --- a/subway/nodes/(-1377,20,-203).lua +++ /dev/null @@ -1,10 +0,0 @@ ---F.stn_return("Snp4W", "Wpy4E", "Snp4E", "R", "Wpy4ES", "cr") ---atc_set_text_outside("Line 4 - Origin") -if event.int and getstate("Wpy4W")=="green" and getstate("WpyLvcross1")=="off" then -S.Wpy4W_lvcross=true -setstate("WpyLvcross1", "on") -setstate("WpyLvcross2", "on") -interrupt(4, "ready") -return -end -F.stn("Snp4W", "Wpy4W", "Gho4E","R")
\ No newline at end of file diff --git a/subway/nodes/(-1407,20,-166).lua b/subway/nodes/(-1407,20,-166).lua deleted file mode 100644 index 2fda15f..0000000 --- a/subway/nodes/(-1407,20,-166).lua +++ /dev/null @@ -1,3 +0,0 @@ -S.Wpy4E_lvcross=true -setstate("WpyLvcross1", "on") -setstate("WpyLvcross2", "on")
\ No newline at end of file diff --git a/subway/nodes/(-1415,19,-7).lua b/subway/nodes/(-1415,19,-7).lua deleted file mode 100644 index f37dde7..0000000 --- a/subway/nodes/(-1415,19,-7).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Wpy4W", "Gho4W", "Lvc4W", "R")
\ No newline at end of file diff --git a/subway/nodes/(-1415,19,335).lua b/subway/nodes/(-1415,19,335).lua deleted file mode 100644 index e585906..0000000 --- a/subway/nodes/(-1415,19,335).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Lvc4W", "Dev4W", "Dem4W", "L")
\ No newline at end of file diff --git a/subway/nodes/(-1415,19,98).lua b/subway/nodes/(-1415,19,98).lua deleted file mode 100644 index 7b70d57..0000000 --- a/subway/nodes/(-1415,19,98).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Gho4W", "Lvc4W", "Dev4W", "L")
\ No newline at end of file diff --git a/subway/nodes/(-1415,5,516).lua b/subway/nodes/(-1415,5,516).lua deleted file mode 100644 index 4c3c605..0000000 --- a/subway/nodes/(-1415,5,516).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Dev4W", "Dem4W", "App4W", "L")
\ No newline at end of file diff --git a/subway/nodes/(-1417,19,-19).lua b/subway/nodes/(-1417,19,-19).lua deleted file mode 100644 index 6702b68..0000000 --- a/subway/nodes/(-1417,19,-19).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Lvc4E", "Gho4E", "Wpy4E", "R")
\ No newline at end of file diff --git a/subway/nodes/(-1417,5,481).lua b/subway/nodes/(-1417,5,481).lua deleted file mode 100644 index ff6d574..0000000 --- a/subway/nodes/(-1417,5,481).lua +++ /dev/null @@ -1,2 +0,0 @@ -setstate("Dem4LV1", "off") -setstate("Dem4LV2", "off")
\ No newline at end of file diff --git a/subway/nodes/(-1420,5,502).lua b/subway/nodes/(-1420,5,502).lua deleted file mode 100644 index 352b654..0000000 --- a/subway/nodes/(-1420,5,502).lua +++ /dev/null @@ -1,7 +0,0 @@ -if event.int and getstate("Dem4E")=="green" and getstate("Dem4LV1")=="off" then -setstate("Dem4LV1", "on") -setstate("Dem4LV2", "on") -interrupt(4,"ready") -return -end -F.stn("App4E", "Dem4E", "Dev4E", "L")
\ No newline at end of file diff --git a/subway/nodes/(-1422,19,85).lua b/subway/nodes/(-1422,19,85).lua deleted file mode 100644 index 9651671..0000000 --- a/subway/nodes/(-1422,19,85).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Dev4E", "Lvc4E", "Gho4E","L")
\ No newline at end of file diff --git a/subway/nodes/(-1423,19,323).lua b/subway/nodes/(-1423,19,323).lua deleted file mode 100644 index 82ad8c4..0000000 --- a/subway/nodes/(-1423,19,323).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Dem4E", "Dev4E", "Lvc4E", "L")
\ No newline at end of file diff --git a/subway/nodes/(-1425,5,723).lua b/subway/nodes/(-1425,5,723).lua deleted file mode 100644 index f74838f..0000000 --- a/subway/nodes/(-1425,5,723).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Dem4W", "App4W", "Eft4W", "R")
\ No newline at end of file diff --git a/subway/nodes/(-1427,5,712).lua b/subway/nodes/(-1427,5,712).lua deleted file mode 100644 index 46fd24d..0000000 --- a/subway/nodes/(-1427,5,712).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn_return("Eft4E", "App4E", "Dem4E", "R")
\ No newline at end of file diff --git a/subway/nodes/(-1473,5,-169).lua b/subway/nodes/(-1473,5,-169).lua deleted file mode 100644 index a517a79..0000000 --- a/subway/nodes/(-1473,5,-169).lua +++ /dev/null @@ -1 +0,0 @@ -set_line(4)
\ No newline at end of file diff --git a/subway/nodes/(-1478,3,1010).lua b/subway/nodes/(-1478,3,1010).lua deleted file mode 100644 index 3036b69..0000000 --- a/subway/nodes/(-1478,3,1010).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("App4W", "Eft4W", "Icm4W", "R")
\ No newline at end of file diff --git a/subway/nodes/(-1481,3,1083).lua b/subway/nodes/(-1481,3,1083).lua deleted file mode 100644 index 7489acc..0000000 --- a/subway/nodes/(-1481,3,1083).lua +++ /dev/null @@ -1 +0,0 @@ ---
\ No newline at end of file diff --git a/subway/nodes/(-1481,3,1175).lua b/subway/nodes/(-1481,3,1175).lua deleted file mode 100644 index dda0fe0..0000000 --- a/subway/nodes/(-1481,3,1175).lua +++ /dev/null @@ -1,2 +0,0 @@ -F.stn_return("Eft4W", "Icm4W", "Eft4E", "L", "Icm4SW", "st") -F.lineset("4", "E")
\ No newline at end of file diff --git a/subway/nodes/(-1481,3,999).lua b/subway/nodes/(-1481,3,999).lua deleted file mode 100644 index bc59be3..0000000 --- a/subway/nodes/(-1481,3,999).lua +++ /dev/null @@ -1,4 +0,0 @@ -F.stn("Icm4W", "Eft4E", "App4E", "R") -if event.train then - F.stn_return_free("Eft4W", "Icm4SW", "cr") -end
\ No newline at end of file diff --git a/subway/nodes/(-181,5,-1).lua b/subway/nodes/(-181,5,-1).lua deleted file mode 100644 index 84743b3..0000000 --- a/subway/nodes/(-181,5,-1).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Snl2N", "Ram2N", "Ori2N", "L")
\ No newline at end of file diff --git a/subway/nodes/(-192,5,7).lua b/subway/nodes/(-192,5,7).lua deleted file mode 100644 index 813d9a2..0000000 --- a/subway/nodes/(-192,5,7).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Ori2S", "Ram2S", "Snl2S", "L")
\ No newline at end of file diff --git a/subway/nodes/(-232,8,-446).lua b/subway/nodes/(-232,8,-446).lua deleted file mode 100644 index 9b0d845..0000000 --- a/subway/nodes/(-232,8,-446).lua +++ /dev/null @@ -1,2 +0,0 @@ -F.stn_ilkentry("Jng4E", "Uic4E", "ioa4E", "L") -F.lineset("4", "E")
\ No newline at end of file diff --git a/subway/nodes/(-250,8,-458).lua b/subway/nodes/(-250,8,-458).lua deleted file mode 100644 index fe76b25..0000000 --- a/subway/nodes/(-250,8,-458).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("ioa4W", "Uic4W", "Jng4W", "L", 8)
\ No newline at end of file diff --git a/subway/nodes/(-252,16,-474).lua b/subway/nodes/(-252,16,-474).lua deleted file mode 100644 index 458aefe..0000000 --- a/subway/nodes/(-252,16,-474).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn_return("Ppo8W", "Uic8E", "Ppo8E", "R", "Uic8SW", "cr")
\ No newline at end of file diff --git a/subway/nodes/(-253,5,-911).lua b/subway/nodes/(-253,5,-911).lua deleted file mode 100644 index f324ddc..0000000 --- a/subway/nodes/(-253,5,-911).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn_ilkentry("Uaa2S", "Ora2S", "Oni2R", "L", 12)
\ No newline at end of file diff --git a/subway/nodes/(-265,5,-904).lua b/subway/nodes/(-265,5,-904).lua deleted file mode 100644 index 5841aed..0000000 --- a/subway/nodes/(-265,5,-904).lua +++ /dev/null @@ -1,4 +0,0 @@ -F.stn("Oni2R", "Ora2N", "Uaa2N", "L") ---if event.train then ---F.stn_return_free("Ora2S", "Oni2ES", "cr") ---end
\ No newline at end of file diff --git a/subway/nodes/(-29,3,-246).lua b/subway/nodes/(-29,3,-246).lua deleted file mode 100644 index 83a8de5..0000000 --- a/subway/nodes/(-29,3,-246).lua +++ /dev/null @@ -1,4 +0,0 @@ -F.stn_ilk("ioa4E", "Erd4E", "iob4E", "R") ---if depart then ---interrupt_pos(POS(10,0,-10), "dnn"..S.line[atc_id]) ---end
\ No newline at end of file diff --git a/subway/nodes/(-294,5,1).lua b/subway/nodes/(-294,5,1).lua deleted file mode 100644 index 27d19f4..0000000 --- a/subway/nodes/(-294,5,1).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Sys2N", "Snl2N", "Ram2N", "L")
\ No newline at end of file diff --git a/subway/nodes/(-305,5,9).lua b/subway/nodes/(-305,5,9).lua deleted file mode 100644 index a316e6c..0000000 --- a/subway/nodes/(-305,5,9).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Ram2S", "Snl2S", "Sys2S", "L", "M") diff --git a/subway/nodes/(-318,-3,-834).lua b/subway/nodes/(-318,-3,-834).lua deleted file mode 100644 index daead0b..0000000 --- a/subway/nodes/(-318,-3,-834).lua +++ /dev/null @@ -1,2 +0,0 @@ ---Ich hab keine idee wie ich diese station nennen soll.... -F.stn("Ora2N", "Uaa2N", "Bnf2N", "L")
\ No newline at end of file diff --git a/subway/nodes/(-325,-3,-846).lua b/subway/nodes/(-325,-3,-846).lua deleted file mode 100644 index ed0e085..0000000 --- a/subway/nodes/(-325,-3,-846).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Wbb2S", "Uaa2S", "Ora2S", "L")
\ No newline at end of file diff --git a/subway/nodes/(-3321,6,487).lua b/subway/nodes/(-3321,6,487).lua deleted file mode 100644 index e69de29..0000000 --- a/subway/nodes/(-3321,6,487).lua +++ /dev/null diff --git a/subway/nodes/(-3350,6,487).lua b/subway/nodes/(-3350,6,487).lua deleted file mode 100644 index e69de29..0000000 --- a/subway/nodes/(-3350,6,487).lua +++ /dev/null diff --git a/subway/nodes/(-3387,6,487).lua b/subway/nodes/(-3387,6,487).lua deleted file mode 100644 index e69de29..0000000 --- a/subway/nodes/(-3387,6,487).lua +++ /dev/null diff --git a/subway/nodes/(-3387,6,495).lua b/subway/nodes/(-3387,6,495).lua deleted file mode 100644 index e69de29..0000000 --- a/subway/nodes/(-3387,6,495).lua +++ /dev/null diff --git a/subway/nodes/(-3468,11,478).lua b/subway/nodes/(-3468,11,478).lua deleted file mode 100644 index e69de29..0000000 --- a/subway/nodes/(-3468,11,478).lua +++ /dev/null diff --git a/subway/nodes/(-3468,11,481).lua b/subway/nodes/(-3468,11,481).lua deleted file mode 100644 index e69de29..0000000 --- a/subway/nodes/(-3468,11,481).lua +++ /dev/null diff --git a/subway/nodes/(-359,10,-406).lua b/subway/nodes/(-359,10,-406).lua deleted file mode 100644 index 561dbbc..0000000 --- a/subway/nodes/(-359,10,-406).lua +++ /dev/null @@ -1,4 +0,0 @@ -if event.train and atc_arrow then -atc_send("B0") -print("Train reversed mysteriously at Jungle!") -end
\ No newline at end of file diff --git a/subway/nodes/(-364,-5,-786).lua b/subway/nodes/(-364,-5,-786).lua deleted file mode 100644 index 45edc24..0000000 --- a/subway/nodes/(-364,-5,-786).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Rsi2S", "Wbb2S", "Uaa2S", "L")
\ No newline at end of file diff --git a/subway/nodes/(-376,-5,-779).lua b/subway/nodes/(-376,-5,-779).lua deleted file mode 100644 index 7c0e83e..0000000 --- a/subway/nodes/(-376,-5,-779).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Uaa2N", "Wbb2N", "Rsi2N", "L")
\ No newline at end of file diff --git a/subway/nodes/(-376,13,-1476).lua b/subway/nodes/(-376,13,-1476).lua deleted file mode 100644 index 4cc8b80..0000000 --- a/subway/nodes/(-376,13,-1476).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn_return_free("Mrh7S", "Plt7ES", "st")
\ No newline at end of file diff --git a/subway/nodes/(-376,24,-1299).lua b/subway/nodes/(-376,24,-1299).lua deleted file mode 100644 index 41dacee..0000000 --- a/subway/nodes/(-376,24,-1299).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Plt7R", "Mrh7N", "Boz7N", "R")
\ No newline at end of file diff --git a/subway/nodes/(-378,24,-1311).lua b/subway/nodes/(-378,24,-1311).lua deleted file mode 100644 index fbb093d..0000000 --- a/subway/nodes/(-378,24,-1311).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Boz7S", "Mrh7S", "Plt7R", "R")
\ No newline at end of file diff --git a/subway/nodes/(-378,7,-1528).lua b/subway/nodes/(-378,7,-1528).lua deleted file mode 100644 index 3d7f546..0000000 --- a/subway/nodes/(-378,7,-1528).lua +++ /dev/null @@ -1,4 +0,0 @@ -F.stn_return("Mrh7S", "Plt7R", "Mrh7N", "R", "Plt7ES", "cr") -S.line[atc_id]="7" -set_line(7) -atc_set_text_outside("Line 7 - Birch Bay East")
\ No newline at end of file diff --git a/subway/nodes/(-400,5,1).lua b/subway/nodes/(-400,5,1).lua deleted file mode 100644 index c5b1699..0000000 --- a/subway/nodes/(-400,5,1).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Lin2N", "Sys2N", "Snl2N", "R")
\ No newline at end of file diff --git a/subway/nodes/(-403,3,237).lua b/subway/nodes/(-403,3,237).lua deleted file mode 100644 index 5186087..0000000 --- a/subway/nodes/(-403,3,237).lua +++ /dev/null @@ -1,2 +0,0 @@ -F.stn_nohalt("Sys5E", "Fpa5E", "Hhs5E", "10") -setstate("Fpa5E", "green")
\ No newline at end of file diff --git a/subway/nodes/(-404,12,-105).lua b/subway/nodes/(-404,12,-105).lua deleted file mode 100644 index 7cd7bc4..0000000 --- a/subway/nodes/(-404,12,-105).lua +++ /dev/null @@ -1,6 +0,0 @@ -F.stn("Rea7E", "Ack5E", "Sys5E", "R", 1) -if depart then -S.Ack5E_lvcross=true -setstate("AckLvcross1", "on") -setstate("AckLvcross2", "on") -end
\ No newline at end of file diff --git a/subway/nodes/(-404,12,9).lua b/subway/nodes/(-404,12,9).lua deleted file mode 100644 index 8fadaa3..0000000 --- a/subway/nodes/(-404,12,9).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Ack5E", "Sys5E", "Fpa5E", "R")
\ No newline at end of file diff --git a/subway/nodes/(-408,12,-116).lua b/subway/nodes/(-408,12,-116).lua deleted file mode 100644 index e8b546a..0000000 --- a/subway/nodes/(-408,12,-116).lua +++ /dev/null @@ -1,8 +0,0 @@ -F.stn("Sys5W", "Ack5W", "Rea5W", "R") -if event.train then -S.Ack5W_lvcross=false -if not (S.Ack5E_lvcross or S.Ack5W_lvcross) then -setstate("AckLvcross1", "off") -setstate("AckLvcross2", "off") -end -end
\ No newline at end of file diff --git a/subway/nodes/(-408,12,-2).lua b/subway/nodes/(-408,12,-2).lua deleted file mode 100644 index 8ea1f9e..0000000 --- a/subway/nodes/(-408,12,-2).lua +++ /dev/null @@ -1,6 +0,0 @@ -F.stn("Fpa5W", "Sys5W", "Ack5W", "R") -if depart then -S.Ack5W_lvcross=true -setstate("AckLvcross1", "on") -setstate("AckLvcross2", "on") -end
\ No newline at end of file diff --git a/subway/nodes/(-409,3,222).lua b/subway/nodes/(-409,3,222).lua deleted file mode 100644 index 1dc1655..0000000 --- a/subway/nodes/(-409,3,222).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn_nohalt("Hhs5W", "Fpa5W", "Sys5W", "10")
\ No newline at end of file diff --git a/subway/nodes/(-412,5,6).lua b/subway/nodes/(-412,5,6).lua deleted file mode 100644 index eee5168..0000000 --- a/subway/nodes/(-412,5,6).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Snl2S", "Sys2S", "Lin2S", "R")
\ No newline at end of file diff --git a/subway/nodes/(-419,24,-1178).lua b/subway/nodes/(-419,24,-1178).lua deleted file mode 100644 index f1c3fa1..0000000 --- a/subway/nodes/(-419,24,-1178).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Rkb7S", "Boz7S", "Mrh7S", "R")
\ No newline at end of file diff --git a/subway/nodes/(-429,8,-501).lua b/subway/nodes/(-429,8,-501).lua deleted file mode 100644 index dff25df..0000000 --- a/subway/nodes/(-429,8,-501).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Hts4E", "Jng4E", "Uic4E", "L", 8)
\ No newline at end of file diff --git a/subway/nodes/(-430,24,-1176).lua b/subway/nodes/(-430,24,-1176).lua deleted file mode 100644 index 886d66d..0000000 --- a/subway/nodes/(-430,24,-1176).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Mrh7N", "Boz7N", "Rkb7N", "R")
\ No newline at end of file diff --git a/subway/nodes/(-433,9,-239).lua b/subway/nodes/(-433,9,-239).lua deleted file mode 100644 index 5a0175d..0000000 --- a/subway/nodes/(-433,9,-239).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Bld7E", "Rea7E", "Ack5E", "L")
\ No newline at end of file diff --git a/subway/nodes/(-436,-3,519).lua b/subway/nodes/(-436,-3,519).lua deleted file mode 100644 index 1b54098..0000000 --- a/subway/nodes/(-436,-3,519).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Pyr5W", "Lis5W", "Hhs5W", "L")
\ No newline at end of file diff --git a/subway/nodes/(-441,8,-493).lua b/subway/nodes/(-441,8,-493).lua deleted file mode 100644 index b0633a3..0000000 --- a/subway/nodes/(-441,8,-493).lua +++ /dev/null @@ -1,4 +0,0 @@ -F.stn("Uic4W", "Jng4W", "Hts3W", "L") -if depart then - S.line[atc_id]="4" -end
\ No newline at end of file diff --git a/subway/nodes/(-445,9,-232).lua b/subway/nodes/(-445,9,-232).lua deleted file mode 100644 index 30a8237..0000000 --- a/subway/nodes/(-445,9,-232).lua +++ /dev/null @@ -1,2 +0,0 @@ -F.stn("Ack5W", "Rea7W", "Bld7W", "L") -S.line[atc_id]="7"
\ No newline at end of file diff --git a/subway/nodes/(-448,-3,526).lua b/subway/nodes/(-448,-3,526).lua deleted file mode 100644 index 4fdaff6..0000000 --- a/subway/nodes/(-448,-3,526).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Hhs5E", "Lis5E", "Pyr5E", "L")
\ No newline at end of file diff --git a/subway/nodes/(-522,5,0).lua b/subway/nodes/(-522,5,0).lua deleted file mode 100644 index 305a923..0000000 --- a/subway/nodes/(-522,5,0).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Rfo2N", "Lin2N", "Sys2N", "L")
\ No newline at end of file diff --git a/subway/nodes/(-529,-5,-797).lua b/subway/nodes/(-529,-5,-797).lua deleted file mode 100644 index 289e95b..0000000 --- a/subway/nodes/(-529,-5,-797).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Uni2S", "Rsi2S", "Wbb2S", "L")
\ No newline at end of file diff --git a/subway/nodes/(-534,5,7).lua b/subway/nodes/(-534,5,7).lua deleted file mode 100644 index 29e65f7..0000000 --- a/subway/nodes/(-534,5,7).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Sys2S", "Lin2S", "Rfo2S", "L")
\ No newline at end of file diff --git a/subway/nodes/(-543,-5,-786).lua b/subway/nodes/(-543,-5,-786).lua deleted file mode 100644 index 563f861..0000000 --- a/subway/nodes/(-543,-5,-786).lua +++ /dev/null @@ -1,7 +0,0 @@ -depart=false -F.stn("Wbb2N", "Rsi2N", "Uni2N", "L", "M", "Rsi2NPref") -if depart then -setstate("Dar7N", "red") -setstate("Uni2NDivIn", "cr") -end -S.line[atc_id]="2";
\ No newline at end of file diff --git a/subway/nodes/(-546,9,-245).lua b/subway/nodes/(-546,9,-245).lua deleted file mode 100644 index 2785607..0000000 --- a/subway/nodes/(-546,9,-245).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Cat7N", "Bld7E", "Rea7E", "L")
\ No newline at end of file diff --git a/subway/nodes/(-548,8,-502).lua b/subway/nodes/(-548,8,-502).lua deleted file mode 100644 index 010bd1e..0000000 --- a/subway/nodes/(-548,8,-502).lua +++ /dev/null @@ -1,12 +0,0 @@ ---if S.line[atc_id]=="4" then - F.stn("Spn3E", "Hts4E", "Jng4E", "L") -set_line(4) --- if depart then --- setstate("Hts4DivOut", "cr") --- end ---else --- F.stn("Spn3E", "Hts3E", "Brn3E", "L") --- if depart then --- setstate("Hts4DivOut", "st") --- end ---end
\ No newline at end of file diff --git a/subway/nodes/(-558,9,-239).lua b/subway/nodes/(-558,9,-239).lua deleted file mode 100644 index 26ab37c..0000000 --- a/subway/nodes/(-558,9,-239).lua +++ /dev/null @@ -1,7 +0,0 @@ -F.stn("Rea7W", "Bld7W", "Cat7S", "L") ---if depart then ---setstate("Cat2SDivIn", "st") ---setstate("Dca2S", "red") ---end -S.line[atc_id]="7" ---F.union_wait("Bld7W")
\ No newline at end of file diff --git a/subway/nodes/(-567,1,-490).lua b/subway/nodes/(-567,1,-490).lua deleted file mode 100644 index 27c4624..0000000 --- a/subway/nodes/(-567,1,-490).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Jng4W", "Hts3W", "Spn3W", "L")
\ No newline at end of file diff --git a/subway/nodes/(-5972,-1,-3899).lua b/subway/nodes/(-5972,-1,-3899).lua deleted file mode 100644 index 133e07e..0000000 --- a/subway/nodes/(-5972,-1,-3899).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn_return("WfrSS", "SpaSN", "WfrSN", "L", "SpaSW", "cr")
\ No newline at end of file diff --git a/subway/nodes/(-6,5,14).lua b/subway/nodes/(-6,5,14).lua deleted file mode 100644 index 39e5a85..0000000 --- a/subway/nodes/(-6,5,14).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Chu2S", "Ori2S", "Ram2S", "L")
\ No newline at end of file diff --git a/subway/nodes/(-617,14,-408).lua b/subway/nodes/(-617,14,-408).lua deleted file mode 100644 index 08e1ee3..0000000 --- a/subway/nodes/(-617,14,-408).lua +++ /dev/null @@ -1,2 +0,0 @@ - -atc_set_text_outside("S12 - Silver Coast\nvia Lesnoi, Anju Crossing, Schwarzschild St., Ehlodex")
\ No newline at end of file diff --git a/subway/nodes/(-623,5,1).lua b/subway/nodes/(-623,5,1).lua deleted file mode 100644 index e960ffc..0000000 --- a/subway/nodes/(-623,5,1).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Thh2N", "Rfo2N", "Lin2N", "R")
\ No newline at end of file diff --git a/subway/nodes/(-626,13,-1145).lua b/subway/nodes/(-626,13,-1145).lua deleted file mode 100644 index 098f150..0000000 --- a/subway/nodes/(-626,13,-1145).lua +++ /dev/null @@ -1,9 +0,0 @@ -F.stn("Boz7N", "Rkb7N", "Unv7N", "R") ---F.union_wait("Rkb7N") - ---if depart then ---setstate("Unv6EDivIn", "cr") ---setstate("Swr6E", "red") - ---setstate("Unv6WCross", "red") ---end
\ No newline at end of file diff --git a/subway/nodes/(-628,13,-1159).lua b/subway/nodes/(-628,13,-1159).lua deleted file mode 100644 index aad41f3..0000000 --- a/subway/nodes/(-628,13,-1159).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Unv7S", "Rkb7S", "Boz7S", "R") diff --git a/subway/nodes/(-636,5,6).lua b/subway/nodes/(-636,5,6).lua deleted file mode 100644 index c6098f9..0000000 --- a/subway/nodes/(-636,5,6).lua +++ /dev/null @@ -1,4 +0,0 @@ -F.stn("Lin2S", "Rfo2S", "Thh2S", "R") -if depart then -interrupt_pos(POS(-662,8,-296), "dep3") -end
\ No newline at end of file diff --git a/subway/nodes/(-642,1,-259).lua b/subway/nodes/(-642,1,-259).lua deleted file mode 100644 index fd4248d..0000000 --- a/subway/nodes/(-642,1,-259).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Shn7N", "Cat7N", "Bld7E", "R")
\ No newline at end of file diff --git a/subway/nodes/(-645,14,-402).lua b/subway/nodes/(-645,14,-402).lua deleted file mode 100644 index 4e9e447..0000000 --- a/subway/nodes/(-645,14,-402).lua +++ /dev/null @@ -1,6 +0,0 @@ -F.stn("Spn2N", "Stn2N", "Cat2N", "L") -if depart then - interrupt_pos(POS(-649,9,-283), "dep1") -elseif event.train then - interrupt_pos(POS(-649,9,-283), "arr1") -end
\ No newline at end of file diff --git a/subway/nodes/(-648,5,-199).lua b/subway/nodes/(-648,5,-199).lua deleted file mode 100644 index 1fa0d39..0000000 --- a/subway/nodes/(-648,5,-199).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Cat2N", "Dca2N", "Thh2N", "R")
\ No newline at end of file diff --git a/subway/nodes/(-648,5,-287).lua b/subway/nodes/(-648,5,-287).lua deleted file mode 100644 index 88f9ae5..0000000 --- a/subway/nodes/(-648,5,-287).lua +++ /dev/null @@ -1,12 +0,0 @@ ---if S.line[atc_id]=="7" then --- F.stn("Stn2N", "Cat7N", "Bld7E", "L") --- if depart then --- setstate("Cat2NDivOut", "cr") --- end ---else - F.stn("Stn2N", "Cat2N", "Dca2N", "L") - if depart then - setstate("Cat2NDivOut", "st") - interrupt_pos(POS(-649,9,-283), "pass") - end ---end
\ No newline at end of file diff --git a/subway/nodes/(-648,5,-98).lua b/subway/nodes/(-648,5,-98).lua deleted file mode 100644 index 417ebf3..0000000 --- a/subway/nodes/(-648,5,-98).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Dca2N", "Thh2N", "Rfo2N", "L")
\ No newline at end of file diff --git a/subway/nodes/(-651,5,-303).lua b/subway/nodes/(-651,5,-303).lua deleted file mode 100644 index 62b78e7..0000000 --- a/subway/nodes/(-651,5,-303).lua +++ /dev/null @@ -1,7 +0,0 @@ -F.stn_return("Stn7N", "Cat7R", "Stn2S", "L", "Cat7ES", "st") -if depart then -setstate("Stn2SDivIn", "st") -setstate("Cat2S", "red") -end -atc_set_text_outside("Line 7 - Robert Koch Boulevard") -S.line[atc_id]="7"
\ No newline at end of file diff --git a/subway/nodes/(-652,14,-490).lua b/subway/nodes/(-652,14,-490).lua deleted file mode 100644 index d085d58..0000000 --- a/subway/nodes/(-652,14,-490).lua +++ /dev/null @@ -1,6 +0,0 @@ -F.stn("Kav2N", "Spn2N", "Stn2N", "R") -if depart then - interrupt_pos(POS(-649,9,-283), "dep2") -elseif event.train then - interrupt_pos(POS(-649,9,-283), "arr2") -end
\ No newline at end of file diff --git a/subway/nodes/(-653,14,-377).lua b/subway/nodes/(-653,14,-377).lua deleted file mode 100644 index d7e8e9c..0000000 --- a/subway/nodes/(-653,14,-377).lua +++ /dev/null @@ -1,4 +0,0 @@ -atc_send("B2") -if S.line[atc_id]=="7" then -F.stn_return_free("Stn7N", "Cat7ES", "cr") -end
\ No newline at end of file diff --git a/subway/nodes/(-654,5,-209).lua b/subway/nodes/(-654,5,-209).lua deleted file mode 100644 index fa29dbb..0000000 --- a/subway/nodes/(-654,5,-209).lua +++ /dev/null @@ -1,7 +0,0 @@ -F.stn("Thh2S", "Dca2S", "Cat2S", "R") -if event.train then -interrupt_pos(POS(-662,8,-296), "arr1") -end -if depart then -interrupt_pos(POS(-662,8,-296), "dep1") -end
\ No newline at end of file diff --git a/subway/nodes/(-654,5,-335).lua b/subway/nodes/(-654,5,-335).lua deleted file mode 100644 index 061a7a1..0000000 --- a/subway/nodes/(-654,5,-335).lua +++ /dev/null @@ -1 +0,0 @@ -S.line[atc_id]="7"
\ No newline at end of file diff --git a/subway/nodes/(-655,14,-412).lua b/subway/nodes/(-655,14,-412).lua deleted file mode 100644 index 1156820..0000000 --- a/subway/nodes/(-655,14,-412).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Cat2S", "Stn2S", "Spn2S", "L") diff --git a/subway/nodes/(-655,14,-502).lua b/subway/nodes/(-655,14,-502).lua deleted file mode 100644 index 5b09f76..0000000 --- a/subway/nodes/(-655,14,-502).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Stn2S", "Spn2S", "Kav2S", "R")
\ No newline at end of file diff --git a/subway/nodes/(-655,5,-110).lua b/subway/nodes/(-655,5,-110).lua deleted file mode 100644 index 1ae68d6..0000000 --- a/subway/nodes/(-655,5,-110).lua +++ /dev/null @@ -1,7 +0,0 @@ -F.stn("Rfo2S", "Thh2S", "Dca2S", "L") -if event.train then -interrupt_pos(POS(-662,8,-296), "arr2") -end -if depart then -interrupt_pos(POS(-662,8,-296), "dep2") -end
\ No newline at end of file diff --git a/subway/nodes/(-658,8,-497).lua b/subway/nodes/(-658,8,-497).lua deleted file mode 100644 index dc353f4..0000000 --- a/subway/nodes/(-658,8,-497).lua +++ /dev/null @@ -1,7 +0,0 @@ -F.stn("Trp3E", "Spn3E", "Hts3E", "R") -if not S.line[atc_id]=="4" then - atc_set_text_outside("Line 3 - Counter-clockwise Ring Line") -end -if depart then - setstate("Gpl4E", "green") -end
\ No newline at end of file diff --git a/subway/nodes/(-659,5,-304).lua b/subway/nodes/(-659,5,-304).lua deleted file mode 100644 index 1cf3a92..0000000 --- a/subway/nodes/(-659,5,-304).lua +++ /dev/null @@ -1,4 +0,0 @@ -F.stn("Dca2S", "Cat2S", "Stn2S", "L") -if depart then -interrupt_pos(POS(-662,8,-296), "pass") -end
\ No newline at end of file diff --git a/subway/nodes/(-671,8,-495).lua b/subway/nodes/(-671,8,-495).lua deleted file mode 100644 index a9393d6..0000000 --- a/subway/nodes/(-671,8,-495).lua +++ /dev/null @@ -1,13 +0,0 @@ -if S.line[atc_id]=="4" then - F.stn("Hts3W", "Spn4W", "Gpl4W", "R") - if depart then - setstate("Spn4ups", "cr") - --setstate("Trp3ECross", "red") - end -else - F.stn("Hts3W", "Spn3W", "Trp3W", "R") - atc_set_text_outside("Line 3 - Clockwise Ring Line") - if depart then - setstate("Spn4ups", "st") - end -end
\ No newline at end of file diff --git a/subway/nodes/(-677,1,-257).lua b/subway/nodes/(-677,1,-257).lua deleted file mode 100644 index 6f75165..0000000 --- a/subway/nodes/(-677,1,-257).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Bld7W", "Cat7S", "Shn7S", "R")
\ No newline at end of file diff --git a/subway/nodes/(-696,2,-1060).lua b/subway/nodes/(-696,2,-1060).lua deleted file mode 100644 index 72de4e8..0000000 --- a/subway/nodes/(-696,2,-1060).lua +++ /dev/null @@ -1,2 +0,0 @@ -F.stn("Hks7S", "Unv7S", "Rkb7S", "R") -set_line(7)
\ No newline at end of file diff --git a/subway/nodes/(-696,8,-497).lua b/subway/nodes/(-696,8,-497).lua deleted file mode 100644 index 01a3d1a..0000000 --- a/subway/nodes/(-696,8,-497).lua +++ /dev/null @@ -1 +0,0 @@ -atc_send("B2")
\ No newline at end of file diff --git a/subway/nodes/(-702,9,-648).lua b/subway/nodes/(-702,9,-648).lua deleted file mode 100644 index e90d83c..0000000 --- a/subway/nodes/(-702,9,-648).lua +++ /dev/null @@ -1,4 +0,0 @@ -F.stn("Uni2N", "Kav2N", "Spn2N", "R") -if depart then - interrupt_pos(POS(-649,9,-283), "dep3") -end
\ No newline at end of file diff --git a/subway/nodes/(-709,2,-1058).lua b/subway/nodes/(-709,2,-1058).lua deleted file mode 100644 index e43ec69..0000000 --- a/subway/nodes/(-709,2,-1058).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Rkb7N", "Unv7N", "Hks7N", "R")
\ No newline at end of file diff --git a/subway/nodes/(-713,9,-646).lua b/subway/nodes/(-713,9,-646).lua deleted file mode 100644 index fdbf098..0000000 --- a/subway/nodes/(-713,9,-646).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Spn2S", "Kav2S", "Uni2S", "R")
\ No newline at end of file diff --git a/subway/nodes/(-723,10,-375).lua b/subway/nodes/(-723,10,-375).lua deleted file mode 100644 index efdd2fa..0000000 --- a/subway/nodes/(-723,10,-375).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Trp7N", "Shn7N", "Cat7N", "L")
\ No newline at end of file diff --git a/subway/nodes/(-727,-2,-886).lua b/subway/nodes/(-727,-2,-886).lua deleted file mode 100644 index 5b046c7..0000000 --- a/subway/nodes/(-727,-2,-886).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Unv7N", "Hks7N", "Uni7N", "L")
\ No newline at end of file diff --git a/subway/nodes/(-729,-2,-764).lua b/subway/nodes/(-729,-2,-764).lua deleted file mode 100644 index 4653aa6..0000000 --- a/subway/nodes/(-729,-2,-764).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Hks7N", "Uni7N", "Hmi7N", "R")
\ No newline at end of file diff --git a/subway/nodes/(-729,3,-757).lua b/subway/nodes/(-729,3,-757).lua deleted file mode 100644 index b53c9d8..0000000 --- a/subway/nodes/(-729,3,-757).lua +++ /dev/null @@ -1,7 +0,0 @@ -F.stn("Rsi2N", "Uni2N", "Kav2N", "R") -if event.train then -setstate("Uni2SCross", "green") -end -if depart then -setstate("Dar7N", "green") -end
\ No newline at end of file diff --git a/subway/nodes/(-729,8,-435).lua b/subway/nodes/(-729,8,-435).lua deleted file mode 100644 index a254584..0000000 --- a/subway/nodes/(-729,8,-435).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Gpl7N", "Trp7N", "Shn7N", "R", 10)
\ No newline at end of file diff --git a/subway/nodes/(-731,8,-448).lua b/subway/nodes/(-731,8,-448).lua deleted file mode 100644 index 484a64b..0000000 --- a/subway/nodes/(-731,8,-448).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Shn7S", "Trp7S", "Gpl7S", "R")
\ No newline at end of file diff --git a/subway/nodes/(-732,-2,-777).lua b/subway/nodes/(-732,-2,-777).lua deleted file mode 100644 index e707895..0000000 --- a/subway/nodes/(-732,-2,-777).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Hmi7S", "Uni7S", "Hks7S", "R")
\ No newline at end of file diff --git a/subway/nodes/(-732,3,-777).lua b/subway/nodes/(-732,3,-777).lua deleted file mode 100644 index 7977383..0000000 --- a/subway/nodes/(-732,3,-777).lua +++ /dev/null @@ -1,2 +0,0 @@ - -F.stn("Kav2S", "Uni2S", "Rsi2S", "R", "M")
\ No newline at end of file diff --git a/subway/nodes/(-734,-2,-898).lua b/subway/nodes/(-734,-2,-898).lua deleted file mode 100644 index 10d6c4b..0000000 --- a/subway/nodes/(-734,-2,-898).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Uni7S", "Hks7S", "Unv7S", "L")
\ No newline at end of file diff --git a/subway/nodes/(-737,10,-386).lua b/subway/nodes/(-737,10,-386).lua deleted file mode 100644 index a61f2b3..0000000 --- a/subway/nodes/(-737,10,-386).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Cat7S", "Shn7S", "Trp7S", "L", 10)
\ No newline at end of file diff --git a/subway/nodes/(-748,6,-387).lua b/subway/nodes/(-748,6,-387).lua deleted file mode 100644 index 4f8a12a..0000000 --- a/subway/nodes/(-748,6,-387).lua +++ /dev/null @@ -1,6 +0,0 @@ -if S.line[atc_id]~="1a" then - setstate("Shn1aCrossW", "green") -else - F.stn_return_free("scl1aW", "Scl1aES", "cr") -end -atc_send("B2")
\ No newline at end of file diff --git a/subway/nodes/(-755,7,-499).lua b/subway/nodes/(-755,7,-499).lua deleted file mode 100644 index adbe3b1..0000000 --- a/subway/nodes/(-755,7,-499).lua +++ /dev/null @@ -1,6 +0,0 @@ -F.stn("Fmn4E", "Gpl4E", "Spn3E", "L") -if depart then - S.line[atc_id]="4" - setstate("Trp3E", "red") - setstate("Spn4DivIn", "st") -end
\ No newline at end of file diff --git a/subway/nodes/(-755,7,-511).lua b/subway/nodes/(-755,7,-511).lua deleted file mode 100644 index fa923af..0000000 --- a/subway/nodes/(-755,7,-511).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Per7N", "Gpl7N", "Trp7N", "L")
\ No newline at end of file diff --git a/subway/nodes/(-765,7,-491).lua b/subway/nodes/(-765,7,-491).lua deleted file mode 100644 index 247efc1..0000000 --- a/subway/nodes/(-765,7,-491).lua +++ /dev/null @@ -1,2 +0,0 @@ -F.stn("Spn4W", "Gpl4W", "Fmn4W", "L") -F.stat("Line 4", false)
\ No newline at end of file diff --git a/subway/nodes/(-796,5,-601).lua b/subway/nodes/(-796,5,-601).lua deleted file mode 100644 index 14c9553..0000000 --- a/subway/nodes/(-796,5,-601).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Hmi7N", "Per7N", "Gpl7N", "L")
\ No newline at end of file diff --git a/subway/nodes/(-80,-2,136).lua b/subway/nodes/(-80,-2,136).lua deleted file mode 100644 index 613fb7c..0000000 --- a/subway/nodes/(-80,-2,136).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("ONb2", "OIs2", "OSm2", "L", 10)
\ No newline at end of file diff --git a/subway/nodes/(-80,-2,56).lua b/subway/nodes/(-80,-2,56).lua deleted file mode 100644 index c304322..0000000 --- a/subway/nodes/(-80,-2,56).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("OOr2", "OSc2", "ONb2", "R", 8)
\ No newline at end of file diff --git a/subway/nodes/(-803,5,-611).lua b/subway/nodes/(-803,5,-611).lua deleted file mode 100644 index 751a16b..0000000 --- a/subway/nodes/(-803,5,-611).lua +++ /dev/null @@ -1,8 +0,0 @@ -F.stn("Gpl7S", "Per7S", "Hmi7S", "L") ---F.union_wait("Per7S") ---if depart then ---S.line[atc_id]="7" --- setstate("Hmi6WDivIn", "cr") --- setstate("Fmn6W", "red") ---setstate("Hmi6ECross", "red") ---end
\ No newline at end of file diff --git a/subway/nodes/(-836,4,-698).lua b/subway/nodes/(-836,4,-698).lua deleted file mode 100644 index 58ccaad..0000000 --- a/subway/nodes/(-836,4,-698).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Uni7N", "Hmi7N", "Per7N", "R")
\ No newline at end of file diff --git a/subway/nodes/(-838,4,-708).lua b/subway/nodes/(-838,4,-708).lua deleted file mode 100644 index d764347..0000000 --- a/subway/nodes/(-838,4,-708).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Per7S", "Hmi7S", "Uni7S", "R")
\ No newline at end of file diff --git a/subway/nodes/(-845,8,-497).lua b/subway/nodes/(-845,8,-497).lua deleted file mode 100644 index 55be2b6..0000000 --- a/subway/nodes/(-845,8,-497).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Fms4E", "Fmn4E", "Gpl4E", "R")
\ No newline at end of file diff --git a/subway/nodes/(-857,8,-495).lua b/subway/nodes/(-857,8,-495).lua deleted file mode 100644 index 8293a02..0000000 --- a/subway/nodes/(-857,8,-495).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Gpl4W", "Fmn4W", "Fms4W", "R")
\ No newline at end of file diff --git a/subway/nodes/(-924,10,-396).lua b/subway/nodes/(-924,10,-396).lua deleted file mode 100644 index 8ef04e8..0000000 --- a/subway/nodes/(-924,10,-396).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Fmn4W", "Fms4W", "Mnn4W", "R") diff --git a/subway/nodes/(-926,10,-408).lua b/subway/nodes/(-926,10,-408).lua deleted file mode 100644 index a17db5c..0000000 --- a/subway/nodes/(-926,10,-408).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Mnn4E", "Fms4E", "Fmn4E", "R")
\ No newline at end of file diff --git a/subway/nodes/(-973,19,-321).lua b/subway/nodes/(-973,19,-321).lua deleted file mode 100644 index dfeca2b..0000000 --- a/subway/nodes/(-973,19,-321).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Max4E", "Mnn4E", "Fms4E", "R")
\ No newline at end of file diff --git a/subway/nodes/(-983,19,-319).lua b/subway/nodes/(-983,19,-319).lua deleted file mode 100644 index 34315e8..0000000 --- a/subway/nodes/(-983,19,-319).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Fms4W", "Mnn4W", "Max4W", "R")
\ No newline at end of file diff --git a/subway/nodes/(104,8,-38).lua b/subway/nodes/(104,8,-38).lua deleted file mode 100644 index 73e7722..0000000 --- a/subway/nodes/(104,8,-38).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Ewd2S", "Chu2S", "Ori2S", "L")
\ No newline at end of file diff --git a/subway/nodes/(109,9,34).lua b/subway/nodes/(109,9,34).lua deleted file mode 100644 index 966271e..0000000 --- a/subway/nodes/(109,9,34).lua +++ /dev/null @@ -1,8 +0,0 @@ -F.stn_ilkentry("Rru1W", "Wcs1W", "Ori1W", "L") -F.lineset("1", "W") ---if event.train then ---interrupt_pos(POS(-14,3,4), "arr1") ---end ---if depart then ---interrupt_pos(POS(-14,3,4), "dep1") ---end
\ No newline at end of file diff --git a/subway/nodes/(115,8,-47).lua b/subway/nodes/(115,8,-47).lua deleted file mode 100644 index 0964cf7..0000000 --- a/subway/nodes/(115,8,-47).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Ori2N", "Chu2N", "Ewd2N", "L")
\ No newline at end of file diff --git a/subway/nodes/(119,11,-190).lua b/subway/nodes/(119,11,-190).lua deleted file mode 100644 index 50a2f7d..0000000 --- a/subway/nodes/(119,11,-190).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn_nohalt("Cht2aN", "Msu2aN", "Ewd2aR")
\ No newline at end of file diff --git a/subway/nodes/(121,9,26).lua b/subway/nodes/(121,9,26).lua deleted file mode 100644 index 2f10290..0000000 --- a/subway/nodes/(121,9,26).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Ori1E", "Wcs1E", "Rru1E", "L")
\ No newline at end of file diff --git a/subway/nodes/(123,13,-12).lua b/subway/nodes/(123,13,-12).lua deleted file mode 100644 index 27f4a4c..0000000 --- a/subway/nodes/(123,13,-12).lua +++ /dev/null @@ -1,4 +0,0 @@ -if event.type == "ext_int" then - digiline_send("orhb","toggle") - return -end
\ No newline at end of file diff --git a/subway/nodes/(159,11,865).lua b/subway/nodes/(159,11,865).lua deleted file mode 100644 index 68d51db..0000000 --- a/subway/nodes/(159,11,865).lua +++ /dev/null @@ -1,6 +0,0 @@ -if get_line() ~= "XST" then --- atc_set_text_outside("Line 4 - Ice Mountain") - atc_set_text_inside("Schwarzschildt Street\nNext Stop: McFly Street") --- set_line("4") - F.lineset("4", "W") -end
\ No newline at end of file diff --git a/subway/nodes/(203,11,-186).lua b/subway/nodes/(203,11,-186).lua deleted file mode 100644 index 68b441a..0000000 --- a/subway/nodes/(203,11,-186).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Ewb2S", "Ewd2S", "Chu2S", "L")
\ No newline at end of file diff --git a/subway/nodes/(209,17,-190).lua b/subway/nodes/(209,17,-190).lua deleted file mode 100644 index 9876c81..0000000 --- a/subway/nodes/(209,17,-190).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn_return("Msu2aN", "Ewd2aR", "Msu2aS", "L", "Ewd2aES", "cr", 10, nil, 10)
\ No newline at end of file diff --git a/subway/nodes/(214,11,-194).lua b/subway/nodes/(214,11,-194).lua deleted file mode 100644 index fc1a8e3..0000000 --- a/subway/nodes/(214,11,-194).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Chu2N", "Ewd2N", "Ewb2N", "L")
\ No newline at end of file diff --git a/subway/nodes/(24,5,3).lua b/subway/nodes/(24,5,3).lua deleted file mode 100644 index b359cad..0000000 --- a/subway/nodes/(24,5,3).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn_return("Cht2aS", "Ori2aR", "Cht2aN", "R", "Ori2aES", "st", nil, nil, 7)
\ No newline at end of file diff --git a/subway/nodes/(2644,15,4349).lua b/subway/nodes/(2644,15,4349).lua deleted file mode 100644 index e69de29..0000000 --- a/subway/nodes/(2644,15,4349).lua +++ /dev/null diff --git a/subway/nodes/(27,16,-470).lua b/subway/nodes/(27,16,-470).lua deleted file mode 100644 index f961cdd..0000000 --- a/subway/nodes/(27,16,-470).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Smp8W", "Ctd8W", "Ppo8W", "R")
\ No newline at end of file diff --git a/subway/nodes/(27,25,26).lua b/subway/nodes/(27,25,26).lua deleted file mode 100644 index a168756..0000000 --- a/subway/nodes/(27,25,26).lua +++ /dev/null @@ -1,2 +0,0 @@ -F.stn("OIr2", "OTh2", "OLv2", "R", 10) -atc_set_text_outside("Line O2 - Bracket Road - Origin - North Bridge - SCSI Connector Mess")
\ No newline at end of file diff --git a/subway/nodes/(317,9,26).lua b/subway/nodes/(317,9,26).lua deleted file mode 100644 index 43677f0..0000000 --- a/subway/nodes/(317,9,26).lua +++ /dev/null @@ -1,2 +0,0 @@ -F.stn("Wcs1E", "Rru1E", "Adb1E", "L") - diff --git a/subway/nodes/(421,14,-48).lua b/subway/nodes/(421,14,-48).lua deleted file mode 100644 index e34a22e..0000000 --- a/subway/nodes/(421,14,-48).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Snb1W", "Adb1W", "Rru1W", "L")
\ No newline at end of file diff --git a/subway/nodes/(43,11,-124).lua b/subway/nodes/(43,11,-124).lua deleted file mode 100644 index 30ec325..0000000 --- a/subway/nodes/(43,11,-124).lua +++ /dev/null @@ -1,2 +0,0 @@ -set_line(2) -F.stn("Ori2aR", "Cht2aN", "Ewd2aR", "L")
\ No newline at end of file diff --git a/subway/nodes/(43,5,-64).lua b/subway/nodes/(43,5,-64).lua deleted file mode 100644 index 9a455f3..0000000 --- a/subway/nodes/(43,5,-64).lua +++ /dev/null @@ -1,3 +0,0 @@ -if event.train then - F.stn_return_free("Cht2aS", "Ori2aES", "cr") -end
\ No newline at end of file diff --git a/subway/nodes/(433,14,-54).lua b/subway/nodes/(433,14,-54).lua deleted file mode 100644 index 5b8a3dc..0000000 --- a/subway/nodes/(433,14,-54).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Rru1E", "Adb1E", "Snb1E", "L")
\ No newline at end of file diff --git a/subway/nodes/(479,3,-156).lua b/subway/nodes/(479,3,-156).lua deleted file mode 100644 index 50654f5..0000000 --- a/subway/nodes/(479,3,-156).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Dam2S", "Ewb2S", "Ewd2S", "L")
\ No newline at end of file diff --git a/subway/nodes/(491,3,-163).lua b/subway/nodes/(491,3,-163).lua deleted file mode 100644 index 0db64db..0000000 --- a/subway/nodes/(491,3,-163).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Ewd2N", "Ewb2N", "Dam2N", "L")
\ No newline at end of file diff --git a/subway/nodes/(514,-3,-2026).lua b/subway/nodes/(514,-3,-2026).lua deleted file mode 100644 index 534c3e3..0000000 --- a/subway/nodes/(514,-3,-2026).lua +++ /dev/null @@ -1 +0,0 @@ -F.stat("U21")
\ No newline at end of file diff --git a/subway/nodes/(6,5,1).lua b/subway/nodes/(6,5,1).lua deleted file mode 100644 index 5d9771a..0000000 --- a/subway/nodes/(6,5,1).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Ram2N", "Ori2N", "Chu2N", "L")
\ No newline at end of file diff --git a/subway/nodes/(628,11,-23).lua b/subway/nodes/(628,11,-23).lua deleted file mode 100644 index 7d950f0..0000000 --- a/subway/nodes/(628,11,-23).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Dam1W", "Snb1W", "Adb1W","L")
\ No newline at end of file diff --git a/subway/nodes/(640,11,-31).lua b/subway/nodes/(640,11,-31).lua deleted file mode 100644 index 4c658dc..0000000 --- a/subway/nodes/(640,11,-31).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Adb1E", "Snb1E", "Dam1E","L")
\ No newline at end of file diff --git a/subway/nodes/(711,12,-103).lua b/subway/nodes/(711,12,-103).lua deleted file mode 100644 index 0760eba..0000000 --- a/subway/nodes/(711,12,-103).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Dam2R", "Dam2S", "Ewb2S", "R")
\ No newline at end of file diff --git a/subway/nodes/(711,12,-95).lua b/subway/nodes/(711,12,-95).lua deleted file mode 100644 index dc65951..0000000 --- a/subway/nodes/(711,12,-95).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Wva1W", "Dam1W", "Snb1W", "L") diff --git a/subway/nodes/(731,4,-103).lua b/subway/nodes/(731,4,-103).lua deleted file mode 100644 index b9e1b50..0000000 --- a/subway/nodes/(731,4,-103).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Ewb2N", "Dam2N", "Dam2R", "L", 8)
\ No newline at end of file diff --git a/subway/nodes/(731,4,-95).lua b/subway/nodes/(731,4,-95).lua deleted file mode 100644 index 57f33fe..0000000 --- a/subway/nodes/(731,4,-95).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Snb1E", "Dam1E", "Wva1E","R")
\ No newline at end of file diff --git a/subway/nodes/(757,12,-100).lua b/subway/nodes/(757,12,-100).lua deleted file mode 100644 index 4ee8121..0000000 --- a/subway/nodes/(757,12,-100).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn_return_free("Dam2N", "Dam2ES", "st")
\ No newline at end of file diff --git a/subway/nodes/(799,8,-103).lua b/subway/nodes/(799,8,-103).lua deleted file mode 100644 index a6dc8b1..0000000 --- a/subway/nodes/(799,8,-103).lua +++ /dev/null @@ -1,3 +0,0 @@ -F.stn_return("Dam2N", "Dam2R", "Dam2S", "C", "Dam2ES", "cr", 6, nil, 20) -F.stat("Line 2", false) -atc_set_text_outside("Line 2 - Chasm of Segfault")
\ No newline at end of file diff --git a/subway/nodes/(827,6,-222).lua b/subway/nodes/(827,6,-222).lua deleted file mode 100644 index 0154d59..0000000 --- a/subway/nodes/(827,6,-222).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Dam1E", "Wva1E", "Wvb1E","L")
\ No newline at end of file diff --git a/subway/nodes/(834,6,-210).lua b/subway/nodes/(834,6,-210).lua deleted file mode 100644 index 66125e9..0000000 --- a/subway/nodes/(834,6,-210).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Wvb1W", "Wva1W", "Dam1W", "L") diff --git a/subway/nodes/(841,18,-327).lua b/subway/nodes/(841,18,-327).lua deleted file mode 100644 index fa2857b..0000000 --- a/subway/nodes/(841,18,-327).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Wva1E", "Wvb1E", "Wvc1E","R")
\ No newline at end of file diff --git a/subway/nodes/(843,18,-315).lua b/subway/nodes/(843,18,-315).lua deleted file mode 100644 index a7857cc..0000000 --- a/subway/nodes/(843,18,-315).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Wvc1W", "Wvb1W", "Wva1W", "R")
\ No newline at end of file diff --git a/subway/nodes/(884,18,-415).lua b/subway/nodes/(884,18,-415).lua deleted file mode 100644 index 6b7fe81..0000000 --- a/subway/nodes/(884,18,-415).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Wim1R", "Wvc1W", "Wvb1W", "L")
\ No newline at end of file diff --git a/subway/nodes/(896,18,-422).lua b/subway/nodes/(896,18,-422).lua deleted file mode 100644 index 641a592..0000000 --- a/subway/nodes/(896,18,-422).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn("Wvb1E", "Wvc1E", "Wim1R","L") diff --git a/subway/nodes/(941,18,-509).lua b/subway/nodes/(941,18,-509).lua deleted file mode 100644 index 062873e..0000000 --- a/subway/nodes/(941,18,-509).lua +++ /dev/null @@ -1 +0,0 @@ -F.stn_return_free("Wvc1E", "Wim1ES", "cr")
\ No newline at end of file diff --git a/subway/nodes/(941,18,-571).lua b/subway/nodes/(941,18,-571).lua deleted file mode 100644 index c353219..0000000 --- a/subway/nodes/(941,18,-571).lua +++ /dev/null @@ -1,2 +0,0 @@ -F.stn_return("Wvc1E", "Wim1R", "Wvc1W","R", "Wim1ES", "st") -F.lineset("1", "W")
\ No newline at end of file diff --git a/subway/nodes/(959,14,1038).lua b/subway/nodes/(959,14,1038).lua deleted file mode 100644 index d5862ff..0000000 --- a/subway/nodes/(959,14,1038).lua +++ /dev/null @@ -1,3 +0,0 @@ --- if atc_arrow then --- atc_set_text_outside("E1 - Mom Junction") --- end
\ No newline at end of file diff --git a/subway/nodes/(972,14,1052).lua b/subway/nodes/(972,14,1052).lua deleted file mode 100644 index bf0517b..0000000 --- a/subway/nodes/(972,14,1052).lua +++ /dev/null @@ -1 +0,0 @@ -atc_set_text_outside("S12 - Spawn\nvia Gardon St., Schwarzschild St., Anju Crossing, Lesnoi")
\ No newline at end of file |