Add files via upload
This commit is contained in:
parent
bc89ccd57a
commit
c4e1fa4394
|
@ -0,0 +1,5 @@
|
|||
minetest-glow
|
||||
=============
|
||||
|
||||
Adds 2 glowing blocks for minetest:
|
||||
Glowing stone and glowing lantern.
|
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
|
@ -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")
|
|
@ -0,0 +1,2 @@
|
|||
name = glow
|
||||
depends = default
|
Binary file not shown.
After Width: | Height: | Size: 521 B |
Binary file not shown.
After Width: | Height: | Size: 621 B |
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
|
@ -0,0 +1 @@
|
|||
0
|
Loading…
Reference in New Issue