summaryrefslogtreecommitdiff
path: root/durt/nodes/(1907,9,9129).lua
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-04-22 14:52:38 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-04-22 14:52:38 +0200
commitcfa65d94f1bc9d9e9efe13791711a9ad044a4a67 (patch)
treebdecc9982a58cb88367e4e8b1fcd9cfa1f95573e /durt/nodes/(1907,9,9129).lua
parentf3da24b214b3337ad63ebd885da29d5b789d4738 (diff)
downloadluaatc_envs-cfa65d94f1bc9d9e9efe13791711a9ad044a4a67.tar.gz
luaatc_envs-cfa65d94f1bc9d9e9efe13791711a9ad044a4a67.tar.bz2
luaatc_envs-cfa65d94f1bc9d9e9efe13791711a9ad044a4a67.zip
State at 2021-04-04
Diffstat (limited to 'durt/nodes/(1907,9,9129).lua')
-rw-r--r--durt/nodes/(1907,9,9129).lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/durt/nodes/(1907,9,9129).lua b/durt/nodes/(1907,9,9129).lua
new file mode 100644
index 0000000..6e01750
--- /dev/null
+++ b/durt/nodes/(1907,9,9129).lua
@@ -0,0 +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))
+ if S.WOA_stats == true then S.WOA_stats = false end end \ No newline at end of file