Item type

From Kolmafia
Revision as of 18:13, 6 March 2010 by imported>StDoodle
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.