1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-09-27 23:10:33 +02:00

add craftiem 3d_armor

This commit is contained in:
crabman77 2015-07-31 19:29:06 +02:00
parent eeb47ef5ba
commit e3be6e1d51
6 changed files with 20 additions and 2 deletions

View File

@ -27,7 +27,7 @@ ARMOR_MATERIALS = {
reinforcedleather = "3d_armor:reinforcedleather", reinforcedleather = "3d_armor:reinforcedleather",
-- Warrior armors -- Warrior armors
mithril = "moreores:mithril_ingot", mithril = "moreores:mithril_ingot",
blackmithril = "3d_armor:blackmithril" blackmithril = "3d_armor:blackmithril_ingot"
-- Wizard armors -- Wizard armors
--armor = "xxx", --armor = "xxx",
--armor = "xxx", --armor = "xxx",

View File

@ -29,9 +29,15 @@ if ARMOR_MATERIALS.blackmithril then
}) })
end end
minetest.register_craftitem(":3d_armor:blackmithril_ingot", {
description = "Black Mithril Ingot",
inventory_image = "3d_armor_blackmithril_ingot.png",
stack_max = 99,
})
-- Black Mithril craft recipe -- Black Mithril craft recipe
minetest.register_craft({ minetest.register_craft({
output = "3d_armor:blackmithril", output = "3d_armor:blackmithril_ingot",
recipe = { recipe = {
{"nether:white", "mobs:dungeon_master_blood", "default:obsidian" }, {"nether:white", "mobs:dungeon_master_blood", "default:obsidian" },
{"default:mithril_ingot", "mobs:dungeon_master_diamond", "default:mithril_ingot" }, {"default:mithril_ingot", "mobs:dungeon_master_diamond", "default:mithril_ingot" },

View File

@ -29,6 +29,12 @@ if ARMOR_MATERIALS.hardenedleather then
}) })
end end
minetest.register_craftitem(":3d_armor:hardenedleather", {
description = "Hardened Leather ingot",
inventory_image = "3d_armor_hardenedleather.png",
stack_max = 99,
})
-- Hardened Leather craft recipe -- Hardened Leather craft recipe
minetest.register_craft({ minetest.register_craft({
output = "3d_armor:hardenedleather", output = "3d_armor:hardenedleather",

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 B

View File

@ -29,6 +29,12 @@ if ARMOR_MATERIALS.reinforcedleather then
}) })
end end
minetest.register_craftitem(":3d_armor:reinforcedleather", {
description = "Reinforced Leather Ingot",
inventory_image = "3d_armor_reinforcedleather.png",
stack_max = 99,
})
-- Reinforced Leather craft recipe -- Reinforced Leather craft recipe
minetest.register_craft({ minetest.register_craft({
output = "3d_armor:reinforcedleather", output = "3d_armor:reinforcedleather",

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 B