diff --git a/Content.Shared/Ghost/SpectralComponent.cs b/Content.Shared/Ghost/SpectralComponent.cs new file mode 100644 index 00000000000000..78729723618310 --- /dev/null +++ b/Content.Shared/Ghost/SpectralComponent.cs @@ -0,0 +1,9 @@ +using Robust.Shared.Prototypes; + +namespace Content.Shared.Ghost; + +/// +/// Marker component to identify "ghostly" entities. +/// +[RegisterComponent] +public sealed partial class SpectralComponent : Component {} diff --git a/Resources/Prototypes/Entities/Mobs/Player/observer.yml b/Resources/Prototypes/Entities/Mobs/Player/observer.yml index c02629c4d6fd81..291af09056726f 100644 --- a/Resources/Prototypes/Entities/Mobs/Player/observer.yml +++ b/Resources/Prototypes/Entities/Mobs/Player/observer.yml @@ -4,6 +4,7 @@ abstract: true description: Mobs without physical bodies components: + - type: Spectral - type: Sprite noRot: true overrideContainerOcclusion: true # Always show up regardless of where they're contained. diff --git a/Resources/Prototypes/Entities/Objects/Fun/spectral_locator.yml b/Resources/Prototypes/Entities/Objects/Fun/spectral_locator.yml index ff309958bbc361..cbc8d0e0f0e9a9 100644 --- a/Resources/Prototypes/Entities/Objects/Fun/spectral_locator.yml +++ b/Resources/Prototypes/Entities/Objects/Fun/spectral_locator.yml @@ -26,7 +26,7 @@ range: 8 criteria: components: - - Ghost + - Spectral # reacts to AI eye, intentional - type: Beeper isMuted: true minBeepInterval: 0.1