Ash function to check location exists?

Glazius

Member
Is there an ash function that takes in a location and returns whether or not it's actually available to be adventured in at the present time? For example
Code:
location_exists($location[hippy camp])
to see if the hippy camp is there or out of reach or bombed back to the stone age? It'd be nice but not essential for a little script I'm hacking out.
 

Bale

Minion
Oh goddess, no. That would be quite nice. Instead we have this script to serve the purpose.

PS. To find out if a function exists you should either use the CLI command ashref. (For example, ashref location) or consult the KoLmafia wiki.
 
Last edited:
Top