diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-12-30 00:00:02 +0100 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-12-30 00:00:02 +0100 |
commit | 7a08badf1ea7c9b629f4d16493c43e99ac51ea95 (patch) | |
tree | 224999e1b450a5382603f4cedfedaab964a994ab | |
parent | 2cf17c94b1b6d6131bbabdee27bf2258932cf023 (diff) | |
download | luaatc_envs-7a08badf1ea7c9b629f4d16493c43e99ac51ea95.tar.gz luaatc_envs-7a08badf1ea7c9b629f4d16493c43e99ac51ea95.tar.bz2 luaatc_envs-7a08badf1ea7c9b629f4d16493c43e99ac51ea95.zip |
State at 2024-12-30
147 files changed, 201 insertions, 828 deletions
diff --git a/far/init_code.lua b/far/init_code.lua index 55f685c..e6fbcb5 100644 --- a/far/init_code.lua +++ b/far/init_code.lua @@ -56,21 +56,28 @@ F.send_route = function(passive_name, route, show_print) return return_value end -F.save_train = function(pos) - if not atc_id then return end - if S.trains then - if F.isempty(pos) then - pos_string = "" - else - pos_string = pos["x"] .. "," .. pos["y"] .. "," .. pos["z"] - end - if F.has_rc("FAREAST", F.get_rc_safe()) then - S.trains[atc_id] = { ["id"] = atc_id, ["rc"] = F.get_rc_safe(), ["ln"] = F.get_line_safe(), ["cars_count"] = F.get_train_length_safe(), ["pos"] = pos_string } - -- F.print("Train ID: " .. S.trains[atc_id]["id"] .. " at " .. S.trains[atc_id]["pos"]) - -- remote_track = POS(30919,13,1812) - -- interrupt_pos(remote_track, "display") +F.save_train = function(pos, direction) + if event.train then + if not atc_id then return end + if S.trains then + if F.isempty(pos) then + pos_string = "" + else + pos_string = pos["x"] .. "," .. pos["y"] .. "," .. pos["z"] + end + if F.has_rc("FAREAST", F.get_rc_safe()) then + if direction == nil or direction == "" then + S.trains[atc_id] = { ["id"] = atc_id, ["rc"] = F.get_rc_safe(), ["ln"] = F.get_line_safe(), ["cars_count"] = F.get_train_length_safe(), ["pos"] = pos_string , ["direction"] = nil } + else + S.trains[atc_id] = { ["id"] = atc_id, ["rc"] = F.get_rc_safe(), ["ln"] = F.get_line_safe(), ["cars_count"] = F.get_train_length_safe(), ["pos"] = pos_string , ["direction"] = direction } + end + -- F.print("Train ID: " .. S.trains[atc_id]["id"] .. " at " .. S.trains[atc_id]["pos"]) + -- remote_track = POS(30919,13,1812) + -- interrupt_pos(remote_track, "display") + end end end + return end F.get_real_split_count = function(train_length_count, split_count) @@ -114,6 +121,7 @@ F.list_trains = function(print_info) F.clear_main_depot_displays() number_of_displays = number_of_displays + 1 count_keys = 0 + direction_display = "" trains_table = {} for k in pairs(S.trains) do table.insert(trains_table, k) @@ -167,13 +175,18 @@ F.list_trains = function(print_info) rc_display = rc_display .. "| RC:" .. rc_list_unknown end end + if v["direction"] == nil or v["direction"] == "" then + direction_display = " D: ??" + else + direction_display = " D: " .. v["direction"] + end if v["cars_count"] == nil or v["cars_count"] == "" then - cars_count_display = " Len: 0" + cars_count_display = " L: 0" else cars_count = tonumber(v["cars_count"]) - cars_count_display = " Len: " .. cars_count + cars_count_display = " L: " .. cars_count end - message = " ID: " .. v["id"] .. cars_count_display .. rc_display .. line_number .. pos_string + message = " ID: " .. v["id"] .. cars_count_display .. direction_display .. rc_display .. line_number .. pos_string if x > 0 then digiline_send("train_display" .. x, message) end if print_info then F.print(x .. ": " .. message) diff --git a/far/nodes/(10018,5,1360).lua b/far/nodes/(10018,5,1360).lua index 91d86ab..669928e 100644 --- a/far/nodes/(10018,5,1360).lua +++ b/far/nodes/(10018,5,1360).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 10018,5,1360 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 10018,5,1360 ), "west") diff --git a/far/nodes/(10022,5,1355).lua b/far/nodes/(10022,5,1355).lua index 740a8eb..39d0cf7 100644 --- a/far/nodes/(10022,5,1355).lua +++ b/far/nodes/(10022,5,1355).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 10022,5,1355 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 10022,5,1355 ), "east") diff --git a/far/nodes/(10438,13,1604).lua b/far/nodes/(10438,13,1604).lua index 83c14a4..3174135 100644 --- a/far/nodes/(10438,13,1604).lua +++ b/far/nodes/(10438,13,1604).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 10438,13,1604 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 10438,13,1604 ), "east") diff --git a/far/nodes/(10438,13,1610).lua b/far/nodes/(10438,13,1610).lua index 495e96a..1f29a27 100644 --- a/far/nodes/(10438,13,1610).lua +++ b/far/nodes/(10438,13,1610).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 10438,13,1610 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 10438,13,1610 ), "west") diff --git a/far/nodes/(10728,46,1225).lua b/far/nodes/(10728,46,1225).lua index d66a544..6c35d7e 100644 --- a/far/nodes/(10728,46,1225).lua +++ b/far/nodes/(10728,46,1225).lua @@ -1,8 +1,3 @@ -- 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 +F.save_train(POS(10728,46,1225), "east") diff --git a/far/nodes/(10731,46,1251).lua b/far/nodes/(10731,46,1251).lua index a5de8b7..79b390d 100644 --- a/far/nodes/(10731,46,1251).lua +++ b/far/nodes/(10731,46,1251).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(10731,46,1251) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(10731,46,1251), "west") diff --git a/far/nodes/(11242,4,932).lua b/far/nodes/(11242,4,932).lua index a876224..3becaa4 100644 --- a/far/nodes/(11242,4,932).lua +++ b/far/nodes/(11242,4,932).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 11242,4,932 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 11242,4,932 ), "east") diff --git a/far/nodes/(11256,4,928).lua b/far/nodes/(11256,4,928).lua index 2dad637..d475b87 100644 --- a/far/nodes/(11256,4,928).lua +++ b/far/nodes/(11256,4,928).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 11256,4,928 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 11256,4,928 ), "west") diff --git a/far/nodes/(11743,15,756).lua b/far/nodes/(11743,15,756).lua index 25b165c..1052d4a 100644 --- a/far/nodes/(11743,15,756).lua +++ b/far/nodes/(11743,15,756).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 11743,15,756 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 11743,15,756 ), "east") diff --git a/far/nodes/(11743,15,762).lua b/far/nodes/(11743,15,762).lua index fd92811..29940e9 100644 --- a/far/nodes/(11743,15,762).lua +++ b/far/nodes/(11743,15,762).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 11743,15,762 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 11743,15,762 ), "west") diff --git a/far/nodes/(12285,28,730).lua b/far/nodes/(12285,28,730).lua index 7c45261..893a3fe 100644 --- a/far/nodes/(12285,28,730).lua +++ b/far/nodes/(12285,28,730).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 12285,28,730 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 12285,28,730 ), "east") diff --git a/far/nodes/(12288,28,733).lua b/far/nodes/(12288,28,733).lua index ace9308..188b215 100644 --- a/far/nodes/(12288,28,733).lua +++ b/far/nodes/(12288,28,733).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 12288,28,733 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 12288,28,733 ), "west") diff --git a/far/nodes/(12829,10,676).lua b/far/nodes/(12829,10,676).lua index 9fb5699..765c806 100644 --- a/far/nodes/(12829,10,676).lua +++ b/far/nodes/(12829,10,676).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 12829,10,676 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 12829,10,676 ), "east") diff --git a/far/nodes/(12829,10,680).lua b/far/nodes/(12829,10,680).lua index 16f0730..24fdad6 100644 --- a/far/nodes/(12829,10,680).lua +++ b/far/nodes/(12829,10,680).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 12829,10,680 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 12829,10,680 ), "west") diff --git a/far/nodes/(13448,13,717).lua b/far/nodes/(13448,13,717).lua index 66f6352..1504037 100644 --- a/far/nodes/(13448,13,717).lua +++ b/far/nodes/(13448,13,717).lua @@ -1,8 +1,3 @@ -- 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 +F.save_train(POS(13448,13,717), "west") diff --git a/far/nodes/(13481,13,713).lua b/far/nodes/(13481,13,713).lua index 4d8275c..7a55833 100644 --- a/far/nodes/(13481,13,713).lua +++ b/far/nodes/(13481,13,713).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(13481,13,713) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(13481,13,713), "east") diff --git a/far/nodes/(13843,20,672).lua b/far/nodes/(13843,20,672).lua index 47de8b0..07ef7ef 100644 --- a/far/nodes/(13843,20,672).lua +++ b/far/nodes/(13843,20,672).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 13843,20,672 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 13843,20,672 ), "east") diff --git a/far/nodes/(13843,20,682).lua b/far/nodes/(13843,20,682).lua index 99facb5..9d5894a 100644 --- a/far/nodes/(13843,20,682).lua +++ b/far/nodes/(13843,20,682).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 13843,20,682 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 13843,20,682 ), "west") diff --git a/far/nodes/(14396,20,712).lua b/far/nodes/(14396,20,712).lua index 31245a3..0a3e703 100644 --- a/far/nodes/(14396,20,712).lua +++ b/far/nodes/(14396,20,712).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 14396,20,712 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 14396,20,712 ), "west") diff --git a/far/nodes/(14398,20,708).lua b/far/nodes/(14398,20,708).lua index 4c62a82..3995fb8 100644 --- a/far/nodes/(14398,20,708).lua +++ b/far/nodes/(14398,20,708).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 14398,20,708 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 14398,20,708 ), "east") diff --git a/far/nodes/(14934,6,731).lua b/far/nodes/(14934,6,731).lua index 5e81009..9834f95 100644 --- a/far/nodes/(14934,6,731).lua +++ b/far/nodes/(14934,6,731).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 14934,6,731 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 14934,6,731 ), "east") diff --git a/far/nodes/(14934,6,736).lua b/far/nodes/(14934,6,736).lua index 4de8fe6..bbf45fa 100644 --- a/far/nodes/(14934,6,736).lua +++ b/far/nodes/(14934,6,736).lua @@ -1,8 +1,3 @@ -- 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 +F.save_train(POS( 14934,6,736 ), "west") diff --git a/far/nodes/(15454,14,1055).lua b/far/nodes/(15454,14,1055).lua index 989dfc1..6382c79 100644 --- a/far/nodes/(15454,14,1055).lua +++ b/far/nodes/(15454,14,1055).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(15454,14,1055) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(15454,14,1055), "west") diff --git a/far/nodes/(15472,14,1131).lua b/far/nodes/(15472,14,1131).lua index f45c7b6..3390fa6 100644 --- a/far/nodes/(15472,14,1131).lua +++ b/far/nodes/(15472,14,1131).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(15472,14,1131) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(15472,14,1131), "east") diff --git a/far/nodes/(15907,25,945).lua b/far/nodes/(15907,25,945).lua index 9a4d746..a8c8762 100644 --- a/far/nodes/(15907,25,945).lua +++ b/far/nodes/(15907,25,945).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 15907,25,945 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 15907,25,945 ), "east") diff --git a/far/nodes/(15907,25,950).lua b/far/nodes/(15907,25,950).lua index 0e37631..6a6520e 100644 --- a/far/nodes/(15907,25,950).lua +++ b/far/nodes/(15907,25,950).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 15907,25,950 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 15907,25,950 ), "west") diff --git a/far/nodes/(16806,10,696).lua b/far/nodes/(16806,10,696).lua index f961531..a6be584 100644 --- a/far/nodes/(16806,10,696).lua +++ b/far/nodes/(16806,10,696).lua @@ -1,8 +1,3 @@ -- 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 +F.save_train(POS( 16806,10,696 ), "east") diff --git a/far/nodes/(16806,10,700).lua b/far/nodes/(16806,10,700).lua index 2e458fd..a4b3122 100644 --- a/far/nodes/(16806,10,700).lua +++ b/far/nodes/(16806,10,700).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 16806,10,700 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 16806,10,700 ), "west") diff --git a/far/nodes/(1755,8,1570).lua b/far/nodes/(1755,8,1570).lua index 5c9fe05..3b21dbf 100644 --- a/far/nodes/(1755,8,1570).lua +++ b/far/nodes/(1755,8,1570).lua @@ -5,8 +5,5 @@ POS(1755,8,1570) ]] local show_print = false -if event.train then - local posTable = POS(1755,8,1570) - F.save_train(posTable) - return -end
\ No newline at end of file + +F.save_train(POS(1755,8,1570), "west") diff --git a/far/nodes/(17862,14,599).lua b/far/nodes/(17862,14,599).lua index b43042b..e6df89c 100644 --- a/far/nodes/(17862,14,599).lua +++ b/far/nodes/(17862,14,599).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 17862,14,599 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 17862,14,599 ), "east") diff --git a/far/nodes/(17862,14,602).lua b/far/nodes/(17862,14,602).lua index 4e030e5..3dd5ac7 100644 --- a/far/nodes/(17862,14,602).lua +++ b/far/nodes/(17862,14,602).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 17862,14,602 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 17862,14,602 ), "west") diff --git a/far/nodes/(17950,25,599).lua b/far/nodes/(17950,25,599).lua index 16ac692..cddd24d 100644 --- a/far/nodes/(17950,25,599).lua +++ b/far/nodes/(17950,25,599).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 17950,25,599 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 17950,25,599 ), "east") diff --git a/far/nodes/(17950,25,602).lua b/far/nodes/(17950,25,602).lua index 85cb8b4..cca8ffc 100644 --- a/far/nodes/(17950,25,602).lua +++ b/far/nodes/(17950,25,602).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 17950,25,602 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 17950,25,602 ), "west") diff --git a/far/nodes/(18288,36,607).lua b/far/nodes/(18288,36,607).lua index de4f9c8..df6d078 100644 --- a/far/nodes/(18288,36,607).lua +++ b/far/nodes/(18288,36,607).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(18288,36,607) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(18288,36,607), "west") diff --git a/far/nodes/(1829,8,1548).lua b/far/nodes/(1829,8,1548).lua index 942c05a..984f24c 100644 --- a/far/nodes/(1829,8,1548).lua +++ b/far/nodes/(1829,8,1548).lua @@ -1,8 +1,5 @@ -- far_luaatctrack_spot_check_01.lua local show_print = false -if event.train then - local posTable = POS( 1829,8,1548 ) - F.save_train(posTable) - return -end
\ No newline at end of file + +F.save_train(POS( 1829,8,1548 ), "east")
\ No newline at end of file diff --git a/far/nodes/(18320,36,602).lua b/far/nodes/(18320,36,602).lua index cede5c7..a5be393 100644 --- a/far/nodes/(18320,36,602).lua +++ b/far/nodes/(18320,36,602).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(18320,36,602) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(18320,36,602), "east") diff --git a/far/nodes/(1860,7,1570).lua b/far/nodes/(1860,7,1570).lua deleted file mode 100644 index a3f7a71..0000000 --- a/far/nodes/(1860,7,1570).lua +++ /dev/null @@ -1,8 +0,0 @@ --- far_luaatctrack_spot_check_01.lua - -local show_print = false -if event.train then - local posTable = POS( 1860,7,1570 ) - F.save_train(posTable) - return -end
\ No newline at end of file diff --git a/far/nodes/(1860,8,1570).lua b/far/nodes/(1860,8,1570).lua new file mode 100644 index 0000000..2850e88 --- /dev/null +++ b/far/nodes/(1860,8,1570).lua @@ -0,0 +1,4 @@ +-- far_luaatctrack_spot_check_01.lua + +local show_print = false +F.save_train(POS( 1860,8,1570 ), "west") diff --git a/far/nodes/(18971,14,854).lua b/far/nodes/(18971,14,854).lua index 22e8cbb..76e1f7e 100644 --- a/far/nodes/(18971,14,854).lua +++ b/far/nodes/(18971,14,854).lua @@ -1,8 +1,3 @@ -- 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 +F.save_train(POS( 18971,14,854 ), "west") diff --git a/far/nodes/(18974,14,851).lua b/far/nodes/(18974,14,851).lua index d1f1881..9f8ddb3 100644 --- a/far/nodes/(18974,14,851).lua +++ b/far/nodes/(18974,14,851).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 18974,14,851 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 18974,14,851 ), "east") diff --git a/far/nodes/(1957,9,1535).lua b/far/nodes/(1957,9,1535).lua index 55b77ec..c5742ed 100644 --- a/far/nodes/(1957,9,1535).lua +++ b/far/nodes/(1957,9,1535).lua @@ -1,8 +1,5 @@ -- far_luaatctrack_spot_check_01.lua local show_print = false -if event.train then - local posTable = POS( 1957,9,1535 ) - F.save_train(posTable) - return -end
\ No newline at end of file + +F.save_train(POS( 1957,9,1535 ), "east")
\ No newline at end of file diff --git a/far/nodes/(1963,9,1535).lua b/far/nodes/(1963,9,1535).lua index 7accc86..09150cb 100644 --- a/far/nodes/(1963,9,1535).lua +++ b/far/nodes/(1963,9,1535).lua @@ -1,8 +1,5 @@ -- far_luaatctrack_spot_check_01.lua local show_print = false -if event.train then - local posTable = POS( 1963,9,1535 ) - F.save_train(posTable) - return -end
\ No newline at end of file + +F.save_train(POS( 1963,9,1535 ), "west") diff --git a/far/nodes/(19710,8,689).lua b/far/nodes/(19710,8,689).lua index 0b4c30a..0b52efb 100644 --- a/far/nodes/(19710,8,689).lua +++ b/far/nodes/(19710,8,689).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(19710,8,689) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(19710,8,689), "west") diff --git a/far/nodes/(19741,8,684).lua b/far/nodes/(19741,8,684).lua index 0eb5cfc..f0f99a3 100644 --- a/far/nodes/(19741,8,684).lua +++ b/far/nodes/(19741,8,684).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(19741,8,684) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(19741,8,684), "east") diff --git a/far/nodes/(20279,14,683).lua b/far/nodes/(20279,14,683).lua index 27e74d1..e43d146 100644 --- a/far/nodes/(20279,14,683).lua +++ b/far/nodes/(20279,14,683).lua @@ -1,8 +1,4 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 20279,14,683 ) - F.save_train(posTable) - return -end
\ No newline at end of file + +F.save_train(POS( 20279,14,683 ), "east") diff --git a/far/nodes/(20280,14,687).lua b/far/nodes/(20280,14,687).lua index 89ba70e..6f811b0 100644 --- a/far/nodes/(20280,14,687).lua +++ b/far/nodes/(20280,14,687).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 20280,14,687 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 20280,14,687 ), "west") diff --git a/far/nodes/(2049,9,1480).lua b/far/nodes/(2049,9,1480).lua index 08e6c2a..95b9702 100644 --- a/far/nodes/(2049,9,1480).lua +++ b/far/nodes/(2049,9,1480).lua @@ -1,8 +1,5 @@ -- far_luaatctrack_spot_check_01.lua local show_print = false -if event.train then - local posTable = POS(2049,9,1480) - F.save_train(posTable) - return -end
\ No newline at end of file + +F.save_train(POS(2049,9,1480), "west") diff --git a/far/nodes/(2066,9,1459).lua b/far/nodes/(2066,9,1459).lua index d3d6fe7..ba7bc9a 100644 --- a/far/nodes/(2066,9,1459).lua +++ b/far/nodes/(2066,9,1459).lua @@ -1,8 +1,5 @@ -- far_luaatctrack_spot_check_01.lua local show_print = false -if event.train then - local posTable = POS(2066,9,1459) - F.save_train(posTable) - return -end
\ No newline at end of file + +F.save_train(POS(2066,9,1459), "east") diff --git a/far/nodes/(21433,9,957).lua b/far/nodes/(21433,9,957).lua index 5141cff..e08ab8b 100644 --- a/far/nodes/(21433,9,957).lua +++ b/far/nodes/(21433,9,957).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(21433,9,957) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(21433,9,957), "west") diff --git a/far/nodes/(21445,9,984).lua b/far/nodes/(21445,9,984).lua index 4350569..50cec1a 100644 --- a/far/nodes/(21445,9,984).lua +++ b/far/nodes/(21445,9,984).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(21445,9,984) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(21445,9,984), "east") diff --git a/far/nodes/(21823,25,1293).lua b/far/nodes/(21823,25,1293).lua index 491b28a..fa2aa30 100644 --- a/far/nodes/(21823,25,1293).lua +++ b/far/nodes/(21823,25,1293).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 21823,25,1293 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 21823,25,1293 ), "west") diff --git a/far/nodes/(21825,25,1289).lua b/far/nodes/(21825,25,1289).lua index ebc9c7d..78a6586 100644 --- a/far/nodes/(21825,25,1289).lua +++ b/far/nodes/(21825,25,1289).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 21825,25,1289 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 21825,25,1289 ), "east") diff --git a/far/nodes/(22976,16,1392).lua b/far/nodes/(22976,16,1392).lua index a457581..e0c805e 100644 --- a/far/nodes/(22976,16,1392).lua +++ b/far/nodes/(22976,16,1392).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 22976,16,1392 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 22976,16,1392 ), "east") diff --git a/far/nodes/(22976,16,1396).lua b/far/nodes/(22976,16,1396).lua index 29d6638..6095c33 100644 --- a/far/nodes/(22976,16,1396).lua +++ b/far/nodes/(22976,16,1396).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 22976,16,1396 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 22976,16,1396 ), "west") diff --git a/far/nodes/(23191,15,1481).lua b/far/nodes/(23191,15,1481).lua index f9ce8ba..599cfb4 100644 --- a/far/nodes/(23191,15,1481).lua +++ b/far/nodes/(23191,15,1481).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(23191,15,1481) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(23191,15,1481), "west") diff --git a/far/nodes/(23195,15,1512).lua b/far/nodes/(23195,15,1512).lua index e9af33e..cc60a88 100644 --- a/far/nodes/(23195,15,1512).lua +++ b/far/nodes/(23195,15,1512).lua @@ -1,8 +1,7 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(23195,15,1512) - F.save_train(posTable) - return +if atc_arrow == false then + F.save_train(POS(23195,15,1512), "west") +else + F.save_train(POS(23195,15,1512), "east") end
\ No newline at end of file diff --git a/far/nodes/(23199,15,1512).lua b/far/nodes/(23199,15,1512).lua index 569eb68..c2d2bf1 100644 --- a/far/nodes/(23199,15,1512).lua +++ b/far/nodes/(23199,15,1512).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(23199,15,1512) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(23199,15,1512), "east") diff --git a/far/nodes/(23263,7,1701).lua b/far/nodes/(23263,7,1701).lua index 826ae2c..e3b2c5e 100644 --- a/far/nodes/(23263,7,1701).lua +++ b/far/nodes/(23263,7,1701).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 23263,7,1701 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 23263,7,1701 ), "east") diff --git a/far/nodes/(23263,7,1704).lua b/far/nodes/(23263,7,1704).lua index f714792..4dc459f 100644 --- a/far/nodes/(23263,7,1704).lua +++ b/far/nodes/(23263,7,1704).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 23263,7,1704 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 23263,7,1704 ), "west") diff --git a/far/nodes/(23736,12,1706).lua b/far/nodes/(23736,12,1706).lua index d4b4a27..fddfbd0 100644 --- a/far/nodes/(23736,12,1706).lua +++ b/far/nodes/(23736,12,1706).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 23736,12,1706 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 23736,12,1706 ), "east") diff --git a/far/nodes/(23736,12,1710).lua b/far/nodes/(23736,12,1710).lua index 1f4021e..395f178 100644 --- a/far/nodes/(23736,12,1710).lua +++ b/far/nodes/(23736,12,1710).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 23736,12,1710 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 23736,12,1710 ), "west") diff --git a/far/nodes/(24292,24,1570).lua b/far/nodes/(24292,24,1570).lua index 7fb6c8b..5166239 100644 --- a/far/nodes/(24292,24,1570).lua +++ b/far/nodes/(24292,24,1570).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 24292,24,1570 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 24292,24,1570 ), "east") diff --git a/far/nodes/(24295,24,1573).lua b/far/nodes/(24295,24,1573).lua index 14e99ec..35f2881 100644 --- a/far/nodes/(24295,24,1573).lua +++ b/far/nodes/(24295,24,1573).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 24295,24,1573 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 24295,24,1573 ), "west") diff --git a/far/nodes/(25147,24,1460).lua b/far/nodes/(25147,24,1460).lua index ff8823c..34218c8 100644 --- a/far/nodes/(25147,24,1460).lua +++ b/far/nodes/(25147,24,1460).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 25147,24,1460 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 25147,24,1460 ), "west") diff --git a/far/nodes/(25150,24,1457).lua b/far/nodes/(25150,24,1457).lua index f910641..afe5c19 100644 --- a/far/nodes/(25150,24,1457).lua +++ b/far/nodes/(25150,24,1457).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 25150,24,1457 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 25150,24,1457 ), "east") diff --git a/far/nodes/(25670,10,1575).lua b/far/nodes/(25670,10,1575).lua index 30f0da6..4968064 100644 --- a/far/nodes/(25670,10,1575).lua +++ b/far/nodes/(25670,10,1575).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(25670,10,1575) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(25670,10,1575), "west") diff --git a/far/nodes/(25720,10,1519).lua b/far/nodes/(25720,10,1519).lua index f5ddc3c..e542f39 100644 --- a/far/nodes/(25720,10,1519).lua +++ b/far/nodes/(25720,10,1519).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(25720,10,1519) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(25720,10,1519), "east") diff --git a/far/nodes/(26198,24,1421).lua b/far/nodes/(26198,24,1421).lua new file mode 100644 index 0000000..a052ef9 --- /dev/null +++ b/far/nodes/(26198,24,1421).lua @@ -0,0 +1,3 @@ +-- far_luaatctrack_spot_check_01.lua + +F.save_train(POS(26198,24,1421), "west") diff --git a/far/nodes/(26201,24,1417).lua b/far/nodes/(26201,24,1417).lua new file mode 100644 index 0000000..6b23d9e --- /dev/null +++ b/far/nodes/(26201,24,1417).lua @@ -0,0 +1,3 @@ +-- far_luaatctrack_spot_check_01.lua + +F.save_train(POS(26201,24,1417), "east") diff --git a/far/nodes/(26343,30,1503).lua b/far/nodes/(26343,30,1503).lua index 9d4321f..d859796 100644 --- a/far/nodes/(26343,30,1503).lua +++ b/far/nodes/(26343,30,1503).lua @@ -1,8 +1,3 @@ -- 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 +F.save_train(POS( 26343,30,1503 ), "west") diff --git a/far/nodes/(26346,30,1500).lua b/far/nodes/(26346,30,1500).lua index 16e0708..832d48d 100644 --- a/far/nodes/(26346,30,1500).lua +++ b/far/nodes/(26346,30,1500).lua @@ -1,8 +1,3 @@ -- 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 +F.save_train(POS( 26346,30,1500 ), "east")
\ No newline at end of file diff --git a/far/nodes/(26551,30,1691).lua b/far/nodes/(26551,30,1691).lua new file mode 100644 index 0000000..3a8659a --- /dev/null +++ b/far/nodes/(26551,30,1691).lua @@ -0,0 +1 @@ +F.save_train(POS(26551,30,1691), "west")
\ No newline at end of file diff --git a/far/nodes/(26554,30,1687).lua b/far/nodes/(26554,30,1687).lua new file mode 100644 index 0000000..6e0943c --- /dev/null +++ b/far/nodes/(26554,30,1687).lua @@ -0,0 +1 @@ +F.save_train(POS(26554,30,1687), "east")
\ No newline at end of file diff --git a/far/nodes/(2715,8,1423).lua b/far/nodes/(2715,8,1423).lua index a51a5c5..10b8890 100644 --- a/far/nodes/(2715,8,1423).lua +++ b/far/nodes/(2715,8,1423).lua @@ -1,7 +1,4 @@ -- far_luaatctrack_spot_check_01.lua -if event.train then - local posTable = POS( 2715,8,1423 ) - F.save_train(posTable) - return -end
\ No newline at end of file + +F.save_train(POS( 2715,8,1423 ), "east") diff --git a/far/nodes/(2715,8,1427).lua b/far/nodes/(2715,8,1427).lua index 6ec469a..655f7cf 100644 --- a/far/nodes/(2715,8,1427).lua +++ b/far/nodes/(2715,8,1427).lua @@ -1,7 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -if event.train then - local posTable = POS( 2715,8,1427 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 2715,8,1427 ), "west")
\ No newline at end of file diff --git a/far/nodes/(27154,12,1730).lua b/far/nodes/(27154,12,1730).lua index 25b9f95..fa247a3 100644 --- a/far/nodes/(27154,12,1730).lua +++ b/far/nodes/(27154,12,1730).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 27154,12,1730 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 27154,12,1730 ), "west") diff --git a/far/nodes/(27156,12,1727).lua b/far/nodes/(27156,12,1727).lua index ee30401..8be651d 100644 --- a/far/nodes/(27156,12,1727).lua +++ b/far/nodes/(27156,12,1727).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 27156,12,1727 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 27156,12,1727 ), "east") diff --git a/far/nodes/(27668,6,1622).lua b/far/nodes/(27668,6,1622).lua index a5d4ad8..bc06698 100644 --- a/far/nodes/(27668,6,1622).lua +++ b/far/nodes/(27668,6,1622).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 27668,6,1622 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 27668,6,1622 ), "east") diff --git a/far/nodes/(27671,6,1625).lua b/far/nodes/(27671,6,1625).lua index 575737e..3d84426 100644 --- a/far/nodes/(27671,6,1625).lua +++ b/far/nodes/(27671,6,1625).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 27671,6,1625 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 27671,6,1625 ), "west") diff --git a/far/nodes/(28048,8,1612).lua b/far/nodes/(28048,8,1612).lua index 3f12a6c..b8a3cdc 100644 --- a/far/nodes/(28048,8,1612).lua +++ b/far/nodes/(28048,8,1612).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 28048,8,1612 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 28048,8,1612 ), "east")
\ No newline at end of file diff --git a/far/nodes/(28048,8,1616).lua b/far/nodes/(28048,8,1616).lua index aa44767..b5ea048 100644 --- a/far/nodes/(28048,8,1616).lua +++ b/far/nodes/(28048,8,1616).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 28048,8,1616 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 28048,8,1616 ), "west") diff --git a/far/nodes/(2839,14,1562).lua b/far/nodes/(2839,14,1562).lua index 2739288..b533050 100644 --- a/far/nodes/(2839,14,1562).lua +++ b/far/nodes/(2839,14,1562).lua @@ -1,7 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -if event.train then - local posTable = POS( 2839,14,1562 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 2839,14,1562 ), "west")
\ No newline at end of file diff --git a/far/nodes/(2865,14,1575).lua b/far/nodes/(2865,14,1575).lua index 3befff2..ce64f69 100644 --- a/far/nodes/(2865,14,1575).lua +++ b/far/nodes/(2865,14,1575).lua @@ -1,7 +1,4 @@ -- far_luaatctrack_spot_check_01.lua -if event.train then - local posTable = POS( 2865,14,1575 ) - F.save_train(posTable) - return -end
\ No newline at end of file + +F.save_train(POS( 2865,14,1575 ), "east") diff --git a/far/nodes/(28834,24,1382).lua b/far/nodes/(28834,24,1382).lua index b23e5ec..f3f6838 100644 --- a/far/nodes/(28834,24,1382).lua +++ b/far/nodes/(28834,24,1382).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(28834,24,1382) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(28834,24,1382), "west")
\ No newline at end of file diff --git a/far/nodes/(28866,24,1378).lua b/far/nodes/(28866,24,1378).lua index 6c5427b..4171373 100644 --- a/far/nodes/(28866,24,1378).lua +++ b/far/nodes/(28866,24,1378).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(28866,24,1378) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(28866,24,1378), "east") diff --git a/far/nodes/(29459,26,1427).lua b/far/nodes/(29459,26,1427).lua index e915653..1b6f9a1 100644 --- a/far/nodes/(29459,26,1427).lua +++ b/far/nodes/(29459,26,1427).lua @@ -1,8 +1,3 @@ -- 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 +F.save_train(POS( 29459,26,1427 ), "east") diff --git a/far/nodes/(29459,26,1433).lua b/far/nodes/(29459,26,1433).lua index c08dcd5..8473313 100644 --- a/far/nodes/(29459,26,1433).lua +++ b/far/nodes/(29459,26,1433).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 29459,26,1433 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 29459,26,1433 ), "west")
\ No newline at end of file diff --git a/far/nodes/(30147,27,1732).lua b/far/nodes/(30147,27,1732).lua index 883c82a..d388be0 100644 --- a/far/nodes/(30147,27,1732).lua +++ b/far/nodes/(30147,27,1732).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 30147,27,1732 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 30147,27,1732 ), "west")
\ No newline at end of file diff --git a/far/nodes/(30150,27,1729).lua b/far/nodes/(30150,27,1729).lua index df2b3cb..d7c6f95 100644 --- a/far/nodes/(30150,27,1729).lua +++ b/far/nodes/(30150,27,1729).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 30150,27,1729 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 30150,27,1729 ), "east")
\ No newline at end of file diff --git a/far/nodes/(30548,25,1613).lua b/far/nodes/(30548,25,1613).lua index a0ba611..bb411a2 100644 --- a/far/nodes/(30548,25,1613).lua +++ b/far/nodes/(30548,25,1613).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 30548,25,1613 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 30548,25,1613 ), "east")
\ No newline at end of file diff --git a/far/nodes/(30551,25,1616).lua b/far/nodes/(30551,25,1616).lua index e5cf0a6..b20feed 100644 --- a/far/nodes/(30551,25,1616).lua +++ b/far/nodes/(30551,25,1616).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 30551,25,1616 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 30551,25,1616 ), "west")
\ No newline at end of file diff --git a/far/nodes/(30676,20,1636).lua b/far/nodes/(30676,20,1636).lua index 440f1a9..22c8a55 100644 --- a/far/nodes/(30676,20,1636).lua +++ b/far/nodes/(30676,20,1636).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 30676,20,1636 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 30676,20,1636 ), "east")
\ No newline at end of file diff --git a/far/nodes/(30676,20,1641).lua b/far/nodes/(30676,20,1641).lua index dfad573..a3756f5 100644 --- a/far/nodes/(30676,20,1641).lua +++ b/far/nodes/(30676,20,1641).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 30676,20,1641 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 30676,20,1641 ), "west")
\ No newline at end of file diff --git a/far/nodes/(30777,15,1712).lua b/far/nodes/(30777,15,1712).lua index 75e9ff9..3ca78f4 100644 --- a/far/nodes/(30777,15,1712).lua +++ b/far/nodes/(30777,15,1712).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 30777,15,1712 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 30777,15,1712 ), "west")
\ No newline at end of file diff --git a/far/nodes/(30785,15,1711).lua b/far/nodes/(30785,15,1711).lua index 668b0c7..ea86beb 100644 --- a/far/nodes/(30785,15,1711).lua +++ b/far/nodes/(30785,15,1711).lua @@ -2,12 +2,11 @@ local signal_pos = "FareastEndEntrySignal" local last_route = "3" local proposed_route_name = "" -local posTable = POS( 30785,15,1711 ) if event.type == "train" then if not atc_id then return end - F.save_train(posTable) + F.save_train(POS( 30785,15,1711 ), "east") if atc_arrow then atc_send("B0") diff --git a/far/nodes/(30828,16,1858).lua b/far/nodes/(30828,16,1858).lua index 2f245be..9afe08f 100644 --- a/far/nodes/(30828,16,1858).lua +++ b/far/nodes/(30828,16,1858).lua @@ -1,6 +1,6 @@ if event.type == "punch" then --- F.delete_train_info("240661") +-- F.delete_train_info("547028") -- F.slow_train_down("010765") -- F.slow_train_down("164132") diff --git a/far/nodes/(30848,15,1852).lua b/far/nodes/(30848,15,1852).lua index 0f5348e..70a18bb 100644 --- a/far/nodes/(30848,15,1852).lua +++ b/far/nodes/(30848,15,1852).lua @@ -1,8 +1,7 @@ -- far_luaatctrack_spot_check_01.lua if event.type == "train" then - local posTable = POS(30848,15,1852) - F.save_train(posTable) + F.save_train(POS(30848,15,1852), "west") digiline_send("display", "update") return end diff --git a/far/nodes/(30856,15,1814).lua b/far/nodes/(30856,15,1814).lua index 04c43dc..3a560e0 100644 --- a/far/nodes/(30856,15,1814).lua +++ b/far/nodes/(30856,15,1814).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(30856,15,1814) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(30856,15,1814), "east")
\ No newline at end of file diff --git a/far/nodes/(30863,15,1807).lua b/far/nodes/(30863,15,1807).lua index ce3a9c4..9f3ec31 100644 --- a/far/nodes/(30863,15,1807).lua +++ b/far/nodes/(30863,15,1807).lua @@ -1,8 +1,3 @@ -- 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 +F.save_train(POS(30863,15,1807), "east")
\ No newline at end of file diff --git a/far/nodes/(30870,15,1800).lua b/far/nodes/(30870,15,1800).lua index b50e6aa..03de4fa 100644 --- a/far/nodes/(30870,15,1800).lua +++ b/far/nodes/(30870,15,1800).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(30870,15,1800) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(30870,15,1800), "east")
\ No newline at end of file diff --git a/far/nodes/(3161,16,1586).lua b/far/nodes/(3161,16,1586).lua index cbf0ef6..6e2ce09 100644 --- a/far/nodes/(3161,16,1586).lua +++ b/far/nodes/(3161,16,1586).lua @@ -1,7 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -if event.train then - local posTable = POS( 3161,16,1586 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 3161,16,1586 ), "east") diff --git a/far/nodes/(3161,16,1592).lua b/far/nodes/(3161,16,1592).lua index 3962ceb..fad484e 100644 --- a/far/nodes/(3161,16,1592).lua +++ b/far/nodes/(3161,16,1592).lua @@ -1,7 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -if event.train then - local posTable = POS( 3161,16,1592 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 3161,16,1592 ), "west")
\ No newline at end of file diff --git a/far/nodes/(3695,10,1715).lua b/far/nodes/(3695,10,1715).lua index 2eec319..d6885e6 100644 --- a/far/nodes/(3695,10,1715).lua +++ b/far/nodes/(3695,10,1715).lua @@ -1,7 +1,4 @@ -- far_luaatctrack_spot_check_01.lua -if event.train then - local posTable = POS( 3695,10,1715 ) - F.save_train(posTable) - return -end
\ No newline at end of file + +F.save_train(POS( 3695,10,1715 ), "east") diff --git a/far/nodes/(3695,10,1719).lua b/far/nodes/(3695,10,1719).lua index 657a65a..c311cfb 100644 --- a/far/nodes/(3695,10,1719).lua +++ b/far/nodes/(3695,10,1719).lua @@ -1,7 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -if event.train then - local posTable = POS( 3695,10,1719 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 3695,10,1719 ), "west")
\ No newline at end of file diff --git a/far/nodes/(3773,10,1715).lua b/far/nodes/(3773,10,1715).lua index 3c13feb..249125c 100644 --- a/far/nodes/(3773,10,1715).lua +++ b/far/nodes/(3773,10,1715).lua @@ -1,7 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -if event.train then - local posTable = POS( 3773,10,1715 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 3773,10,1715 ), "east")
\ No newline at end of file diff --git a/far/nodes/(3773,10,1719).lua b/far/nodes/(3773,10,1719).lua index 50be201..090896f 100644 --- a/far/nodes/(3773,10,1719).lua +++ b/far/nodes/(3773,10,1719).lua @@ -1,7 +1,4 @@ -- far_luaatctrack_spot_check_01.lua -if event.train then - local posTable = POS( 3773,10,1719 ) - F.save_train(posTable) - return -end
\ No newline at end of file + +F.save_train(POS( 3773,10,1719 ), "west") diff --git a/far/nodes/(3847,10,1715).lua b/far/nodes/(3847,10,1715).lua index 274d03f..155649c 100644 --- a/far/nodes/(3847,10,1715).lua +++ b/far/nodes/(3847,10,1715).lua @@ -1,7 +1,4 @@ -- 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 + +F.save_train(POS( 3847,10,1715 ), "east") diff --git a/far/nodes/(3847,10,1719).lua b/far/nodes/(3847,10,1719).lua index 274d03f..439f83d 100644 --- a/far/nodes/(3847,10,1719).lua +++ b/far/nodes/(3847,10,1719).lua @@ -1,7 +1,4 @@ -- 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 + +F.save_train(POS( 3847,10,1715 ), "west") diff --git a/far/nodes/(3978,8,1756).lua b/far/nodes/(3978,8,1756).lua index e9059d7..4e143ee 100644 --- a/far/nodes/(3978,8,1756).lua +++ b/far/nodes/(3978,8,1756).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(3978,8,1756) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(3978,8,1756), "west") diff --git a/far/nodes/(3983,8,1774).lua b/far/nodes/(3983,8,1774).lua index 41ef5de..d59fa08 100644 --- a/far/nodes/(3983,8,1774).lua +++ b/far/nodes/(3983,8,1774).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(3983,8,1774) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(3983,8,1774), "east")
\ No newline at end of file diff --git a/far/nodes/(4162,16,1866).lua b/far/nodes/(4162,16,1866).lua index 9421349..949aba1 100644 --- a/far/nodes/(4162,16,1866).lua +++ b/far/nodes/(4162,16,1866).lua @@ -1,8 +1,4 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(4162,16,1866) - F.save_train(posTable) - return -end
\ No newline at end of file + +F.save_train(POS(4162,16,1866), "east") diff --git a/far/nodes/(4162,16,1870).lua b/far/nodes/(4162,16,1870).lua index e14be3e..421cbaf 100644 --- a/far/nodes/(4162,16,1870).lua +++ b/far/nodes/(4162,16,1870).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(4162,16,1870) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(4162,16,1870), "west") diff --git a/far/nodes/(4364,-2,1953).lua b/far/nodes/(4364,-2,1953).lua index 3c25727..9f749ec 100644 --- a/far/nodes/(4364,-2,1953).lua +++ b/far/nodes/(4364,-2,1953).lua @@ -1,7 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -if event.train then - local posTable = POS( 4364,-2,1953 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 4364,-2,1953 ), "west") diff --git a/far/nodes/(4368,-2,1952).lua b/far/nodes/(4368,-2,1952).lua index 80d9c20..2fa07fa 100644 --- a/far/nodes/(4368,-2,1952).lua +++ b/far/nodes/(4368,-2,1952).lua @@ -1,7 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -if event.train then - local posTable = POS( 4368,-2,1952 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 4368,-2,1952 ), "east") diff --git a/far/nodes/(4423,-2,2054).lua b/far/nodes/(4423,-2,2054).lua index 46397c1..6a5a3ea 100644 --- a/far/nodes/(4423,-2,2054).lua +++ b/far/nodes/(4423,-2,2054).lua @@ -1,7 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -if event.train then - local posTable = POS( 4423,-2,2054 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 4423,-2,2054 ), "west") diff --git a/far/nodes/(4426,-2,2052).lua b/far/nodes/(4426,-2,2052).lua index a752812..7fc1a96 100644 --- a/far/nodes/(4426,-2,2052).lua +++ b/far/nodes/(4426,-2,2052).lua @@ -1,7 +1,4 @@ -- far_luaatctrack_spot_check_01.lua -if event.train then - local posTable = POS( 4426,-2,2052 ) - F.save_train(posTable) - return -end
\ No newline at end of file + +F.save_train(POS( 4426,-2,2052 ), "east") diff --git a/far/nodes/(4586,7,2162).lua b/far/nodes/(4586,7,2162).lua index 25dcde7..ad7151c 100644 --- a/far/nodes/(4586,7,2162).lua +++ b/far/nodes/(4586,7,2162).lua @@ -1,8 +1,3 @@ -- 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 +F.save_train(POS(4586,7,2162), "west") diff --git a/far/nodes/(4614,7,2137).lua b/far/nodes/(4614,7,2137).lua index ea184ff..2f23135 100644 --- a/far/nodes/(4614,7,2137).lua +++ b/far/nodes/(4614,7,2137).lua @@ -1,8 +1,3 @@ -- 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 +F.save_train(POS(4614,7,2137), "east") diff --git a/far/nodes/(4831,12,2223).lua b/far/nodes/(4831,12,2223).lua index 163d6b7..2102e1b 100644 --- a/far/nodes/(4831,12,2223).lua +++ b/far/nodes/(4831,12,2223).lua @@ -1,8 +1,3 @@ -- 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 +F.save_train(POS(4831,12,2223), "west") diff --git a/far/nodes/(4835,7,2210).lua b/far/nodes/(4835,7,2210).lua index d11d3f7..3683318 100644 --- a/far/nodes/(4835,7,2210).lua +++ b/far/nodes/(4835,7,2210).lua @@ -1,8 +1,3 @@ -- 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 +F.save_train(POS(4835,7,2210), "east") diff --git a/far/nodes/(5326,32,2314).lua b/far/nodes/(5326,32,2314).lua index fe2fee9..55a3267 100644 --- a/far/nodes/(5326,32,2314).lua +++ b/far/nodes/(5326,32,2314).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(5326,32,2314) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(5326,32,2314), "east") diff --git a/far/nodes/(5326,32,2318).lua b/far/nodes/(5326,32,2318).lua index f16da09..a1c4ed8 100644 --- a/far/nodes/(5326,32,2318).lua +++ b/far/nodes/(5326,32,2318).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(5326,32,2318) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(5326,32,2318), "west") diff --git a/far/nodes/(5856,21,2315).lua b/far/nodes/(5856,21,2315).lua index 60a9817..9e62790 100644 --- a/far/nodes/(5856,21,2315).lua +++ b/far/nodes/(5856,21,2315).lua @@ -1,8 +1,3 @@ -- 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 +F.save_train(POS(5856,21,2315), "west") diff --git a/far/nodes/(5857,21,2308).lua b/far/nodes/(5857,21,2308).lua index c7ec3fa..b8d18e4 100644 --- a/far/nodes/(5857,21,2308).lua +++ b/far/nodes/(5857,21,2308).lua @@ -1,8 +1,3 @@ -- 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 +F.save_train(POS(5857,21,2308), "east") diff --git a/far/nodes/(6173,24,2309).lua b/far/nodes/(6173,24,2309).lua index e9c58b6..1407989 100644 --- a/far/nodes/(6173,24,2309).lua +++ b/far/nodes/(6173,24,2309).lua @@ -1,8 +1,4 @@ -- 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 + +F.save_train(POS(6173,25,2309), "east") diff --git a/far/nodes/(6173,24,2314).lua b/far/nodes/(6173,24,2314).lua index 2c43ca9..ef62f70 100644 --- a/far/nodes/(6173,24,2314).lua +++ b/far/nodes/(6173,24,2314).lua @@ -1,8 +1,3 @@ -- 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 +F.save_train(POS(6173,25,2314), "west") diff --git a/far/nodes/(6575,10,2347).lua b/far/nodes/(6575,10,2347).lua index 3f71a74..f9695cc 100644 --- a/far/nodes/(6575,10,2347).lua +++ b/far/nodes/(6575,10,2347).lua @@ -1,8 +1,4 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(6575,10,2347) - F.save_train(posTable) - return -end
\ No newline at end of file + +F.save_train(POS(6575,10,2347), "east") diff --git a/far/nodes/(6575,10,2351).lua b/far/nodes/(6575,10,2351).lua index 9b82d8f..6a035e3 100644 --- a/far/nodes/(6575,10,2351).lua +++ b/far/nodes/(6575,10,2351).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(6575,10,2351) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(6575,10,2351), "west") diff --git a/far/nodes/(6874,23,2199).lua b/far/nodes/(6874,23,2199).lua index a108f44..dc7e197 100644 --- a/far/nodes/(6874,23,2199).lua +++ b/far/nodes/(6874,23,2199).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(6874,23,2199) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(6874,23,2199), "west") diff --git a/far/nodes/(6890,23,2175).lua b/far/nodes/(6890,23,2175).lua index dbdaa99..a0ca339 100644 --- a/far/nodes/(6890,23,2175).lua +++ b/far/nodes/(6890,23,2175).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(6890,23,2175) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(6890,23,2175), "east") diff --git a/far/nodes/(7321,8,1987).lua b/far/nodes/(7321,8,1987).lua index f373ca9..46805a5 100644 --- a/far/nodes/(7321,8,1987).lua +++ b/far/nodes/(7321,8,1987).lua @@ -1,8 +1,3 @@ -- 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 +F.save_train(POS(7321,8,1987), "east") diff --git a/far/nodes/(7321,8,1991).lua b/far/nodes/(7321,8,1991).lua index 02b2115..821b79e 100644 --- a/far/nodes/(7321,8,1991).lua +++ b/far/nodes/(7321,8,1991).lua @@ -1,8 +1,3 @@ -- 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 +F.save_train(POS(7321,8,1991), "west") diff --git a/far/nodes/(7795,11,1987).lua b/far/nodes/(7795,11,1987).lua index 28aa696..87dcbe7 100644 --- a/far/nodes/(7795,11,1987).lua +++ b/far/nodes/(7795,11,1987).lua @@ -1,8 +1,3 @@ -- 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 +F.save_train(POS( 7795,11,1987 ), "east") diff --git a/far/nodes/(7795,11,1991).lua b/far/nodes/(7795,11,1991).lua index 507ad82..98f02e0 100644 --- a/far/nodes/(7795,11,1991).lua +++ b/far/nodes/(7795,11,1991).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 7795,11,1991 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 7795,11,1991 ), "west") diff --git a/far/nodes/(8242,6,2060).lua b/far/nodes/(8242,6,2060).lua index d1636fa..67d306c 100644 --- a/far/nodes/(8242,6,2060).lua +++ b/far/nodes/(8242,6,2060).lua @@ -1,8 +1,3 @@ -- 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 +F.save_train(POS( 8242,6,2060 ), "east") diff --git a/far/nodes/(8242,6,2064).lua b/far/nodes/(8242,6,2064).lua index 8dc8759..16767f7 100644 --- a/far/nodes/(8242,6,2064).lua +++ b/far/nodes/(8242,6,2064).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 8242,6,2064 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 8242,6,2064 ), "west") diff --git a/far/nodes/(8534,11,1789).lua b/far/nodes/(8534,11,1789).lua index 17d7aa0..5dd7543 100644 --- a/far/nodes/(8534,11,1789).lua +++ b/far/nodes/(8534,11,1789).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(8534,11,1789) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(8534,11,1789), "west") diff --git a/far/nodes/(8558,11,1758).lua b/far/nodes/(8558,11,1758).lua index ba5264c..b644cc5 100644 --- a/far/nodes/(8558,11,1758).lua +++ b/far/nodes/(8558,11,1758).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS(8558,11,1758) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS(8558,11,1758), "east") diff --git a/far/nodes/(8630,14,1686).lua b/far/nodes/(8630,14,1686).lua index 50c7834..a42c2dd 100644 --- a/far/nodes/(8630,14,1686).lua +++ b/far/nodes/(8630,14,1686).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 8630,14,1686 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 8630,14,1686 ), "east") diff --git a/far/nodes/(8633,14,1688).lua b/far/nodes/(8633,14,1688).lua index bafbb3a..ecfa641 100644 --- a/far/nodes/(8633,14,1688).lua +++ b/far/nodes/(8633,14,1688).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 8633,14,1688 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 8633,14,1688 ), "west") diff --git a/far/nodes/(8783,18,1304).lua b/far/nodes/(8783,18,1304).lua index 882c2be..bbfe635 100644 --- a/far/nodes/(8783,18,1304).lua +++ b/far/nodes/(8783,18,1304).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 8783,18,1304 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 8783,18,1304 ), "east") diff --git a/far/nodes/(8787,18,1307).lua b/far/nodes/(8787,18,1307).lua index b95567a..640d3fc 100644 --- a/far/nodes/(8787,18,1307).lua +++ b/far/nodes/(8787,18,1307).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 8787,18,1307 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 8787,18,1307 ), "west") diff --git a/far/nodes/(9076,26,963).lua b/far/nodes/(9076,26,963).lua index 70ebbb9..3d1fd1e 100644 --- a/far/nodes/(9076,26,963).lua +++ b/far/nodes/(9076,26,963).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 9076,26,963 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 9076,26,963 ), "east") diff --git a/far/nodes/(9080,26,966).lua b/far/nodes/(9080,26,966).lua index a75f21b..b638786 100644 --- a/far/nodes/(9080,26,966).lua +++ b/far/nodes/(9080,26,966).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 9080,26,966 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 9080,26,966 ), "west") diff --git a/far/nodes/(9603,7,761).lua b/far/nodes/(9603,7,761).lua index 51652bf..0634c56 100644 --- a/far/nodes/(9603,7,761).lua +++ b/far/nodes/(9603,7,761).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 9603,7,761 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 9603,7,761 ), "east") diff --git a/far/nodes/(9603,7,765).lua b/far/nodes/(9603,7,765).lua index 51652bf..d9f3bf2 100644 --- a/far/nodes/(9603,7,765).lua +++ b/far/nodes/(9603,7,765).lua @@ -1,8 +1,3 @@ -- far_luaatctrack_spot_check_01.lua -local show_print = false -if event.train then - local posTable = POS( 9603,7,761 ) - F.save_train(posTable) - return -end
\ No newline at end of file +F.save_train(POS( 9603,7,761 ), "west") |