blob: 14c0d7cfe57fdbb6857b66f7fab6f185aba26d98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
if atc_arrow then
if (event.type == "train") then
atc_send("B0")
setstate("SFH-T2-S", "cr")
set_rc("sfh_shunt")
interrupt(5, "proceed")
elseif (event.type == "int") then
set_route("sfh-T1-headshunt", "Enter Headshunt")
split_at_index(2, "")
atc_send("S2")
end
else
atc_send("B0WRS1")
end
|