2016-08-14 12:19:56 +01:00
|
|
|
-- Falling Light
|
|
|
|
-- A simple mod for explorers
|
|
|
|
-- (C) Tai "DuCake" Kedzierski 2016
|
|
|
|
-- Provided to you under 3-Clause BSD
|
|
|
|
|
2016-08-16 13:32:12 +01:00
|
|
|
minetest.register_alias("falling_light:light","vivarium:falling_light")
|
2016-08-14 12:19:56 +01:00
|
|
|
|
|
|
|
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"}
|
|
|
|
}
|
|
|
|
)
|