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

InventoryDelta

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

How many of one item a player’s inventory gained or lost.

condition: number

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

The stack’s condition in percent of full, 0 to 100: the charge a fusion core has left. 100 for an item that has none.


delta: number

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

Gained when positive, lost when negative.


form: number

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

The base object’s form ID.


from: number | null

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

The reference on the other side, such as a container; null for none the game named.


mods: number[]

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

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: server/api.d.ts:1943

The name the stack shows, as setItemName or a workbench gave it; null for none.