From 9dd60923064348c04d99d1583709b46f4c48eea6 Mon Sep 17 00:00:00 2001 From: Ombridride Date: Wed, 29 Jul 2015 19:18:10 +0200 Subject: [PATCH] Add the class name in the description of the armor items --- mods/3d_armor/3d_armor/init.lua | 9 ++++----- mods/3d_armor_classes/blackmithril/init.lua | 8 ++++---- mods/3d_armor_classes/harnededleather/init.lua | 8 ++++---- mods/3d_armor_classes/reinforcedleather/init.lua | 8 ++++---- 4 files changed, 16 insertions(+), 17 deletions(-) diff --git a/mods/3d_armor/3d_armor/init.lua b/mods/3d_armor/3d_armor/init.lua index e5e4ea8d..2b99ac5f 100755 --- a/mods/3d_armor/3d_armor/init.lua +++ b/mods/3d_armor/3d_armor/init.lua @@ -166,25 +166,25 @@ end if ARMOR_MATERIALS.mithril then minetest.register_tool("3d_armor:helmet_mithril", { - description = "Mithril Helmet", + description = "Mithril Helmet (Warrior)", inventory_image = "3d_armor_inv_helmet_mithril.png", groups = {armor_head=9, armor_heal=0, armor_use=50}, wear = 0, }) minetest.register_tool("3d_armor:chestplate_mithril", { - description = "Mithril Chestplate", + description = "Mithril Chestplate (Warrior)", inventory_image = "3d_armor_inv_chestplate_mithril.png", groups = {armor_torso=15, armor_heal=0, armor_use=50}, wear = 0, }) minetest.register_tool("3d_armor:leggings_mithril", { - description = "Mithril Leggings", + description = "Mithril Leggings (Warrior)", inventory_image = "3d_armor_inv_leggings_mithril.png", groups = {armor_legs=15, armor_heal=0, armor_use=50}, wear = 0, }) minetest.register_tool("3d_armor:boots_mithril", { - description = "Mithril Boots", + description = "Mithril Boots (Warrior)", inventory_image = "3d_armor_inv_boots_mithril.png", groups = {armor_feet=9, armor_heal=0, armor_use=50}, wear = 0, @@ -251,4 +251,3 @@ for k, v in pairs(ARMOR_MATERIALS) do }, }) end - diff --git a/mods/3d_armor_classes/blackmithril/init.lua b/mods/3d_armor_classes/blackmithril/init.lua index aeca1e38..2d08acf5 100755 --- a/mods/3d_armor_classes/blackmithril/init.lua +++ b/mods/3d_armor_classes/blackmithril/init.lua @@ -1,28 +1,28 @@ if ARMOR_MATERIALS.blackmithril then -- Register helmets : minetest.register_tool(":3d_armor:helmet_blackmithril", { - description = "Black Mithril Helmet", + description = "Black Mithril Helmet (Warrior)", inventory_image = "3d_armor_inv_helmet_blackmithril.png", groups = {armor_head = 11, armor_heal = 0, armor_use = 40}, wear = 0, }) -- Register chestplates : minetest.register_tool(":3d_armor:chestplate_blackmithril", { - description = "Black Mithril Chestplate", + description = "Black Mithril Chestplate (Warrior)", inventory_image = "3d_armor_inv_chestplate_blackmithril.png", groups = {armor_torso = 17, armor_heal = 0, armor_use = 40}, wear = 0, }) -- Register leggings : minetest.register_tool(":3d_armor:leggings_blackmithril", { - description = "Black Mithril Leggings", + description = "Black Mithril Leggings (Warrior)", inventory_image = "3d_armor_inv_leggings_blackmithril.png", groups = {armor_legs = 17, armor_heal = 0, armor_use = 40}, wear = 0, }) -- Register boots : minetest.register_tool(":3d_armor:boots_blackmithril", { - description = "Black Mithril Boots", + description = "Black Mithril Boots (Warrior)", inventory_image = "3d_armor_inv_boots_blackmithril.png", groups = {armor_feet = 11, armor_heal = 0, armor_use = 40}, wear = 0, diff --git a/mods/3d_armor_classes/harnededleather/init.lua b/mods/3d_armor_classes/harnededleather/init.lua index e039b5b2..100734bf 100755 --- a/mods/3d_armor_classes/harnededleather/init.lua +++ b/mods/3d_armor_classes/harnededleather/init.lua @@ -1,28 +1,28 @@ if ARMOR_MATERIALS.hardenedleather then -- Register helmets : minetest.register_tool(":3d_armor:helmet_hardenedleather", { - description = "Hardened Leather Helmet", + description = "Hardened Leather Helmet (Hunter)", inventory_image = "3d_armor_inv_helmet_hardenedleather.png", groups = {armor_head = 5, armor_heal = 0, armor_use = 250}, wear = 0, }) -- Register chestplates : minetest.register_tool(":3d_armor:chestplate_hardenedleather", { - description = "Hardened Leather Chestplate", + description = "Hardened Leather Chestplate (Hunter)", inventory_image = "3d_armor_inv_chestplate_hardenedleather.png", groups = {armor_torso = 8, armor_heal = 0, armor_use = 250}, wear = 0, }) -- Register leggings : minetest.register_tool(":3d_armor:leggings_hardenedleather", { - description = "Hardened Leather Leggings", + description = "Hardened Leather Leggings (Hunter)", inventory_image = "3d_armor_inv_leggings_hardenedleather.png", groups = {armor_legs = 8, armor_heal = 0, armor_use = 250}, wear = 0, }) -- Register boots : minetest.register_tool(":3d_armor:boots_hardenedleather", { - description = "Hardened Leather Boots", + description = "Hardened Leather Boots (Hunter)", inventory_image = "3d_armor_inv_boots_hardenedleather.png", groups = {armor_feet = 5, armor_heal = 0, armor_use = 250}, wear = 0, diff --git a/mods/3d_armor_classes/reinforcedleather/init.lua b/mods/3d_armor_classes/reinforcedleather/init.lua index 593528ba..3f4ab059 100755 --- a/mods/3d_armor_classes/reinforcedleather/init.lua +++ b/mods/3d_armor_classes/reinforcedleather/init.lua @@ -1,28 +1,28 @@ if ARMOR_MATERIALS.reinforcedleather then -- Register helmets : minetest.register_tool(":3d_armor:helmet_reinforcedleather", { - description = "Hunter's Reinforced Leather Helmet", + description = "Hunter's Reinforced Leather Helmet (Hunter)", inventory_image = "3d_armor_inv_helmet_reinforcedleather.png", groups = {armor_head = 6, armor_heal = 0, armor_use = 40}, wear = 0, }) -- Register chestplates : minetest.register_tool(":3d_armor:chestplate_reinforcedleather", { - description = "Reinforced Leather Chestplate", + description = "Reinforced Leather Chestplate (Hunter)", inventory_image = "3d_armor_inv_chestplate_reinforcedleather.png", groups = {armor_torso = 11, armor_heal = 0, armor_use = 40}, wear = 0, }) -- Register leggings : minetest.register_tool(":3d_armor:leggings_reinforcedleather", { - description = "Reinforced Leather Leggings", + description = "Reinforced Leather Leggings (Hunter)", inventory_image = "3d_armor_inv_leggings_reinforcedleather.png", groups = {armor_legs = 11, armor_heal = 0, armor_use = 40}, wear = 0, }) -- Register boots : minetest.register_tool(":3d_armor:boots_reinforcedleather", { - description = "Reinforced Leather Boots", + description = "Reinforced Leather Boots (Hunter)", inventory_image = "3d_armor_inv_boots_reinforcedleather.png", groups = {armor_feet = 6, armor_heal = 0, armor_use = 40}, wear = 0,