Add the class to the swords/bows/arrows

This commit is contained in:
Ombridride 2015-07-29 19:29:12 +02:00
parent 9dd6092306
commit 0e7c803463
4 changed files with 5 additions and 4 deletions

View File

@ -445,7 +445,7 @@ minetest.register_tool("default:sword_diamond", {
}
})
minetest.register_tool("default:dungeon_master_s_blood_sword", { --Warrior Only
description = "Dungeon Master's Blood Sword",
description = "Dungeon Master's Blood Sword (Warrior)",
inventory_image = "default_tool_dungeon_master_s_blood_sword.png",
tool_capabilities = {
full_punch_interval = 0.5,

View File

@ -320,6 +320,7 @@ local oredefs = {
damage_groups = {fleshy = 5},
full_punch_interval = 0.5,
},
description = "Mithril (Warrior)",
sword = {
groupcaps = {
fleshy = {times = {[2] = 0.65, [3] = 0.25}, uses = 200, maxlevel= 1},

View File

@ -119,5 +119,5 @@ if not DISABLE_DIAMOND_ARROW then
end
if not DISABLE_MITHRIL_ARROW then
throwing_register_arrow_standard ('mithril', 'Mithril', 12, 0.66, 'moreores:mithril_ingot')
throwing_register_arrow_standard ('mithril', 'Mithril (Hunter)', 12, 0.66, 'moreores:mithril_ingot')
end

View File

@ -40,7 +40,7 @@ end
--function throwing_register_bow (name, desc, scale, stiffness, reload_time, toughness, is_cross, craft)
if not DISABLE_MINOTAUR_HORN_BOW then
throwing_register_bow ('bow_minotaur_horn', 'Minotaur Horn Bow', {x=1, y=1.5, z=0.5}, 35, 1.5, 1000, false, {
throwing_register_bow ('bow_minotaur_horn', 'Minotaur Horn Bow (Hunter)', {x=1, y=1.5, z=0.5}, 35, 1.5, 1000, false, {
{'farming:string', 'mobs:minotaur_horn', 'mobs:minotaur_horn'},
{'farming:string', '', 'moreores:mithril_ingot'},
{'farming:string', 'mobs:minotaur_horn', 'mobs:minotaur_horn'},
@ -49,7 +49,7 @@ end
--function throwing_register_bow (name, desc, scale, stiffness, reload_time, toughness, is_cross, craft)
if not DISABLE_MINOTAUR_HORN_IMPROVED_BOW then
throwing_register_bow ('bow_minotaur_horn_improved', 'Minotaur Horn Improved Bow', {x=1, y=1.5, z=0.5}, 50, 1.5, 2000, false, {
throwing_register_bow ('bow_minotaur_horn_improved', 'Minotaur Horn Improved Bow (Hunter)', {x=1, y=1.5, z=0.5}, 50, 1.5, 2000, false, {
{'throwing:bow_minotaur_horn', 'throwing:string_mithril'},
})
end