From b1419ed0906cfc912add7f53ac4dc67d64becef4 Mon Sep 17 00:00:00 2001 From: cheapie Date: Fri, 31 Aug 2018 23:28:21 -0500 Subject: Add annunciator and re-alarm --- firealarm_common/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firealarm_common') 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) -- cgit v1.2.3