Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeClient APIGenerated

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.

optional called?: boolean

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

begin, beginFromRecipe, complete and destroy: whether the native call ran.


cauldronId: string

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

GetCauldronID — level-authored, uniqueness unverified.


optional collectedAnything?: boolean

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

collect: whether any potion went into the inventory.


optional collectedItemId?: string

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

collect: the item collected.


optional dist?: number

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

Distance from the local player in cm; -1 if unknown.


optional foundRecipe?: boolean

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

beginFromRecipe: whether the manager has a row for the potion.


optional index?: number

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

Position in sites(); order is not stable between calls.


optional inSanctuary?: boolean

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

Whether the site is in the Room of Requirement.


optional name?: string

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

Actor name.


optional outputItemId?: string

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

Item the brew yields.


optional path?: string

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

Full object path; no PersistentLevel means a Blueprint archetype.


optional potionId?: string

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

Potion being brewed.


optional progress?: number

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

0..1 brewing progress.


optional recipeYield?: number

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

Potions this recipe yields.


optional remainingSec?: number

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

Only meaningful while Brewing(1).


optional siteUid?: number

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

Persistence UID; for a dynamic actor a CRC32 of its position.


optional spawned?: 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.


optional stateName?: string

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

State as a name.


optional stationUid?: number

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

Parent station UID, shared by sibling cauldrons.


template: boolean

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

Whether it is a class archetype rather than a placed actor.


optional uncollectedYield?: number

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

Potions waiting to be collected.


optional x?: number

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

World position.


optional y?: number

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

World position.


optional yieldLeft?: number

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

collect: potions still in the cauldron.


optional z?: number

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

World position.