diff options
author | cheapie <no-email-for-you@example.com> | 2018-08-31 23:28:21 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2018-08-31 23:28:21 -0500 |
commit | b1419ed0906cfc912add7f53ac4dc67d64becef4 (patch) | |
tree | ee2c97ffddbc2645c1879e7dd2f6f449fb8a79df /firealarm_common | |
parent | 6dc64c7050c410e0979e520bbbd6b60ba46fb485 (diff) | |
download | firealarm-b1419ed0906cfc912add7f53ac4dc67d64becef4.tar firealarm-b1419ed0906cfc912add7f53ac4dc67d64becef4.tar.gz firealarm-b1419ed0906cfc912add7f53ac4dc67d64becef4.tar.bz2 firealarm-b1419ed0906cfc912add7f53ac4dc67d64becef4.tar.xz firealarm-b1419ed0906cfc912add7f53ac4dc67d64becef4.zip |
Add annunciator and re-alarm
Diffstat (limited to 'firealarm_common')
-rw-r--r-- | firealarm_common/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firealarm_common/init.lua b/firealarm_common/init.lua index 34ab2ca..b8806b3 100644 --- a/firealarm_common/init.lua +++ b/firealarm_common/init.lua @@ -44,7 +44,7 @@ function firealarm.saveDevLists() end function firealarm.getDevInfo(devType,pos) - if devType ~= "panel" and devType ~= "signaling" and devType ~= "notification" then + if devType ~= "panel" and devType ~= "signaling" and devType ~= "notification" and devType ~= "annunciator" then error("Invalid device type specified") end local hash = minetest.hash_node_position(pos) @@ -52,7 +52,7 @@ function firealarm.getDevInfo(devType,pos) end function firealarm.setDevInfo(devType,pos,info) - if devType ~= "panel" and devType ~= "signaling" and devType ~= "notification" then + if devType ~= "panel" and devType ~= "signaling" and devType ~= "notification" and devType ~= "annunciator" then error("Invalid device type specified") end local hash = minetest.hash_node_position(pos) |