Is goal

From Kolmafia
Revision as of 02:45, 5 November 2014 by imported>Bale (That ceased to be true some time ago. Update.)
(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. For a non-item goal you need to use get_goals() or goal_exists().

See Also

adventure() | add_item_condition() | get_goals() | goal_exists()