mirror of
https://github.com/minetest/minetest_game.git
synced 2025-02-22 10:40:21 +01:00
Add files via upload
This commit is contained in:
parent
bc89ccd57a
commit
c4e1fa4394
5
mods/glow_pack/README.md
Normal file
5
mods/glow_pack/README.md
Normal file
@ -0,0 +1,5 @@
|
||||
minetest-glow
|
||||
=============
|
||||
|
||||
Adds 2 glowing blocks for minetest:
|
||||
Glowing stone and glowing lantern.
|
BIN
mods/glow_pack/glow/glow_lamp.png
Normal file
BIN
mods/glow_pack/glow/glow_lamp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
39
mods/glow_pack/glow/init.lua
Normal file
39
mods/glow_pack/glow/init.lua
Normal 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")
|
2
mods/glow_pack/glow/mod.conf
Normal file
2
mods/glow_pack/glow/mod.conf
Normal file
@ -0,0 +1,2 @@
|
||||
name = glow
|
||||
depends = default
|
BIN
mods/glow_pack/glow/textures/glow_lamp_frame.png
Normal file
BIN
mods/glow_pack/glow/textures/glow_lamp_frame.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 521 B |
BIN
mods/glow_pack/glow/textures/glow_lamp_frame_normal.png
Normal file
BIN
mods/glow_pack/glow/textures/glow_lamp_frame_normal.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 621 B |
BIN
mods/glow_pack/glow/textures/glow_stone.png
Normal file
BIN
mods/glow_pack/glow/textures/glow_stone.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
BIN
mods/glow_pack/glow/textures/glow_stone_normal.png
Normal file
BIN
mods/glow_pack/glow/textures/glow_stone_normal.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
1
mods/glow_pack/modpack.txt
Normal file
1
mods/glow_pack/modpack.txt
Normal file
@ -0,0 +1 @@
|
||||
0
|
Loading…
x
Reference in New Issue
Block a user