From ef825e4a275944cc9db4991843df71acfbafb759 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 19 Jun 2014 01:49:33 +0200 Subject: [PATCH] Change lump itemstrings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … to fix a bug with the turf cuttings as fuels --- init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index f640ab7..c76f3b5 100644 --- a/init.lua +++ b/init.lua @@ -316,17 +316,17 @@ function pedology.register_sucky_group(basename, basedescription, lumpbasedescri if( maxlump == -1) then drop = nil elseif( w > maxlump) then - itemname = "pedology:"..basename.."_lump_"..tostring(maxlump) + itemname = "pedology:lump_"..basename.."_"..tostring(maxlump) drop = itemname .. " " .. tostring(dropcount) else - itemname = "pedology:"..basename.."_lump_"..tostring(w) + itemname = "pedology:lump_"..basename.."_"..tostring(w) drop = itemname .. " " .. tostring(dropcount) itemdef = { description = lumpdescription, inventory_image = "pedology_lump_inv_"..basename.."_"..tostring(w)..".png", wield_image = "pedology_lump_"..basename.."_"..tostring(w)..".png" } - minetest.register_craftitem("pedology:"..basename.."_lump_"..tostring(w), itemdef) + minetest.register_craftitem("pedology:lump_"..basename.."_"..tostring(w), itemdef) end if(nestedgroups) then groups = additional_groups[w]