summaryrefslogtreecommitdiff
path: root/durt/nodes
diff options
context:
space:
mode:
Diffstat (limited to 'durt/nodes')
-rw-r--r--durt/nodes/(-1478,11,-2588).lua14
-rw-r--r--durt/nodes/(-1489,11,-2588).lua14
-rw-r--r--durt/nodes/(-149,8,-2209).lua1
-rw-r--r--durt/nodes/(-1497,16,-2594).lua6
-rw-r--r--durt/nodes/(-1506,15,-2599).lua6
-rw-r--r--durt/nodes/(-151,8,-2196).lua1
-rw-r--r--durt/nodes/(-1511,11,-2590).lua67
-rw-r--r--durt/nodes/(-1511,9,-2591).lua6
-rw-r--r--durt/nodes/(-1513,11,-2588).lua1
-rw-r--r--durt/nodes/(-1514,11,-2590).lua1
-rw-r--r--durt/nodes/(-1515,11,-2588).lua6
-rw-r--r--durt/nodes/(-1516,11,-2590).lua1
-rw-r--r--durt/nodes/(-168,7,-2053).lua1
-rw-r--r--durt/nodes/(-170,7,-2040).lua1
-rw-r--r--durt/nodes/(-1728,10,-1823).lua4
-rw-r--r--durt/nodes/(-1924,13,-1692).lua1
-rw-r--r--durt/nodes/(-1987,13,-1700).lua4
-rw-r--r--durt/nodes/(-1988,13,-1698).lua1
-rw-r--r--durt/nodes/(-20,8,-2319).lua1
-rw-r--r--durt/nodes/(-2077,3,821).lua25
-rw-r--r--durt/nodes/(-2080,19,731).lua32
-rw-r--r--durt/nodes/(-2080,3,787).lua36
-rw-r--r--durt/nodes/(-2080,3,834).lua3
-rw-r--r--durt/nodes/(-2080,3,837).lua3
-rw-r--r--durt/nodes/(-2081,1,811).lua3
-rw-r--r--durt/nodes/(-2081,19,690).lua1
-rw-r--r--durt/nodes/(-2083,3,822).lua3
-rw-r--r--durt/nodes/(-2084,21,851).lua9
-rw-r--r--durt/nodes/(-2105,19,829).lua1
-rw-r--r--durt/nodes/(-2211,8,902).lua1
-rw-r--r--durt/nodes/(-2227,8,290).lua3
-rw-r--r--durt/nodes/(-2227,8,292).lua75
-rw-r--r--durt/nodes/(-2343,15,-1336).lua1
-rw-r--r--durt/nodes/(-2732,11,891).lua0
-rw-r--r--durt/nodes/(-2734,10,-1693).lua1
-rw-r--r--durt/nodes/(-2734,11,891).lua0
-rw-r--r--durt/nodes/(-35,8,-2323).lua1
-rw-r--r--durt/nodes/(-3525,8,-2281).lua8
-rw-r--r--durt/nodes/(-3530,8,-2267).lua1
-rw-r--r--durt/nodes/(-3588,8,-2277).lua3
-rw-r--r--durt/nodes/(-3590,18,-3906).lua2
-rw-r--r--durt/nodes/(-3594,18,-3954).lua1
-rw-r--r--durt/nodes/(-3596,18,-3930).lua1
-rw-r--r--durt/nodes/(-3596,8,-2281).lua1
-rw-r--r--durt/nodes/(-3601,18,-3961).lua2
-rw-r--r--durt/nodes/(-3670,12,-3742).lua2
-rw-r--r--durt/nodes/(-3761,12,-3554).lua2
-rw-r--r--durt/nodes/(-3764,12,-3562).lua2
-rw-r--r--durt/nodes/(-3776,11,-4340).lua1
-rw-r--r--durt/nodes/(-3820,18,-4730).lua8
-rw-r--r--durt/nodes/(-3820,18,-4743).lua3
-rw-r--r--durt/nodes/(-3821,18,-4761).lua10
-rw-r--r--durt/nodes/(-3824,18,-4774).lua7
-rw-r--r--durt/nodes/(-3843,20,-4372).lua1
-rw-r--r--durt/nodes/(-4002,12,-2768).lua2
-rw-r--r--durt/nodes/(-4117,16,-5770).lua1
-rw-r--r--durt/nodes/(-4117,16,-5793).lua2
-rw-r--r--durt/nodes/(-4127,5,-5624).lua24
-rw-r--r--durt/nodes/(-4128,5,-5630).lua21
-rw-r--r--durt/nodes/(-4128,6,-5692).lua20
-rw-r--r--durt/nodes/(-4129,13,-5726).lua28
-rw-r--r--durt/nodes/(-4129,16,-5745).lua14
-rw-r--r--durt/nodes/(-4129,16,-5802).lua26
-rw-r--r--durt/nodes/(-4129,5,-5616).lua24
-rw-r--r--durt/nodes/(-4129,5,-5624).lua24
-rw-r--r--durt/nodes/(-4129,5,-5626).lua12
-rw-r--r--durt/nodes/(-4129,5,-5630).lua21
-rw-r--r--durt/nodes/(-4129,9,-5588).lua44
-rw-r--r--durt/nodes/(-4130,5,-5630).lua21
-rw-r--r--durt/nodes/(-4132,6,-5690).lua20
-rw-r--r--durt/nodes/(-4134,5,-5629).lua14
-rw-r--r--durt/nodes/(-4134,5,-5631).lua24
-rw-r--r--durt/nodes/(-4135,16,-5809).lua27
-rw-r--r--durt/nodes/(-4138,16,-5809).lua1
-rw-r--r--durt/nodes/(-4142,17,-5792).lua4
-rw-r--r--durt/nodes/(-4142,17,-5841).lua24
-rw-r--r--durt/nodes/(-4144,16,-5792).lua19
-rw-r--r--durt/nodes/(-4146,16,-5793).lua4
-rw-r--r--durt/nodes/(-4147,19,-5792).lua3
-rw-r--r--durt/nodes/(-4158,12,-2742).lua1
-rw-r--r--durt/nodes/(-4599,7,-6502).lua24
-rw-r--r--durt/nodes/(-4623,7,-6597).lua35
-rw-r--r--durt/nodes/(-4626,7,-6638).lua19
-rw-r--r--durt/nodes/(-541,26,2469).lua1
-rw-r--r--durt/nodes/(-541,26,2472).lua1
-rw-r--r--durt/nodes/(-541,26,2475).lua1
-rw-r--r--durt/nodes/(-549,26,2478).lua1
-rw-r--r--durt/nodes/(-585,26,2478).lua1
-rw-r--r--durt/nodes/(-615,26,2475).lua7
-rw-r--r--durt/nodes/(-620,26,2464).lua9
-rw-r--r--durt/nodes/(-621,26,2469).lua1
-rw-r--r--durt/nodes/(-621,26,2472).lua1
-rw-r--r--durt/nodes/(-621,26,2475).lua1
-rw-r--r--durt/nodes/(-638,26,2475).lua1
-rw-r--r--durt/nodes/(-646,26,2469).lua6
-rw-r--r--durt/nodes/(-678,20,2478).lua3
-rw-r--r--durt/nodes/(-736,3,1857).lua1
-rw-r--r--durt/nodes/(-743,3,1888).lua1
-rw-r--r--durt/nodes/(-759,3,1861).lua6
-rw-r--r--durt/nodes/(-799,3,1863).lua1
-rw-r--r--durt/nodes/(139,8,-2054).lua1
-rw-r--r--durt/nodes/(151,8,-2046).lua1
-rw-r--r--durt/nodes/(1852,8,9034).lua1
-rw-r--r--durt/nodes/(1904,7,9133).lua1
-rw-r--r--durt/nodes/(1904,8,9057).lua17
-rw-r--r--durt/nodes/(1905,0,9143).lua5
-rw-r--r--durt/nodes/(1907,9,9129).lua3
-rw-r--r--durt/nodes/(1909,8,9115).lua5
-rw-r--r--durt/nodes/(1918,7,9099).lua1
-rw-r--r--durt/nodes/(1918,7,9147).lua1
-rw-r--r--durt/nodes/(1921,7,9148).lua1
-rw-r--r--durt/nodes/(1950,7,9108).lua1
-rw-r--r--durt/nodes/(258,2,-2054).lua1
-rw-r--r--durt/nodes/(273,2,-2046).lua1
-rw-r--r--durt/nodes/(363,-3,-2026).lua1
-rw-r--r--durt/nodes/(377,-3,-2018).lua1
-rw-r--r--durt/nodes/(430,17,19).lua1
-rw-r--r--durt/nodes/(430,17,7).lua1
-rw-r--r--durt/nodes/(501,-3,-2026).lua1
-rw-r--r--durt/nodes/(515,-3,-2018).lua1
-rw-r--r--durt/nodes/(596,-3,-1963).lua1
-rw-r--r--durt/nodes/(608,-3,-1957).lua1
-rw-r--r--durt/nodes/(686,-3,-1961).lua1
-rw-r--r--durt/nodes/(698,-3,-1959).lua1
-rw-r--r--durt/nodes/(74,8,-2124).lua1
-rw-r--r--durt/nodes/(74,8,-2297).lua1
-rw-r--r--durt/nodes/(770,6,-1938).lua1
-rw-r--r--durt/nodes/(771,25,8503).lua3
-rw-r--r--durt/nodes/(78,8,-2139).lua1
-rw-r--r--durt/nodes/(78,8,-2312).lua1
-rw-r--r--durt/nodes/(782,6,-1930).lua1
131 files changed, 0 insertions, 995 deletions
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