summaryrefslogtreecommitdiff
path: root/durt/nodes/(-1475,16,-2603).lua
blob: 390453c190feaf537ca11830e5f7178af3e7b9fd (plain)
1
2
local yard_id = "WOA"
if event.schedule then
	local now = rwt.now()
	local last = S.yards[yard_id].last_pass1
	local dtime = rwt.diff(last,now)
	local rtt = rwt.diff(S.yards[yard_id].last_pass2,last)
	digiline_send("lcd",string.format("Now:       %s |Last Pass: %s |ID: %s  Delta: %s |TBT: %s ",rwt.to_string(now),rwt.to_string(last),S.yards.WOA.last_id,rwt.to_string(dtime),rwt.to_string(rtt)))
	schedule(rwt.next_rpt(rwt.now(), "0;05", 0))
end

if event.punch then
 schedule(rwt.next_rpt(rwt.now(), "0;05", 0))
end