Skip to content
KCKingdoms Connected Scripting APIScripting guides and API
Data shapeServer APIGenerated

CookPotSnapshot

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

A frozen snapshot of one stew pot in one virtual world.

capacity: number

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

Portions in the most recent refill; sets the halfway point.


enabled: boolean

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

Whether eating is allowed. Disabling preserves the contents.


fireLit: boolean | null

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

Whether the fire burns for every player in this world, as set by CookPot.setFireLit; null while each player’s own game lights and puts it out, as in single player.


food: "goulash" | "lentil" | "soup"

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

Meal served by this pot, including its native nutrition and appearance.


guid: string

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

The fireplace’s level GUID.


nutrition: number

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

Base nutrition per meal: goulash 25, lentil 10, soup 15.


poison: string | null

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

Ingested buff GUID applied to future meals, or null. Visible to server scripts only.


portions: number

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

Unreserved meals remaining.


position: object

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

Position of the eating trigger.

readonly x: number

readonly y: number

readonly z: number


state: "full" | "empty" | "half"

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

Visible food level, derived from remaining portions.


virtualWorld: number

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

Virtual world that owns this stock.