Armor: remove "wear" value from registrations

This commit is contained in:
Wuzzy 2020-02-17 17:26:06 +01:00
parent 9499076ac8
commit 113a49da41

@ -13,7 +13,6 @@ minetest.register_tool("3d_armor:helmet_leather", {
_doc_items_usagehelp = usage, _doc_items_usagehelp = usage,
inventory_image = "3d_armor_inv_helmet_leather.png", inventory_image = "3d_armor_inv_helmet_leather.png",
groups = {armor_head=5, armor_heal=0, armor_use=100}, groups = {armor_head=5, armor_heal=0, armor_use=100},
wear = 0,
_repair_material = "mcl_mobitems:leather", _repair_material = "mcl_mobitems:leather",
}) })
@ -23,7 +22,6 @@ minetest.register_tool("3d_armor:helmet_iron", {
_doc_items_usagehelp = usage, _doc_items_usagehelp = usage,
inventory_image = "3d_armor_inv_helmet_iron.png", inventory_image = "3d_armor_inv_helmet_iron.png",
groups = {armor_head=10, armor_heal=5, armor_use=250}, groups = {armor_head=10, armor_heal=5, armor_use=250},
wear = 0,
_repair_material = "mcl_core:iron_ingot", _repair_material = "mcl_core:iron_ingot",
}) })
@ -33,7 +31,6 @@ minetest.register_tool("3d_armor:helmet_gold", {
_doc_items_usagehelp = usage, _doc_items_usagehelp = usage,
inventory_image = "3d_armor_inv_helmet_gold.png", inventory_image = "3d_armor_inv_helmet_gold.png",
groups = {armor_head=15, armor_heal=10, armor_use=500}, groups = {armor_head=15, armor_heal=10, armor_use=500},
wear = 0,
_repair_material = "mcl_core:gold_ingot", _repair_material = "mcl_core:gold_ingot",
}) })
@ -43,7 +40,6 @@ minetest.register_tool("3d_armor:helmet_diamond",{
_doc_items_usagehelp = usage, _doc_items_usagehelp = usage,
inventory_image = "3d_armor_inv_helmet_diamond.png", inventory_image = "3d_armor_inv_helmet_diamond.png",
groups = {armor_head=20, armor_heal=15, armor_use=750}, groups = {armor_head=20, armor_heal=15, armor_use=750},
wear = 0,
_repair_material = "mcl_core:diamond", _repair_material = "mcl_core:diamond",
}) })
@ -53,7 +49,6 @@ minetest.register_tool("3d_armor:helmet_chain", {
_doc_items_usagehelp = usage, _doc_items_usagehelp = usage,
inventory_image = "3d_armor_inv_helmet_chain.png", inventory_image = "3d_armor_inv_helmet_chain.png",
groups = {armor_head=15, armor_heal=10, armor_use=500}, groups = {armor_head=15, armor_heal=10, armor_use=500},
wear = 0,
_repair_material = "mcl_core:iron_ingot", _repair_material = "mcl_core:iron_ingot",
}) })
@ -65,7 +60,6 @@ minetest.register_tool("3d_armor:chestplate_leather", {
_doc_items_usagehelp = usage, _doc_items_usagehelp = usage,
inventory_image = "3d_armor_inv_chestplate_leather.png", inventory_image = "3d_armor_inv_chestplate_leather.png",
groups = {armor_torso=15, armor_heal=0, armor_use=100}, groups = {armor_torso=15, armor_heal=0, armor_use=100},
wear = 0,
_repair_material = "mcl_mobitems:leather", _repair_material = "mcl_mobitems:leather",
}) })
@ -75,7 +69,6 @@ minetest.register_tool("3d_armor:chestplate_iron", {
_doc_items_usagehelp = usage, _doc_items_usagehelp = usage,
inventory_image = "3d_armor_inv_chestplate_iron.png", inventory_image = "3d_armor_inv_chestplate_iron.png",
groups = {armor_torso=20, armor_heal=5, armor_use=250}, groups = {armor_torso=20, armor_heal=5, armor_use=250},
wear = 0,
_repair_material = "mcl_core:iron_ingot", _repair_material = "mcl_core:iron_ingot",
}) })
@ -85,7 +78,6 @@ minetest.register_tool("3d_armor:chestplate_gold", {
_doc_items_usagehelp = usage, _doc_items_usagehelp = usage,
inventory_image = "3d_armor_inv_chestplate_gold.png", inventory_image = "3d_armor_inv_chestplate_gold.png",
groups = {armor_torso=25, armor_heal=10, armor_use=500}, groups = {armor_torso=25, armor_heal=10, armor_use=500},
wear = 0,
_repair_material = "mcl_core:gold_ingot", _repair_material = "mcl_core:gold_ingot",
}) })
@ -95,7 +87,6 @@ minetest.register_tool("3d_armor:chestplate_diamond",{
_doc_items_usagehelp = usage, _doc_items_usagehelp = usage,
inventory_image = "3d_armor_inv_chestplate_diamond.png", inventory_image = "3d_armor_inv_chestplate_diamond.png",
groups = {armor_torso=30, armor_heal=15, armor_use=750}, groups = {armor_torso=30, armor_heal=15, armor_use=750},
wear = 0,
_repair_material = "mcl_core:diamond", _repair_material = "mcl_core:diamond",
}) })
@ -105,7 +96,6 @@ minetest.register_tool("3d_armor:chestplate_chain", {
_doc_items_usagehelp = usage, _doc_items_usagehelp = usage,
inventory_image = "3d_armor_inv_chestplate_chain.png", inventory_image = "3d_armor_inv_chestplate_chain.png",
groups = {armor_torso=25, armor_heal=10, armor_use=500}, groups = {armor_torso=25, armor_heal=10, armor_use=500},
wear = 0,
_repair_material = "mcl_core:iron_ingot", _repair_material = "mcl_core:iron_ingot",
}) })
@ -117,7 +107,6 @@ minetest.register_tool("3d_armor:leggings_leather", {
_doc_items_usagehelp = usage, _doc_items_usagehelp = usage,
inventory_image = "3d_armor_inv_leggings_leather.png", inventory_image = "3d_armor_inv_leggings_leather.png",
groups = {armor_legs=10, armor_heal=0, armor_use=100}, groups = {armor_legs=10, armor_heal=0, armor_use=100},
wear = 0,
_repair_material = "mcl_mobitems:leather", _repair_material = "mcl_mobitems:leather",
}) })
@ -127,7 +116,6 @@ minetest.register_tool("3d_armor:leggings_iron", {
_doc_items_usagehelp = usage, _doc_items_usagehelp = usage,
inventory_image = "3d_armor_inv_leggings_iron.png", inventory_image = "3d_armor_inv_leggings_iron.png",
groups = {armor_legs=15, armor_heal=5, armor_use=250}, groups = {armor_legs=15, armor_heal=5, armor_use=250},
wear = 0,
_repair_material = "mcl_core:iron_ingot", _repair_material = "mcl_core:iron_ingot",
}) })
@ -137,7 +125,6 @@ minetest.register_tool("3d_armor:leggings_gold", {
_doc_items_usagehelp = usage, _doc_items_usagehelp = usage,
inventory_image = "3d_armor_inv_leggings_gold.png", inventory_image = "3d_armor_inv_leggings_gold.png",
groups = {armor_legs=20, armor_heal=10, armor_use=500}, groups = {armor_legs=20, armor_heal=10, armor_use=500},
wear = 0,
_repair_material = "mcl_core:gold_ingot", _repair_material = "mcl_core:gold_ingot",
}) })
@ -147,7 +134,6 @@ minetest.register_tool("3d_armor:leggings_diamond",{
_doc_items_usagehelp = usage, _doc_items_usagehelp = usage,
inventory_image = "3d_armor_inv_leggings_diamond.png", inventory_image = "3d_armor_inv_leggings_diamond.png",
groups = {armor_legs=25, armor_heal=15, armor_use=750}, groups = {armor_legs=25, armor_heal=15, armor_use=750},
wear = 0,
_repair_material = "mcl_core:diamond", _repair_material = "mcl_core:diamond",
}) })
@ -157,7 +143,6 @@ minetest.register_tool("3d_armor:leggings_chain", {
_doc_items_usagehelp = usage, _doc_items_usagehelp = usage,
inventory_image = "3d_armor_inv_leggings_chain.png", inventory_image = "3d_armor_inv_leggings_chain.png",
groups = {armor_legs=20, armor_heal=10, armor_use=500}, groups = {armor_legs=20, armor_heal=10, armor_use=500},
wear = 0,
_repair_material = "mcl_core:iron_ingot", _repair_material = "mcl_core:iron_ingot",
}) })
-- Regisiter Boots -- Regisiter Boots
@ -168,7 +153,6 @@ minetest.register_tool("3d_armor:boots_leather", {
_doc_items_usagehelp = usage, _doc_items_usagehelp = usage,
inventory_image = "3d_armor_inv_boots_leather.png", inventory_image = "3d_armor_inv_boots_leather.png",
groups = {armor_feet=5, armor_heal=0, armor_use=100}, groups = {armor_feet=5, armor_heal=0, armor_use=100},
wear = 0,
_repair_material = "mcl_mobitems:leather", _repair_material = "mcl_mobitems:leather",
}) })
@ -178,7 +162,6 @@ minetest.register_tool("3d_armor:boots_iron", {
_doc_items_usagehelp = usage, _doc_items_usagehelp = usage,
inventory_image = "3d_armor_inv_boots_iron.png", inventory_image = "3d_armor_inv_boots_iron.png",
groups = {armor_feet=10, armor_heal=5, armor_use=250}, groups = {armor_feet=10, armor_heal=5, armor_use=250},
wear = 0,
_repair_material = "mcl_core:iron_ingot", _repair_material = "mcl_core:iron_ingot",
}) })
@ -188,7 +171,6 @@ minetest.register_tool("3d_armor:boots_gold", {
_doc_items_usagehelp = usage, _doc_items_usagehelp = usage,
inventory_image = "3d_armor_inv_boots_gold.png", inventory_image = "3d_armor_inv_boots_gold.png",
groups = {armor_feet=15, armor_heal=10, armor_use=500}, groups = {armor_feet=15, armor_heal=10, armor_use=500},
wear = 0,
_repair_material = "mcl_core:gold_ingot", _repair_material = "mcl_core:gold_ingot",
}) })
@ -198,7 +180,6 @@ minetest.register_tool("3d_armor:boots_diamond",{
_doc_items_usagehelp = usage, _doc_items_usagehelp = usage,
inventory_image = "3d_armor_inv_boots_diamond.png", inventory_image = "3d_armor_inv_boots_diamond.png",
groups = {armor_feet=20, armor_heal=15, armor_use=750}, groups = {armor_feet=20, armor_heal=15, armor_use=750},
wear = 0,
_repair_material = "mcl_core:diamond", _repair_material = "mcl_core:diamond",
}) })
@ -208,7 +189,6 @@ minetest.register_tool("3d_armor:boots_chain", {
_doc_items_usagehelp = usage, _doc_items_usagehelp = usage,
inventory_image = "3d_armor_inv_boots_chain.png", inventory_image = "3d_armor_inv_boots_chain.png",
groups = {armor_feet=15, armor_heal=10, armor_use=500}, groups = {armor_feet=15, armor_heal=10, armor_use=500},
wear = 0,
_repair_material = "mcl_core:iron_ingot", _repair_material = "mcl_core:iron_ingot",
}) })