Add item condition

From Kolmafia
Revision as of 21:40, 3 March 2010 by imported>StDoodle (Created page with '{{#vardefine:name|add_item_condition}} {{#vardefine:return_type|void}} {{FunctionPage| name={{#var:name}}| function_category=Adventuring| function1={{Function| name={{#var:name…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search



needs(code_samples);

Function Syntax

void add_item_condition(int qty ,item want )

  • qty is the desired quantity
  • want is the desired item

Adds qty of want to your current adventuring conditions. Auto-adventuring through KoLmafia or the adventure() function will stop if your current conditions are met.

CLI Equivalent

The CLI command "condition" offers similar functionality.

See Also

adventure()