1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-07 00:50:22 +02:00

Make signslib optional via configuration variable

This commit is contained in:
kaeza
2013-08-13 04:36:06 -03:00
parent 27280bc699
commit 3c34a04605
2 changed files with 14 additions and 5 deletions

View File

@ -22,6 +22,10 @@ else
S = function ( s ) return s end
end
-- Global stuff
homedecor_disable_signs = minetest.setting_getbool("homedecor.disable_signs")
-- Various Functions
local dbg = function(s)
@ -79,7 +83,10 @@ dofile(minetest.get_modpath("homedecor").."/slopes.lua")
dofile(minetest.get_modpath("homedecor").."/door_models.lua")
dofile(minetest.get_modpath("homedecor").."/doors_and_gates.lua")
dofile(minetest.get_modpath("homedecor").."/signs_lib.lua")
if not homedecor_disable_signs then
dofile(minetest.get_modpath("homedecor").."/signs_lib.lua")
end
dofile(minetest.get_modpath("homedecor").."/fences.lua")
dofile(minetest.get_modpath("homedecor").."/lighting.lua")