Class ReagentThreshold
Used for implementing reagent effects that require a certain amount of reagent before it should be applied.
For instance, overdoses.
This can also trigger on -other- reagents, not just the one metabolizing. By default, it uses the
one being metabolized.
Inheritance
System.Object
ReagentThreshold
Assembly: Content.Server.dll
Syntax
public sealed class ReagentThreshold : ReagentEffectCondition
Fields
|
Improve this Doc
View Source
Max
Declaration
Field Value
|
Improve this Doc
View Source
Min
Declaration
Field Value
|
Improve this Doc
View Source
Reagent
Declaration
Field Value
Type |
Description |
System.Nullable<System.String> |
|
Methods
|
Improve this Doc
View Source
Condition(ReagentEffectArgs)
Declaration
public override bool Condition(ReagentEffectArgs args)
Parameters
Type |
Name |
Description |
Content.Shared.Chemistry.Reagent.ReagentEffectArgs |
args |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GuidebookExplanation(IPrototypeManager)
Declaration
public override string GuidebookExplanation(IPrototypeManager prototype)
Parameters
Type |
Name |
Description |
Robust.Shared.Prototypes.IPrototypeManager |
prototype |
|
Returns
Type |
Description |
System.String |
|
Overrides