Initial commit

This commit is contained in:
Zeg9 2012-12-24 12:37:21 +01:00
parent 98810e5c5a
commit 5971c5051e
4 changed files with 35 additions and 0 deletions

35
glow/init.lua Normal file
View File

@ -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")

BIN
glow/textures/glow_lamp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

0
modpack.txt Normal file
View File