Skip to main content

UB1StatDataAsset

Overview

  • Data asset for the stat system, configuring scheduled stats, thresholds, UI settings, and karma tuning values.

Metadata

FieldValue
Kindclass
EnvironmentB1 - Presentation
Categoryclasses
ExtendsUB1DataAssetBase

Properties (19)

NameTypeDescription
AtHomeHomesickRecoveryBuffIdstringBuff applied while character is in their residence site to recover Homesick stat. (BL-55638)
CustomerServiceDesireThresholdnumberWhen all 8 desire stats are above this percent (0-1), the Customer_Service_Usage stat is force-picked in autonomy.
HomesickRecoveryOnSocialInfluencenumber
HomesickRecoveryOnUserInputnumber
HungerDecayCurvetable<integer, number>Hunger decay curve. Maps in-game hour (0-23) to a decay multiplier. Absent hours default to no scaling.
HungerRandomRangeHourstable<integer, boolean>Hours at which HungerDecayCurve value is treated as the upper bound of a random range [1.0, multiplier].
InitHouseHoldStatstable<string, number>Initial household stats and their values A map of stat IDs to their initial values assigned to a new household.
KarmaMinimumValuenumberMinimum value for karma before triggering penalties The minimum karma value before penalty effects are applied.
ScheduledStatsFB1ScheduledStat[]The list of time-restricted stat configurations that apply during specific hours.
SleepPerSecondsnumberThe amount of sleep stat recovered per real-time second.
StatAlramDurationnumberDuration for stat alarm notifications (in seconds) The duration in seconds that a stat alarm notification remains visible.
StatDangerColorIdstringID of the color used for stats in the danger zone The color mapping ID used to display the stat in the danger zone.
StatDangerTooltipTextstringTooltip text displayed when a stat reaches the danger zone The tooltip text shown when the stat enters the danger zone.
StatDangerValuenumberThreshold value at which a stat is considered in the danger zone The stat value below which the stat is considered to be in the danger zone.
StatIconIdstringID of the stat icon displayed in the UI The identifier of the stat icon displayed in the state UI.
StatThresholdFxInfostable<string, FB1StatFxThresholdInfoWrapper>A map of stat IDs to their FX threshold wrapper configurations.
StatWarningColorIdstringID of the color used for stats in the warning zone The color mapping ID used to display the stat in the warning zone.
StatWarningTooltipTextstringTooltip text displayed when a stat reaches the warning zone The tooltip text shown when the stat enters the warning zone.
StatWarningValuenumberThreshold value at which a stat is considered in the warning zone The stat value below which the stat is considered to be in the warning zone.