BlackICE Scripting

enum re

InventoryChangeKind

re.InventoryChangeKind

The type of an inventory change in InventoryChanged and InventoryChangeRequested

Values

NameValueHexDescription
Transfer00x0An item moved between two inventories, by a move or a drop. The server checked that the source contains the item, so unlike client reports it can't be faked
Added10x1The client reports that the game added an item to the player's inventory. InventoryChanged also uses it for API adds to inventories that aren't a player's
Removed20x2The client reports that the game removed an item from the player's inventory. InventoryChanged also uses it for API removals from inventories that aren't a player's. Removals never wait for approval
Updated30x3The client reports that the game changed an item in the player's inventory, such as its stats, parts or modifiers
Initial40x4An item the player had when their inventory was first reported after joining
Claimed50x5An item from a container's loot roll or from a drop the game spawned, which became the entity's world inventory
Generated60x6The first stats the client generated for an item the server created from its record, for example with AddItem. Later changes are Updated. Rejecting it removes a unique item and resets a stack to its record's state