summaryrefslogtreecommitdiff
path: root/durt/nodes/(-1512,8,-2613).lua
blob: 9651843c00cc84c39cff2f14485b76aa7b116911 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
local ind = POS(-1513,8,-2613)
local loco_track = POS(-1515,7,-2625)

if event.ext_int then
	if event.message == "S27" then
		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