summaryrefslogtreecommitdiff
path: root/far/nodes
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-10-15 22:37:32 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-10-15 22:37:32 +0200
commit5c7f77725394d47ce0b907aabf885ea207a507bd (patch)
treea1ff9c67ef8f225a259e4c6f4c163a45c58bb870 /far/nodes
parentb435d1b1b26db6f7c4f3eb589ecf1ed3bb79b57e (diff)
downloadluaatc_envs-5c7f77725394d47ce0b907aabf885ea207a507bd.tar.gz
luaatc_envs-5c7f77725394d47ce0b907aabf885ea207a507bd.tar.bz2
luaatc_envs-5c7f77725394d47ce0b907aabf885ea207a507bd.zip
State at 2024-10-15
Diffstat (limited to 'far/nodes')
-rw-r--r--far/nodes/(10728,46,1225).lua8
-rw-r--r--far/nodes/(13448,13,717).lua8
-rw-r--r--far/nodes/(14934,6,736).lua8
-rw-r--r--far/nodes/(16806,10,696).lua8
-rw-r--r--far/nodes/(18971,14,854).lua8
-rw-r--r--far/nodes/(26343,30,1503).lua8
-rw-r--r--far/nodes/(26346,30,1500).lua8
-rw-r--r--far/nodes/(29459,26,1427).lua8
-rw-r--r--far/nodes/(30825,16,1858).lua36
-rw-r--r--far/nodes/(30828,16,1858).lua16
-rw-r--r--far/nodes/(30831,16,1858).lua21
-rw-r--r--far/nodes/(30833,16,1858).lua20
-rw-r--r--far/nodes/(30835,16,1858).lua20
-rw-r--r--far/nodes/(30837,16,1858).lua20
-rw-r--r--far/nodes/(30839,16,1858).lua20
-rw-r--r--far/nodes/(30841,16,1858).lua20
-rw-r--r--far/nodes/(30863,15,1807).lua8
-rw-r--r--far/nodes/(3847,10,1715).lua7
-rw-r--r--far/nodes/(4586,7,2162).lua8
-rw-r--r--far/nodes/(4614,7,2137).lua8
-rw-r--r--far/nodes/(4831,12,2223).lua8
-rw-r--r--far/nodes/(4835,7,2210).lua8
-rw-r--r--far/nodes/(5856,21,2315).lua8
-rw-r--r--far/nodes/(5857,21,2308).lua8
-rw-r--r--far/nodes/(6173,24,2309).lua8
-rw-r--r--far/nodes/(6173,24,2314).lua8
-rw-r--r--far/nodes/(7321,8,1987).lua8
-rw-r--r--far/nodes/(7321,8,1991).lua8
-rw-r--r--far/nodes/(7795,11,1987).lua8
-rw-r--r--far/nodes/(8242,6,2060).lua8
30 files changed, 348 insertions, 0 deletions
diff --git a/far/nodes/(10728,46,1225).lua b/far/nodes/(10728,46,1225).lua
new file mode 100644
index 0000000..d66a544
--- /dev/null
+++ b/far/nodes/(10728,46,1225).lua
@@ -0,0 +1,8 @@
+-- far_luaatctrack_spot_check_01.lua
+
+local show_print = false
+if event.train then
+ local posTable = POS(10728,46,1225)
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(13448,13,717).lua b/far/nodes/(13448,13,717).lua
new file mode 100644
index 0000000..66f6352
--- /dev/null
+++ b/far/nodes/(13448,13,717).lua
@@ -0,0 +1,8 @@
+-- far_luaatctrack_spot_check_01.lua
+
+local show_print = false
+if event.train then
+ local posTable = POS(13448,13,717)
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(14934,6,736).lua b/far/nodes/(14934,6,736).lua
new file mode 100644
index 0000000..4de8fe6
--- /dev/null
+++ b/far/nodes/(14934,6,736).lua
@@ -0,0 +1,8 @@
+-- far_luaatctrack_spot_check_01.lua
+
+local show_print = false
+if event.train then
+ local posTable = POS( 14934,6,736 )
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(16806,10,696).lua b/far/nodes/(16806,10,696).lua
new file mode 100644
index 0000000..f961531
--- /dev/null
+++ b/far/nodes/(16806,10,696).lua
@@ -0,0 +1,8 @@
+-- far_luaatctrack_spot_check_01.lua
+
+local show_print = false
+if event.train then
+ local posTable = POS( 16806,10,696 )
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(18971,14,854).lua b/far/nodes/(18971,14,854).lua
new file mode 100644
index 0000000..22e8cbb
--- /dev/null
+++ b/far/nodes/(18971,14,854).lua
@@ -0,0 +1,8 @@
+-- far_luaatctrack_spot_check_01.lua
+
+local show_print = false
+if event.train then
+ local posTable = POS( 18971,14,854 )
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(26343,30,1503).lua b/far/nodes/(26343,30,1503).lua
new file mode 100644
index 0000000..9d4321f
--- /dev/null
+++ b/far/nodes/(26343,30,1503).lua
@@ -0,0 +1,8 @@
+-- far_luaatctrack_spot_check_01.lua
+
+local show_print = false
+if event.train then
+ local posTable = POS( 26343,30,1503 )
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(26346,30,1500).lua b/far/nodes/(26346,30,1500).lua
new file mode 100644
index 0000000..16e0708
--- /dev/null
+++ b/far/nodes/(26346,30,1500).lua
@@ -0,0 +1,8 @@
+-- far_luaatctrack_spot_check_01.lua
+
+local show_print = false
+if event.train then
+ local posTable = POS( 26346,30,1500 )
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(29459,26,1427).lua b/far/nodes/(29459,26,1427).lua
new file mode 100644
index 0000000..e915653
--- /dev/null
+++ b/far/nodes/(29459,26,1427).lua
@@ -0,0 +1,8 @@
+-- far_luaatctrack_spot_check_01.lua
+
+local show_print = false
+if event.train then
+ local posTable = POS( 29459,26,1427 )
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(30825,16,1858).lua b/far/nodes/(30825,16,1858).lua
new file mode 100644
index 0000000..aad8e33
--- /dev/null
+++ b/far/nodes/(30825,16,1858).lua
@@ -0,0 +1,36 @@
+-- far_luaatctrack_farcom_op_01.lua
+
+
+if event.type == "punch" then
+-- F.delete_train_info("298909")
+ S.stop_display = true
+ S.show_farpass_only = false
+
+ F.send_update_displays()
+
+ digiline_send("notices", "LP: " .. event.name .. "")
+
+ 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/(30828,16,1858).lua b/far/nodes/(30828,16,1858).lua
new file mode 100644
index 0000000..2f245be
--- /dev/null
+++ b/far/nodes/(30828,16,1858).lua
@@ -0,0 +1,16 @@
+
+if event.type == "punch" then
+-- F.delete_train_info("240661")
+
+-- F.slow_train_down("010765")
+-- F.slow_train_down("164132")
+-- F.slow_train_down("264353")
+-- F.slow_train_down("403053")
+-- F.slow_train_down("428934")
+-- F.slow_train_down("783543")
+
+ digiline_send("notices", "LP: " .. event.name .. "")
+ F.clear_main_depot_displays()
+ F.print("Cleared displays at FARCOM")
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(30831,16,1858).lua b/far/nodes/(30831,16,1858).lua
new file mode 100644
index 0000000..c531ba3
--- /dev/null
+++ b/far/nodes/(30831,16,1858).lua
@@ -0,0 +1,21 @@
+
+if event.type == "punch" and event.name == "erstazi" then
+-- F.delete_train_info("240661")
+
+-- F.slow_train_down("010765")
+-- F.slow_train_down("164132")
+-- F.slow_train_down("264353")
+-- F.slow_train_down("403053")
+-- F.slow_train_down("428934")
+ F.slow_train_down("783543")
+
+ digiline_send("notices", "LP: " .. event.name .. "")
+
+-- F.clear_main_depot_displays()
+-- F.print("Cleared displays at FARCOM")
+ return
+
+elseif event.type == "punch" and event.name ~= "erstazi" then
+ digiline_send("security", "FARCOM SECURITY\nBLAME: " .. event.name .. "")
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(30833,16,1858).lua b/far/nodes/(30833,16,1858).lua
new file mode 100644
index 0000000..2e3043d
--- /dev/null
+++ b/far/nodes/(30833,16,1858).lua
@@ -0,0 +1,20 @@
+
+if event.type == "punch" and event.name == "erstazi" then
+-- F.delete_train_info("240661")
+
+-- F.slow_train_down("010765")
+-- F.slow_train_down("164132")
+-- F.slow_train_down("264353")
+-- F.slow_train_down("403053")
+ F.slow_train_down("428934")
+-- F.slow_train_down("783543")
+
+ digiline_send("notices", "LP: " .. event.name .. "")
+
+-- F.clear_main_depot_displays()
+-- F.print("Cleared displays at FARCOM")
+ return
+elseif event.type == "punch" and event.name ~= "erstazi" then
+ digiline_send("security", "FARCOM SECURITY\nBLAME: " .. event.name .. "")
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(30835,16,1858).lua b/far/nodes/(30835,16,1858).lua
new file mode 100644
index 0000000..5822a60
--- /dev/null
+++ b/far/nodes/(30835,16,1858).lua
@@ -0,0 +1,20 @@
+
+if event.type == "punch" and event.name == "erstazi" then
+-- F.delete_train_info("240661")
+
+-- F.slow_train_down("010765")
+-- F.slow_train_down("164132")
+-- F.slow_train_down("264353")
+ F.slow_train_down("403053")
+-- F.slow_train_down("428934")
+-- F.slow_train_down("783543")
+
+ digiline_send("notices", "LP: " .. event.name .. "")
+
+-- F.clear_main_depot_displays()
+-- F.print("Cleared displays at FARCOM")
+ return
+elseif event.type == "punch" and event.name ~= "erstazi" then
+ digiline_send("security", "FARCOM SECURITY\nBLAME: " .. event.name .. "")
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(30837,16,1858).lua b/far/nodes/(30837,16,1858).lua
new file mode 100644
index 0000000..98fcbad
--- /dev/null
+++ b/far/nodes/(30837,16,1858).lua
@@ -0,0 +1,20 @@
+
+if event.type == "punch" and event.name == "erstazi" then
+-- F.delete_train_info("240661")
+
+-- F.slow_train_down("010765")
+-- F.slow_train_down("164132")
+ F.slow_train_down("264353")
+-- F.slow_train_down("403053")
+-- F.slow_train_down("428934")
+-- F.slow_train_down("783543")
+
+ digiline_send("notices", "LP: " .. event.name .. "")
+
+-- F.clear_main_depot_displays()
+-- F.print("Cleared displays at FARCOM")
+ return
+elseif event.type == "punch" and event.name ~= "erstazi" then
+ digiline_send("security", "FARCOM SECURITY\nBLAME: " .. event.name .. "")
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(30839,16,1858).lua b/far/nodes/(30839,16,1858).lua
new file mode 100644
index 0000000..4007a2a
--- /dev/null
+++ b/far/nodes/(30839,16,1858).lua
@@ -0,0 +1,20 @@
+
+if event.type == "punch" and event.name == "erstazi" then
+-- F.delete_train_info("240661")
+
+-- F.slow_train_down("010765")
+ F.slow_train_down("164132")
+-- F.slow_train_down("264353")
+-- F.slow_train_down("403053")
+-- F.slow_train_down("428934")
+-- F.slow_train_down("783543")
+
+ digiline_send("notices", "LP: " .. event.name .. "")
+
+-- F.clear_main_depot_displays()
+-- F.print("Cleared displays at FARCOM")
+ return
+elseif event.type == "punch" and event.name ~= "erstazi" then
+ digiline_send("security", "FARCOM SECURITY\nBLAME: " .. event.name .. "")
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(30841,16,1858).lua b/far/nodes/(30841,16,1858).lua
new file mode 100644
index 0000000..7028e19
--- /dev/null
+++ b/far/nodes/(30841,16,1858).lua
@@ -0,0 +1,20 @@
+
+if event.type == "punch" and event.name == "erstazi" then
+-- F.delete_train_info("240661")
+
+ F.slow_train_down("010765")
+-- F.slow_train_down("164132")
+-- F.slow_train_down("264353")
+-- F.slow_train_down("403053")
+-- F.slow_train_down("428934")
+-- F.slow_train_down("783543")
+
+ digiline_send("notices", "LP: " .. event.name .. "")
+
+-- F.clear_main_depot_displays()
+-- F.print("Cleared displays at FARCOM")
+ return
+elseif event.type == "punch" and event.name ~= "erstazi" then
+ digiline_send("security", "FARCOM SECURITY\nBLAME: " .. event.name .. "")
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(30863,15,1807).lua b/far/nodes/(30863,15,1807).lua
new file mode 100644
index 0000000..ce3a9c4
--- /dev/null
+++ b/far/nodes/(30863,15,1807).lua
@@ -0,0 +1,8 @@
+-- far_luaatctrack_spot_check_01.lua
+
+local show_print = false
+if event.train then
+ local posTable = POS(30863,15,1807)
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(3847,10,1715).lua b/far/nodes/(3847,10,1715).lua
new file mode 100644
index 0000000..274d03f
--- /dev/null
+++ b/far/nodes/(3847,10,1715).lua
@@ -0,0 +1,7 @@
+-- far_luaatctrack_spot_check_01.lua
+
+if event.train then
+ local posTable = POS( 3847,10,1715 )
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(4586,7,2162).lua b/far/nodes/(4586,7,2162).lua
new file mode 100644
index 0000000..25dcde7
--- /dev/null
+++ b/far/nodes/(4586,7,2162).lua
@@ -0,0 +1,8 @@
+-- far_luaatctrack_spot_check_01.lua
+
+local show_print = false
+if event.train then
+ local posTable = POS(4586,7,2162)
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(4614,7,2137).lua b/far/nodes/(4614,7,2137).lua
new file mode 100644
index 0000000..ea184ff
--- /dev/null
+++ b/far/nodes/(4614,7,2137).lua
@@ -0,0 +1,8 @@
+-- far_luaatctrack_spot_check_01.lua
+
+local show_print = false
+if event.train then
+ local posTable = POS(4614,7,2137)
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(4831,12,2223).lua b/far/nodes/(4831,12,2223).lua
new file mode 100644
index 0000000..163d6b7
--- /dev/null
+++ b/far/nodes/(4831,12,2223).lua
@@ -0,0 +1,8 @@
+-- far_luaatctrack_spot_check_01.lua
+
+local show_print = false
+if event.train then
+ local posTable = POS(4831,12,2223)
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(4835,7,2210).lua b/far/nodes/(4835,7,2210).lua
new file mode 100644
index 0000000..d11d3f7
--- /dev/null
+++ b/far/nodes/(4835,7,2210).lua
@@ -0,0 +1,8 @@
+-- far_luaatctrack_spot_check_01.lua
+
+local show_print = false
+if event.train then
+ local posTable = POS(4835,7,2210)
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(5856,21,2315).lua b/far/nodes/(5856,21,2315).lua
new file mode 100644
index 0000000..60a9817
--- /dev/null
+++ b/far/nodes/(5856,21,2315).lua
@@ -0,0 +1,8 @@
+-- far_luaatctrack_spot_check_01.lua
+
+local show_print = false
+if event.train then
+ local posTable = POS(5856,21,2315)
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(5857,21,2308).lua b/far/nodes/(5857,21,2308).lua
new file mode 100644
index 0000000..c7ec3fa
--- /dev/null
+++ b/far/nodes/(5857,21,2308).lua
@@ -0,0 +1,8 @@
+-- far_luaatctrack_spot_check_01.lua
+
+local show_print = false
+if event.train then
+ local posTable = POS(5857,21,2308)
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(6173,24,2309).lua b/far/nodes/(6173,24,2309).lua
new file mode 100644
index 0000000..e9c58b6
--- /dev/null
+++ b/far/nodes/(6173,24,2309).lua
@@ -0,0 +1,8 @@
+-- far_luaatctrack_spot_check_01.lua
+
+local show_print = false
+if event.train then
+ local posTable = POS(6173,25,2309)
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(6173,24,2314).lua b/far/nodes/(6173,24,2314).lua
new file mode 100644
index 0000000..2c43ca9
--- /dev/null
+++ b/far/nodes/(6173,24,2314).lua
@@ -0,0 +1,8 @@
+-- far_luaatctrack_spot_check_01.lua
+
+local show_print = false
+if event.train then
+ local posTable = POS(6173,25,2314)
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(7321,8,1987).lua b/far/nodes/(7321,8,1987).lua
new file mode 100644
index 0000000..f373ca9
--- /dev/null
+++ b/far/nodes/(7321,8,1987).lua
@@ -0,0 +1,8 @@
+-- far_luaatctrack_spot_check_01.lua
+
+local show_print = false
+if event.train then
+ local posTable = POS(7321,8,1987)
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(7321,8,1991).lua b/far/nodes/(7321,8,1991).lua
new file mode 100644
index 0000000..02b2115
--- /dev/null
+++ b/far/nodes/(7321,8,1991).lua
@@ -0,0 +1,8 @@
+-- far_luaatctrack_spot_check_01.lua
+
+local show_print = false
+if event.train then
+ local posTable = POS(7321,8,1991)
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(7795,11,1987).lua b/far/nodes/(7795,11,1987).lua
new file mode 100644
index 0000000..28aa696
--- /dev/null
+++ b/far/nodes/(7795,11,1987).lua
@@ -0,0 +1,8 @@
+-- far_luaatctrack_spot_check_01.lua
+
+local show_print = false
+if event.train then
+ local posTable = POS( 7795,11,1987 )
+ F.save_train(posTable)
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(8242,6,2060).lua b/far/nodes/(8242,6,2060).lua
new file mode 100644
index 0000000..d1636fa
--- /dev/null
+++ b/far/nodes/(8242,6,2060).lua
@@ -0,0 +1,8 @@
+-- far_luaatctrack_spot_check_01.lua
+
+local show_print = false
+if event.train then
+ local posTable = POS( 8242,6,2060 )
+ F.save_train(posTable)
+ return
+end \ No newline at end of file