Skip to content
FMFallout Multiplayer Scripting APIScripting guides and API
Data shapeClient APIGenerated

InventoryDelta

Defined in: client/api.d.ts:1420

How many of an item came or went.

condition: number

Defined in: client/api.d.ts:1434

The stack’s condition in percent of full, 0 to 100; 100 for an item that has none.


counterpart: number | null

Defined in: client/api.d.ts:1449

The reference on the other side of the move (a container, a corpse, a world item); null when nothing named one.


delta: number

Defined in: client/api.d.ts:1429

Positive for items that came, negative for items that went.


form: number

Defined in: client/api.d.ts:1424

The base object’s form ID.


mods: number[]

Defined in: client/api.d.ts:1439

The OMOD form IDs attached to the stack, in the order it keeps them; empty for an item that takes none.


name: string | null

Defined in: client/api.d.ts:1444

The name the stack shows; null for none.