CatStation/Content.Shared/Sprite/SimpleSpriteOverlayComponent.cs
August Sun 3b1997d9c0
Adds the Xenoborg Heavy Radioactive module (#43126)
* Added radioactive prototype and audio

* value changes, pointlight removal

* Added XenoborgVisualsComp and System, added visuals sprite for radioactive layer

* Fixed XenoborgVisualsComp to show on sprite

* Removed action button

* Fixes

* fixes

* cleanup

* make sprite brighter

* why was this removed?

* just remove the diff

* fix test fail

---------

Co-authored-by: august-sun <45527070+august.sun@users.noreply.github.com>
Co-authored-by: beck-thompson <beck314159@hotmail.com>
Co-authored-by: Samuel-C <samuelcamilo8@gmail.com>
2026-08-04 15:46:41 +00:00

29 lines
857 B
C#

using Robust.Shared.GameStates;
using Robust.Shared.Utility;
namespace Content.Shared.Sprite;
/// <summary>
/// Add a simple sprite overlay to an entity.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState(true)]
public sealed partial class SimpleSpriteOverlayComponent : Component
{
/// <summary>
/// Rsi of the sprite we want to overlay.
/// </summary>
[DataField, AutoNetworkedField]
public SpriteSpecifier OverlaySprite;
/// <summary>
/// The key of the entity layer into which the sprite will be inserted.
/// </summary>
[DataField, AutoNetworkedField]
public string LayerMap = "simple_visual_overlay";
/// <summary>
/// The shader (if any) that will be applied to the sprite layer.
/// </summary>
[DataField, AutoNetworkedField]
public string? Shader;
}