Have equipped

From Kolmafia
Revision as of 21:09, 5 March 2010 by 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}}| …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search



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

can_equip() | equip()