Contains additional filtering options for inventory item events.

interface InventoryItemEventOptions {
    allowedSlots?: number[];
    excludeItems?: string[];
    excludeTags?: string[];
    ignoreQuantityChange?: boolean;
    includeItems?: string[];
    includeTags?: string[];
    inventoryType?: PlayerInventoryType;
}

Properties

allowedSlots?: number[]

The slot indexes to consider.

excludeItems?: string[]

The names for the items to exclude.

excludeTags?: string[]

The item tags to exclude.

ignoreQuantityChange?: boolean

Flag to specify to ignore quantity changes only. True to ignore quantity changes, false to not ignore quantity changes.

includeItems?: string[]

The item names to consider.

includeTags?: string[]

The item tags to consider.

inventoryType?: PlayerInventoryType

The player inventory type to consider.