Allow disabling of behavior

This commit is contained in:
Jude Melton-Houghton 2021-09-25 11:06:42 -04:00
parent 318309aa41
commit e5800e246a

View File

@ -1,5 +1,11 @@
local modpath = minetest.get_modpath(minetest.get_current_modname())
dofile(modpath.."/api.lua")
dofile(modpath.."/behavior.lua")
if minetest.settings:get_bool("large_slugs_do_behavior", true) then
dofile(modpath.."/behavior.lua")
end
dofile(modpath.."/slugs.lua")
dofile(modpath.."/mapgen.lua")