1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 06:11:47 +02:00

Add the class name in the description of the armor items

This commit is contained in:
Ombridride
2015-07-29 19:18:10 +02:00
parent c86e02eb25
commit 9dd6092306
4 changed files with 16 additions and 17 deletions

View File

@ -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