summaryrefslogtreecommitdiff
path: root/auto_yards/nodes/(-4023,12,-2660).lua
blob: df83930da792dbd0c1482bec1b481c67269bb1c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
local yard_id = "TY"
local subs = {
--	['MMF'] = {['pos'] = POS(1,2,3), ['msg'] = "notify"},
	['DLG'] = {['pos'] = POS(-4152,13,-5840), ['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