Seperate EMAG into EMAG and Authentication Disruptor (#34337)
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
using Content.Shared.Emag.Systems;
|
||||
using Content.Shared.Ninja.Systems;
|
||||
using Content.Shared.Tag;
|
||||
using Content.Shared.Whitelist;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
@@ -17,11 +19,23 @@ public sealed partial class EmagProviderComponent : Component
|
||||
/// The tag that marks an entity as immune to emagging.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public ProtoId<TagPrototype> EmagImmuneTag = "EmagImmune";
|
||||
public ProtoId<TagPrototype> AccessBreakerImmuneTag = "AccessBreakerImmune";
|
||||
|
||||
/// <summary>
|
||||
/// Whitelist that entities must be on to work.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public EntityWhitelist? Whitelist;
|
||||
|
||||
/// <summary>
|
||||
/// What type of emag this will provide.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public EmagType EmagType = EmagType.Access;
|
||||
|
||||
/// <summary>
|
||||
/// What sound should the emag play when used
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public SoundSpecifier EmagSound = new SoundCollectionSpecifier("sparks");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user