summaryrefslogtreecommitdiff
path: root/durt/nodes/(-1419,11,-2545).lua
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-10-31 00:00:02 +0100
committerautocommitter <autocommitter@linux-forks.de>2024-10-31 00:00:02 +0100
commitc019cfb8391dae72a1480e6d8ae8f06ff3d702ee (patch)
tree046a04c226916b6e9ba46ea675ddf649b7194ad9 /durt/nodes/(-1419,11,-2545).lua
parent22e2624c6c07bc7b4d51bac1365b22c8ed27bbc2 (diff)
downloadluaatc_envs-c019cfb8391dae72a1480e6d8ae8f06ff3d702ee.tar.gz
luaatc_envs-c019cfb8391dae72a1480e6d8ae8f06ff3d702ee.tar.bz2
luaatc_envs-c019cfb8391dae72a1480e6d8ae8f06ff3d702ee.zip
State at 2024-10-31
Diffstat (limited to 'durt/nodes/(-1419,11,-2545).lua')
-rw-r--r--durt/nodes/(-1419,11,-2545).lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/durt/nodes/(-1419,11,-2545).lua b/durt/nodes/(-1419,11,-2545).lua
new file mode 100644
index 0000000..c17e7b9
--- /dev/null
+++ b/durt/nodes/(-1419,11,-2545).lua
@@ -0,0 +1,12 @@
+-- S27 Export Arrivals Splitter
+if event.train and atc_arrow then
+ if not F.has_rc("S27_EXPORT_ACTIVE") then return end
+ local fc = split_at_fc("A0B0",1) or "DEPART"
+ F.add_rc({
+ "S27_EXP_HS_N",
+ "S27_"..fc
+ })
+ if fc == "DEPART" then
+ F.add_rc("S27_EXP_HS_N_AC")
+ end
+end \ No newline at end of file