Is goal: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Bale
mNo edit summary
imported>Bale
see also get_goals|goal_exists
Line 19: Line 19:
needscode=yes|
needscode=yes|


see_also={{SeeAlso|adventure|add_item_condition}}|
see_also={{SeeAlso|adventure|add_item_condition|get_goals|goal_exists}}|
}}
}}


[[Category:Adventuring]]
[[Category:Adventuring]]

Revision as of 00:28, 5 November 2014

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() | get_goals() | goal_exists()