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

DerivedPlayerStat

const DerivedPlayerStat: object

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

Read-only computed player stats. Use getDerivedStat; these values cannot be passed to setStat.

readonly Alcoholism: "alcoholism"

Computed alcoholism reading, not the persistent soul resource.

readonly ArmorRating: "armorRating"

Effective armor rating.

readonly Bleeding: "bleeding"

Total bleeding strength.

readonly Bloodiness: "bloodiness"

Native bloodiness reading.

readonly CarriedWeight: "carriedWeight"

Carried weight in the same units as InventoryCapacity.

readonly Charisma: "charisma"

Effective charisma.

readonly Consciousness: "consciousness"

Consciousness; zero means knocked out.

readonly Conspicuousness: "conspicuousness"

Effective conspicuousness.

readonly Dirtiness: "dirtiness"

Native dirtiness reading; reading it does not clean the body or equipment.

readonly Drunkenness: "drunkenness"

Native drunkenness value.

readonly Encumbrance: "encumbrance"

Native encumbrance reading.

readonly Fragrance: "fragrance"

Native fragrance reading.

readonly Hangover: "hangover"

Native hangover reading.

readonly InventoryCapacity: "inventoryCapacity"

Native carrying capacity, including applicable equipment effects.

readonly Morale: "morale"

Native morale reading.

readonly Noise: "noise"

Effective noise.

readonly NormalizedRunSpeed: "normalizedRunSpeed"

Normalized run speed; not world-space velocity.

readonly OverallArmorDefense: "overallArmorDefense"

Overall armor defense.

readonly OverallWeaponAttack: "overallWeaponAttack"

Overall weapon attack.

readonly Poisoning: "poisoning"

Native poisoning value; not every named poison changes this value.

readonly RunSpeedBase: "runSpeedBase"

Native base run speed.

readonly Sleeping: "sleeping"

Sleepiness; above zero means asleep.

readonly Smell: "smell"

Native smell reading.

readonly SmellIntensity: "smellIntensity"

Native smell intensity.

readonly Visibility: "visibility"

Effective visibility.