Files
wwdpublic/Content.Shared/Shadowkin/EtherealComponent.cs
sleepyyapril d6e00dabad Kill Mana (#1623)
it is genuinely so bad

🆑
- remove: Remove mana.

(cherry picked from commit 89e8de3b6006ca6d4551546bf8a22c7ed7244aba)
2025-01-23 08:02:50 +03:00

44 lines
989 B
C#

using Content.Shared.NPC.Prototypes;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Shadowkin;
[RegisterComponent, NetworkedComponent]
public sealed partial class EtherealComponent : Component
{
/// <summary>
/// Does the Ent, Dark lights around it?
/// </summary>
[DataField]
public bool Darken = false;
/// <summary>
/// Range of the Darken Effect.
/// </summary>
[DataField]
public float DarkenRange = 5;
/// <summary>
/// Darken Effect Rate.
/// </summary>
[DataField]
public float DarkenRate = 0.084f;
/// Can this be stunned by ethereal stun objects?
[DataField]
public bool CanBeStunned = true;
public List<EntityUid> DarkenedLights = new();
public float DarkenAccumulator;
public int OldMobMask;
public int OldMobLayer;
public List<ProtoId<NpcFactionPrototype>> SuppressedFactions = new();
public bool HasDoorBumpTag;
}