From 113a49da411ff92a1bca54b46b28223aa8671d68 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 17 Feb 2020 17:26:06 +0100 Subject: [PATCH] Armor: remove "wear" value from registrations --- .../ITEMS/minetest-3d_armor/3d_armor/init.lua | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/mods/ITEMS/minetest-3d_armor/3d_armor/init.lua b/mods/ITEMS/minetest-3d_armor/3d_armor/init.lua index ee4af5b5a7..b3b990c197 100644 --- a/mods/ITEMS/minetest-3d_armor/3d_armor/init.lua +++ b/mods/ITEMS/minetest-3d_armor/3d_armor/init.lua @@ -13,7 +13,6 @@ minetest.register_tool("3d_armor:helmet_leather", { _doc_items_usagehelp = usage, inventory_image = "3d_armor_inv_helmet_leather.png", groups = {armor_head=5, armor_heal=0, armor_use=100}, - wear = 0, _repair_material = "mcl_mobitems:leather", }) @@ -23,7 +22,6 @@ minetest.register_tool("3d_armor:helmet_iron", { _doc_items_usagehelp = usage, inventory_image = "3d_armor_inv_helmet_iron.png", groups = {armor_head=10, armor_heal=5, armor_use=250}, - wear = 0, _repair_material = "mcl_core:iron_ingot", }) @@ -33,7 +31,6 @@ minetest.register_tool("3d_armor:helmet_gold", { _doc_items_usagehelp = usage, inventory_image = "3d_armor_inv_helmet_gold.png", groups = {armor_head=15, armor_heal=10, armor_use=500}, - wear = 0, _repair_material = "mcl_core:gold_ingot", }) @@ -43,7 +40,6 @@ minetest.register_tool("3d_armor:helmet_diamond",{ _doc_items_usagehelp = usage, inventory_image = "3d_armor_inv_helmet_diamond.png", groups = {armor_head=20, armor_heal=15, armor_use=750}, - wear = 0, _repair_material = "mcl_core:diamond", }) @@ -53,7 +49,6 @@ minetest.register_tool("3d_armor:helmet_chain", { _doc_items_usagehelp = usage, inventory_image = "3d_armor_inv_helmet_chain.png", groups = {armor_head=15, armor_heal=10, armor_use=500}, - wear = 0, _repair_material = "mcl_core:iron_ingot", }) @@ -65,7 +60,6 @@ minetest.register_tool("3d_armor:chestplate_leather", { _doc_items_usagehelp = usage, inventory_image = "3d_armor_inv_chestplate_leather.png", groups = {armor_torso=15, armor_heal=0, armor_use=100}, - wear = 0, _repair_material = "mcl_mobitems:leather", }) @@ -75,7 +69,6 @@ minetest.register_tool("3d_armor:chestplate_iron", { _doc_items_usagehelp = usage, inventory_image = "3d_armor_inv_chestplate_iron.png", groups = {armor_torso=20, armor_heal=5, armor_use=250}, - wear = 0, _repair_material = "mcl_core:iron_ingot", }) @@ -85,7 +78,6 @@ minetest.register_tool("3d_armor:chestplate_gold", { _doc_items_usagehelp = usage, inventory_image = "3d_armor_inv_chestplate_gold.png", groups = {armor_torso=25, armor_heal=10, armor_use=500}, - wear = 0, _repair_material = "mcl_core:gold_ingot", }) @@ -95,7 +87,6 @@ minetest.register_tool("3d_armor:chestplate_diamond",{ _doc_items_usagehelp = usage, inventory_image = "3d_armor_inv_chestplate_diamond.png", groups = {armor_torso=30, armor_heal=15, armor_use=750}, - wear = 0, _repair_material = "mcl_core:diamond", }) @@ -105,7 +96,6 @@ minetest.register_tool("3d_armor:chestplate_chain", { _doc_items_usagehelp = usage, inventory_image = "3d_armor_inv_chestplate_chain.png", groups = {armor_torso=25, armor_heal=10, armor_use=500}, - wear = 0, _repair_material = "mcl_core:iron_ingot", }) @@ -117,7 +107,6 @@ minetest.register_tool("3d_armor:leggings_leather", { _doc_items_usagehelp = usage, inventory_image = "3d_armor_inv_leggings_leather.png", groups = {armor_legs=10, armor_heal=0, armor_use=100}, - wear = 0, _repair_material = "mcl_mobitems:leather", }) @@ -127,7 +116,6 @@ minetest.register_tool("3d_armor:leggings_iron", { _doc_items_usagehelp = usage, inventory_image = "3d_armor_inv_leggings_iron.png", groups = {armor_legs=15, armor_heal=5, armor_use=250}, - wear = 0, _repair_material = "mcl_core:iron_ingot", }) @@ -137,7 +125,6 @@ minetest.register_tool("3d_armor:leggings_gold", { _doc_items_usagehelp = usage, inventory_image = "3d_armor_inv_leggings_gold.png", groups = {armor_legs=20, armor_heal=10, armor_use=500}, - wear = 0, _repair_material = "mcl_core:gold_ingot", }) @@ -147,7 +134,6 @@ minetest.register_tool("3d_armor:leggings_diamond",{ _doc_items_usagehelp = usage, inventory_image = "3d_armor_inv_leggings_diamond.png", groups = {armor_legs=25, armor_heal=15, armor_use=750}, - wear = 0, _repair_material = "mcl_core:diamond", }) @@ -157,7 +143,6 @@ minetest.register_tool("3d_armor:leggings_chain", { _doc_items_usagehelp = usage, inventory_image = "3d_armor_inv_leggings_chain.png", groups = {armor_legs=20, armor_heal=10, armor_use=500}, - wear = 0, _repair_material = "mcl_core:iron_ingot", }) -- Regisiter Boots @@ -168,7 +153,6 @@ minetest.register_tool("3d_armor:boots_leather", { _doc_items_usagehelp = usage, inventory_image = "3d_armor_inv_boots_leather.png", groups = {armor_feet=5, armor_heal=0, armor_use=100}, - wear = 0, _repair_material = "mcl_mobitems:leather", }) @@ -178,7 +162,6 @@ minetest.register_tool("3d_armor:boots_iron", { _doc_items_usagehelp = usage, inventory_image = "3d_armor_inv_boots_iron.png", groups = {armor_feet=10, armor_heal=5, armor_use=250}, - wear = 0, _repair_material = "mcl_core:iron_ingot", }) @@ -188,7 +171,6 @@ minetest.register_tool("3d_armor:boots_gold", { _doc_items_usagehelp = usage, inventory_image = "3d_armor_inv_boots_gold.png", groups = {armor_feet=15, armor_heal=10, armor_use=500}, - wear = 0, _repair_material = "mcl_core:gold_ingot", }) @@ -198,7 +180,6 @@ minetest.register_tool("3d_armor:boots_diamond",{ _doc_items_usagehelp = usage, inventory_image = "3d_armor_inv_boots_diamond.png", groups = {armor_feet=20, armor_heal=15, armor_use=750}, - wear = 0, _repair_material = "mcl_core:diamond", }) @@ -208,7 +189,6 @@ minetest.register_tool("3d_armor:boots_chain", { _doc_items_usagehelp = usage, inventory_image = "3d_armor_inv_boots_chain.png", groups = {armor_feet=15, armor_heal=10, armor_use=500}, - wear = 0, _repair_material = "mcl_core:iron_ingot", })