From 0e7c803463dc20f80e8bd08638f01b644d706a52 Mon Sep 17 00:00:00 2001 From: Ombridride Date: Wed, 29 Jul 2015 19:29:12 +0200 Subject: [PATCH] Add the class to the swords/bows/arrows --- minetestforfun_game/mods/default/tools.lua | 2 +- mods/moreores/init.lua | 1 + mods/throwing/standard_arrows.lua | 2 +- mods/throwing/tools.lua | 4 ++-- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/minetestforfun_game/mods/default/tools.lua b/minetestforfun_game/mods/default/tools.lua index a084bdc5..0749e134 100755 --- a/minetestforfun_game/mods/default/tools.lua +++ b/minetestforfun_game/mods/default/tools.lua @@ -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, diff --git a/mods/moreores/init.lua b/mods/moreores/init.lua index 0136840a..c33e04b7 100755 --- a/mods/moreores/init.lua +++ b/mods/moreores/init.lua @@ -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}, diff --git a/mods/throwing/standard_arrows.lua b/mods/throwing/standard_arrows.lua index f0b647c1..422ab78b 100755 --- a/mods/throwing/standard_arrows.lua +++ b/mods/throwing/standard_arrows.lua @@ -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 diff --git a/mods/throwing/tools.lua b/mods/throwing/tools.lua index d2022d47..b8920ce8 100755 --- a/mods/throwing/tools.lua +++ b/mods/throwing/tools.lua @@ -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