diff --git a/craftitems.lua b/craftitems.lua new file mode 100644 index 0000000..da95707 --- /dev/null +++ b/craftitems.lua @@ -0,0 +1,4 @@ +minetest.register_craftitem("illuna:donorcoin", { + description = "Donor Coin", + inventory_image = "donorcoin.png" +}) diff --git a/init.lua b/init.lua index 1a69037..d942b3b 100644 --- a/init.lua +++ b/init.lua @@ -5,6 +5,7 @@ dofile(minetest.get_modpath("illuna").."/crafting.lua") dofile(minetest.get_modpath("illuna").."/commands.lua") dofile(minetest.get_modpath("illuna").."/register.lua") dofile(minetest.get_modpath("illuna").."/aliases.lua") +dofile(minetest.get_modpath("illuna").."/craftitems.lua") if minetest.get_modpath("moreblocks") then dofile(minetest.get_modpath("illuna").."/moreblocks.lua") end diff --git a/textures/donorcoin.png b/textures/donorcoin.png new file mode 100644 index 0000000..70b2913 Binary files /dev/null and b/textures/donorcoin.png differ