1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-30 15:10:27 +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

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