sorcery  Diff

Differences From Artifact [bd8d2ccd93]:

To Artifact [e7cd5fcdf6]:


    22     22   	minetest.register_alias('sorcery:brass_ingot',brass..'_ingot')
    23     23   	minetest.register_alias('sorcery:brass_block',brass..'_block')
    24     24   end
    25     25   if silver then
    26     26   	minetest.register_alias('sorcery:silver_ingot',silver..'_ingot')
    27     27   	minetest.register_alias('sorcery:silver_block',silver..'_block')
    28     28   end
           29  +
           30  +if minetest.get_modpath("new_campfire") then
           31  +	minetest.register_alias('sorcery:ash', 'new_campfire:ash')
           32  +else
           33  +	minetest.register_craftitem('sorcery:ash', {
           34  +		description = 'Ash';
           35  +		inventory_image = 'sorcery_iron_powder.png^[colorize:#FFFFFF:100';
           36  +	})
           37  +	minetest.register_alias('new_campfire:ash', 'sorcery:ash')
           38  +end
    29     39   
    30     40   return {
    31     41   	defp = function(name)
    32     42   		return minetest.registered_items[name] or minetest.registered_aliases[name]
    33     43   	end
    34     44   }