blob: 22698fbdb58a5172fb7eae9e1d2fb505aa362643 (
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
if event.message == "notify" then
print("S27 RX Notification")
if F.indicator(ind) then return end
F.indicator(ind,true)
interrupt_pos(loco_track,"SEND")
return
end
end
if event.punch then
F.indicator(ind,true)
interrupt_pos(loco_track,"SEND")
return
end
|