To slot

From Kolmafia
Revision as of 04:30, 28 April 2010 by imported>Heeheehee (Oh no, this page broke the wiki's formatting! (Fixed, hopefully))
Jump to navigation Jump to search

Function Syntax

slot to_slot(item equip )

  • equip is any item where you want to know which slot it is equipped to.

This function will return the slot that any item is equipped to.

Note:

  • Non-equipment items return $slot[none].
  • Ranged and melee weapons return $slot[weapon], even if you have double fisted skull-smashing.
  • All accessories return $slot[acc1].