Item type

From Kolmafia
Revision as of 15:12, 6 March 2010 by imported>StDoodle (Created page with '{{#vardefine:name|item_type}} {{#vardefine:return_type|string}} {{FunctionPage| name={{#var:name}}| function_category=Equipment| function1={{Function| name={{#var:name}}| aggre…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search



needs(code_samples);

Function Syntax

string item_type(item check_me )

  • check_me is the equipment to check

Returns the type of equipment that check_me is categorized as. Possible values are hat, sword, staff, chefstaff, whip, shield, offhand, pants, accessory, familiar equipment, shirt and container.

See Also

weapon_hands() | weapon_type()

Special

For non-equipment, this function returns an empty string.


Attention KoLmafia Experts!

We need your help; some details of this function's operation are unknown or unclear.

The following specific question has been raised:

  • Please edit in any missing values.