Skip to content
KCKingdoms Connected Scripting APIScripting guides and API
Global objectClient APIGenerated

Progression

const Progression: object

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

The game’s skills, stats and perks. Read-only on the client: every change to a player’s progression is the server’s.

findPerk(query): PerkInfo | null

Looks a perk up.

string

A perk’s name, as the game’s perk tables spell it, or its GUID.

PerkInfo | null

What the tables say about it, or null for a name they do not carry.

perks(filter?): PerkInfo[]

Lists the game’s perks: 945 of them, most of them hidden system perks. Progression.perks({ visibleOnly: true }) is the perk screen.

track keeps the perks one tree pays for – a track name, or main; visibleOnly keeps the perks the perk screen shows.

string

boolean

PerkInfo[]

The perks, sorted by name.

tracks(): TrackInfo[]

Every skill and stat a player levels: the fifteen skills the character sheet shows, then strength, agility, vitality, speech and prestige.

TrackInfo[]

The tracks, in that order.

xpForLevel(track, level): number

The total XP a track costs from level 0 to level, on the game’s own curve: each level costs base + diff * level, with base and diff from the game’s RPG tables.

string

A track name.

number

The level to reach.

number

The XP. Throws for a track name the tables do not carry.