blob: 037b135a5194766d59bedcb9fe44d26c62d419c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
do return end
-- delete above line to re-enable reversing into Factory
if event.schedule then
if atc_id and atc_id == event.msg then
schedule_in("0;04",atc_id)
print("ping")
return
end
atc_send_to_train(event.msg, "B0WRS3")
setstate(POS(4051,24,5653),"cr")
print("end: "..event.msg)
return
end
if event.train and atc_arrow and get_line() == "E8" then
atc_send("B2")
schedule_in("0;04",atc_id)
print("Start "..atc_id)
return
end
|