mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-12 02:50:25 +01:00
Finish hardened_leather armor
This commit is contained in:
parent
6f044a29f7
commit
de96d211e6
@ -1,38 +1,33 @@
|
||||
-- Register helmets:
|
||||
|
||||
minetest.register_tool(":3d_armor:helmet_leather_hunter", {
|
||||
description = "Hunter's Leather Helmet",
|
||||
inventory_image = "3d_armor_inv_helmet_leather_hunter.png",
|
||||
groups = {armor_head = 5, armor_heal = 0, armor_use = 250},
|
||||
wear = 0,
|
||||
})
|
||||
|
||||
-- Register chestplates:
|
||||
|
||||
minetest.register_tool(":3d_armor:chestplate_leather_hunter", {
|
||||
description = "Hunter's Leather Chestplate",
|
||||
inventory_image = "3d_armor_inv_chestplate_leather_hunter.png",
|
||||
groups = {armor_torso = 9, armor_heal = 0, armor_use = 250},
|
||||
wear = 0,
|
||||
})
|
||||
|
||||
-- Register leggings:
|
||||
|
||||
minetest.register_tool(":3d_armor:leggings_leather_hunter", {
|
||||
description = "Hunter's Leather Leggings",
|
||||
inventory_image = "3d_armor_inv_leggings_leather_hunter.png",
|
||||
groups = {armor_legs = 9, armor_heal = 0, armor_use = 250},
|
||||
wear = 0,
|
||||
})
|
||||
|
||||
-- Register boots:
|
||||
|
||||
minetest.register_tool(":3d_armor:boots_leather_hunter", {
|
||||
description = "Hunter's Leather Boots",
|
||||
inventory_image = "3d_armor_inv_boots_leather_hunter.png",
|
||||
groups = {armor_feet = 5, armor_heal = 0, armor_use = 250},
|
||||
wear = 0,
|
||||
})
|
||||
if ARMOR_MATERIALS.hardened_leather then
|
||||
-- Register helmets :
|
||||
minetest.register_tool(":3d_armor:helmet_leather_hunter", {
|
||||
description = "Hunter's Leather Helmet",
|
||||
inventory_image = "3d_armor_inv_helmet_leather_hunter.png",
|
||||
groups = {armor_head = 5, armor_heal = 0, armor_use = 250},
|
||||
wear = 0,
|
||||
})
|
||||
-- Register chestplates :
|
||||
minetest.register_tool(":3d_armor:chestplate_leather_hunter", {
|
||||
description = "Hunter's Leather Chestplate",
|
||||
inventory_image = "3d_armor_inv_chestplate_leather_hunter.png",
|
||||
groups = {armor_torso = 9, armor_heal = 0, armor_use = 250},
|
||||
wear = 0,
|
||||
})
|
||||
-- Register leggings :
|
||||
minetest.register_tool(":3d_armor:leggings_leather_hunter", {
|
||||
description = "Hunter's Leather Leggings",
|
||||
inventory_image = "3d_armor_inv_leggings_leather_hunter.png",
|
||||
groups = {armor_legs = 9, armor_heal = 0, armor_use = 250},
|
||||
wear = 0,
|
||||
})
|
||||
-- Register boots :
|
||||
minetest.register_tool(":3d_armor:boots_leather_hunter", {
|
||||
description = "Hunter's Leather Boots",
|
||||
inventory_image = "3d_armor_inv_boots_leather_hunter.png",
|
||||
groups = {armor_feet = 5, armor_heal = 0, armor_use = 250},
|
||||
wear = 0,
|
||||
})
|
||||
end
|
||||
|
||||
-- Hardened Leather craft recipe
|
||||
minetest.register_craft({
|
||||
|
Loading…
Reference in New Issue
Block a user