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