namespace Content.Shared.Atmos.Components; // Unfortunately can't be friends yet due to magboots. [RegisterComponent] public sealed partial class MovedByPressureComponent : Component { public const float MoveForcePushRatio = 1f; public const float MoveForceForcePushRatio = 1f; public const float ProbabilityOffset = 25f; public const float ProbabilityBasePercent = 10f; public const float ThrowForce = 100f; /// /// Accumulates time when yeeted by high pressure deltas. /// [DataField] public float Accumulator; [DataField] public bool Enabled { get; set; } = true; [DataField] public float PressureResistance { get; set; } = 1f; [DataField] public float MoveResist { get; set; } = 100f; [ViewVariables(VVAccess.ReadWrite)] public int LastHighPressureMovementAirCycle { get; set; } = 0; /// /// Used to remember which fixtures we have to remove the table mask from and give it back accordingly /// [DataField] public HashSet TableLayerRemoved = new(); }