Gnomads available

From Kolmafia
Revision as of 10:15, 19 May 2011 by imported>Bale (Less copy/paste and more thought. O.O;;)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function Syntax

boolean gnomads_available()

This function returns true if the logged-in character has has access to the Gnomish Gnomad Camp.

Code Samples

This example will adventure in the Thugnderdome if you are able.

if(gnomads_available() && my_adventures() > 0) {
   adventure(my_adventures() , $location[thugnderdome]);
}

See Also

knoll_available() | canadia_available()

Special

When not logged in, this function returns false.