using Content.Shared.Atmos; using Content.Shared.Atmos.EntitySystems; using Robust.Shared.Prototypes; namespace Content.Shared.EntityEffects.Effects.Atmos; /// /// See serverside system. /// /// public sealed partial class CreateGas : EntityEffectBase { /// /// The gas we're creating /// [DataField] public Gas Gas; /// /// Amount of moles we're creating /// [DataField] public float Moles = 3f; public override string EntityEffectGuidebookText(IPrototypeManager prototype, IEntitySystemManager entSys) { var atmos = entSys.GetEntitySystem(); var gasProto = atmos.GetGas(Gas); return Loc.GetString("entity-effect-guidebook-create-gas", ("chance", Probability), ("moles", Moles), ("gas", gasProto.Name)); } }