Have equipped: Difference between revisions
Jump to navigation
Jump to search
imported>StDoodle Created page with '{{#vardefine:name|have_equipped}} {{#vardefine:return_type|boolean}} {{FunctionPage| name={{#var:name}}| function_category=Equipment| function1={{Function| name={{#var:name}}| …' |
imported>StDoodle mNo edit summary |
||
Line 1: | Line 1: | ||
{{#vardefine:name|have_equipped}} | {{ | ||
{{#vardefine:return_type|boolean}} | #vardefine:name|have_equipped}}{{ | ||
#vardefine:return_type|boolean}}{{ | |||
FunctionPage| | |||
name={{#var:name}}| | name={{#var:name}}| | ||
function_category=Equipment| | function_category=Equipment| |
Revision as of 21:16, 8 March 2010
needs(code_samples);
Function Syntax
boolean have_equipped(item check )
- check is the item to test for
Returns true if you currently have the specified item check equipped, false if you do not. For familiar equipment, it only checks the familiar you currently have with you. Always returns false if check is not an item that can be equipped.
CLI Equivalent
The CLI commands "equip" and others function similarly, if the parameter "list" or no parameters are given.
See Also