Initial Infected can see each other (#25934)

initial infected icon
This commit is contained in:
Killerqu00
2024-03-18 22:57:36 +01:00
committed by GitHub
parent d5e7951d5a
commit 45d6c03407
6 changed files with 40 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
using Content.Shared.Antag;
using Content.Shared.StatusIcon;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Zombies;
[RegisterComponent, NetworkedComponent]
public sealed partial class InitialInfectedComponent : Component, IAntagStatusIconComponent
{
[DataField("initialInfectedStatusIcon")]
public ProtoId<StatusIconPrototype> StatusIcon { get; set; } = "InitialInfectedFaction";
[DataField]
public bool IconVisibleToGhost { get; set; } = true;
}