2015-07-27 19:12:32 +02:00
|
|
|
if ARMOR_MATERIALS.reinforcedleather then
|
2015-05-26 23:31:31 +02:00
|
|
|
-- Register helmets :
|
2015-07-24 13:31:21 +02:00
|
|
|
minetest.register_tool(":3d_armor:helmet_reinforcedleather", {
|
2015-07-29 21:54:18 +02:00
|
|
|
description = "Reinforced Leather Helmet (Hunter)",
|
2015-07-27 19:12:32 +02:00
|
|
|
inventory_image = "3d_armor_inv_helmet_reinforcedleather.png",
|
2015-05-26 23:31:31 +02:00
|
|
|
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-29 19:18:10 +02:00
|
|
|
description = "Reinforced Leather Chestplate (Hunter)",
|
2015-07-25 15:54:26 +02:00
|
|
|
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-29 19:18:10 +02:00
|
|
|
description = "Reinforced Leather Leggings (Hunter)",
|
2015-07-25 15:54:26 +02:00
|
|
|
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-29 19:18:10 +02:00
|
|
|
description = "Reinforced Leather Boots (Hunter)",
|
2015-07-25 15:54:26 +02:00
|
|
|
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
|
|
|
|
2015-07-31 19:29:06 +02:00
|
|
|
minetest.register_craftitem(":3d_armor:reinforcedleather", {
|
|
|
|
description = "Reinforced Leather Ingot",
|
|
|
|
inventory_image = "3d_armor_reinforcedleather.png",
|
|
|
|
stack_max = 99,
|
|
|
|
})
|
|
|
|
|
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" },
|
|
|
|
}
|
|
|
|
})
|