Cleanup for multiple features

This commit is contained in:
Tai @ Flex 2016-08-14 12:19:56 +01:00
parent 1e3d672c74
commit 56048ad495
4 changed files with 27 additions and 21 deletions

1
depends.txt Normal file
View File

@ -0,0 +1 @@
default

23
falling_light.lua Normal file
View 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"}
}
)

View File

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

1
mod.conf Normal file
View File

@ -0,0 +1 @@
name = vivarium