Class BloodstreamComponent
Inheritance
Namespace: Content.Server.Body.Components
Assembly: Content.Server.dll
Syntax
public sealed class BloodstreamComponent : Component
Fields
| Improve this Doc View SourceAccumulatedFrametime
Declaration
public float AccumulatedFrametime
Field Value
Type | Description |
---|---|
System.Single |
BleedAmount
How much is this entity currently bleeding? Higher numbers mean more blood lost every tick.
Goes down slowly over time, and items like bandages or clotting reagents can lower bleeding.
Declaration
public float BleedAmount
Field Value
Type | Description |
---|---|
System.Single |
Remarks
This generally corresponds to an amount of damage and can't go above 100.
BleedPuddleThreshold
How much blood needs to be in the temporary solution in order to create a puddle?
Declaration
public FixedPoint2 BleedPuddleThreshold
Field Value
Type | Description |
---|---|
FixedPoint2 |
BleedReductionAmount
How much should bleeding should be reduced every update interval?
Declaration
public float BleedReductionAmount
Field Value
Type | Description |
---|---|
System.Single |
BloodHealedSound
The sound to be played when some damage actually heals bleeding rather than starting it.
Declaration
public SoundSpecifier BloodHealedSound
Field Value
Type | Description |
---|---|
Robust.Shared.Audio.SoundSpecifier |
BloodlossDamage
The base bloodloss damage to be incurred if below BloodlossThreshold The default values are defined per mob/species in YML.
Declaration
public DamageSpecifier BloodlossDamage
Field Value
Type | Description |
---|---|
DamageSpecifier |
BloodlossHealDamage
The base bloodloss damage to be healed if above BloodlossThreshold The default values are defined per mob/species in YML.
Declaration
public DamageSpecifier BloodlossHealDamage
Field Value
Type | Description |
---|---|
DamageSpecifier |
BloodlossThreshold
What percentage of current blood is necessary to avoid dealing blood loss damage?
Declaration
public float BloodlossThreshold
Field Value
Type | Description |
---|---|
System.Single |
BloodMaxVolume
Max volume of internal blood storage, and starting level of blood.
Declaration
public FixedPoint2 BloodMaxVolume
Field Value
Type | Description |
---|---|
FixedPoint2 |
BloodReagent
Which reagent is considered this entities 'blood'?
Declaration
public string BloodReagent
Field Value
Type | Description |
---|---|
System.String |
Remarks
Slime-people might use slime as their blood or something like that.
BloodRefreshAmount
How much reagent of blood should be restored each update interval?
Declaration
public float BloodRefreshAmount
Field Value
Type | Description |
---|---|
System.Single |
BloodSolution
Internal solution for blood storage
Declaration
public Solution BloodSolution
Field Value
Type | Description |
---|---|
Solution |
BloodTemporarySolution
Temporary blood solution. When blood is lost, it goes to this solution, and when this solution hits a certain cap, the blood is actually spilled as a puddle.
Declaration
public Solution BloodTemporarySolution
Field Value
Type | Description |
---|---|
Solution |
ChemicalMaxVolume
Max volume of internal chemical solution storage
Declaration
public FixedPoint2 ChemicalMaxVolume
Field Value
Type | Description |
---|---|
FixedPoint2 |
ChemicalSolution
Internal solution for reagent storage
Declaration
public Solution ChemicalSolution
Field Value
Type | Description |
---|---|
Solution |
DamageBleedModifiers
A modifier set prototype ID corresponding to how damage should be modified before taking it into account for bloodloss.
Declaration
public string DamageBleedModifiers
Field Value
Type | Description |
---|---|
System.String |
Remarks
For example, piercing damage is increased while poison damage is nullified entirely.
DefaultBloodSolutionName
Declaration
public static string DefaultBloodSolutionName
Field Value
Type | Description |
---|---|
System.String |
DefaultBloodTemporarySolutionName
Declaration
public static string DefaultBloodTemporarySolutionName
Field Value
Type | Description |
---|---|
System.String |
DefaultChemicalsSolutionName
Declaration
public static string DefaultChemicalsSolutionName
Field Value
Type | Description |
---|---|
System.String |
InstantBloodSound
The sound to be played when a weapon instantly deals blood loss damage.
Declaration
public SoundSpecifier InstantBloodSound
Field Value
Type | Description |
---|---|
Robust.Shared.Audio.SoundSpecifier |
MaxBleedAmount
How high can BleedAmount go?
Declaration
public float MaxBleedAmount
Field Value
Type | Description |
---|---|
System.Single |
StatusTime
Variable that stores the amount of status time added by having a low blood level.
Declaration
public float StatusTime
Field Value
Type | Description |
---|---|
System.Single |
UpdateInterval
How frequently should this bloodstream update, in seconds?
Declaration
public float UpdateInterval
Field Value
Type | Description |
---|---|
System.Single |