ocbearing = {} occompass = {} local modname = minetest.get_current_modname() local modpath = minetest.get_modpath (modname) occompass.enable_bearing = ocutil.bool_default ("enable_bearing", true) occompass.enable_compass = ocutil.bool_default ("enable_compass", true) if ocutil.bool_default ("disable_bearing") then occompass.enable_bearing = false end if ocutil.bool_default ("disable_compass") then occompass.enable_compass = false end if occompass.enable_bearing or occompass.enable_compass then dofile (modpath .. "/baseinit.lua") end