1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 14:16:06 +02:00

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

@ -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