Canadia available

From Kolmafia
Revision as of 08:05, 19 May 2011 by imported>Bale (r9308)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function Syntax

boolean canadia_available()

This function returns true if the logged-in character has has access to Little Canadia.

Code Samples

This will set the Mind Control Device to maximum.

int maxmcd = 10 + canadia_available().to_int()
if (current_mcd() < maxmcd
   change_mcd(maxmcd);

See Also

knoll_available() | gnomads_available()

Special

When not logged in, this function returns false.