Class MetabolizerComponent
Handles metabolizing various reagents with given effects.
Inheritance
Namespace: Content.Server.Body.Components
Assembly: Content.Server.dll
Syntax
public sealed class MetabolizerComponent : Component
Fields
| Improve this Doc View SourceAccumulatedFrametime
Declaration
public float AccumulatedFrametime
Field Value
Type | Description |
---|---|
System.Single |
MaxReagentsProcessable
How many reagents can this metabolizer process at once? Used to nerf 'stacked poisons' where having 5+ different poisons in a syringe, even at low quantity, would be muuuuch better than just one poison acting.
Declaration
public int MaxReagentsProcessable
Field Value
Type | Description |
---|---|
System.Int32 |
MetabolismGroups
A list of metabolism groups that this metabolizer will act on, in order of precedence.
Declaration
public List<MetabolismGroupEntry>? MetabolismGroups
Field Value
Type | Description |
---|---|
System.Nullable<List<MetabolismGroupEntry>> |
MetabolizerTypes
List of metabolizer types that this organ is. ex. Human, Slime, Felinid, w/e.
Declaration
public HashSet<string>? MetabolizerTypes
Field Value
Type | Description |
---|---|
System.Nullable<HashSet<System.String>> |
RemoveEmpty
Should this metabolizer remove chemicals that have no metabolisms defined? As a stop-gap, basically.
Declaration
public bool RemoveEmpty
Field Value
Type | Description |
---|---|
System.Boolean |
SolutionOnBody
Does this component use a solution on it's parent entity (the body) or itself
Declaration
public bool SolutionOnBody
Field Value
Type | Description |
---|---|
System.Boolean |
Remarks
Most things will use the parent entity (bloodstream).
UpdateFrequency
How often to metabolize reagents, in seconds.
Declaration
public float UpdateFrequency
Field Value
Type | Description |
---|---|
System.Single |
Properties
| Improve this Doc View SourceSolutionName
From which solution will this metabolizer attempt to metabolize chemicals
Declaration
public string SolutionName { get; set; }
Property Value
Type | Description |
---|---|
System.String |