This commit is contained in:
slarticodefast
2024-11-22 23:02:59 +01:00
parent 5a9a2d463b
commit 08bfb43feb
8 changed files with 47 additions and 63 deletions

View File

@@ -0,0 +1,7 @@
namespace Content.Shared.Electrocution;
/// <summary>
/// Handles toggling sprite layers for the electrocution HUD to show if an entity with the ElectrifiedComponent is electrified.
/// </summary>
[RegisterComponent]
public sealed partial class ElectrocutionHUDVisualsComponent : Component;

View File

@@ -3,7 +3,7 @@ using Robust.Shared.GameStates;
namespace Content.Shared.Electrocution;
/// <summary>
/// Allow an entity to see the ElectrocutionOverlay showing electrocuted doors.
/// Allow an entity to see the Electrocution HUD showing electrocuted doors.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class ElectrocutionOverlayComponent : Component;
public sealed partial class ShowElectrocutionHUDComponent : Component;

View File

@@ -6,7 +6,7 @@ namespace Content.Shared.Electrocution;
public enum ElectrifiedLayers : byte
{
Sparks,
Overlay,
HUD,
}
[Serializable, NetSerializable]