regions, pathing finding, and spawner code