mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-26 02:30:38 +01:00
b49fae2fdc
reduce the craft difficulty for blackmithril/reinforcedleather ! All of this for getting the server more easier.
47 lines
1.6 KiB
Lua
Executable File
47 lines
1.6 KiB
Lua
Executable File
if ARMOR_MATERIALS.reinforcedleather then
|
|
-- Register helmets :
|
|
minetest.register_tool(":3d_armor:helmet_reinforcedleather", {
|
|
description = "Reinforced Leather Helmet (Hunter)",
|
|
inventory_image = "3d_armor_inv_helmet_reinforcedleather.png",
|
|
groups = {armor_head = 6, armor_heal = 0, armor_use = 40},
|
|
wear = 0,
|
|
})
|
|
-- Register chestplates :
|
|
minetest.register_tool(":3d_armor:chestplate_reinforcedleather", {
|
|
description = "Reinforced Leather Chestplate (Hunter)",
|
|
inventory_image = "3d_armor_inv_chestplate_reinforcedleather.png",
|
|
groups = {armor_torso = 11, armor_heal = 0, armor_use = 40},
|
|
wear = 0,
|
|
})
|
|
-- Register leggings :
|
|
minetest.register_tool(":3d_armor:leggings_reinforcedleather", {
|
|
description = "Reinforced Leather Leggings (Hunter)",
|
|
inventory_image = "3d_armor_inv_leggings_reinforcedleather.png",
|
|
groups = {armor_legs = 11, armor_heal = 0, armor_use = 40},
|
|
wear = 0,
|
|
})
|
|
-- Register boots :
|
|
minetest.register_tool(":3d_armor:boots_reinforcedleather", {
|
|
description = "Reinforced Leather Boots (Hunter)",
|
|
inventory_image = "3d_armor_inv_boots_reinforcedleather.png",
|
|
groups = {armor_feet = 6, armor_heal = 0, armor_use = 40},
|
|
wear = 0,
|
|
})
|
|
end
|
|
|
|
minetest.register_craftitem(":3d_armor:reinforcedleather", {
|
|
description = "Reinforced Leather Ingot",
|
|
inventory_image = "3d_armor_reinforcedleather.png",
|
|
stack_max = 99,
|
|
})
|
|
|
|
-- Reinforced Leather craft recipe
|
|
minetest.register_craft({
|
|
output = "3d_armor:reinforcedleather",
|
|
recipe = {
|
|
{"moreores:mithril_ingot", "technic:brass_ingot", ""},
|
|
{"darkage:chain", "mobs:minotaur_eye", ""},
|
|
{"", "", ""}
|
|
}
|
|
})
|