mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-06-28 06:11:47 +02:00
initial commit
subgame + mods
This commit is contained in:
4
mods/glow/.gitignore
vendored
Normal file
4
mods/glow/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
## Generic ignorable patterns and files
|
||||
*~
|
||||
.*.swp
|
||||
debug.txt
|
5
mods/glow/README.md
Normal file
5
mods/glow/README.md
Normal file
@ -0,0 +1,5 @@
|
||||
minetest-glow
|
||||
=============
|
||||
|
||||
Adds 2 glowing blocks for minetest:
|
||||
Glowing stone and glowing lantern.
|
1
mods/glow/glow/depends.txt
Normal file
1
mods/glow/glow/depends.txt
Normal file
@ -0,0 +1 @@
|
||||
default
|
BIN
mods/glow/glow/glow_lamp.png
Normal file
BIN
mods/glow/glow/glow_lamp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
39
mods/glow/glow/init.lua
Normal file
39
mods/glow/glow/init.lua
Normal file
@ -0,0 +1,39 @@
|
||||
-- glow/init.lua
|
||||
-- mod by john and Zeg9
|
||||
|
||||
LIGHT_MAX = 15
|
||||
|
||||
minetest.register_node("glow:stone", {
|
||||
description = "Glowing stone",
|
||||
tile_images = {"glow_stone.png"},
|
||||
light_source = LIGHT_MAX,
|
||||
groups = {cracky=3},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("glow:lamp", {
|
||||
description = "Lamp",
|
||||
tile_images = {"glow_stone.png^glow_lamp_frame.png"},
|
||||
light_source = 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
mods/glow/glow/textures/glow_lamp_frame.png
Normal file
BIN
mods/glow/glow/textures/glow_lamp_frame.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 521 B |
BIN
mods/glow/glow/textures/glow_lamp_frame_normal.png
Normal file
BIN
mods/glow/glow/textures/glow_lamp_frame_normal.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 621 B |
BIN
mods/glow/glow/textures/glow_stone.png
Normal file
BIN
mods/glow/glow/textures/glow_stone.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
BIN
mods/glow/glow/textures/glow_stone_normal.png
Normal file
BIN
mods/glow/glow/textures/glow_stone_normal.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
0
mods/glow/modpack.txt
Normal file
0
mods/glow/modpack.txt
Normal file
Reference in New Issue
Block a user