From 362b318cb2a22c2016c41977d15dbae44552b476 Mon Sep 17 00:00:00 2001 From: mrkubax10 Date: Mon, 18 Mar 2024 20:03:20 +0100 Subject: [PATCH] Fix bronze toolset craft in MCL --- compatibility.lua | 110 ++++++++-------------------------------------- 1 file changed, 19 insertions(+), 91 deletions(-) diff --git a/compatibility.lua b/compatibility.lua index 88ff977..40b20f9 100644 --- a/compatibility.lua +++ b/compatibility.lua @@ -374,7 +374,7 @@ if industrialtest.mclAvailable then type="shaped", output="industrialtest:"..material.."_pickaxe", recipe={ - {"industrialtest:"..material,"industrialtest:"..material,"industrialtest:"..material}, + {"industrialtest:"..materialItem,"industrialtest:"..materialItem,"industrialtest:"..materialItem}, {"","mcl_core:stick",""}, {"","mcl_core:stick",""} } @@ -383,126 +383,54 @@ if industrialtest.mclAvailable then type="shaped", output="industrialtest:"..material.."_shovel", recipe={ - {"","industrialtest:"..material,""}, - {"","mcl_core:stick",""}, - {"","mcl_core:stick",""} - } - }) - minetest.register_craft({ - type="shaped", - output="industrialtest:"..material.."_shovel", - recipe={ - {"industrialtest:"..material,"",""}, - {"mcl_core:stick","",""}, - {"mcl_core:stick","",""} - } - }) - minetest.register_craft({ - type="shaped", - output="industrialtest:"..material.."_shovel", - recipe={ - {"","","industrialtest:"..material}, - {"","","mcl_core:stick"}, - {"","","mcl_core:stick"} + {"industrialtest:"..materialItem}, + {"mcl_core:stick"}, + {"mcl_core:stick"} } }) minetest.register_craft({ type="shaped", output="industrialtest:"..material.."_axe", recipe={ - {"industrialtest:"..material,"industrialtest:"..material,""}, - {"industrialtest:"..material,"mcl_core:stick",""}, - {"","mcl_core:stick",""} + {"industrialtest:"..materialItem,"industrialtest:"..materialItem}, + {"industrialtest:"..materialItem,"mcl_core:stick"}, + {"","mcl_core:stick"} } }) minetest.register_craft({ type="shaped", output="industrialtest:"..material.."_axe", recipe={ - {"","industrialtest:"..material,"industrialtest:"..material}, - {"","mcl_core:stick","industrialtest:"..material}, - {"","mcl_core:stick",""} - } - }) - minetest.register_craft({ - type="shaped", - output="industrialtest:"..material.."_axe", - recipe={ - {"industrialtest:"..material,"industrialtest:"..material,""}, - {"mcl_core:stick","industrialtest:"..material,""}, - {"mcl_core:stick","",""} - } - }) - minetest.register_craft({ - type="shaped", - output="industrialtest:"..material.."_axe", - recipe={ - {"","industrialtest:"..material,"industrialtest:"..material}, - {"","mcl_core:stick","industrialtest:"..material}, - {"","","mcl_core:stick"} + {"industrialtest:"..materialItem,"industrialtest:"..materialItem}, + {"mcl_core:stick","industrialtest:"..materialItem}, + {"mcl_core:stick",""} } }) minetest.register_craft({ type="shaped", output="industrialtest:"..material.."_sword", recipe={ - {"industrialtest:"..material,"",""}, - {"industrialtest:"..material,"",""}, - {"mcl_core:stick","",""} - } - }) - minetest.register_craft({ - type="shaped", - output="industrialtest:"..material.."_sword", - recipe={ - {"","industrialtest:"..material,""}, - {"","industrialtest:"..material,""}, - {"","mcl_core:stick",""} - } - }) - minetest.register_craft({ - type="shaped", - output="industrialtest:"..material.."_sword", - recipe={ - {"","","industrialtest:"..material}, - {"","","industrialtest:"..material}, - {"","","mcl_core:stick"} + {"industrialtest:"..materialItem}, + {"industrialtest:"..materialItem}, + {"mcl_core:stick"} } }) minetest.register_craft({ type="shaped", output="industrialtest:"..material.."_hoe", recipe={ - {"industrialtest:"..material,"industrialtest:"..material,""}, - {"","mcl_core:stick",""}, - {"","mcl_core:stick",""} + {"industrialtest:"..materialItem,"industrialtest:"..materialItem}, + {"","mcl_core:stick"}, + {"","mcl_core:stick"} } }) minetest.register_craft({ type="shaped", output="industrialtest:"..material.."_hoe", recipe={ - {"","industrialtest:"..material,"industrialtest:"..material}, - {"","","mcl_core:stick"}, - {"","","mcl_core:stick"} - } - }) - minetest.register_craft({ - type="shaped", - output="industrialtest:"..material.."_hoe", - recipe={ - {"","industrialtest:"..material,"industrialtest:"..material}, - {"","mcl_core:stick",""}, - {"","mcl_core:stick",""} - } - }) - minetest.register_craft({ - type="shaped", - output="industrialtest:"..material.."_hoe", - recipe={ - {"industrialtest:"..material,"industrialtest:"..material,""}, - {"mcl_core:stick","",""}, - {"mcl_core:stick","",""} + {"industrialtest:"..materialItem,"industrialtest:"..materialItem}, + {"mcl_core:stick",""}, + {"mcl_core:stick",""} } }) end