2013-03-26 21:54:01 +01:00
|
|
|
|
|
|
|
-- Override moreores weapons (make them more powerful)
|
|
|
|
|
|
|
|
minetest.register_tool(":moreores:sword_mithril", {
|
|
|
|
description = "Mithril Sword",
|
|
|
|
inventory_image = "moreores_tool_mithrilsword.png",
|
|
|
|
tool_capabilities = {
|
|
|
|
full_punch_interval = 0.8,
|
|
|
|
max_drop_level=1,
|
|
|
|
groupcaps={
|
|
|
|
fleshy={times={[0]=0.65, [1]=0.50, [2]=0.40, [3]=0.30}, uses=50, maxlevel=3},
|
|
|
|
snappy={times={[2]=0.80, [3]=0.40}, uses=100, maxlevel=1},
|
|
|
|
choppy={times={[3]=0.90}, uses=50, maxlevel=0}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
-- Regisiter Head Armor
|
|
|
|
|
|
|
|
minetest.register_tool("more_armor:helmet_mithril", {
|
|
|
|
description = "Mithril Helmet",
|
|
|
|
inventory_image = "more_armor_inv_helmet_mithril.png",
|
2013-04-11 21:56:35 +02:00
|
|
|
groups = {armor_head=15, armor_heal=15, armor_use=50},
|
2013-03-26 21:54:01 +01:00
|
|
|
wear = 0,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "more_armor:helmet_mithril",
|
|
|
|
recipe = {
|
|
|
|
{"moreores:mithril_ingot", "moreores:mithril_ingot", "moreores:mithril_ingot"},
|
|
|
|
{"moreores:mithril_ingot", "", "moreores:mithril_ingot"},
|
|
|
|
{"", "", ""},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
-- Regisiter Torso Armor
|
|
|
|
|
|
|
|
minetest.register_tool("more_armor:chestplate_mithril", {
|
|
|
|
description = "Mithril Chestplate",
|
|
|
|
inventory_image = "more_armor_inv_chestplate_mithril.png",
|
2013-04-11 21:56:35 +02:00
|
|
|
groups = {armor_torso=25, armor_heal=15, armor_use=50},
|
2013-03-26 21:54:01 +01:00
|
|
|
wear = 0,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "more_armor:chestplate_mithril",
|
|
|
|
recipe = {
|
|
|
|
{"moreores:mithril_ingot", "", "moreores:mithril_ingot"},
|
|
|
|
{"moreores:mithril_ingot", "moreores:mithril_ingot", "moreores:mithril_ingot"},
|
|
|
|
{"moreores:mithril_ingot", "moreores:mithril_ingot", "moreores:mithril_ingot"},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
-- Regisiter Leg Armor
|
|
|
|
|
|
|
|
minetest.register_tool("more_armor:leggings_mithril", {
|
|
|
|
description = "Mithril Leggings",
|
|
|
|
inventory_image = "more_armor_inv_leggings_mithril.png",
|
2013-04-11 21:56:35 +02:00
|
|
|
groups = {armor_legs=20, armor_heal=15, armor_use=50},
|
2013-03-26 21:54:01 +01:00
|
|
|
wear = 0,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "more_armor:leggings_mithril",
|
|
|
|
recipe = {
|
|
|
|
{"moreores:mithril_ingot", "moreores:mithril_ingot", "moreores:mithril_ingot"},
|
|
|
|
{"moreores:mithril_ingot", "", "moreores:mithril_ingot"},
|
|
|
|
{"moreores:mithril_ingot", "", "moreores:mithril_ingot"},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
-- Regisiter Shields
|
|
|
|
|
|
|
|
minetest.register_tool("more_armor:shield_mithril", {
|
|
|
|
description = "Mithril Shield",
|
|
|
|
inventory_image = "more_armor_inv_shield_mithril.png",
|
2013-04-11 21:56:35 +02:00
|
|
|
groups = {armor_shield=25, armor_heal=15, armor_use=50},
|
2013-03-26 21:54:01 +01:00
|
|
|
wear = 0,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "more_armor:shield_mithril",
|
|
|
|
recipe = {
|
|
|
|
{"moreores:mithril_ingot", "moreores:mithril_ingot", "moreores:mithril_ingot"},
|
|
|
|
{"moreores:mithril_ingot", "moreores:mithril_ingot", "moreores:mithril_ingot"},
|
|
|
|
{"", "moreores:mithril_ingot", ""},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|