Canadia available

From Kolmafia
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.