Is goal

From Kolmafia
Revision as of 02:25, 6 May 2010 by imported>Bale (Created page with '{{ #vardefine:name|is_goal}}{{ #vardefine:return_type|boolean}}{{ FunctionPage| name={{#var:name}}| function_category=Adventuring| function1={{Function| name={{#var:name}}| agg…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

boolean is_goal(item want )

  • want is checked to see if it is a goal

Checks to see if any adventuring goals would be satisfied by a want. Unfortunately there is currently no way to check for a non-item goal.

See Also

adventure() | add_item_condition()