Add files via upload

This commit is contained in:
Tim7900 2021-12-29 18:58:48 -09:00 committed by GitHub
parent bc89ccd57a
commit c4e1fa4394
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 47 additions and 0 deletions

5
mods/glow_pack/README.md Normal file
View File

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

View File

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

View File

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

View File

@ -0,0 +1 @@
0