Remplissage du dépôt.
This commit is contained in:
parent
62a3852801
commit
7a1f81cd9a
1
depends.txt
Executable file
1
depends.txt
Executable file
@ -0,0 +1 @@
|
|||||||
|
default
|
BIN
glow_lamp.png
Executable file
BIN
glow_lamp.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
38
init.lua
Executable file
38
init.lua
Executable file
@ -0,0 +1,38 @@
|
|||||||
|
-- glow/init.lua
|
||||||
|
-- mod by john and Zeg9
|
||||||
|
|
||||||
|
|
||||||
|
minetest.register_node("glow:stone", {
|
||||||
|
description = "Glowing stone",
|
||||||
|
tiles = {"glow_stone.png"},
|
||||||
|
light_source = default.LIGHT_MAX,
|
||||||
|
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 = default.LIGHT_MAX,
|
||||||
|
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")
|
BIN
textures/glow_lamp_frame.png
Executable file
BIN
textures/glow_lamp_frame.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 521 B |
BIN
textures/glow_lamp_frame_normal.png
Executable file
BIN
textures/glow_lamp_frame_normal.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 621 B |
BIN
textures/glow_stone.png
Executable file
BIN
textures/glow_stone.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
textures/glow_stone_normal.png
Executable file
BIN
textures/glow_stone_normal.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
Loading…
Reference in New Issue
Block a user