summaryrefslogtreecommitdiff
path: root/far/nodes
diff options
context:
space:
mode:
Diffstat (limited to 'far/nodes')
-rw-r--r--far/nodes/(30785,15,1711).lua2
-rw-r--r--far/nodes/(30836,16,1863).lua13
-rw-r--r--far/nodes/(30848,15,1852).lua2
-rw-r--r--far/nodes/(4725,11,2214).lua8
4 files changed, 23 insertions, 2 deletions
diff --git a/far/nodes/(30785,15,1711).lua b/far/nodes/(30785,15,1711).lua
index 3097ac1..668b0c7 100644
--- a/far/nodes/(30785,15,1711).lua
+++ b/far/nodes/(30785,15,1711).lua
@@ -17,7 +17,7 @@ if event.type == "train" then
proposed_route_name = "Far East End (Platform " .. l .. ")"
if can_set_route(signal_pos, proposed_route_name) then
set_route(signal_pos, proposed_route_name)
- F.print("Train ID " .. atc_id .. " going on " .. proposed_route_name)
+ -- F.print("Train ID " .. atc_id .. " going on " .. proposed_route_name)
atc_send("SM")
end
end
diff --git a/far/nodes/(30836,16,1863).lua b/far/nodes/(30836,16,1863).lua
new file mode 100644
index 0000000..d478fb1
--- /dev/null
+++ b/far/nodes/(30836,16,1863).lua
@@ -0,0 +1,13 @@
+
+if event.type == "punch" then
+-- F.delete_train_info("240661")
+
+-- F.slow_train_down("010765")
+-- F.slow_train_down("264353")
+-- F.slow_train_down("403053")
+-- F.slow_train_down("428934")
+
+ F.clear_main_depot_displays()
+ F.print("Cleared displays at FARCOM")
+ return
+end \ No newline at end of file
diff --git a/far/nodes/(30848,15,1852).lua b/far/nodes/(30848,15,1852).lua
index e55e17b..0f5348e 100644
--- a/far/nodes/(30848,15,1852).lua
+++ b/far/nodes/(30848,15,1852).lua
@@ -9,7 +9,7 @@ end
if event.type == "ext_int" then
if event.message == "display" then
- interrupt(30,"update_display")
+ interrupt(3,"update_display")
end
return
end
diff --git a/far/nodes/(4725,11,2214).lua b/far/nodes/(4725,11,2214).lua
new file mode 100644
index 0000000..ca726c1
--- /dev/null
+++ b/far/nodes/(4725,11,2214).lua
@@ -0,0 +1,8 @@
+-- far_luaatctrack_spot_check_01.lua
+
+local show_print = false
+if event.train then
+ local posTable = POS(4725,11,2214)
+ F.save_train(posTable)
+ return
+end \ No newline at end of file