blob: ecf8060c5cbd21cf0a5490d5424b057acf091daa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
local ind = POS(-1513,8,-2613)
local loco_track = POS(-1515,7,-2625)
if event.ext_int then
local m = event.message
if m.command == "NOTIFY" and m.msg == "S27" then
if F.indicator(ind) then return end
interrupt_pos(loco_track,"SEND")
F.indicator(ind,"on")
return
end
end
if event.punch then
F.indicator(ind,"on")
interrupt_pos(loco_track,"SEND")
return
end
|