mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-25 18:20:36 +01:00
Add the class to the swords/bows/arrows
This commit is contained in:
parent
9dd6092306
commit
0e7c803463
@ -445,7 +445,7 @@ minetest.register_tool("default:sword_diamond", {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
minetest.register_tool("default:dungeon_master_s_blood_sword", { --Warrior Only
|
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",
|
inventory_image = "default_tool_dungeon_master_s_blood_sword.png",
|
||||||
tool_capabilities = {
|
tool_capabilities = {
|
||||||
full_punch_interval = 0.5,
|
full_punch_interval = 0.5,
|
||||||
|
@ -320,6 +320,7 @@ local oredefs = {
|
|||||||
damage_groups = {fleshy = 5},
|
damage_groups = {fleshy = 5},
|
||||||
full_punch_interval = 0.5,
|
full_punch_interval = 0.5,
|
||||||
},
|
},
|
||||||
|
description = "Mithril (Warrior)",
|
||||||
sword = {
|
sword = {
|
||||||
groupcaps = {
|
groupcaps = {
|
||||||
fleshy = {times = {[2] = 0.65, [3] = 0.25}, uses = 200, maxlevel= 1},
|
fleshy = {times = {[2] = 0.65, [3] = 0.25}, uses = 200, maxlevel= 1},
|
||||||
|
@ -119,5 +119,5 @@ if not DISABLE_DIAMOND_ARROW then
|
|||||||
end
|
end
|
||||||
|
|
||||||
if not DISABLE_MITHRIL_ARROW then
|
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
|
end
|
||||||
|
@ -40,7 +40,7 @@ end
|
|||||||
|
|
||||||
--function throwing_register_bow (name, desc, scale, stiffness, reload_time, toughness, is_cross, craft)
|
--function throwing_register_bow (name, desc, scale, stiffness, reload_time, toughness, is_cross, craft)
|
||||||
if not DISABLE_MINOTAUR_HORN_BOW then
|
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', 'mobs:minotaur_horn', 'mobs:minotaur_horn'},
|
||||||
{'farming:string', '', 'moreores:mithril_ingot'},
|
{'farming:string', '', 'moreores:mithril_ingot'},
|
||||||
{'farming:string', 'mobs:minotaur_horn', 'mobs:minotaur_horn'},
|
{'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)
|
--function throwing_register_bow (name, desc, scale, stiffness, reload_time, toughness, is_cross, craft)
|
||||||
if not DISABLE_MINOTAUR_HORN_IMPROVED_BOW then
|
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'},
|
{'throwing:bow_minotaur_horn', 'throwing:string_mithril'},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user