Initial commit
This commit is contained in:
parent
98810e5c5a
commit
5971c5051e
35
glow/init.lua
Normal file
35
glow/init.lua
Normal 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
BIN
glow/textures/glow_lamp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
BIN
glow/textures/glow_stone.png
Normal file
BIN
glow/textures/glow_stone.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
0
modpack.txt
Normal file
0
modpack.txt
Normal file
Loading…
x
Reference in New Issue
Block a user