make basic income only happen in Survival mode
also cache the output of minetest.get_modpath()