1
0
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:
Wouters Dorian 2015-07-24 17:36:42 +02:00
parent b431e5939b
commit fb7080a968
11 changed files with 49 additions and 5 deletions

View File

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

@ -0,0 +1,4 @@
## Generic ignorable patterns and files
*~
.*.swp
debug.txt

5
mods/glow/README.md Executable file
View 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
View File

@ -0,0 +1 @@
default

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

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.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

0
mods/glow/modpack.txt Executable file
View File