1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-09-22 04:30:17 +02:00

Redefine description individually for mithril sword

This commit is contained in:
LeMagnesium 2015-07-29 22:34:51 +02:00
parent 17f4daba5d
commit 782f9164f0

View File

@ -286,7 +286,7 @@ local oredefs = {
tools = {} tools = {}
}, },
mithril = { mithril = {
description = "Mithril (Warrior) ", description = "Mithril",
makes = {ore = true, block = true, lump = true, ingot = true, chest = false}, 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, oredef = {clust_scarcity = moreores_mithril_chunk_size * moreores_mithril_chunk_size * moreores_mithril_chunk_size,
clust_num_ores = moreores_mithril_ore_per_chunk, clust_num_ores = moreores_mithril_ore_per_chunk,
@ -398,3 +398,7 @@ end
if minetest.setting_getbool("log_mods") then if minetest.setting_getbool("log_mods") then
minetest.log("action", S("[moreores] loaded.")) minetest.log("action", S("[moreores] loaded."))
end end
-- Sword overwrite
minetest.override_item("moreores:sword_mithril", {description = "Mithril Sword (Warrior)"})