summaryrefslogtreecommitdiff
path: root/durt/nodes/(-3818,18,-4761).lua
diff options
context:
space:
mode:
Diffstat (limited to 'durt/nodes/(-3818,18,-4761).lua')
-rw-r--r--durt/nodes/(-3818,18,-4761).lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/durt/nodes/(-3818,18,-4761).lua b/durt/nodes/(-3818,18,-4761).lua
new file mode 100644
index 0000000..64f31ae
--- /dev/null
+++ b/durt/nodes/(-3818,18,-4761).lua
@@ -0,0 +1,10 @@
+if (event.type == "train") then
+ local rc = get_rc()
+ if rc == "sfh_service" then
+ set_autocouple() atc_send("B0") set_rc("sfh_shunt") interrupt(5, "proceed")
+ else atc_send("B0WD3OCRSM")
+ unset_autocouple()
+ set_rc("sfh_service")
+ set_line("SHBL")
+ atc_set_text_outside("Sulfur Hills Branch Line -> Desert Junction") end elseif (event.type == "int") then set_route("sfh-T1-headshunt", "Enter Headshunt") split_off_locomotive("B0OL")
+ setstate("SFH-T2-S", "cr") atc_send("S2") end \ No newline at end of file