diff options
Diffstat (limited to 'ers/nodes')
65 files changed, 604 insertions, 1 deletions
diff --git a/ers/nodes/(-3693,11,-3604).lua b/ers/nodes/(-3693,11,-3604).lua new file mode 100644 index 0000000..4aefac3 --- /dev/null +++ b/ers/nodes/(-3693,11,-3604).lua @@ -0,0 +1,14 @@ +-- luaatctrack_spot_check_01.lua +-- POS(-3693,11,-3604) + +local show_print = false +if event.train then + F.save_train() + if atc_arrow then + atc_send("B0 W S1") + else + step_fc() + atc_send("SM") + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(-3693,11,-3608).lua b/ers/nodes/(-3693,11,-3608).lua new file mode 100644 index 0000000..8f05fc4 --- /dev/null +++ b/ers/nodes/(-3693,11,-3608).lua @@ -0,0 +1,14 @@ +-- luaatctrack_spot_check_01.lua +-- POS(-3693,11,-3608) + +local show_print = false +if event.train then + F.save_train() + if atc_arrow then + atc_send("B0 W S1") + else + step_fc() + atc_send("SM") + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1595,-14,1496).lua b/ers/nodes/(1595,-14,1496).lua new file mode 100644 index 0000000..185f4ab --- /dev/null +++ b/ers/nodes/(1595,-14,1496).lua @@ -0,0 +1,13 @@ +-- luaatctrack_spot_check_01.lua +-- POS(1595,-14,1496) + +local show_print = false +if event.train then + F.save_train() + if atc_arrow then + atc_send("S5") + else + atc_send("B5") + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1605,14,1414).lua b/ers/nodes/(1605,14,1414).lua new file mode 100644 index 0000000..74a7f4b --- /dev/null +++ b/ers/nodes/(1605,14,1414).lua @@ -0,0 +1,12 @@ +-- luaatctrack_spot_check_01.lua +-- POS(1605,14,1414) + +local show_print = false +if event.train then + if atc_arrow then + F.save_train() + else + F.save_train() + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1608,14,1414).lua b/ers/nodes/(1608,14,1414).lua new file mode 100644 index 0000000..a45cd5f --- /dev/null +++ b/ers/nodes/(1608,14,1414).lua @@ -0,0 +1,12 @@ +-- luaatctrack_spot_check_01.lua +-- POS(1608,14,1414) + +local show_print = false +if event.train then + if atc_arrow then + F.save_train() + else + F.save_train() + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1636,4,1331).lua b/ers/nodes/(1636,4,1331).lua new file mode 100644 index 0000000..0f54c10 --- /dev/null +++ b/ers/nodes/(1636,4,1331).lua @@ -0,0 +1,12 @@ +-- luaatctrack_spot_check_01.lua +-- POS(1636,4,1331) + +local show_print = false +if event.train then + if atc_arrow then + F.save_train() + else + F.save_train() + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1656,2,1271).lua b/ers/nodes/(1656,2,1271).lua new file mode 100644 index 0000000..73a2466 --- /dev/null +++ b/ers/nodes/(1656,2,1271).lua @@ -0,0 +1,4 @@ +-- luaatctrack_yard_check_01.lua +-- POS(1656,2,1271) + +F.yard_siding("ers_main", "ALTSIDING01", "end_alt")
\ No newline at end of file diff --git a/ers/nodes/(1656,2,1279).lua b/ers/nodes/(1656,2,1279).lua new file mode 100644 index 0000000..9b25287 --- /dev/null +++ b/ers/nodes/(1656,2,1279).lua @@ -0,0 +1,4 @@ +-- luaatctrack_yard_check_01.lua +-- POS(1656,2,1279) + +F.yard_siding("ers_main", "HEADSHUNT02", "end")
\ No newline at end of file diff --git a/ers/nodes/(1656,2,1282).lua b/ers/nodes/(1656,2,1282).lua new file mode 100644 index 0000000..ac46839 --- /dev/null +++ b/ers/nodes/(1656,2,1282).lua @@ -0,0 +1,4 @@ +-- luaatctrack_yard_check_01.lua +-- POS(1656,2,1282) + +F.yard_siding("ers_main", "SIDING06", "end")
\ No newline at end of file diff --git a/ers/nodes/(1656,2,1285).lua b/ers/nodes/(1656,2,1285).lua new file mode 100644 index 0000000..a81ba9f --- /dev/null +++ b/ers/nodes/(1656,2,1285).lua @@ -0,0 +1,4 @@ +-- luaatctrack_yard_check_01.lua +-- POS(1656,2,1285) + +F.yard_siding("ers_main", "SIDING05", "end")
\ No newline at end of file diff --git a/ers/nodes/(1656,2,1294).lua b/ers/nodes/(1656,2,1294).lua new file mode 100644 index 0000000..4a37559 --- /dev/null +++ b/ers/nodes/(1656,2,1294).lua @@ -0,0 +1,4 @@ +-- luaatctrack_yard_check_01.lua +-- POS(1656,2,1294) + +F.yard_siding("ers_main", "SIDING02", "end")
\ No newline at end of file diff --git a/ers/nodes/(1656,2,1297).lua b/ers/nodes/(1656,2,1297).lua new file mode 100644 index 0000000..0bdb8aa --- /dev/null +++ b/ers/nodes/(1656,2,1297).lua @@ -0,0 +1,4 @@ +-- luaatctrack_yard_check_01.lua +-- POS(1656,2,1297) + +F.yard_siding("ers_main", "SIDING01", "end")
\ No newline at end of file diff --git a/ers/nodes/(1656,2,1300).lua b/ers/nodes/(1656,2,1300).lua new file mode 100644 index 0000000..132e944 --- /dev/null +++ b/ers/nodes/(1656,2,1300).lua @@ -0,0 +1,4 @@ +-- luaatctrack_yard_check_01.lua +-- POS(1656,2,1300) + +F.yard_siding("ers_main", "ALTSIDING02", "end")
\ No newline at end of file diff --git a/ers/nodes/(1656,2,1308).lua b/ers/nodes/(1656,2,1308).lua new file mode 100644 index 0000000..dd97581 --- /dev/null +++ b/ers/nodes/(1656,2,1308).lua @@ -0,0 +1,14 @@ +-- luaatctrack_spot_check_01.lua +-- POS(1656,2,1308) + +local show_print = false +if event.train then + if atc_arrow then + atc_send("S5") + F.save_train() + else + atc_send("B3 S3") + F.save_train() + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1657,6,1237).lua b/ers/nodes/(1657,6,1237).lua index 0cb6ef7..747e816 100644 --- a/ers/nodes/(1657,6,1237).lua +++ b/ers/nodes/(1657,6,1237).lua @@ -1,6 +1,6 @@ -- luaoperatingpanel_depot_01.lua local show_print = false if event.type == "punch" then - F.train_info("RESETALL", show_print) +-- F.train_info("RESETALL", show_print) return end
\ No newline at end of file diff --git a/ers/nodes/(1658,1,1238).lua b/ers/nodes/(1658,1,1238).lua new file mode 100644 index 0000000..c9e2edb --- /dev/null +++ b/ers/nodes/(1658,1,1238).lua @@ -0,0 +1,40 @@ +-- luaatctrack_main_depot_01.lua +local show_print = false +if event.train then + if atc_arrow then + local passive_name = "ErsDepotTurnaround" + local track_route = "01 EXTRA" + local can_do_route1 = false + local can_do_route2 = false + local rc_list = F.get_rc_safe() + F.save_train() + F.train_duration("start") + F.train_info(passive_name, show_print) + if F.has_rc("ERSTAZIDEPOTUNLOAD", rc_list) + or F.has_rc("DEPOTUNLOADING", rc_list) + or F.has_rc("FERTRUNNER", rc_list) + then + track_route = "03 UNLOADING TRACK" + elseif F.has_rc("DEPOTLOADING", rc_list) + or F.has_rc("ERSTAZITST", rc_list) + then + track_route = "02 LOADING TRACK" + end + + can_do_route1 = F.send_route(passive_name, track_route, show_print) + if can_do_route1 == false then + track_route = "01 EXTRA" + can_do_route2 = F.send_route(passive_name, track_route, show_print) + if can_do_route2 == false then + track_route = "04 EXTRA" + F.send_route(passive_name, track_route, show_print) + end + end + else + F.save_train() + local passive_name = "ErsDepotTurnaround" + F.train_duration("end") + F.train_info(passive_name, show_print) + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1658,2,1304).lua b/ers/nodes/(1658,2,1304).lua new file mode 100644 index 0000000..f2096ca --- /dev/null +++ b/ers/nodes/(1658,2,1304).lua @@ -0,0 +1,4 @@ +-- luaatctrack_yard_check_01.lua +-- POS(1658,2,1304) + +F.yard_siding("ers_main", "LOAD/UNLOAD TURNAROUND", "end")
\ No newline at end of file diff --git a/ers/nodes/(1658,6,1237).lua b/ers/nodes/(1658,6,1237).lua new file mode 100644 index 0000000..9017b1b --- /dev/null +++ b/ers/nodes/(1658,6,1237).lua @@ -0,0 +1,13 @@ +-- luaoperatingpanel_depot_02.lua +local show_print = false +if event.type == "punch" then + +-- F.delete_train_info("337564") +-- F.delete_train_info("450511") + +-- F.list_trains(12) +-- F.list_trains(32) + F.list_trains(36) +-- F.list_trains(52) + return +end
\ No newline at end of file diff --git a/ers/nodes/(1661,2,1273).lua b/ers/nodes/(1661,2,1273).lua new file mode 100644 index 0000000..3b255c0 --- /dev/null +++ b/ers/nodes/(1661,2,1273).lua @@ -0,0 +1,4 @@ +-- luaatctrack_yard_check_01.lua +-- POS(1661,2,1273) + +F.yard_siding("ers_main", "SHUNT02", "end")
\ No newline at end of file diff --git a/ers/nodes/(1670,-3,1499).lua b/ers/nodes/(1670,-3,1499).lua new file mode 100644 index 0000000..485bce3 --- /dev/null +++ b/ers/nodes/(1670,-3,1499).lua @@ -0,0 +1,12 @@ +-- luaatctrack_spot_check_01.lua +-- POS(1670,-3,1499) + +local show_print = false +if event.train then + if atc_arrow then + F.save_train() + else + F.save_train() + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1670,2,1244).lua b/ers/nodes/(1670,2,1244).lua new file mode 100644 index 0000000..6c6e030 --- /dev/null +++ b/ers/nodes/(1670,2,1244).lua @@ -0,0 +1,14 @@ +-- luaatctrack_spot_check_01.lua +-- POS(1670,2,1244) + +local show_print = false +if event.train then + F.save_train() + if atc_arrow then + atc_send("B0 W R") + -- atc_send("S5") + -- else + -- atc_send("B3 S3") + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1670,2,1247).lua b/ers/nodes/(1670,2,1247).lua new file mode 100644 index 0000000..71325a7 --- /dev/null +++ b/ers/nodes/(1670,2,1247).lua @@ -0,0 +1,14 @@ +-- luaatctrack_spot_check_01.lua +-- POS(1670,2,1247) + +local show_print = false +if event.train then + F.save_train() + if atc_arrow then + atc_send("B0 W R") + -- atc_send("S5") + -- else + -- atc_send("B3 S3") + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1670,2,1250).lua b/ers/nodes/(1670,2,1250).lua new file mode 100644 index 0000000..600d6d5 --- /dev/null +++ b/ers/nodes/(1670,2,1250).lua @@ -0,0 +1,14 @@ +-- luaatctrack_spot_check_01.lua +-- POS(1670,2,1250) + +local show_print = false +if event.train then + F.save_train() + if atc_arrow then + atc_send("B0 W R") + -- atc_send("S5") + -- else + -- atc_send("B3 S3") + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1670,2,1253).lua b/ers/nodes/(1670,2,1253).lua new file mode 100644 index 0000000..5d0b7e0 --- /dev/null +++ b/ers/nodes/(1670,2,1253).lua @@ -0,0 +1,14 @@ +-- luaatctrack_spot_check_01.lua +-- POS(1670,2,1253) + +local show_print = false +if event.train then + F.save_train() + if atc_arrow then + atc_send("B0 W R") + -- atc_send("S5") + -- else + -- atc_send("B3 S3") + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1670,2,1256).lua b/ers/nodes/(1670,2,1256).lua new file mode 100644 index 0000000..e1a2576 --- /dev/null +++ b/ers/nodes/(1670,2,1256).lua @@ -0,0 +1,14 @@ +-- luaatctrack_spot_check_01.lua +-- POS(1670,2,1256) + +local show_print = false +if event.train then + F.save_train() + if atc_arrow then + atc_send("B0 W R") + -- atc_send("S5") + -- else + -- atc_send("B3 S3") + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1670,2,1262).lua b/ers/nodes/(1670,2,1262).lua new file mode 100644 index 0000000..8d45c19 --- /dev/null +++ b/ers/nodes/(1670,2,1262).lua @@ -0,0 +1,14 @@ +-- luaatctrack_spot_check_01.lua +-- POS(1670,2,1262) + +local show_print = false +if event.train then + F.save_train() + if atc_arrow then + atc_send("B0 W R") + -- atc_send("S5") + -- else + -- atc_send("B3 S3") + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1682,-14,1402).lua b/ers/nodes/(1682,-14,1402).lua new file mode 100644 index 0000000..d911294 --- /dev/null +++ b/ers/nodes/(1682,-14,1402).lua @@ -0,0 +1,12 @@ +-- luaatctrack_spot_check_01.lua +-- POS(1682,-14,1402) + +local show_print = false +if event.train then + if atc_arrow then + F.save_train() + else + F.save_train() + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1693,2,1270).lua b/ers/nodes/(1693,2,1270).lua new file mode 100644 index 0000000..25583e8 --- /dev/null +++ b/ers/nodes/(1693,2,1270).lua @@ -0,0 +1,4 @@ +-- luaatctrack_yard_check_01.lua +-- POS(1693,2,1270) + +F.yard_siding("ers_main", "SHUNT01", "start")
\ No newline at end of file diff --git a/ers/nodes/(1694,2,1300).lua b/ers/nodes/(1694,2,1300).lua new file mode 100644 index 0000000..5fb4e1d --- /dev/null +++ b/ers/nodes/(1694,2,1300).lua @@ -0,0 +1,4 @@ +-- luaatctrack_yard_check_01.lua +-- POS(1694,2,1300) + +F.yard_siding("ers_main", "ALTSIDING02", "start")
\ No newline at end of file diff --git a/ers/nodes/(1695,2,1273).lua b/ers/nodes/(1695,2,1273).lua new file mode 100644 index 0000000..1c9ec2c --- /dev/null +++ b/ers/nodes/(1695,2,1273).lua @@ -0,0 +1,4 @@ +-- luaatctrack_yard_check_01.lua +-- POS(1695,2,1273) + +F.yard_siding("ers_main", "SHUNT02", "start")
\ No newline at end of file diff --git a/ers/nodes/(1695,2,1297).lua b/ers/nodes/(1695,2,1297).lua new file mode 100644 index 0000000..dcf7700 --- /dev/null +++ b/ers/nodes/(1695,2,1297).lua @@ -0,0 +1,4 @@ +-- luaatctrack_yard_check_01.lua +-- POS(1695,2,1297) + +F.yard_siding("ers_main", "SIDING01", "start")
\ No newline at end of file diff --git a/ers/nodes/(1699,2,1262).lua b/ers/nodes/(1699,2,1262).lua new file mode 100644 index 0000000..51211ee --- /dev/null +++ b/ers/nodes/(1699,2,1262).lua @@ -0,0 +1,14 @@ +-- luaatctrack_spot_check_01.lua +-- POS(1699,2,1262) + +local show_print = false +if event.train then + if atc_arrow then + atc_send("S5") + F.save_train() + else + atc_send("B3 S3") + F.save_train() + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1699,2,1276).lua b/ers/nodes/(1699,2,1276).lua new file mode 100644 index 0000000..63aab36 --- /dev/null +++ b/ers/nodes/(1699,2,1276).lua @@ -0,0 +1,4 @@ +-- luaatctrack_yard_check_01.lua +-- POS(1699,2,1276) + +F.yard_siding("ers_main", "HEADSHUNT01", "start")
\ No newline at end of file diff --git a/ers/nodes/(1699,2,1279).lua b/ers/nodes/(1699,2,1279).lua new file mode 100644 index 0000000..a63d6fe --- /dev/null +++ b/ers/nodes/(1699,2,1279).lua @@ -0,0 +1,4 @@ +-- luaatctrack_yard_check_01.lua +-- POS(1699,2,1279) + +F.yard_siding("ers_main", "HEADSHUNT02", "start")
\ No newline at end of file diff --git a/ers/nodes/(1700,2,1244).lua b/ers/nodes/(1700,2,1244).lua new file mode 100644 index 0000000..ff6154a --- /dev/null +++ b/ers/nodes/(1700,2,1244).lua @@ -0,0 +1,14 @@ +-- luaatctrack_spot_check_01.lua +-- POS(1700,2,1244) + +local show_print = false +if event.train then + if atc_arrow then + atc_send("S5") + F.save_train() + else + atc_send("B3 S3") + F.save_train() + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1700,2,1247).lua b/ers/nodes/(1700,2,1247).lua new file mode 100644 index 0000000..f52056b --- /dev/null +++ b/ers/nodes/(1700,2,1247).lua @@ -0,0 +1,14 @@ +-- luaatctrack_spot_check_01.lua +-- POS(1700,2,1247) + +local show_print = false +if event.train then + if atc_arrow then + atc_send("S5") + F.save_train() + else + atc_send("B3 S3") + F.save_train() + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1700,2,1250).lua b/ers/nodes/(1700,2,1250).lua new file mode 100644 index 0000000..5daad5a --- /dev/null +++ b/ers/nodes/(1700,2,1250).lua @@ -0,0 +1,14 @@ +-- luaatctrack_spot_check_01.lua +-- POS(1700,2,1250) + +local show_print = false +if event.train then + if atc_arrow then + atc_send("S5") + F.save_train() + else + atc_send("B3 S3") + F.save_train() + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1700,2,1253).lua b/ers/nodes/(1700,2,1253).lua new file mode 100644 index 0000000..75b1559 --- /dev/null +++ b/ers/nodes/(1700,2,1253).lua @@ -0,0 +1,14 @@ +-- luaatctrack_spot_check_01.lua +-- POS(1700,2,1253) + +local show_print = false +if event.train then + if atc_arrow then + atc_send("S5") + F.save_train() + else + atc_send("B3 S3") + F.save_train() + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1700,2,1259).lua b/ers/nodes/(1700,2,1259).lua new file mode 100644 index 0000000..e989e66 --- /dev/null +++ b/ers/nodes/(1700,2,1259).lua @@ -0,0 +1,14 @@ +-- luaatctrack_spot_check_01.lua +-- POS(1700,2,1259) + +local show_print = false +if event.train then + if atc_arrow then + atc_send("S5") + F.save_train() + else + atc_send("B3 S3") + F.save_train() + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1700,2,1282).lua b/ers/nodes/(1700,2,1282).lua new file mode 100644 index 0000000..be4cd88 --- /dev/null +++ b/ers/nodes/(1700,2,1282).lua @@ -0,0 +1,4 @@ +-- luaatctrack_yard_check_01.lua +-- POS(1700,2,1282) + +F.yard_siding("ers_main", "SIDING06", "start")
\ No newline at end of file diff --git a/ers/nodes/(1700,2,1285).lua b/ers/nodes/(1700,2,1285).lua new file mode 100644 index 0000000..8e60f0b --- /dev/null +++ b/ers/nodes/(1700,2,1285).lua @@ -0,0 +1,4 @@ +-- luaatctrack_yard_check_01.lua +-- POS(1700,2,1285) + +F.yard_siding("ers_main", "SIDING05", "start")
\ No newline at end of file diff --git a/ers/nodes/(1700,2,1288).lua b/ers/nodes/(1700,2,1288).lua new file mode 100644 index 0000000..30a6a77 --- /dev/null +++ b/ers/nodes/(1700,2,1288).lua @@ -0,0 +1,4 @@ +-- luaatctrack_yard_check_01.lua +-- POS(1700,2,1288) + +F.yard_siding("ers_main", "SIDING04", "start")
\ No newline at end of file diff --git a/ers/nodes/(1700,2,1291).lua b/ers/nodes/(1700,2,1291).lua new file mode 100644 index 0000000..b1aa450 --- /dev/null +++ b/ers/nodes/(1700,2,1291).lua @@ -0,0 +1,4 @@ +-- luaatctrack_yard_check_01.lua +-- POS(1700,2,1291) + +F.yard_siding("ers_main", "SIDING03", "start")
\ No newline at end of file diff --git a/ers/nodes/(1700,2,1304).lua b/ers/nodes/(1700,2,1304).lua new file mode 100644 index 0000000..ab8bcf3 --- /dev/null +++ b/ers/nodes/(1700,2,1304).lua @@ -0,0 +1,4 @@ +-- luaatctrack_yard_check_01.lua +-- POS(1700,2,1304) + +F.yard_siding("ers_main", "LOAD/UNLOAD TURNAROUND", "start")
\ No newline at end of file diff --git a/ers/nodes/(1701,2,1256).lua b/ers/nodes/(1701,2,1256).lua new file mode 100644 index 0000000..1fa8fb0 --- /dev/null +++ b/ers/nodes/(1701,2,1256).lua @@ -0,0 +1,14 @@ +-- luaatctrack_spot_check_01.lua +-- POS(1701,2,1256) + +local show_print = false +if event.train then + if atc_arrow then + atc_send("S5") + F.save_train() + else + atc_send("B3 S3") + F.save_train() + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1702,2,1269).lua b/ers/nodes/(1702,2,1269).lua new file mode 100644 index 0000000..851d36f --- /dev/null +++ b/ers/nodes/(1702,2,1269).lua @@ -0,0 +1,8 @@ +-- luaatctrack_run_sequence_01.lua +local show_print = false +if event.type == "punch" then + F.trial_setup("split_train_1_4") +-- F.trial_setup("loop_test1") +-- F.trial_setup("loop_autocouple_1_4") + return +end
\ No newline at end of file diff --git a/ers/nodes/(1702,2,1270).lua b/ers/nodes/(1702,2,1270).lua new file mode 100644 index 0000000..823ad84 --- /dev/null +++ b/ers/nodes/(1702,2,1270).lua @@ -0,0 +1,6 @@ +-- luaatctrack_run_sequence_01.lua +local show_print = false +if event.type == "punch" then + F.trial_setup("autocouple_1_4") + return +end
\ No newline at end of file diff --git a/ers/nodes/(1704,2,1269).lua b/ers/nodes/(1704,2,1269).lua new file mode 100644 index 0000000..05766c3 --- /dev/null +++ b/ers/nodes/(1704,2,1269).lua @@ -0,0 +1,6 @@ +-- luaatctrack_run_sequence_01.lua + +if event.type == "punch" then + F.reset_trial_setup() + return +end
\ No newline at end of file diff --git a/ers/nodes/(1747,-14,1440).lua b/ers/nodes/(1747,-14,1440).lua new file mode 100644 index 0000000..cdc0a34 --- /dev/null +++ b/ers/nodes/(1747,-14,1440).lua @@ -0,0 +1,12 @@ +-- luaatctrack_spot_check_01.lua +-- POS(1747,-14,1440) + +local show_print = false +if event.train then + if atc_arrow then + F.save_train() + else + F.save_train() + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1750,-14,1449).lua b/ers/nodes/(1750,-14,1449).lua new file mode 100644 index 0000000..a909162 --- /dev/null +++ b/ers/nodes/(1750,-14,1449).lua @@ -0,0 +1,12 @@ +-- luaatctrack_spot_check_01.lua +-- POS(1750,-14,1449) + +local show_print = false +if event.train then + if atc_arrow then + F.save_train() + else + F.save_train() + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1929,3,7928).lua b/ers/nodes/(1929,3,7928).lua new file mode 100644 index 0000000..7489acc --- /dev/null +++ b/ers/nodes/(1929,3,7928).lua @@ -0,0 +1 @@ +--
\ No newline at end of file diff --git a/ers/nodes/(1932,3,7927).lua b/ers/nodes/(1932,3,7927).lua new file mode 100644 index 0000000..7489acc --- /dev/null +++ b/ers/nodes/(1932,3,7927).lua @@ -0,0 +1 @@ +--
\ No newline at end of file diff --git a/ers/nodes/(1935,3,7924).lua b/ers/nodes/(1935,3,7924).lua new file mode 100644 index 0000000..7489acc --- /dev/null +++ b/ers/nodes/(1935,3,7924).lua @@ -0,0 +1 @@ +--
\ No newline at end of file diff --git a/ers/nodes/(1938,3,7921).lua b/ers/nodes/(1938,3,7921).lua new file mode 100644 index 0000000..7489acc --- /dev/null +++ b/ers/nodes/(1938,3,7921).lua @@ -0,0 +1 @@ +--
\ No newline at end of file diff --git a/ers/nodes/(1944,3,7915).lua b/ers/nodes/(1944,3,7915).lua new file mode 100644 index 0000000..7489acc --- /dev/null +++ b/ers/nodes/(1944,3,7915).lua @@ -0,0 +1 @@ +--
\ No newline at end of file diff --git a/ers/nodes/(1947,3,7912).lua b/ers/nodes/(1947,3,7912).lua new file mode 100644 index 0000000..7489acc --- /dev/null +++ b/ers/nodes/(1947,3,7912).lua @@ -0,0 +1 @@ +--
\ No newline at end of file diff --git a/ers/nodes/(1950,3,7909).lua b/ers/nodes/(1950,3,7909).lua new file mode 100644 index 0000000..7489acc --- /dev/null +++ b/ers/nodes/(1950,3,7909).lua @@ -0,0 +1 @@ +--
\ No newline at end of file diff --git a/ers/nodes/(1986,2,1743).lua b/ers/nodes/(1986,2,1743).lua new file mode 100644 index 0000000..8e797a9 --- /dev/null +++ b/ers/nodes/(1986,2,1743).lua @@ -0,0 +1,14 @@ +-- luaatctrack_docking_ferry_01.lua +local show_print = false +local do_something = false +if event.train then + atc_set_text_outside(nil) + atc_set_text_inside(nil) + if atc_arrow then + -- atc_send("B0 W R OL A1") + atc_send("B0 W R OR A1") + else + do_something = false + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1986,2,1759).lua b/ers/nodes/(1986,2,1759).lua new file mode 100644 index 0000000..af6446c --- /dev/null +++ b/ers/nodes/(1986,2,1759).lua @@ -0,0 +1,13 @@ +-- luaatctrack_docking_ferry_leaving_dock.lua +local show_print = false +local do_something = false +if event.train then + atc_set_text_outside(nil) + atc_set_text_inside(nil) + if atc_arrow then + atc_send("OC A1 S5") + else + atc_send("OC A0 B3") + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1991,2,1794).lua b/ers/nodes/(1991,2,1794).lua new file mode 100644 index 0000000..b81d9e1 --- /dev/null +++ b/ers/nodes/(1991,2,1794).lua @@ -0,0 +1,28 @@ +-- luaatctrack_docking_ferry_01.lua +local show_print = false +local do_something = false +if event.train then + atc_set_text_outside(nil) + atc_set_text_inside(nil) + local passive_name = "DOCKSIGNAL" + if atc_arrow then + local can_do_route = false + atc_send("B0 W R OC D1 S5") + can_do_route = F.send_route(passive_name, "DOCK 5", show_print) + if can_do_route == false then + can_do_route = F.send_route(passive_name, "DOCK 4", show_print) + if can_do_route == false then + can_do_route = F.send_route(passive_name, "DOCK 3", show_print) + if can_do_route == false then + can_do_route = F.send_route(passive_name, "DOCK 2", show_print) + if can_do_route == false then + can_do_route = F.send_route(passive_name, "DOCK 1", show_print) + end + end + end + end + else + do_something = false + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1993,2,1743).lua b/ers/nodes/(1993,2,1743).lua new file mode 100644 index 0000000..ca383df --- /dev/null +++ b/ers/nodes/(1993,2,1743).lua @@ -0,0 +1,14 @@ +-- luaatctrack_docking_ferry_01.lua +local show_print = false +local do_something = false +if event.train then + atc_set_text_outside(nil) + atc_set_text_inside(nil) + if atc_arrow then + atc_send("B0 W R OL A1") + -- atc_send("B0 W R OR A1") + else + do_something = false + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(1993,2,1759).lua b/ers/nodes/(1993,2,1759).lua new file mode 100644 index 0000000..af6446c --- /dev/null +++ b/ers/nodes/(1993,2,1759).lua @@ -0,0 +1,13 @@ +-- luaatctrack_docking_ferry_leaving_dock.lua +local show_print = false +local do_something = false +if event.train then + atc_set_text_outside(nil) + atc_set_text_inside(nil) + if atc_arrow then + atc_send("OC A1 S5") + else + atc_send("OC A0 B3") + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(2001,2,1759).lua b/ers/nodes/(2001,2,1759).lua new file mode 100644 index 0000000..af6446c --- /dev/null +++ b/ers/nodes/(2001,2,1759).lua @@ -0,0 +1,13 @@ +-- luaatctrack_docking_ferry_leaving_dock.lua +local show_print = false +local do_something = false +if event.train then + atc_set_text_outside(nil) + atc_set_text_inside(nil) + if atc_arrow then + atc_send("OC A1 S5") + else + atc_send("OC A0 B3") + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(2016,2,1743).lua b/ers/nodes/(2016,2,1743).lua new file mode 100644 index 0000000..8e797a9 --- /dev/null +++ b/ers/nodes/(2016,2,1743).lua @@ -0,0 +1,14 @@ +-- luaatctrack_docking_ferry_01.lua +local show_print = false +local do_something = false +if event.train then + atc_set_text_outside(nil) + atc_set_text_inside(nil) + if atc_arrow then + -- atc_send("B0 W R OL A1") + atc_send("B0 W R OR A1") + else + do_something = false + end + return +end
\ No newline at end of file diff --git a/ers/nodes/(2016,2,1759).lua b/ers/nodes/(2016,2,1759).lua new file mode 100644 index 0000000..af6446c --- /dev/null +++ b/ers/nodes/(2016,2,1759).lua @@ -0,0 +1,13 @@ +-- luaatctrack_docking_ferry_leaving_dock.lua +local show_print = false +local do_something = false +if event.train then + atc_set_text_outside(nil) + atc_set_text_inside(nil) + if atc_arrow then + atc_send("OC A1 S5") + else + atc_send("OC A0 B3") + end + return +end
\ No newline at end of file |