Weapon hands

From Kolmafia
Revision as of 16:53, 6 March 2010 by imported>StDoodle (Created page with '{{#vardefine:name|weapon_hands}} {{#vardefine:return_type|int}} {{FunctionPage| name={{#var:name}}| function_category=| function1={{Function| name={{#var:name}}| aggregate={{#v…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search



needs(code_samples);

Function Syntax

int weapon_hands(item check_me )

  • check_me is the item to check

Returns the number of hands required for a weapon. Everything else, including off-hand items, returns 0. Note that weapons jokingly labeled as "3-handed" in KoL are actually 2-handed in reality, and will thus return 2.

See Also

weapon_type()