Renamed the texture of the warrior armor, update spreadsheet

Add the shield black mithril plated armor
This commit is contained in:
Ombridride 2015-07-20 22:30:34 +02:00
parent f4811a6483
commit 3bf43857a3
17 changed files with 24 additions and 13 deletions

View File

@ -21,11 +21,13 @@ ARMOR_MATERIALS = {
bronze = "default:bronze_ingot",
diamond = "default:diamond",
gold = "default:gold_ingot",
mithril = "moreores:mithril_ingot",
crystal = "ethereal:crystal_ingot",
-- Hunter armors (A déc-ommenter quand activation de l'armure au total)
hardened_leather = "3d_armor:hardened_leather",
reinforced_leather = "3d_armor:reinforced_leather"
reinforced_leather = "3d_armor:reinforced_leather",
-- Warrior armors
mithril = "moreores:mithril_ingot",
black_mithril = "3d_armor:black_mithril"
-- Wizard armors
--armor = "xxx",
--armor = "xxx",

View File

@ -100,6 +100,15 @@ if ARMOR_MATERIALS.mithril then
})
end
if ARMOR_MATERIALS.black_mithril then
minetest.register_tool("shields:shield_black_mithril_warrior", {
description = "Black Mithril Shield",
inventory_image = "shields_inv_shield_mithril.png",
groups = {armor_shield=15, armor_heal=2, armor_use=50},
wear = 0,
})
end
if ARMOR_MATERIALS.crystal then
minetest.register_tool("shields:shield_crystal", {
description = "Crystal Shield",

Binary file not shown.

After

Width:  |  Height:  |  Size: 526 B

View File

@ -1,30 +1,30 @@
if ARMOR_MATERIALS.black_mithril then
-- Register helmets :
minetest.register_tool(":3d_armor:helmet_black_mithril_plated_armor_warrior", {
minetest.register_tool(":3d_armor:helmet_black_mithril_plated_warrior", {
description = "Warrior's Black Mithril Plated Helmet",
inventory_image = "3d_armor_inv_helmet_black_mithril_plated_armor_warrior.png",
groups = {armor_head = 5, armor_heal = 0, armor_use = 250},
inventory_image = "3d_armor_inv_helmet_black_mithril_plated_warrior.png",
groups = {armor_head = 11, armor_heal = 0, armor_use = 250},
wear = 0,
})
-- Register chestplates :
minetest.register_tool(":3d_armor:chestplate_black_mithril_plated_armor_warrior", {
minetest.register_tool(":3d_armor:chestplate_black_mithril_plated_warrior", {
description = "Warrior's Black Mithril Plated Chestplate",
inventory_image = "3d_armor_inv_chestplate_black_mithril_plated_warrior.png",
groups = {armor_torso = 8, armor_heal = 0, armor_use = 250},
groups = {armor_torso = 17, armor_heal = 0, armor_use = 250},
wear = 0,
})
-- Register leggings :
minetest.register_tool(":3d_armor:leggings_black_mithril_plated_armor_warrior", {
minetest.register_tool(":3d_armor:leggings_black_mithril_plated_warrior", {
description = "Warrior's Black Mithril Plated Leggings",
inventory_image = "3d_armor_inv_leggings_black_mithril_plated_armor_warrior.png",
groups = {armor_legs = 8, armor_heal = 0, armor_use = 250},
inventory_image = "3d_armor_inv_leggings_black_mithril_plated_warrior.png",
groups = {armor_legs = 17, armor_heal = 0, armor_use = 250},
wear = 0,
})
-- Register boots :
minetest.register_tool(":3d_armor:boots_black_mithril_plated_armor_warrior", {
minetest.register_tool(":3d_armor:boots_black_mithril_plated_warrior", {
description = "Warrior's Black Mithril Plated Boots",
inventory_image = "3d_armor_inv_boots_black_mithril_plated_armor_warrior.png",
groups = {armor_feet = 5, armor_heal = 0, armor_use = 250},
inventory_image = "3d_armor_inv_boots_black_mithril_plated_warrior.png",
groups = {armor_feet = 11, armor_heal = 0, armor_use = 250},
wear = 0,
})
end

Binary file not shown.