diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:58:03 +0200 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:58:03 +0200 |
commit | 7b3ac07f3f9b9d92582aceb74050215a36646bc5 (patch) | |
tree | 3eda9d8e0a85b9d0daa53dd2887d154d9e0ef172 /auto_yards/nodes/(1178,16,3851).lua | |
parent | efa99edcbd392873d8ed78eae7760f8c0b23dc45 (diff) | |
download | luaatc_envs-7b3ac07f3f9b9d92582aceb74050215a36646bc5.tar.gz luaatc_envs-7b3ac07f3f9b9d92582aceb74050215a36646bc5.tar.bz2 luaatc_envs-7b3ac07f3f9b9d92582aceb74050215a36646bc5.zip |
State at 2023-03-26
Diffstat (limited to 'auto_yards/nodes/(1178,16,3851).lua')
-rw-r--r-- | auto_yards/nodes/(1178,16,3851).lua | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/auto_yards/nodes/(1178,16,3851).lua b/auto_yards/nodes/(1178,16,3851).lua index 35047d5..6d126c4 100644 --- a/auto_yards/nodes/(1178,16,3851).lua +++ b/auto_yards/nodes/(1178,16,3851).lua @@ -1,13 +1,16 @@ local yard_id = "IP" local subs = { - ['WOA_mine_empty'] = POS(1949,7,9112), + ['WOA_mine_empty'] = {['pos'] = POS(1949,7,9112), ['msg'] = "notify"}, } if event.ext_int or event.punch then - for fc, pos in pairs(subs) do + local list = "Notify: " + for fc, sub in pairs(subs) do if S.yards[yard_id].notify[fc] then - interrupt_pos(pos,"notify") + interrupt_pos(sub.pos,sub.msg or "notify") + list = list .. fc .. ", " end end + digiline_send("lcd",list) S.yards[yard_id].notify = {} -end +end
\ No newline at end of file |