mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-08-20 14:04:10 +02:00
add durability back
This commit is contained in:
parent
df8c9625e4
commit
cc186cc588
@ -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 New Issue
Block a user