blob: 748b2425165443f0f8766e231e1b51ce765be5ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
if event.train then
if atc_arrow == true then
if F.has_rc("BFT_Mainline_Headshunt") then
atc_send("S2")
schedule_in(";01",atc_id)
return
end
else
if F.has_rc("BFT_rejoin_from_north") then
atc_send("CplS1")
return
end
end
end
if event.schedule then
if atc_id and event.msg == atc_id then
schedule_in(";01",event.msg)
return
else
atc_send_to_train(event.msg,"S0WRS3")
return
end
end
|