diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-10-15 22:37:42 +0200 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-10-15 22:37:42 +0200 |
commit | 572b186e28ddc2a630613765c0f0780b4664380f (patch) | |
tree | e93412c97c577b04bbf12749bfe61470e001063a /Hyard | |
parent | 5c7f77725394d47ce0b907aabf885ea207a507bd (diff) | |
download | luaatc_envs-572b186e28ddc2a630613765c0f0780b4664380f.tar.gz luaatc_envs-572b186e28ddc2a630613765c0f0780b4664380f.tar.bz2 luaatc_envs-572b186e28ddc2a630613765c0f0780b4664380f.zip |
State at 2024-10-15
Diffstat (limited to 'Hyard')
25 files changed, 0 insertions, 273 deletions
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 |