mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-07-08 02:40:25 +02:00
Delete [beginners_chest], [glow], replace with aliases
This commit is contained in:
4
mods/glow/.gitignore
vendored
4
mods/glow/.gitignore
vendored
@ -1,4 +0,0 @@
|
||||
## Generic ignorable patterns and files
|
||||
*~
|
||||
.*.swp
|
||||
debug.txt
|
@ -1,5 +0,0 @@
|
||||
minetest-glow
|
||||
=============
|
||||
|
||||
Adds 2 glowing blocks for minetest:
|
||||
Glowing stone and glowing lantern.
|
@ -1 +0,0 @@
|
||||
default
|
Binary file not shown.
Before Width: | Height: | Size: 1.5 KiB |
@ -1,39 +0,0 @@
|
||||
-- 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.
Before Width: | Height: | Size: 521 B |
Binary file not shown.
Before Width: | Height: | Size: 621 B |
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.3 KiB |
Reference in New Issue
Block a user