Show / Hide Table of Contents

Class ExplosionReactionEffect

Inheritance
System.Object
ReagentEffect
ExplosionReactionEffect
Namespace: Content.Server.Chemistry.ReactionEffects
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
Remarks

A slope of 1 and MaxTotalIntensity of 100 corresponds to a radius of around 4.5 tiles.

Properties

| Improve this Doc View Source

LogImpact

Declaration
public override LogImpact LogImpact { get; }
Property Value
Type Description
LogImpact
Overrides
ReagentEffect.LogImpact
| Improve this Doc View Source

ShouldLog

Declaration
public override bool ShouldLog { get; }
Property Value
Type Description
System.Boolean
Overrides
ReagentEffect.ShouldLog

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>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾