]> git.lizzy.rs Git - xdecor.git/blobdiff - src/mechanisms.lua
Add settings and compatibility with moreblocks and stairs
[xdecor.git] / src / mechanisms.lua
index 8e1072dee080eb891f5ccb7c1f59bf0355532e54..ada0afed52a46f772d48d3d5db126740297c8433 100644 (file)
@@ -115,3 +115,24 @@ xdecor.register("lever_on", {
        drop = "xdecor:lever_off"
 })
 
+-- Recipes
+
+minetest.register_craft({
+       output = "xdecor:pressure_stone_off",
+       type = "shapeless",
+       recipe = {"group:stone", "group:stone"}
+})
+
+minetest.register_craft({
+       output = "xdecor:pressure_wood_off",
+       type = "shapeless",
+       recipe = {"group:wood", "group:wood"}
+})
+
+minetest.register_craft({
+       output = "xdecor:lever_off",
+       recipe = {
+               {"group:stick"},
+               {"group:stone"}
+       }
+})
\ No newline at end of file