Knoll available: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
Bale (talk | contribs)
r9308
 
(No difference)

Latest revision as of 08:12, 19 May 2011

Function Syntax

boolean knoll_available()

This function returns true if the logged-in character has has access to the inside of Degrassi Knoll.

Code Samples

This will purchase a detuned radio if you can.

if(item_amount($item[detuned radio]) < 1 && knoll_available() && my_meat() >= 300)
   buy(1, $item[detuned radio]);

See Also

gnomads_available() | canadia_available()

Special

When not logged in, this function returns false.