Started on some pathfinding stuff

The scripts still have to be written.