summaryrefslogtreecommitdiff
path: root/durt/nodes/(1847,17,4266).lua
diff options
context:
space:
mode:
Diffstat (limited to 'durt/nodes/(1847,17,4266).lua')
-rw-r--r--durt/nodes/(1847,17,4266).lua26
1 files changed, 26 insertions, 0 deletions
diff --git a/durt/nodes/(1847,17,4266).lua b/durt/nodes/(1847,17,4266).lua
new file mode 100644
index 0000000..cd01ee1
--- /dev/null
+++ b/durt/nodes/(1847,17,4266).lua
@@ -0,0 +1,26 @@
+if event.train then
+ if not atc_arrow then
+ atc_set_ars_disable(true)
+ return
+ end
+
+ if F.has_rc("OAF_COLLECT_OUTBOUND") then --shunter has joined the chat
+ F.remove_rc("OAF_COLLECT_OUTBOUND")
+ step_fc()
+ atc_send("S4D20SM")
+ atc_set_ars_disable(false)
+ return
+ end
+ -- depositing wagons
+ F.remove_rc("OAF_INBOUND")
+ F.add_rc({
+ "OAF_WAGON_NO_MOVE",
+ "OAF_HS_S",
+ "OAF_LocoStore"
+ })
+ split_off_locomotive("A0S0",1)
+ atc_send("S4")
+ F.remove_rc("OAF_WAGON_NO_MOVE")
+ atc_set_ars_disable(false)
+ return
+end \ No newline at end of file