mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-06-28 06:11:47 +02:00
Fixed 3d_armor's naming convention
- Fixed names. Convention : 3d_armor:<piece>_<material>
This commit is contained in:
@ -1,27 +1,27 @@
|
||||
if ARMOR_MATERIALS.black_mithril then
|
||||
-- Register helmets :
|
||||
minetest.register_tool(":3d_armor:helmet_black_mithril_plated_warrior", {
|
||||
minetest.register_tool(":3d_armor:helmet_blackmithril", {
|
||||
description = "Warrior's Black Mithril Plated Helmet",
|
||||
inventory_image = "3d_armor_inv_helmet_black_mithril_plated_warrior.png",
|
||||
groups = {armor_head = 11, armor_heal = 1, armor_use = 40},
|
||||
wear = 0,
|
||||
})
|
||||
-- Register chestplates :
|
||||
minetest.register_tool(":3d_armor:chestplate_black_mithril_plated_warrior", {
|
||||
minetest.register_tool(":3d_armor:chestplate_blackmithril", {
|
||||
description = "Warrior's Black Mithril Plated Chestplate",
|
||||
inventory_image = "3d_armor_inv_chestplate_black_mithril_plated_warrior.png",
|
||||
groups = {armor_torso = 17, armor_heal = 1, armor_use = 40},
|
||||
wear = 0,
|
||||
})
|
||||
-- Register leggings :
|
||||
minetest.register_tool(":3d_armor:leggings_black_mithril_plated_warrior", {
|
||||
minetest.register_tool(":3d_armor:leggings_blackmithril", {
|
||||
description = "Warrior's Black Mithril Plated Leggings",
|
||||
inventory_image = "3d_armor_inv_leggings_black_mithril_plated_warrior.png",
|
||||
groups = {armor_legs = 17, armor_heal = 1, armor_use = 40},
|
||||
wear = 0,
|
||||
})
|
||||
-- Register boots :
|
||||
minetest.register_tool(":3d_armor:boots_black_mithril_plated_warrior", {
|
||||
minetest.register_tool(":3d_armor:boots_blackmithril", {
|
||||
description = "Warrior's Black Mithril Plated Boots",
|
||||
inventory_image = "3d_armor_inv_boots_black_mithril_plated_warrior.png",
|
||||
groups = {armor_feet = 11, armor_heal = 1, armor_use = 40},
|
||||
|
@ -1,27 +1,27 @@
|
||||
if ARMOR_MATERIALS.hardened_leather then
|
||||
-- Register helmets :
|
||||
minetest.register_tool(":3d_armor:helmet_hardened_leather_hunter", {
|
||||
minetest.register_tool(":3d_armor:helmet_hardenedleather", {
|
||||
description = "Hunter's Hardened Leather Helmet",
|
||||
inventory_image = "3d_armor_inv_helmet_hardened_leather_hunter.png",
|
||||
groups = {armor_head = 5, armor_heal = 0, armor_use = 250},
|
||||
wear = 0,
|
||||
})
|
||||
-- Register chestplates :
|
||||
minetest.register_tool(":3d_armor:chestplate_hardened_leather_hunter", {
|
||||
minetest.register_tool(":3d_armor:chestplate_hardenedleather", {
|
||||
description = "Hunter's Hardened Leather Chestplate",
|
||||
inventory_image = "3d_armor_inv_chestplate_hardened_leather_hunter.png",
|
||||
groups = {armor_torso = 8, armor_heal = 0, armor_use = 250},
|
||||
wear = 0,
|
||||
})
|
||||
-- Register leggings :
|
||||
minetest.register_tool(":3d_armor:leggings_hardened_leather_hunter", {
|
||||
minetest.register_tool(":3d_armor:leggings_hardenedleather", {
|
||||
description = "Hunter's Hardened Leather Leggings",
|
||||
inventory_image = "3d_armor_inv_leggings_hardened_leather_hunter.png",
|
||||
groups = {armor_legs = 8, armor_heal = 0, armor_use = 250},
|
||||
wear = 0,
|
||||
})
|
||||
-- Register boots :
|
||||
minetest.register_tool(":3d_armor:boots_hardened_leather_hunter", {
|
||||
minetest.register_tool(":3d_armor:boots_hardenedleather", {
|
||||
description = "Hunter's Hardened Leather Boots",
|
||||
inventory_image = "3d_armor_inv_boots_hardened_leather_hunter.png",
|
||||
groups = {armor_feet = 5, armor_heal = 0, armor_use = 250},
|
||||
|
@ -1,27 +1,27 @@
|
||||
if ARMOR_MATERIALS.reinforced_leather then
|
||||
-- Register helmets :
|
||||
minetest.register_tool(":3d_armor:helmet_reinforced_leather_hunter", {
|
||||
minetest.register_tool(":3d_armor:helmet_reinforcedleather", {
|
||||
description = "Hunter's Reinforced Leather Helmet",
|
||||
inventory_image = "3d_armor_inv_helmet_reinforced_leather_hunter.png",
|
||||
groups = {armor_head = 6, armor_heal = 0, armor_use = 40},
|
||||
wear = 0,
|
||||
})
|
||||
-- Register chestplates :
|
||||
minetest.register_tool(":3d_armor:chestplate_reinforced_leather_hunter", {
|
||||
minetest.register_tool(":3d_armor:chestplate_reinforcedleather", {
|
||||
description = "Hunter's Reinforced Leather Chestplate",
|
||||
inventory_image = "3d_armor_inv_chestplate_reinforced_leather_hunter.png",
|
||||
groups = {armor_torso = 11, armor_heal = 0, armor_use = 40},
|
||||
wear = 0,
|
||||
})
|
||||
-- Register leggings :
|
||||
minetest.register_tool(":3d_armor:leggings_reinforced_leather_hunter", {
|
||||
minetest.register_tool(":3d_armor:leggings_reinforcedleather", {
|
||||
description = "Hunter's Reinforced Leather Leggings",
|
||||
inventory_image = "3d_armor_inv_leggings_reinforced_leather_hunter.png",
|
||||
groups = {armor_legs = 11, armor_heal = 0, armor_use = 40},
|
||||
wear = 0,
|
||||
})
|
||||
-- Register boots :
|
||||
minetest.register_tool(":3d_armor:boots_reinforced_leather_hunter", {
|
||||
minetest.register_tool(":3d_armor:boots_reinforcedleather", {
|
||||
description = "Hunter's Reinforced Leather Boots",
|
||||
inventory_image = "3d_armor_inv_boots_reinforced_leather_hunter.png",
|
||||
groups = {armor_feet = 6, armor_heal = 0, armor_use = 40},
|
||||
|
Reference in New Issue
Block a user