mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
add durability back
This commit is contained in:
parent
df8c9625e4
commit
cc186cc588
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ local function define_items()
|
|||
|
||||
new_def.groups.not_in_creative_inventory = 0 --set this to 1 later!
|
||||
new_def.groups.not_in_craft_guide = 1
|
||||
new_def._mcl_armor_texture = new_def._mcl_armor_texture .. "^" .. overlay .. ".png"
|
||||
new_def._mcl_armor_texture = new_def._mcl_armor_texture .. "^" .. overlay .. ".png" .. "^[colorize:purple:50"
|
||||
|
||||
new_def._mcl_armor_trims_trim = new_name
|
||||
|
||||
|
@ -27,7 +27,7 @@ local function define_items()
|
|||
end
|
||||
|
||||
for new_name, new_def in pairs(register_list) do
|
||||
minetest.register_craftitem(new_name, new_def)
|
||||
minetest.register_tool(new_name, new_def)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue