From 6e1c58d213d4b775652ce90ba920ae22a0010299 Mon Sep 17 00:00:00 2001 From: luk3yx Date: Fri, 26 Jan 2024 10:30:01 +1300 Subject: [PATCH] Make crystal armour repairable --- item_overrides.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/item_overrides.lua b/item_overrides.lua index e5871a2..1cde491 100644 --- a/item_overrides.lua +++ b/item_overrides.lua @@ -74,11 +74,11 @@ if minetest.get_modpath("cottages") then end for _, tool in ipairs({ "boots", "chestplate", "helmet", "leggings" }) do - for _, material in ipairs({ "bronze", "steel", "gold", "mithril" }) do + for _, material in ipairs({ "bronze", "steel", "gold", "mithril", "crystal" }) do anvil_whitelist[("3d_armor:%s_%s"):format(tool, material)] = 1 end end - for _, material in ipairs({ "bronze", "steel", "gold", "mithril" }) do + for _, material in ipairs({ "bronze", "steel", "gold", "mithril", "crystal" }) do anvil_whitelist[("sheilds:shield_%s"):format(material)] = 1 end @@ -333,4 +333,4 @@ end if minetest.get_modpath("aqua_farming") then add_groups("aqua_farming:salt", "vessel") -end \ No newline at end of file +end