Added ingot group to all ingots

- Solves #201
This commit is contained in:
LeMagnesium 2015-08-10 17:10:02 +02:00
parent 8bdbb19271
commit b8b1c606e2
2 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@ minetest.register_craftitem(":3d_armor:blackmithril_ingot", {
description = "Black Mithril Ingot",
inventory_image = "3d_armor_blackmithril_ingot.png",
stack_max = 99,
groups = {ingot = 1}
})
-- Black Mithril craft recipe

View File

@ -146,6 +146,7 @@ local function add_ore(modname, description, mineral_name, oredef)
minetest.register_craftitem(ingot, {
description = S("%s Ingot"):format(S(description)),
inventory_image = img_base .. "_ingot.png",
groups = {ingot = 1}
})
minetest.register_alias(mineral_name .. "_ingot", ingot)
end