* Chances of triggering effects (#27056) * electrocution * slippery * flashibg * Update SlipperyComponent.cs * Update SlipperySystem.cs * Flash buff (#25730) * flash buff * oops! * bool * 3 -> 1.5 seconds * okay fix * sluth * Flash overlay rework and bugfixes (#27369) * fix mapping door access (#27784) Co-authored-by: deltanedas <@deltanedas:kde.org> * - fix: Errors. * - fix: Incorporeal. --------- Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com> Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com> Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Co-authored-by: deltanedas <39013340+deltanedas@users.noreply.github.com>
14 lines
443 B
C#
14 lines
443 B
C#
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
|
|
{
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField("enabled")]
|
|
public bool Enabled { get; set; } = true;
|
|
}
|