HeldItems routine
Checks to see how many of a certain item the party has.
Syntax
function heldItems(const index: word; const equipped: boolean): word;
Description
The heldItems routine sees how many items of the type index refers to that the party currently has. If equipped is true, it counts how many are equipped by current party members; otherwise, it returns the number of the item in the inventory. If index is an invalid number, it returns 0.
Related Topics
This help file was created with the free trial version of HelpScribble.