torches/init.lua

13 lines
350 B
Lua
Raw Normal View History

torches = {}
torches.enable_ceiling = minetest.setting_getbool("torches_enable_ceiling") or false
local style = minetest.setting_get("torches_style")
local modpath = minetest.get_modpath("torches")
-- load torch definition depending on stlye
if style == "minecraft" then
dofile(modpath.."/mc_style.lua")
else
dofile(modpath.."/mt_style.lua")
2013-05-25 14:54:00 -07:00
end