Difference between revisions of "Tips, Tricks and Workarounds"

From Kolmafia
Jump to navigation Jump to search
imported>Bale
(I'm not as drunk as StDoodle and headers might be a good start)
imported>Bale
Line 2: Line 2:
  
 
==Free Pulls==
 
==Free Pulls==
 +
 +
KoLmafia considers free pulls as completely separate from other items in Hangks. Because there is no resource being consumed by pulling them, they do not use the functions involved in pulls, specifically {{f|storage_amount}} and {{f|take_storage}}.
 +
 +
To find the quantity of a free pull in Hangks, such as a brick you need to use {{f|available_amount}}. To remove a free pull item from Hangks you need to use {{f|retrieve_item}}.
  
 
== Anonymous closures ==
 
== Anonymous closures ==

Revision as of 06:21, 25 September 2010

Free Pulls

KoLmafia considers free pulls as completely separate from other items in Hangks. Because there is no resource being consumed by pulling them, they do not use the functions involved in pulls, specifically storage_amount() and take_storage().

To find the quantity of a free pull in Hangks, such as a brick you need to use available_amount(). To remove a free pull item from Hangks you need to use retrieve_item().

Anonymous closures

print()

Capturing an Abort

Syntax Highlighting for Notepad++