added gold spawning/gathering
pathfinding bugfix