mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 01:30:38 +01:00
Restore [glow], [nether] depends on it
This commit is contained in:
parent
b431e5939b
commit
fb7080a968
@ -59,8 +59,3 @@ minetest.register_alias("wiki:wiki", "default:bookshelf")
|
||||
|
||||
-- Remove "building_blocks:knife"
|
||||
minetest.register_alias("building_blocks:knife", "default:sword_steel")
|
||||
|
||||
-- Removal of [glow] mod
|
||||
minetest.register_alias("glow:stone", "homedecor:glowlight_half_yellow")
|
||||
minetest.register_alias("glow:lamp", "lantern:lantern")
|
||||
minetest.register_alias("glow:lantern", "lantern:lantern")
|
4
mods/glow/.gitignore
vendored
Executable file
4
mods/glow/.gitignore
vendored
Executable file
@ -0,0 +1,4 @@
|
||||
## Generic ignorable patterns and files
|
||||
*~
|
||||
.*.swp
|
||||
debug.txt
|
5
mods/glow/README.md
Executable file
5
mods/glow/README.md
Executable file
@ -0,0 +1,5 @@
|
||||
minetest-glow
|
||||
=============
|
||||
|
||||
Adds 2 glowing blocks for minetest:
|
||||
Glowing stone and glowing lantern.
|
1
mods/glow/glow/depends.txt
Executable file
1
mods/glow/glow/depends.txt
Executable file
@ -0,0 +1 @@
|
||||
default
|
BIN
mods/glow/glow/glow_lamp.png
Executable file
BIN
mods/glow/glow/glow_lamp.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
39
mods/glow/glow/init.lua
Executable file
39
mods/glow/glow/init.lua
Executable 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
Executable file
BIN
mods/glow/glow/textures/glow_lamp_frame.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 521 B |
BIN
mods/glow/glow/textures/glow_lamp_frame_normal.png
Executable file
BIN
mods/glow/glow/textures/glow_lamp_frame_normal.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 621 B |
BIN
mods/glow/glow/textures/glow_stone.png
Executable file
BIN
mods/glow/glow/textures/glow_stone.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
mods/glow/glow/textures/glow_stone_normal.png
Executable file
BIN
mods/glow/glow/textures/glow_stone_normal.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
0
mods/glow/modpack.txt
Executable file
0
mods/glow/modpack.txt
Executable file
Loading…
Reference in New Issue
Block a user