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

AppearanceOption

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

One entry of the game’s character-component tree: something a body can be given for one part.

gender: "male" | "female"

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

Which tree it came out of. An option is only valid on a body of the same gender.


group: string | null

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

The option this one is a variation of, or null when it stands on its own. The game ships a hairstyle once per colour, all derived from the same style node, so grouping by this is what turns 262 hairstyles into a list somebody can read.


name: string

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

What to put in the part. This is the game’s own node name.


part: "body" | "head" | "hair" | "beard"

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

Which part it fills.