Flash overlay rework and bugfixes (#27369)
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
namespace Content.Server.Flash.Components
|
||||
namespace Content.Server.Flash.Components;
|
||||
|
||||
/// <summary>
|
||||
/// Makes the entity immune to being flashed.
|
||||
/// When given to clothes in the "head", "eyes" or "mask" slot it protects the wearer.
|
||||
/// </summary>
|
||||
[RegisterComponent, Access(typeof(FlashSystem))]
|
||||
public sealed partial class FlashImmunityComponent : Component
|
||||
{
|
||||
[RegisterComponent, Access(typeof(FlashSystem))]
|
||||
public sealed partial class FlashImmunityComponent : Component
|
||||
{
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("enabled")]
|
||||
public bool Enabled { get; set; } = true;
|
||||
}
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("enabled")]
|
||||
public bool Enabled { get; set; } = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user