Black market available

From Kolmafia
Revision as of 05:14, 6 March 2010 by imported>Heeheehee (Created the page!)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search



Function Syntax

boolean black_market_available()

This function returns true if the logged-in character has unlocked the Black Market. 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(black_market_available()) {
   use((my_maxmp()-my_mp())/10 , $item[black cherry soda]);
}

See Also

guild_store_available() | hippy_store_available() | white_citadel_available()

Special

When not logged in, this function returns false.