Cleanup for multiple features
This commit is contained in:
parent
1e3d672c74
commit
56048ad495
1
depends.txt
Normal file
1
depends.txt
Normal file
@ -0,0 +1 @@
|
||||
default
|
23
falling_light.lua
Normal file
23
falling_light.lua
Normal file
@ -0,0 +1,23 @@
|
||||
-- Falling Light
|
||||
-- A simple mod for explorers
|
||||
-- (C) Tai "DuCake" Kedzierski 2016
|
||||
-- Provided to you under 3-Clause BSD
|
||||
|
||||
minetest.register_alias(":falling_light:light","vivarium:falling_light")
|
||||
|
||||
minetest.register_node("vivarium:falling_light", {
|
||||
description = "Falling Light",
|
||||
paramtype = "light",
|
||||
light_source = 14,
|
||||
light_propagates = true,
|
||||
sunlight_propagates = true,
|
||||
tiles = {"default_sand.png"},
|
||||
groups = {crumbly = 3, falling_node = 1},
|
||||
})
|
||||
|
||||
minetest.register_craft ({
|
||||
output = "vivarium:falling_light",
|
||||
type = "shapeless",
|
||||
recipe = {"group:sand","default:torch"}
|
||||
}
|
||||
)
|
23
init.lua
23
init.lua
@ -1,21 +1,2 @@
|
||||
-- Falling Light
|
||||
-- A simple mod for explorers
|
||||
-- (C) Tai "DuCake" Kedzierski 2016
|
||||
-- Provided to you under 3-Clause BSD
|
||||
|
||||
minetest.register_node("falling_light:light", {
|
||||
description = "Falling Light",
|
||||
paramtype = "light",
|
||||
light_source = 14,
|
||||
light_propagates = true,
|
||||
sunlight_propagates = true,
|
||||
tiles = {"default_sand.png"},
|
||||
groups = {crumbly = 3, falling_node = 1},
|
||||
})
|
||||
|
||||
minetest.register_craft ({
|
||||
output = "falling_light:light 2",
|
||||
type = "shapeless",
|
||||
recipe = {"group:sand","default:torch"}
|
||||
}
|
||||
)
|
||||
-- Load the Falling Light mod
|
||||
dofile(minetest.get_modpath("vivarium") .. "/falling_light.lua")
|
||||
|
Loading…
x
Reference in New Issue
Block a user