From 8e22d662e526a44b9832490d1a9f4d0ff6115609 Mon Sep 17 00:00:00 2001 From: autocommitter Date: Mon, 22 Apr 2024 14:57:40 +0200 Subject: State at 2022-06-15 --- durt/nodes/(-1459,11,-2588).lua | 8 ++++++++ durt/nodes/(-1514,11,-2588).lua | 19 +++++++++++++++---- durt/nodes/(-1515,7,-2625).lua | 1 + 3 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 durt/nodes/(-1459,11,-2588).lua create mode 100644 durt/nodes/(-1515,7,-2625).lua (limited to 'durt') diff --git a/durt/nodes/(-1459,11,-2588).lua b/durt/nodes/(-1459,11,-2588).lua new file mode 100644 index 0000000..3b1b94b --- /dev/null +++ b/durt/nodes/(-1459,11,-2588).lua @@ -0,0 +1,8 @@ +if event.train and atc_arrow then + atc_set_ars_disable(false) + if F.has_rc("S27_Overburden") and train_length() == 1 then + F.add_rc({"S27_HS_E","S27_DOCK3"}) + return + end + F.add_rc("S27_EXIT") +end \ No newline at end of file diff --git a/durt/nodes/(-1514,11,-2588).lua b/durt/nodes/(-1514,11,-2588).lua index ad879df..be0bf95 100644 --- a/durt/nodes/(-1514,11,-2588).lua +++ b/durt/nodes/(-1514,11,-2588).lua @@ -1,6 +1,17 @@ -if event.train and atc_arrow then - atc_set_ars_disable(false) - atc_send("S3") - set_rc(get_rc().." S27_EXIT_BRIDGE") +__approach_callback_mode = 2 +if event.approach and not event.has_entered then + atc_set_ars_disable(true) + atc_set_lzb_tsr(1) return +end + +if event.train then + if atc_arrow then + atc_set_ars_disable(false) + atc_send("S3") + F.add_rc("S27_EXIT_BRIDGE") + return + end + atc_send("S1") + step_fc() end \ No newline at end of file diff --git a/durt/nodes/(-1515,7,-2625).lua b/durt/nodes/(-1515,7,-2625).lua new file mode 100644 index 0000000..7489acc --- /dev/null +++ b/durt/nodes/(-1515,7,-2625).lua @@ -0,0 +1 @@ +-- \ No newline at end of file -- cgit v1.2.3