1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-24 01:30:38 +01:00

Make all armors respect naming convention

This commit is contained in:
LeMagnesium 2015-07-25 15:54:26 +02:00
parent 96cc41f512
commit 1913804abd
52 changed files with 29 additions and 29 deletions

View File

@ -1,29 +1,29 @@
if ARMOR_MATERIALS.black_mithril then
-- Register helmets :
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",
description = "Black Mithril Helmet",
inventory_image = "3d_armor_inv_helmet_blackmithril.png",
groups = {armor_head = 11, armor_heal = 1, armor_use = 40},
wear = 0,
})
-- Register chestplates :
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",
description = "Black Mithril Chestplate",
inventory_image = "3d_armor_inv_chestplate_blackmithril.png",
groups = {armor_torso = 17, armor_heal = 1, armor_use = 40},
wear = 0,
})
-- Register leggings :
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",
description = "Black Mithril Leggings",
inventory_image = "3d_armor_inv_leggings_blackmithril.png",
groups = {armor_legs = 17, armor_heal = 1, armor_use = 40},
wear = 0,
})
-- Register boots :
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",
description = "Black Mithril Boots",
inventory_image = "3d_armor_inv_boots_blackmithril.png",
groups = {armor_feet = 11, armor_heal = 1, armor_use = 40},
wear = 0,
})
@ -31,7 +31,7 @@ end
-- Black Mithril craft recipe
minetest.register_craft({
output = "3d_armor:black_mithril",
output = "3d_armor:blackmithril",
recipe = {
{"nether:white", "mobs:dungeon_master_blood", "default:obsidian" },
{"default:mithril_ingot", "mobs:dungeon_master_diamond", "default:mithril_ingot" },

View File

@ -1,29 +1,29 @@
if ARMOR_MATERIALS.hardened_leather then
-- Register helmets :
minetest.register_tool(":3d_armor:helmet_hardenedleather", {
description = "Hunter's Hardened Leather Helmet",
inventory_image = "3d_armor_inv_helmet_hardened_leather_hunter.png",
description = "Hardened Leather Helmet",
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 = "Hunter's Hardened Leather Chestplate",
inventory_image = "3d_armor_inv_chestplate_hardened_leather_hunter.png",
description = "Hardened Leather Chestplate",
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 = "Hunter's Hardened Leather Leggings",
inventory_image = "3d_armor_inv_leggings_hardened_leather_hunter.png",
description = "Hardened Leather Leggings",
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 = "Hunter's Hardened Leather Boots",
inventory_image = "3d_armor_inv_boots_hardened_leather_hunter.png",
description = "Hardened Leather Boots",
inventory_image = "3d_armor_inv_boots_hardenedleather.png",
groups = {armor_feet = 5, armor_heal = 0, armor_use = 250},
wear = 0,
})
@ -31,7 +31,7 @@ end
-- Hardened Leather craft recipe
minetest.register_craft({
output = "3d_armor:hardened_leather",
output = "3d_armor:hardenedleather",
recipe = {
{"default:steel_ingot", "mobs:leather", "default:bronze_ingot" },
{"mobs:leather", "mobs:leather", "mobs:leather" },

View File

@ -8,22 +8,22 @@ if ARMOR_MATERIALS.reinforced_leather then
})
-- Register chestplates :
minetest.register_tool(":3d_armor:chestplate_reinforcedleather", {
description = "Hunter's Reinforced Leather Chestplate",
inventory_image = "3d_armor_inv_chestplate_reinforced_leather_hunter.png",
description = "Reinforced Leather Chestplate",
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 = "Hunter's Reinforced Leather Leggings",
inventory_image = "3d_armor_inv_leggings_reinforced_leather_hunter.png",
description = "Reinforced Leather Leggings",
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 = "Hunter's Reinforced Leather Boots",
inventory_image = "3d_armor_inv_boots_reinforced_leather_hunter.png",
description = "Reinforced Leather Boots",
inventory_image = "3d_armor_inv_boots_reinforcedleather.png",
groups = {armor_feet = 6, armor_heal = 0, armor_use = 40},
wear = 0,
})
@ -31,7 +31,7 @@ end
-- Reinforced Leather craft recipe
minetest.register_craft({
output = "3d_armor:reinforced_leather",
output = "3d_armor:reinforcedleather",
recipe = {
{"technic:brass_ingot", "moreores:mithril_ingot", "darkage:chain" },
{"mobs:leather", "mobs:minotaur_eye", "mobs:leather" },

View File

@ -167,10 +167,10 @@ load_mod_throwing = true
load_mod_pclasses = true
load_mod_3d_armor = true
load_mod_technic_armor = false
load_mod_leather_armor_hunter = false
load_mod_magic_mithril_armor_wizard = false
load_mod_obsidian_armor_wizard = false
load_mod_reinforced_leather_armor_hunter = false
load_mod_hardenedleather = false
load_mod_magicmithril = false
load_mod_obsidian = false
load_mod_reinforced = false
load_mod_shields = true
load_mod_wieldview = true
load_mod_returnmirror = true