Difference between revisions of "Item type"

From Kolmafia
Jump to navigation Jump to search
imported>Heeheehee
imported>Heeheehee
m (Fixing to be more accurate.)
Line 23: Line 23:
 
}}
 
}}
 
{{RFI|Please edit in any missing values.}}
 
{{RFI|Please edit in any missing values.}}
Also returns ...weapon, accessory, accordion, artsything, autopult, axe, bag, banjo, bazooka, blowgun, bong, boomerang, booze, bow, , can, catapult, chefstaff, club, container, crop, crossbow, cymbals, disco ball, drink helper, drum, euphemisms, familiar equipment, 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, offhand, pants, pistol, polearm, polearm?, radio, rattle, rifle, rod, sack, saucepan, shield, shirt, sitar, sling, slingshot, snowsack, spear, spring, staff, sticker, superball, sword, theremin, umbrella, utensil, violin, wand, whip, whistle, yoyo, and zap wand. Lemme know if you want examples. --[[User:Heeheehee|Heeheehee]] 18:05, 6 March 2010 (UTC)
+
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. Lemme know if you want examples. --[[User:Heeheehee|Heeheehee]] 18:05, 6 March 2010 (UTC)

Revision as of 18:06, 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.


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.

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. Lemme know if you want examples. --Heeheehee 18:05, 6 March 2010 (UTC)