Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeServer APIGenerated

InventoryCatalogDefinition

Defined in: server/api.d.ts:4014

One definition from the compiled Hogwarts Legacy inventory catalog.

readonly consumable: boolean

Defined in: server/api.d.ts:4053

Whether the native definition is consumable.


readonly holder: string

Defined in: server/api.d.ts:4028

Catalog-defined default inventory holder, not necessarily a live row’s holder.


readonly inventoryable: boolean

Defined in: server/api.d.ts:4043

Whether the native definition is inventoryable.


readonly itemId: string

Defined in: server/api.d.ts:4018

Canonical, case-preserving ItemDefinition id.


readonly itemType: string

Defined in: server/api.d.ts:4023

Native ItemDefinition.ItemType value.


readonly kind: InventoryItemKind

Defined in: server/api.d.ts:4038

Normalized inventory item kind.


readonly maxStack: number

Defined in: server/api.d.ts:4033

The most one stack may hold: the native MaxInventoryStack (zero included) unless setMaxStack changed it.


readonly persistent: boolean

Defined in: server/api.d.ts:4048

Whether the native definition is persistent.


readonly usableFromInventory: boolean

Defined in: server/api.d.ts:4058

Whether the native definition can be used from inventory.