Knoll available

From Kolmafia
Jump to navigation Jump to search

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.