Weapon type

From Kolmafia
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

stat weapon_type(item check_me )

  • check_me is the item to check

Returns the equip requirement stat for check_me, even if the weapon does not have any stat requirements. If check_me is not a weapon, this function returns $stat[none].

See Also

weapon_hands()