readonly int InventoryItem.ID
Gets the inventory item's ID number. This is the item's number from the editor, and is
useful with commands such as Character.AddInventory which require an inventory number
to add.
Example:
AddInventory(EGO, iShovel.ID);
uses the obsolete AddInventory command to add the shovel to EGO's inventory
See Also: Character.AddInventory,
Character.LoseInventory
|