
Prototype: IsValidStoreItem( PartyID, slot[, type] )

Description: Returns if a pc's inventory item or a store item is valid for buying, selling, identifying or stealing. If Type is 1, then this is a store item.

Parameters:
PartyID   - the PC's position in the party
slot      - the item's inventory or store slot

Return value: bitfield
1 - valid for buy
2 - valid for sell
4 - valid for identify
8 - valid for steal
0x40 - selected for buy or sell

See also: EnterStore, GetSlotItem, GetStoreItem, ChangeStoreItem

