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

CraftCompletionProposal

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

What a finished batch or workpiece is about to grant, computed by the server. Frozen: a handler can refuse it, not change it.

amount: number

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

How many.


grade: number

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

The product’s native rank; for smithing, its item quality tier.


kind: "alchemy" | "smithing"

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

Which craft.


lockpicks: number | undefined

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

Smithing only: lockpicks granted alongside, drawn by the server from the player’s perks.


outcome: "failed" | "success"

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

failed brews the game’s failed potion. A smithing proposal is always success: a failed workpiece grants nothing to review.


product: string

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

Item class GUID of what would be granted, or empty when nothing is: a zero alchemy yield, or a smithing quest product its quest creates.


quality: number

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

Brewing quality, 0 to 1, after perks and the table-entry bonus; for smithing, the workpiece quality the player’s game reported.


recipe: string

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

The recipe the brew matched, or empty when it matched none; the smithing recipe worked.


session: string

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

The session id.


station: string

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

Station id.


xp: number

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

Base alchemy or craftsmanship XP; the player’s own multipliers apply on top.