Class ReagentProducerAnomalyComponent
This component allows the anomaly to generate a random type of reagent in the specified SolutionContainer. With the increasing severity of the anomaly, the type of reagent produced may change. The higher the severity of the anomaly, the higher the chance of dangerous or useful reagents.
Inheritance
Namespace: Content.Server.Anomaly.Components
Assembly: Content.Server.dll
Syntax
public sealed class ReagentProducerAnomalyComponent : Component
Fields
| Improve this Doc View SourceReagentProducerAnomalyComponent
The spread of the random weight of the choice of this category, depending on the severity.
Declaration
public Vector2
Field Value
Type | Description |
---|---|
Vector2 |
ReagentProducerAnomalyComponent
The spread of the random weight of the choice of this category, depending on the severity.
Declaration
public Vector2
Field Value
Type | Description |
---|---|
Vector2 |
ReagentProducerAnomalyComponent
The spread of the random weight of the choice of this category, depending on the severity.
Declaration
public Vector2
Field Value
Type | Description |
---|---|
Vector2 |
AccumulatedFrametime
Declaration
public float AccumulatedFrametime
Field Value
Type | Description |
---|---|
System.Single |
ChangeSound
Noise made when anomaly pulse.
Declaration
public SoundSpecifier ChangeSound
Field Value
Type | Description |
---|---|
Robust.Shared.Audio.SoundSpecifier |
DangerousChemicals
Category of dangerous reagents for injection. Various toxins and poisons
Declaration
public List<ProtoId<ReagentPrototype>> DangerousChemicals
Field Value
Type | Description |
---|---|
List<Robust.Shared.Prototypes.ProtoId<ReagentPrototype>> |
FunChemicals
Category of fun reagents for injection. Glue, drugs, beer. Something that will bring fun.
Declaration
public List<ProtoId<ReagentPrototype>> FunChemicals
Field Value
Type | Description |
---|---|
List<Robust.Shared.Prototypes.ProtoId<ReagentPrototype>> |
MaxReagentProducing
the maximum amount of reagent produced per second
Declaration
public float MaxReagentProducing
Field Value
Type | Description |
---|---|
System.Single |
NeedRecolor
The component will repaint the sprites of the object to match the current color of the solution, if the RandomSprite component is hung correctly. Ideally, this should be put into a separate component, but I suffered for 4 hours, and nothing worked out for me. So for now it will be like this.
Declaration
public bool NeedRecolor
Field Value
Type | Description |
---|---|
System.Boolean |
ProducingReagent
The name of the reagent that the anomaly produces.
Declaration
public ProtoId<ReagentPrototype> ProducingReagent
Field Value
Type | Description |
---|---|
Robust.Shared.Prototypes.ProtoId<ReagentPrototype> |
Solution
Solution name where the substance is generated
Declaration
public string Solution
Field Value
Type | Description |
---|---|
System.String |
SupercriticalReagentProducingModifier
how much does the reagent production increase before entering the supercritical state
Declaration
public float SupercriticalReagentProducingModifier
Field Value
Type | Description |
---|---|
System.Single |
UpdateInterval
How frequently should this reagent generation update, in seconds?
Declaration
public float UpdateInterval
Field Value
Type | Description |
---|---|
System.Single |
UsefulChemicals
Category of useful reagents for injection. Medicine and other things that players WANT to get
Declaration
public List<ProtoId<ReagentPrototype>> UsefulChemicals
Field Value
Type | Description |
---|---|
List<Robust.Shared.Prototypes.ProtoId<ReagentPrototype>> |
WeightSpreadDangerous
The spread of the random weight of the choice of this category, depending on the severity.
Declaration
public Vector2 WeightSpreadDangerous
Field Value
Type | Description |
---|---|
Vector2 |
WeightSpreadFun
The spread of the random weight of the choice of this category, depending on the severity.
Declaration
public Vector2 WeightSpreadFun
Field Value
Type | Description |
---|---|
Vector2 |
WeightSpreadUseful
The spread of the random weight of the choice of this category, depending on the severity.
Declaration
public Vector2 WeightSpreadUseful
Field Value
Type | Description |
---|---|
Vector2 |