Difference between revisions of "Item type"

From Kolmafia
Jump to navigation Jump to search
imported>Heeheehee
m
imported>StDoodle
Line 22: Line 22:
 
special= For non-equipment, this function returns an empty string.|
 
special= For non-equipment, this function returns an empty string.|
 
}}
 
}}
{{RFI|Please edit in any missing values.}}
 
Also returns ...weapon, accordion, artsything, autopult, axe, bag, banjo, bazooka, blowgun, bong, boomerang, booze, bow, can, catapult, club, crop, crossbow, cymbals, disco ball, drink helper, drum, euphemisms, familiar larva, fish, flail, flute, food, food helper, frisbee, guitar, gun, hat, horn, hp restore, hp+mp restore, knife, knuckles, laser cannon, mace, machine gun, mp restore, pistol, polearm, polearm?, radio, rattle, rifle, rod, sack, saucepan, sitar, sling, slingshot, snowsack, spear, spring, sticker, superball, theremin, umbrella, utensil, violin, wand, whistle, yoyo, and zap wand. See discussion for examples.  --[[User:Heeheehee|Heeheehee]] 18:05, 6 March 2010 (UTC)
 

Revision as of 18:13, 6 March 2010



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.