The InvI class is used for inventory items.
-
Prints the inventory item's name and view in a dialog window. If the description property is set, it displays that as well.
-
Returns TRUE is the user's input "Said" the name of the inventory item. Otherwise, FALSE.
-
Returns TRUE if the inventory item is owned by anObject. Otherwise, FALSE.
-
Sets the inventory item's owner to newOwner and returns a pointer to itself.
-
If the script property is set, it changes the script's state to newState.