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

InventoryQuickslots

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

The current outfit’s weapon and item quickslots. Indices are zero-based; each array has four entries. Empty references are null.

activeItem: number

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

Selected item slot, 0 through 3.


activeWeapon: number

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

Selected weapon slot, 0 through 3.


items: (string | null)[]

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

Four item slots, containing row IDs or null. Save equipped belts and pouches with the inventory rows to retain slot capacity.


weapons: object[]

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

Four weapon slots, each with primary and secondary row IDs. A row may appear in several slots.

primary: string | null

secondary: string | null