From ffbd43c38f3d36f44bd00a033c938f0c690abb27 Mon Sep 17 00:00:00 2001 From: Jane <8921501-JaneatGit@users.noreply.gitlab.com> Date: Fri, 13 Aug 2021 15:21:41 +0000 Subject: [PATCH] fix recipe for steel pressure plates --- src/mechanisms.lua | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/src/mechanisms.lua b/src/mechanisms.lua index 4a26140..a006c95 100644 --- a/src/mechanisms.lua +++ b/src/mechanisms.lua @@ -191,19 +191,12 @@ minetest.register_alias("xdecor:pressure_wood_off", "xdecor:pressure_bronze_off" minetest.register_alias("xdecor:pressure_wood_on", "xdecor:pressure_bronze_on") -- Recipes -if core.get_modpath("technic") then - minetest.register_craft({ - output = "xdecor:pressure_steel_off", - type = "shapeless", - recipe = {"technic:stainless_steel_ingot", "default:technic:stainless_steel_ingot"} - }) -else - minetest.register_craft({ - output = "xdecor:pressure_steel_off", - type = "shapeless", - recipe = {"default:steel_ingot", "default:steel_ingot"} - }) -end + +minetest.register_craft({ + output = "xdecor:pressure_steel_off", + type = "shapeless", + recipe = {"technic:stainless_steel_ingot", "technic:stainless_steel_ingot"} +}) minetest.register_craft({ output = "xdecor:pressure_bronze_off",