Difference between pages "Talk:Use familiar" and "Is goal"
(Difference between pages)
Jump to navigation
Jump to search
imported>Slyz |
imported>Bale (see also get_goals|goal_exists) |
||
Line 1: | Line 1: | ||
− | + | {{ | |
− | + | #vardefine:name|is_goal}}{{ | |
+ | #vardefine:return_type|boolean}}{{ | ||
+ | FunctionPage| | ||
+ | name={{#var:name}}| | ||
− | + | function1={{Function| | |
+ | name={{#var:name}}| | ||
+ | aggregate={{#var:aggregate}}| | ||
+ | return_type={{#var:return_type}}| | ||
+ | return_also={{#var:return_also}}| | ||
+ | parameter1={{Param|item|want}}| | ||
+ | p1desc={{pspan|want}} is checked to see if it is a goal| | ||
+ | }}| | ||
− | + | function_description=Checks to see if any adventuring goals would be satisfied by a {{pspan|want}}. Unfortunately there is currently no way to check for a non-item goal.| | |
− | |||
− | |||
− | |||
− | + | needscode=yes| | |
− | + | see_also={{SeeAlso|adventure|add_item_condition|get_goals|goal_exists}}| | |
+ | }} | ||
− | + | [[Category:Adventuring]] | |
− | |||
− | |||
− | |||
− |
Revision as of 00:28, 5 November 2014
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.