BrewingSiteInfo
Defined in: client/api.d.ts:1201
One loaded cauldron and its live brewing state. An unregistered one (state null) carries only cauldronId, template and its position, and only sites() adds index, name, path and dist.
Properties
Section titled “Properties”called?
Section titled “called?”
optionalcalled?:boolean
Defined in: client/api.d.ts:1305
begin, beginFromRecipe, complete and destroy: whether the native call ran.
cauldronId
Section titled “cauldronId”cauldronId:
string
Defined in: client/api.d.ts:1225
GetCauldronID — level-authored, uniqueness unverified.
collectedAnything?
Section titled “collectedAnything?”
optionalcollectedAnything?:boolean
Defined in: client/api.d.ts:1315
collect: whether any potion went into the inventory.
collectedItemId?
Section titled “collectedItemId?”
optionalcollectedItemId?:string
Defined in: client/api.d.ts:1325
collect: the item collected.
optionaldist?:number
Defined in: client/api.d.ts:1300
Distance from the local player in cm; -1 if unknown.
foundRecipe?
Section titled “foundRecipe?”
optionalfoundRecipe?:boolean
Defined in: client/api.d.ts:1310
beginFromRecipe: whether the manager has a row for the potion.
index?
Section titled “index?”
optionalindex?:number
Defined in: client/api.d.ts:1205
Position in sites(); order is not stable between calls.
inSanctuary?
Section titled “inSanctuary?”
optionalinSanctuary?:boolean
Defined in: client/api.d.ts:1280
Whether the site is in the Room of Requirement.
optionalname?:string
Defined in: client/api.d.ts:1210
Actor name.
outputItemId?
Section titled “outputItemId?”
optionaloutputItemId?:string
Defined in: client/api.d.ts:1255
Item the brew yields.
optionalpath?:string
Defined in: client/api.d.ts:1215
Full object path; no PersistentLevel means a Blueprint archetype.
potionId?
Section titled “potionId?”
optionalpotionId?:string
Defined in: client/api.d.ts:1250
Potion being brewed.
progress?
Section titled “progress?”
optionalprogress?:number
Defined in: client/api.d.ts:1260
0..1 brewing progress.
recipeYield?
Section titled “recipeYield?”
optionalrecipeYield?:number
Defined in: client/api.d.ts:1275
Potions this recipe yields.
remainingSec?
Section titled “remainingSec?”
optionalremainingSec?:number
Defined in: client/api.d.ts:1265
Only meaningful while Brewing(1).
siteUid?
Section titled “siteUid?”
optionalsiteUid?:number
Defined in: client/api.d.ts:1230
Persistence UID; for a dynamic actor a CRC32 of its position.
spawned?
Section titled “spawned?”
optionalspawned?:boolean
Defined in: client/api.d.ts:1330
spawn: always true; the cauldron it placed.
state:
number|null
Defined in: client/api.d.ts:1240
EBrewingState: 0 None, 1 Brewing, 2 Brewed. Null if unregistered.
stateName?
Section titled “stateName?”
optionalstateName?:string
Defined in: client/api.d.ts:1245
State as a name.
stationUid?
Section titled “stationUid?”
optionalstationUid?:number
Defined in: client/api.d.ts:1235
Parent station UID, shared by sibling cauldrons.
template
Section titled “template”template:
boolean
Defined in: client/api.d.ts:1220
Whether it is a class archetype rather than a placed actor.
uncollectedYield?
Section titled “uncollectedYield?”
optionaluncollectedYield?:number
Defined in: client/api.d.ts:1270
Potions waiting to be collected.
optionalx?:number
Defined in: client/api.d.ts:1285
World position.
optionaly?:number
Defined in: client/api.d.ts:1290
World position.
yieldLeft?
Section titled “yieldLeft?”
optionalyieldLeft?:number
Defined in: client/api.d.ts:1320
collect: potions still in the cauldron.
optionalz?:number
Defined in: client/api.d.ts:1295
World position.