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

AppearanceOption

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

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

gender: "male" | "female"

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

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


group: string | null

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

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: server/api.d.ts:943

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


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

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

Which part it fills.