blob: bc78e81858f0fd73f2bc9d6e135cb448b835be03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
local yard_id = "IP"
local subs = {
['WOA_mine_empty'] = {['pos'] = POS(1949,7,9112), ['msg'] = "notify"},
['OAF_Logging'] = {['pos'] = POS(1843, 17, 4278), ['msg'] = "notify"},
}
if event.ext_int or event.punch then
local list = "Notify: "
for fc, sub in pairs(subs) do
if S.yards[yard_id].notify[fc] then
interrupt_pos(sub.pos,sub.msg or "notify")
list = list .. fc .. ", "
end
end
digiline_send("lcd",list)
S.yards[yard_id].notify = {}
end
|