Closed scrom closed 8 years ago
in addition if player has line of sight to an object the game should suggest which direction to go. Line of sight = less than 3 locations away in a straight direction with no doors. (means working out path to item) - might be costly.
I didn't trap distance in the end, just single direction with no hidden exits.
but it works!
line of sight may occasionally also work for locations if displayname matches what the user entered. (locations don't have syns otherwise this would be more reliable)
done
If it's in the current location, it should tell them they're already there. Otherwise it should default to "find" or similar.