2015-05-26 23:31:31 +02:00
|
|
|
if ARMOR_MATERIALS.reinforced_leather then
|
|
|
|
-- Register helmets :
|
2015-07-24 13:31:21 +02:00
|
|
|
minetest.register_tool(":3d_armor:helmet_reinforcedleather", {
|
2015-05-26 23:31:31 +02:00
|
|
|
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 :
|
2015-07-24 13:31:21 +02:00
|
|
|
minetest.register_tool(":3d_armor:chestplate_reinforcedleather", {
|
2015-07-25 15:54:26 +02:00
|
|
|
description = "Reinforced Leather Chestplate",
|
|
|
|
inventory_image = "3d_armor_inv_chestplate_reinforcedleather.png",
|
2015-07-15 00:38:56 +02:00
|
|
|
groups = {armor_torso = 11, armor_heal = 0, armor_use = 40},
|
2015-05-26 23:31:31 +02:00
|
|
|
wear = 0,
|
|
|
|
})
|
|
|
|
-- Register leggings :
|
2015-07-24 13:31:21 +02:00
|
|
|
minetest.register_tool(":3d_armor:leggings_reinforcedleather", {
|
2015-07-25 15:54:26 +02:00
|
|
|
description = "Reinforced Leather Leggings",
|
|
|
|
inventory_image = "3d_armor_inv_leggings_reinforcedleather.png",
|
2015-07-15 00:38:56 +02:00
|
|
|
groups = {armor_legs = 11, armor_heal = 0, armor_use = 40},
|
2015-05-26 23:31:31 +02:00
|
|
|
wear = 0,
|
|
|
|
})
|
|
|
|
-- Register boots :
|
2015-07-24 13:31:21 +02:00
|
|
|
minetest.register_tool(":3d_armor:boots_reinforcedleather", {
|
2015-07-25 15:54:26 +02:00
|
|
|
description = "Reinforced Leather Boots",
|
|
|
|
inventory_image = "3d_armor_inv_boots_reinforcedleather.png",
|
2015-05-26 23:31:31 +02:00
|
|
|
groups = {armor_feet = 6, armor_heal = 0, armor_use = 40},
|
|
|
|
wear = 0,
|
|
|
|
})
|
|
|
|
end
|
2015-05-26 23:21:48 +02:00
|
|
|
|
|
|
|
-- Reinforced Leather craft recipe
|
|
|
|
minetest.register_craft({
|
2015-07-25 15:54:26 +02:00
|
|
|
output = "3d_armor:reinforcedleather",
|
2015-05-26 23:21:48 +02:00
|
|
|
recipe = {
|
|
|
|
{"technic:brass_ingot", "moreores:mithril_ingot", "darkage:chain" },
|
|
|
|
{"mobs:leather", "mobs:minotaur_eye", "mobs:leather" },
|
|
|
|
{"darkage:chain", "moreores:mithril_ingot", "technic:brass_ingot" },
|
|
|
|
}
|
|
|
|
})
|