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]