summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2018-09-08 20:20:22 -0500
committercheapie <no-email-for-you@example.com>2018-09-08 20:20:22 -0500
commitd38c1aba8845dab560a7d3aeaebc4970b6e79030 (patch)
treec2f6de4a2262787c0ccc2443fc34711a130e77ae
parent6a9dfd5655cde3cc9fde394d0c37c26ffe07f242 (diff)
downloadfirealarm-d38c1aba8845dab560a7d3aeaebc4970b6e79030.tar
firealarm-d38c1aba8845dab560a7d3aeaebc4970b6e79030.tar.gz
firealarm-d38c1aba8845dab560a7d3aeaebc4970b6e79030.tar.bz2
firealarm-d38c1aba8845dab560a7d3aeaebc4970b6e79030.tar.xz
firealarm-d38c1aba8845dab560a7d3aeaebc4970b6e79030.zip
Add craft recipes
-rw-r--r--firealarm_annunciator/init.lua9
-rw-r--r--firealarm_hornstrobe/init.lua27
-rw-r--r--firealarm_meseconsio/init.lua18
-rw-r--r--firealarm_panel/init.lua9
-rw-r--r--firealarm_pullstation/init.lua9
-rw-r--r--firealarm_smokedetector/init.lua18
6 files changed, 90 insertions, 0 deletions
diff --git a/firealarm_annunciator/init.lua b/firealarm_annunciator/init.lua
index 467d8d9..190b8d2 100644
--- a/firealarm_annunciator/init.lua
+++ b/firealarm_annunciator/init.lua
@@ -419,3 +419,12 @@ minetest.register_abm({
chance = 1,
action = firealarm.annunciatorABM,
})
+
+minetest.register_craft({
+ output = "firealarm:annunciator",
+ recipe = {
+ {"moreblocks:slab_steelblock_1","","moreblocks:slab_steelblock_1",},
+ {"digistuff:touchscreen","mesecons_luacontroller:luacontroller0000","mesecons_lightstone:lightstone_red_off",},
+ {"moreblocks:slab_steelblock_1","","moreblocks:slab_steelblock_1",},
+ }
+})
diff --git a/firealarm_hornstrobe/init.lua b/firealarm_hornstrobe/init.lua
index fc7ac13..750eca4 100644
--- a/firealarm_hornstrobe/init.lua
+++ b/firealarm_hornstrobe/init.lua
@@ -286,3 +286,30 @@ minetest.register_abm({
end
end,
})
+
+minetest.register_craft({
+ output = "firealarm:hornstrobe_off",
+ recipe = {
+ {"","mesecons_lightstone:lightstone_white_off","",},
+ {"dye:white","homedecor:speaker_driver","dye:white",},
+ {"","plasticbox:plasticbox","homedecor:ic",},
+ }
+})
+
+minetest.register_craft({
+ output = "firealarm:remotestrobe_off",
+ recipe = {
+ {"","mesecons_lightstone:lightstone_white_off","",},
+ {"dye:white","","dye:white",},
+ {"","plasticbox:plasticbox","homedecor:ic",},
+ }
+})
+
+minetest.register_craft({
+ output = "firealarm:hornstrobe_old_off",
+ recipe = {
+ {"","ilights:light","",},
+ {"dye:white","homedecor:speaker_driver","dye:white",},
+ {"","plasticbox:plasticbox","",},
+ }
+})
diff --git a/firealarm_meseconsio/init.lua b/firealarm_meseconsio/init.lua
index b14b350..c0b076f 100644
--- a/firealarm_meseconsio/init.lua
+++ b/firealarm_meseconsio/init.lua
@@ -173,3 +173,21 @@ minetest.register_abm({
end
end,
})
+
+minetest.register_craft({
+ output = "firealarm:mesecons_input_off",
+ recipe = {
+ {"","dye:red","",},
+ {"mesecons:wire_00000000_off","mesecons_luacontroller:luacontroller0000","",},
+ {"","","",},
+ }
+})
+
+minetest.register_craft({
+ output = "firealarm:mesecons_output_off",
+ recipe = {
+ {"","dye:red","",},
+ {"","mesecons_luacontroller:luacontroller0000","mesecons:wire_00000000_off",},
+ {"","","",},
+ }
+})
diff --git a/firealarm_panel/init.lua b/firealarm_panel/init.lua
index 3071e31..44b3195 100644
--- a/firealarm_panel/init.lua
+++ b/firealarm_panel/init.lua
@@ -622,3 +622,12 @@ minetest.register_abm({
chance = 1,
action = firealarm.panelABM,
})
+
+minetest.register_craft({
+ output = "firealarm:panel",
+ recipe = {
+ {"moreblocks:slab_steelblock_1","moreblocks:slab_steelblock_1","moreblocks:slab_steelblock_1",},
+ {"moreblocks:slab_steelblock_1","firealarm:annunciator","moreblocks:slab_steelblock_1",},
+ {"moreblocks:slab_steelblock_1","mesecons:wire_00000000_off","moreblocks:slab_steelblock_1",},
+ }
+})
diff --git a/firealarm_pullstation/init.lua b/firealarm_pullstation/init.lua
index c533997..40adf24 100644
--- a/firealarm_pullstation/init.lua
+++ b/firealarm_pullstation/init.lua
@@ -87,3 +87,12 @@ minetest.register_node(":firealarm:pullstation_on",{
firealarm.setDevInfo("signaling",pos,nil)
end,
})
+
+minetest.register_craft({
+ output = "firealarm:pullstation_off",
+ recipe = {
+ {"dye:red","dye:white","dye:red",},
+ {"","mesecons_walllever:wall_lever_off","",},
+ {"","plasticbox:plasticbox","",},
+ }
+})
diff --git a/firealarm_smokedetector/init.lua b/firealarm_smokedetector/init.lua
index ec08e78..db9df1b 100644
--- a/firealarm_smokedetector/init.lua
+++ b/firealarm_smokedetector/init.lua
@@ -130,3 +130,21 @@ minetest.register_abm({
minetest.get_meta(pos):set_int("agressive",1)
end,
})
+
+minetest.register_craft({
+ output = "firealarm:smokedetector_off",
+ recipe = {
+ {"plasticbox:plasticbox","homedecor:ic","plasticbox:plasticbox",},
+ {"homedecor:copper_strip","technic:uranium_lump","homedecor:copper_strip",},
+ {"","plasticbox:plasticbox","mesecons_lightstone:lightstone_red_off",},
+ }
+})
+
+minetest.register_craft({
+ output = "firealarm:smokedetector_off",
+ recipe = {
+ {"plasticbox:plasticbox","homedecor:ic","plasticbox:plasticbox",},
+ {"mesecons_lamp:lamp_off","","mesecons_solarpanel:solar_panel_off",},
+ {"","plasticbox:plasticbox","mesecons_lightstone:lightstone_red_off",},
+ }
+})