Show / Hide Table of Contents

Class HealingComponent

Applies a damage change to the target when used in an interaction.

Inheritance
System.Object
HealingComponent
Namespace: Content.Server.Medical.Components
Assembly: Content.Server.dll
Syntax
public sealed class HealingComponent : Component

Fields

| Improve this Doc View Source

BloodlossModifier

Declaration
public float BloodlossModifier
Field Value
Type Description
System.Single
Remarks

This should generally be negative, since you're, like, trying to heal damage.

| Improve this Doc View Source

Damage

Declaration
public DamageSpecifier Damage
Field Value
Type Description
DamageSpecifier
| Improve this Doc View Source

DamageContainers

Declaration
public List<string>? DamageContainers
Field Value
Type Description
System.Nullable<List<System.String>>
Remarks

The supported damage types are specified using a DamageContainerPrototypes. For a HealingComponent this filters what damage container type this component should work on. If null, all damage container types are supported.

| Improve this Doc View Source

Delay

How long it takes to apply the damage.

Declaration
public float Delay
Field Value
Type Description
System.Single
| Improve this Doc View Source

HealingBeginSound

Sound played on healing begin

Declaration
public SoundSpecifier HealingBeginSound
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
| Improve this Doc View Source

HealingEndSound

Sound played on healing end

Declaration
public SoundSpecifier HealingEndSound
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
| Improve this Doc View Source

ModifyBloodLevel

Restore missing blood.

Declaration
public float ModifyBloodLevel
Field Value
Type Description
System.Single
| Improve this Doc View Source

SelfHealPenaltyMultiplier

Delay multiplier when healing yourself.

Declaration
public float SelfHealPenaltyMultiplier
Field Value
Type Description
System.Single
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾