summaryrefslogtreecommitdiff
path: root/durt/nodes/(-4224,18,-5973).lua
blob: 8f6490a2127cf3ec8dae246d5493e9d0e8adcbed (plain)
1
2
3
4
5
6
7
8
9
10
11
if not F.has_rc("CORN_SHUNT") then return end
if not F.has_rc("CORN_rejoin") then
	F.add_rc("CORN_rejoin")
	split_off_locomotive("S0A0")
	F.add_rc("CORN_HS_S CORN_AROUND CORN_HS_N")
	return
else
	F.remove_rc("CORN_rejoin")
	F.add_rc("CORN_HS_S")
	unset_autocouple()
end