From 8c99cb30e5c5935b9ed7520d456f3be01586d22d Mon Sep 17 00:00:00 2001 From: The4codeblocks <72419529+The4codeblocks@users.noreply.github.com> Date: Sun, 11 Jan 2026 03:15:47 -0500 Subject: [PATCH 1/2] fix technic dupe + use xcompat iron lump --- crafts.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crafts.lua b/crafts.lua index 0883fe6..bcbda2e 100644 --- a/crafts.lua +++ b/crafts.lua @@ -1,4 +1,5 @@ local steel_item = xcompat.materials.steel_ingot +local recycle = core.get_modpath("technic") and "technic:wrought_iron_dust" or xcompat.materials.iron_lump minetest.register_craft({ type = "cooking", @@ -75,7 +76,7 @@ if minetest.get_modpath("default") then }) minetest.register_craft({ - output = "default:iron_lump", + output = recycle, recipe = {{"steel:scrap", "steel:scrap"}} }) end @@ -89,4 +90,4 @@ if not minetest.get_modpath("streets") or not minetest.get_modpath("steelsupport {"", steel_item, ""}, } }) -end \ No newline at end of file +end From 2688054a1555e7de7d4ac7f2c901bddf2092abb5 Mon Sep 17 00:00:00 2001 From: The4codeblocks <72419529+The4codeblocks@users.noreply.github.com> Date: Sun, 11 Jan 2026 11:19:57 -0500 Subject: [PATCH 2/2] core --- .luacheckrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.luacheckrc b/.luacheckrc index ce5554b..b317235 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -1,6 +1,6 @@ globals = { - "minetest", + "core", "minetest", } read_globals = {