diff options
Diffstat (limited to 'durt/nodes/(-1444,11,-2546).lua')
-rw-r--r-- | durt/nodes/(-1444,11,-2546).lua | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/durt/nodes/(-1444,11,-2546).lua b/durt/nodes/(-1444,11,-2546).lua new file mode 100644 index 0000000..235e7d3 --- /dev/null +++ b/durt/nodes/(-1444,11,-2546).lua @@ -0,0 +1,24 @@ +local ind = POS(-1444,10,-2546) +local function send_train() + set_rc("S27_SHUNTER S27_REV_East S27") + atc_send("S0WRD2A1S4") + F.indicator(ind,false) +end +if event.ext_int then + if F.indicator(ind) then return end + if atc_id then + send_train() + return + else + F.indicator(ind,true) + return + end +end +if event.train then + if F.indicator(ind) then + send_train() + return + end + atc_send("B0") + return +end
\ No newline at end of file |