2015-03-28 22:03:17 -07:00
|
|
|
torches = {}
|
|
|
|
torches.enable_ceiling = minetest.setting_getbool("torches_enable_ceiling") or false
|
|
|
|
local style = minetest.setting_get("torches_style")
|
2014-11-09 10:58:11 -08:00
|
|
|
|
2015-03-28 22:03:17 -07:00
|
|
|
local modpath = minetest.get_modpath("torches")
|
2014-11-09 10:58:11 -08:00
|
|
|
|
2015-03-28 22:03:17 -07:00
|
|
|
-- 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
|