Show / Hide Table of Contents

Class MetabolizerComponent

Handles metabolizing various reagents with given effects.

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

Fields

| Improve this Doc View Source

AccumulatedFrametime

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

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
| Improve this Doc View Source

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>>
| Improve this Doc View Source

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>>
| Improve this Doc View Source

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
| Improve this Doc View Source

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).

| Improve this Doc View Source

UpdateFrequency

How often to metabolize reagents, in seconds.

Declaration
public float UpdateFrequency
Field Value
Type Description
System.Single

Properties

| Improve this Doc View Source

SolutionName

From which solution will this metabolizer attempt to metabolize chemicals

Declaration
public string SolutionName { get; set; }
Property Value
Type Description
System.String
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾