Skip to main content

FB1DisasterConfig

Overview

  • Defines a complete disaster entry including its trigger conditions, probability, duration, cooldown, and effects on Zois and objects.

Metadata

FieldValue
Kindstruct
EnvironmentB1 - Presentation
Categorystructs

Properties (7)

NameTypeDescription
AndConditionsFB1DisasterOccurCondition[]List of conditions that must all be true (AND logic) for this disaster to be eligible to occur.
CoolTimeintegerCooldown in game minutes before this disaster can trigger again.
DisasterIdstringID referencing the weather entry that represents this disaster.
DurationintegerDuration in game minutes for which this disaster remains active.
ObjectEffectsFB1DisasterOccurObjectEffect[]List of effects applied to world objects when this disaster occurs.
ProbFB1DisasterOccurProbProbability configuration for this disaster's occurrence.
ZoiEffectsFB1DisasterOccurZoiEffect[]List of effects applied to Zoi characters when this disaster occurs.