|
readonly int | AttachLimbId |
|
readonly string | AttachLimbName |
|
readonly LimbType | AttachLimbType |
|
readonly float | DormantThreshold |
| The minimum strength at which husk infection will be in the dormant stage. It must be less than or equal to ActiveThreshold.
|
|
readonly float | ActiveThreshold |
| The minimum strength at which husk infection will be in the active stage. It must be greater than or equal to DormantThreshold and less than or equal to TransitionThreshold.
|
|
readonly float | TransitionThreshold |
| The minimum strength at which husk infection will be in its final stage. It must be greater than or equal to ActiveThreshold.
|
|
readonly float | TransformThresholdOnDeath |
| The minimum strength the affliction must have for the affected character to transform into a husk upon death.
|
|
readonly Identifier | HuskedSpeciesName |
| The species of husk to convert the affected character to once husk infection reaches its final stage.
|
|
readonly bool | TransferBuffs |
| If set to true, all buffs are transferred to the converted character after husk transformation is complete.
|
|
readonly bool | SendMessages |
| If set to true, the affected player will see on-screen messages describing husk infection symptoms and affected bots will speak about their current husk infection stage.
|
|
readonly bool | CauseSpeechImpediment |
| If set to true, affected characters will have their speech impeded once the affliction reaches the dormant stage.
|
|
readonly bool | NeedsAir |
| If set to false, affected characters will no longer require air once the affliction reaches the active stage.
|
|
readonly bool | ControlHusk |
| If set to true, affected players will retain control of their character after transforming into a husk.
|
|
readonly LocalizedString | Name |
|
readonly LocalizedString | CauseOfDeathDescription |
|
readonly LocalizedString | SelfCauseOfDeathDescription |
|
readonly ImmutableList< Description > | Descriptions |
|
readonly Identifier | AfflictionType |
| Arbitrary string that is used to identify the type of the affliction.
|
|
readonly bool | LimbSpecific |
| If set to true, the affliction affects individual limbs. Otherwise, it affects the whole character.
|
|
readonly LimbType | IndicatorLimb |
| If the affliction doesn't affect individual limbs, this attribute determines where the game will render the affliction's indicator when viewed in the in-game health UI.
|
|
readonly Identifier | TranslationIdentifier |
| Can be set to the identifier of another affliction to make this affliction reuse the same name and description.
|
|
readonly bool | IsBuff |
| If set to true, the game will recognize this affliction as a buff. This means, among other things, that bots won't attempt to treat it, and the health UI will render the affected limb in green rather than red.
|
|
readonly bool | AffectMachines |
| If set to true, this affliction can affect characters that are marked as machines, such as the Fractal Guardian.
|
|
readonly bool | HealableInMedicalClinic |
| If set to true, this affliction can be healed at the medical clinic.
|
|
readonly float | HealCostMultiplier |
| How much each unit of this affliction's strength will add to the cost of healing at the medical clinic.
|
|
readonly int | BaseHealCost |
| The minimum cost of healing this affliction at the medical clinic.
|
|
readonly bool | ShowBarInHealthMenu |
| If set to false, the health UI will not show the strength of the affliction as a bar under its indicator.
|
|
readonly bool | HideIconAfterDelay |
| If set to true, this affliction's icon will be hidden from the HUD after 5 seconds.
|
|
readonly float | ActivationThreshold = 0.0f |
| How high the strength has to be for the affliction to take effect.
|
|
readonly float | ShowIconThreshold = 0.05f |
| How high the strength has to be for the affliction icon to be shown in the UI.
|
|
readonly float | ShowIconToOthersThreshold = 0.05f |
| How high the strength has to be for the affliction icon to be shown to others with a health scanner or via the health interface.
|
|
readonly float | MaxStrength = 100.0f |
| The maximum strength this affliction can have.
|
|
readonly float | GrainBurst |
| The strength of the radiation grain effect to apply when the strength of this affliction increases.
|
|
readonly float | ShowInHealthScannerThreshold |
| How high the strength has to be for the affliction icon to be shown with a health scanner.
|
|
readonly float | TreatmentThreshold |
| How strong the affliction needs to be before bots attempt to treat it. Also effects when the affliction is shown in the suitable treatments list.
|
|
ImmutableHashSet< Identifier > | IgnoreTreatmentIfAfflictedBy |
| Bots will not try to treat the affliction if the character has any of these afflictions.
|
|
readonly float | Duration |
| The duration of the affliction, in seconds. If set to 0, the affliction does not expire.
|
|
float | KarmaChangeOnApplied |
| How much karma changes when a player applies this affliction to someone (per strength of the affliction)
|
|
readonly float | BurnOverlayAlpha |
| Opacity of the burn effect (darker tint) on limbs affected by this affliction. 1 = full strength.
|
|
readonly float | DamageOverlayAlpha |
| Opacity of the bloody damage overlay on limbs affected by this affliction. 1 = full strength.
|
|
readonly Identifier | AchievementOnReceived |
|
readonly Identifier | AchievementOnRemoved |
| Steam achievement given when the affliction is removed from the controlled character.
|
|
readonly Color[] | IconColors |
| A gradient that defines which color to render this affliction's icon with, based on the affliction's current strength.
|
|
readonly bool | AfflictionOverlayAlphaIsLinear |
| If set to true and the affliction has an AfflictionOverlay element, the overlay's opacity will be strictly proportional to its strength. Otherwise, the overlay's opacity will be determined based on its activation threshold and effects.
|
|
readonly bool | ResetBetweenRounds |
| If set to true, this affliction will not persist between rounds.
|
|
readonly bool | DamageParticles |
| Should damage particles be emitted when a character receives this affliction? Only relevant if the affliction is of the type "bleeding" or "damage".
|
|
readonly float | MedicalSkillGain |
| An arbitrary modifier that affects how much medical skill is increased when you apply the affliction on a target. If the affliction causes damage or is of the 'poison' or 'paralysis' type, the skill is increased only when the target is hostile. If the affliction is of the 'buff' type, the skill is increased only when the target is friendly.
|
|
readonly float | WeaponsSkillGain |
| An arbitrary modifier that affects how much weapons skill is increased when you apply the affliction on a target. The skill is increased only when the target is hostile.
|
|
readonly Sprite | Icon |
| An icon that’s used in the UI to represent this affliction.
|
|
readonly Sprite | AfflictionOverlay |
| A sprite that covers the affected player's entire screen when this affliction is active. Its opacity is controlled by the active effect's MinAfflictionOverlayAlphaMultiplier and MaxAfflictionOverlayAlphaMultiplier.
|
|
readonly Identifier | Identifier |
|
readonly ContentFile | ContentFile |
|
AfflictionPrefabHusk is a special type of affliction that has added functionality for husk infection.