Consumption
Defined in: server/api.d.ts:2146
A server-validated serving. Item properties and pot poison come from server state; changing the snapshot does not change the decision.
Properties
Section titled “Properties”baseEffects
Section titled “baseEffects”baseEffects: {
alcohol:number;buff:string|null;energy:number;health:number;nourishment:number; } |null
Defined in: server/api.d.ts:2165
Native table inputs before item condition, spoilage, perks or soul modifiers. Health effects may run over time. These are not promised final stat deltas. Null when the catalog has no row.
item:
string
Defined in: server/api.d.ts:2155
Native food or potion item class GUID.
kind:
"food"|"potion"
Defined in: server/api.d.ts:2160
Native food type; potions use the game’s food type 1.
metadata
Section titled “metadata”metadata:
Record<string,unknown>
Defined in: server/api.d.ts:2180
Server item properties, including condition. Empty for a pot meal.
nativeEffects
Section titled “nativeEffects”nativeEffects:
boolean
Defined in: server/api.d.ts:2190
Whether native nutrition, energy, alcohol, potion and spoilage effects are allowed. Final in playerConsumed.
poison
Section titled “poison”poison:
string|null
Defined in: server/api.d.ts:2185
Additional cooking pot poison buff GUID, or null. Spoilage and the item’s own effects are part of nativeEffects.
potGuid
Section titled “potGuid”potGuid:
string|null
Defined in: server/api.d.ts:2175
Cooking pot GUID, or null for an inventory item.
rowId:
string|null
Defined in: server/api.d.ts:2170
Inventory row, or null for a pot meal.
source
Section titled “source”source:
"inventory"|"cookPot"
Defined in: server/api.d.ts:2150
Where the serving comes from.