Remplissage du dépôt.

This commit is contained in:
sys4-fr 2018-09-02 18:21:14 +02:00
parent 62a3852801
commit 7a1f81cd9a
7 changed files with 39 additions and 0 deletions

1
depends.txt Executable file
View File

@ -0,0 +1 @@
default

BIN
glow_lamp.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

38
init.lua Executable file
View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 521 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 621 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB