2015-07-20 21:53:25 +02:00
|
|
|
if ARMOR_MATERIALS.black_mithril then
|
|
|
|
-- Register helmets :
|
2015-07-20 22:30:34 +02:00
|
|
|
minetest.register_tool(":3d_armor:helmet_black_mithril_plated_warrior", {
|
2015-07-20 21:53:25 +02:00
|
|
|
description = "Warrior's Black Mithril Plated Helmet",
|
2015-07-20 22:30:34 +02:00
|
|
|
inventory_image = "3d_armor_inv_helmet_black_mithril_plated_warrior.png",
|
2015-07-20 23:10:35 +02:00
|
|
|
groups = {armor_head = 11, armor_heal = 1, armor_use = 40},
|
2015-07-20 21:53:25 +02:00
|
|
|
wear = 0,
|
|
|
|
})
|
|
|
|
-- Register chestplates :
|
2015-07-20 22:30:34 +02:00
|
|
|
minetest.register_tool(":3d_armor:chestplate_black_mithril_plated_warrior", {
|
2015-07-20 21:53:25 +02:00
|
|
|
description = "Warrior's Black Mithril Plated Chestplate",
|
|
|
|
inventory_image = "3d_armor_inv_chestplate_black_mithril_plated_warrior.png",
|
2015-07-20 23:10:35 +02:00
|
|
|
groups = {armor_torso = 17, armor_heal = 1, armor_use = 40},
|
2015-07-20 21:53:25 +02:00
|
|
|
wear = 0,
|
|
|
|
})
|
|
|
|
-- Register leggings :
|
2015-07-20 22:30:34 +02:00
|
|
|
minetest.register_tool(":3d_armor:leggings_black_mithril_plated_warrior", {
|
2015-07-20 21:53:25 +02:00
|
|
|
description = "Warrior's Black Mithril Plated Leggings",
|
2015-07-20 22:30:34 +02:00
|
|
|
inventory_image = "3d_armor_inv_leggings_black_mithril_plated_warrior.png",
|
2015-07-20 23:10:35 +02:00
|
|
|
groups = {armor_legs = 17, armor_heal = 1, armor_use = 40},
|
2015-07-20 21:53:25 +02:00
|
|
|
wear = 0,
|
|
|
|
})
|
|
|
|
-- Register boots :
|
2015-07-20 22:30:34 +02:00
|
|
|
minetest.register_tool(":3d_armor:boots_black_mithril_plated_warrior", {
|
2015-07-20 21:53:25 +02:00
|
|
|
description = "Warrior's Black Mithril Plated Boots",
|
2015-07-20 22:30:34 +02:00
|
|
|
inventory_image = "3d_armor_inv_boots_black_mithril_plated_warrior.png",
|
2015-07-20 23:10:35 +02:00
|
|
|
groups = {armor_feet = 11, armor_heal = 1, armor_use = 40},
|
2015-07-20 21:53:25 +02:00
|
|
|
wear = 0,
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
-- Black Mithril craft recipe
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "3d_armor:black_mithril",
|
|
|
|
recipe = {
|
|
|
|
{"nether:white", "mobs:dungeon_master_blood", "default:obsidian" },
|
|
|
|
{"default:mithril_ingot", "mobs:dungeon_master_diamond", "default:mithril_ingot" },
|
|
|
|
{"default:obsidian", "mobs:dungeon_master_blood", "nether:white" },
|
|
|
|
}
|
|
|
|
})
|