API KeyRingButtonIDToInvSlotID

Map a keyring button to an inventory slot button for use in inventory functions.

invSlot = KeyRingButtonIDToInvSlotID(buttonID)

Arguments

 * buttonID: Number - key ring button ID.

Returns

 * invSlot: An inventory slot ID that can be used in other inventory functions