canadia_available()

From KoLMafia
Jump to: navigation, 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

Special

When not logged in, this function returns false.