White citadel available

From Kolmafia
Revision as of 07:08, 10 March 2010 by imported>Heeheehee (Slight modification of code.)
Jump to navigation Jump to search

Function Syntax

boolean white_citadel_available()

This function returns true if the logged-in character has completed the White Citadel Quest and unlocked The White Citadel. Otherwise, it returns false.

Code Samples

If the character can access the Black Market, this code will buy black cherry sodas to restore MP to max.

if(white_citadel_available()) {
   use((my_maxmp()-my_mp())/8 , $item[Cherry Cloaca Cola]);
}

See Also

black_market_available() | guild_store_available() | hippy_store_available()

Special

When not logged in, this function returns false.