Class ExplosionReactionEffect
Inheritance
System.Object
ExplosionReactionEffect
Assembly: Content.Server.dll
Syntax
public sealed class ExplosionReactionEffect : ReagentEffect
Fields
|
Improve this Doc
View Source
ExplosionType
The type of explosion. Determines damage types and tile break chance scaling.
Declaration
public string ExplosionType
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
IntensityPerUnit
The intensity of the explosion per unit reaction.
Declaration
public float IntensityPerUnit
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
IntensitySlope
How quickly intensity drops off as you move away from the epicenter
Declaration
public float IntensitySlope
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MaxIntensity
The max intensity the explosion can have at a given tile. Places an upper limit of damage and tile break
chance.
Declaration
public float MaxIntensity
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MaxTotalIntensity
The maximum total intensity that this chemical reaction can achieve. Basically here to prevent people
from creating a nuke by collecting enough potassium and water.
Declaration
public float MaxTotalIntensity
Field Value
Type |
Description |
System.Single |
|
Properties
|
Improve this Doc
View Source
LogImpact
Declaration
public override LogImpact LogImpact { get; }
Property Value
Type |
Description |
LogImpact |
|
Overrides
|
Improve this Doc
View Source
ShouldLog
Declaration
public override bool ShouldLog { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Methods
|
Improve this Doc
View Source
Effect(ReagentEffectArgs)
Declaration
public override void Effect(ReagentEffectArgs args)
Parameters
Type |
Name |
Description |
Content.Shared.Chemistry.Reagent.ReagentEffectArgs |
args |
|
|
Improve this Doc
View Source
ReagentEffectGuidebookText(IPrototypeManager, IEntitySystemManager)
Declaration
protected override string? ReagentEffectGuidebookText(IPrototypeManager prototype, IEntitySystemManager entSys)
Parameters
Type |
Name |
Description |
Robust.Shared.Prototypes.IPrototypeManager |
prototype |
|
IEntitySystemManager |
entSys |
|
Returns
Type |
Description |
System.Nullable<System.String> |
|