diff --git a/glow/init.lua b/glow/init.lua new file mode 100644 index 0000000..8fab2b5 --- /dev/null +++ b/glow/init.lua @@ -0,0 +1,35 @@ +-- glow/init.lua +-- mod by john and Zeg9 + +minetest.register_node("glow:stone", { + description = "Glowing stone", + tile_images = {"glow_stone.png"}, + light_source = LIGHT_MAX, + groups = {cracky=3}, +}) + +minetest.register_node("glow:lamp", { + description = "Lamp", + tile_images = {"glow_lamp.png"}, + light_source = LIGHT_MAX, + groups = {cracky=3}, +}) + + +minetest.register_craft( { + output = '"glow:stone" 2', + recipe = { + { 'default:stone','default:coal_lump','default:stone' } + }, +}) + +minetest.register_craft( { + output = '"glow:lamp" 6', + recipe = { + { 'default:stick','default:glass', 'default:stick' }, + { 'default:glass','glow:stone', 'default:glass' }, + { 'default:stick','default:glass', 'default:stick' }, + }, +}) + +minetest.register_alias("glow:lantern", "glow:lamp") diff --git a/glow/textures/glow_lamp.png b/glow/textures/glow_lamp.png new file mode 100644 index 0000000..f7532d3 Binary files /dev/null and b/glow/textures/glow_lamp.png differ diff --git a/glow/textures/glow_stone.png b/glow/textures/glow_stone.png new file mode 100644 index 0000000..71b97c0 Binary files /dev/null and b/glow/textures/glow_stone.png differ diff --git a/modpack.txt b/modpack.txt new file mode 100644 index 0000000..e69de29