Files
ss14-wl/Content.Client/Atmos/Components/MaxPressureVisualsComponent.cs
T
Princess Cheeseballs 77dd687183 The Grand Max Cap Rewrite (#43281)
* Working commit

* AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

* fix the tests I broke

* Remove methods that the client shouldn't be calling. Hamburger.

* light cleanup for now

* review

* whoop

* Commit this shit

* More stages. Something something, hamburger.

* last of the sprites. Now it's just lights, shaking, and sounds

* move comments

* bomb

* fuck it I'm done

* whoops!

* fix test fails

* review

* actually this is better™️

* forgot about you!

* remove unused space

* make it actually build smile

* borger

* grah!!!!

* review time

* Adj powerfactor

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
2026-04-19 05:22:42 +00:00

37 lines
992 B
C#

using Content.Shared.Atmos.Components;
using Content.Shared.Atmos.EntitySystems;
namespace Content.Client.Atmos.Components;
/// <summary>
/// This listens to appearance changes from <see cref="GasMaxPressureSystem{T}"/>
/// and applies sprite changes to a gas holder currently experiencing <see cref="IGasMaxPressureHolder.Integrity"/> loss.
/// </summary>
[RegisterComponent]
public sealed partial class MaxPressureVisualsComponent : Component
{
/// <summary>
/// What RsiState we use for our integrity visuals.
/// </summary>
[DataField]
public string? IntegrityState = "integrity";
/// <summary>
/// What RsiState we use for the mask that goes over integrity visuals.
/// </summary>
[DataField]
public string? IntegrityMask = "mask";
/// <summary>
/// How many steps there are
/// </summary>
[DataField("steps")]
public int IntegritySteps = 5;
}
public enum MaxPressureVisualLayers : byte
{
Base,
BaseUnshaded,
}