summaryrefslogtreecommitdiff
path: root/durt/nodes
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-04-22 14:54:02 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-04-22 14:54:02 +0200
commitd09aa2f28d9e7fdc209ea595e7413cac1c0cbbdd (patch)
tree0792c95aa5c83d105c399af6dcc39b54d51fc143 /durt/nodes
parent5689c0d4bc5795056d26b9034e789324688000b7 (diff)
downloadluaatc_envs-d09aa2f28d9e7fdc209ea595e7413cac1c0cbbdd.tar.gz
luaatc_envs-d09aa2f28d9e7fdc209ea595e7413cac1c0cbbdd.tar.bz2
luaatc_envs-d09aa2f28d9e7fdc209ea595e7413cac1c0cbbdd.zip
State at 2021-08-16
Diffstat (limited to 'durt/nodes')
-rw-r--r--durt/nodes/(-1475,16,-2603).lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/durt/nodes/(-1475,16,-2603).lua b/durt/nodes/(-1475,16,-2603).lua
new file mode 100644
index 0000000..390453c
--- /dev/null
+++ b/durt/nodes/(-1475,16,-2603).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)) end \ No newline at end of file