Is goal: Difference between revisions
Jump to navigation
Jump to search
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…' |
imported>Bale mNo edit summary |
||
Line 5: | Line 5: | ||
FunctionPage| | FunctionPage| | ||
name={{#var:name}}| | name={{#var:name}}| | ||
function1={{Function| | function1={{Function| | ||
Line 22: | Line 21: | ||
see_also={{SeeAlso|adventure|add_item_condition}}| | see_also={{SeeAlso|adventure|add_item_condition}}| | ||
}} | }} | ||
[[Category:Adventuring]] |
Revision as of 22:18, 21 May 2010
needs(code_samples);
Function Syntax
- 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.