From 782f9164f0a2c978a23d81e4d6f3a8b413e40593 Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Wed, 29 Jul 2015 22:34:51 +0200 Subject: [PATCH] Redefine description individually for mithril sword --- mods/moreores/init.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mods/moreores/init.lua b/mods/moreores/init.lua index e466b940..56145362 100755 --- a/mods/moreores/init.lua +++ b/mods/moreores/init.lua @@ -286,7 +286,7 @@ local oredefs = { tools = {} }, mithril = { - description = "Mithril (Warrior) ", + description = "Mithril", makes = {ore = true, block = true, lump = true, ingot = true, chest = false}, oredef = {clust_scarcity = moreores_mithril_chunk_size * moreores_mithril_chunk_size * moreores_mithril_chunk_size, clust_num_ores = moreores_mithril_ore_per_chunk, @@ -398,3 +398,7 @@ end if minetest.setting_getbool("log_mods") then minetest.log("action", S("[moreores] loaded.")) end + +-- Sword overwrite +minetest.override_item("moreores:sword_mithril", {description = "Mithril Sword (Warrior)"}) +