diff --git a/mods/glow_pack/README.md b/mods/glow_pack/README.md new file mode 100644 index 00000000..883094c6 --- /dev/null +++ b/mods/glow_pack/README.md @@ -0,0 +1,5 @@ +minetest-glow +============= + +Adds 2 glowing blocks for minetest: +Glowing stone and glowing lantern. diff --git a/mods/glow_pack/glow/glow_lamp.png b/mods/glow_pack/glow/glow_lamp.png new file mode 100644 index 00000000..f7532d35 Binary files /dev/null and b/mods/glow_pack/glow/glow_lamp.png differ diff --git a/mods/glow_pack/glow/init.lua b/mods/glow_pack/glow/init.lua new file mode 100644 index 00000000..69cc5e1a --- /dev/null +++ b/mods/glow_pack/glow/init.lua @@ -0,0 +1,39 @@ +-- glow/init.lua +-- mod by john and Zeg9 + +local light = 14 + +minetest.register_node("glow:stone", { + description = "Glowing stone", + tiles = {"glow_stone.png"}, + light_source = light, + groups = {cracky=3}, + sounds = default.node_sound_glass_defaults(), +}) + +minetest.register_node("glow:lamp", { + description = "Lamp", + tiles = {"glow_stone.png^glow_lamp_frame.png"}, + light_source = light, + groups = {cracky=3}, + sounds = default.node_sound_glass_defaults(), +}) + + +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/mods/glow_pack/glow/mod.conf b/mods/glow_pack/glow/mod.conf new file mode 100644 index 00000000..92b2f4fc --- /dev/null +++ b/mods/glow_pack/glow/mod.conf @@ -0,0 +1,2 @@ +name = glow +depends = default diff --git a/mods/glow_pack/glow/textures/glow_lamp_frame.png b/mods/glow_pack/glow/textures/glow_lamp_frame.png new file mode 100644 index 00000000..0f763cac Binary files /dev/null and b/mods/glow_pack/glow/textures/glow_lamp_frame.png differ diff --git a/mods/glow_pack/glow/textures/glow_lamp_frame_normal.png b/mods/glow_pack/glow/textures/glow_lamp_frame_normal.png new file mode 100644 index 00000000..4bdb5ef2 Binary files /dev/null and b/mods/glow_pack/glow/textures/glow_lamp_frame_normal.png differ diff --git a/mods/glow_pack/glow/textures/glow_stone.png b/mods/glow_pack/glow/textures/glow_stone.png new file mode 100644 index 00000000..71b97c0e Binary files /dev/null and b/mods/glow_pack/glow/textures/glow_stone.png differ diff --git a/mods/glow_pack/glow/textures/glow_stone_normal.png b/mods/glow_pack/glow/textures/glow_stone_normal.png new file mode 100644 index 00000000..97a27d47 Binary files /dev/null and b/mods/glow_pack/glow/textures/glow_stone_normal.png differ diff --git a/mods/glow_pack/modpack.txt b/mods/glow_pack/modpack.txt new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/mods/glow_pack/modpack.txt @@ -0,0 +1 @@ +0