mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-14 04:41:14 +03:00
* 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>
29 lines
857 B
C#
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;
|
|
}
|