* limitedcharges stuff from emag * changes except broken * fix * the * move recharging to server, emag namespace -> charges * the * use resolve * pro webedit gaming * the * the --------- Co-authored-by: deltanedas <@deltanedas:kde.org>
21 lines
713 B
C#
21 lines
713 B
C#
using Content.Shared.Emag.Systems;
|
|
using Content.Shared.Tag;
|
|
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.Emag.Components;
|
|
|
|
[Access(typeof(EmagSystem))]
|
|
[RegisterComponent, NetworkedComponent]
|
|
[AutoGenerateComponentState]
|
|
public sealed partial class EmagComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The tag that marks an entity as immune to emags
|
|
/// </summary>
|
|
[DataField("emagImmuneTag", customTypeSerializer: typeof(PrototypeIdSerializer<TagPrototype>)), ViewVariables(VVAccess.ReadWrite)]
|
|
[AutoNetworkedField]
|
|
public string EmagImmuneTag = "EmagImmune";
|
|
}
|