From f18d035e68c1cfb54a26fbd0058a4b88331a1e23 Mon Sep 17 00:00:00 2001 From: autocommitter Date: Mon, 22 Apr 2024 15:00:41 +0200 Subject: State at 2023-07-27 --- far/nodes/(30785,15,1711).lua | 2 +- far/nodes/(30836,16,1863).lua | 13 +++++++++++++ far/nodes/(30848,15,1852).lua | 2 +- far/nodes/(4725,11,2214).lua | 8 ++++++++ 4 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 far/nodes/(30836,16,1863).lua create mode 100644 far/nodes/(4725,11,2214).lua (limited to 'far/nodes') 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 -- cgit v1.2.3