Skip to content

Commit

Permalink
Make crystal armour repairable
Browse files Browse the repository at this point in the history
  • Loading branch information
luk3yx committed Jan 25, 2024
1 parent cf0304e commit 6e1c58d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions item_overrides.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -333,4 +333,4 @@ end

if minetest.get_modpath("aqua_farming") then
add_groups("aqua_farming:salt", "vessel")
end
end

0 comments on commit 6e1c58d

Please sign in to comment.