Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -23,7 +23,7 @@ namespace Content.Server.Atmos.Reactions
|
||||
}
|
||||
|
||||
[Prototype("gasReaction")]
|
||||
public class GasReactionPrototype : IPrototype
|
||||
public sealed class GasReactionPrototype : IPrototype
|
||||
{
|
||||
[ViewVariables]
|
||||
[DataField("id", required: true)]
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Content.Server.Atmos.Reactions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class PlasmaFireReaction : IGasReactionEffect
|
||||
public sealed class PlasmaFireReaction : IGasReactionEffect
|
||||
{
|
||||
public ReactionResult React(GasMixture mixture, IGasMixtureHolder? holder, AtmosphereSystem atmosphereSystem)
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.Server.Atmos.Reactions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class TritiumFireReaction : IGasReactionEffect
|
||||
public sealed class TritiumFireReaction : IGasReactionEffect
|
||||
{
|
||||
public ReactionResult React(GasMixture mixture, IGasMixtureHolder? holder, AtmosphereSystem atmosphereSystem)
|
||||
{
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Content.Server.Atmos.Reactions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class WaterVaporReaction : IGasReactionEffect
|
||||
public sealed class WaterVaporReaction : IGasReactionEffect
|
||||
{
|
||||
[DataField("reagent")] public string? Reagent { get; } = null;
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace Content.Server.Atmos.Reactions
|
||||
// Remove the moles from the mixture...
|
||||
mixture.AdjustMoles(GasId, -MolesPerUnit);
|
||||
|
||||
var tileRef = tile.GridIndices.GetTileRef(tile.GridIndex);
|
||||
var tileRef = tile.GridIndices.GetTileRef(tile.GridIndex);
|
||||
EntitySystem.Get<SpillableSystem>()
|
||||
.SpillAt(tileRef, new Solution(Reagent, FixedPoint2.New(MolesPerUnit)), PuddlePrototype, sound: false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user