Files
OldThink/Content.Server/White/ShockClothing/ShockClothingComponent.cs
Aviu00 a935aa2242 Shock collar
(cherry picked from commit e34770d7e5399195b8f762e545eddab8a3c2dd4f)
2024-03-02 16:08:39 +03:00

16 lines
596 B
C#

using Content.Shared.DeviceLinking;
using Robust.Shared.Audio;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Server.White.ShockClothing;
[RegisterComponent]
public sealed partial class ShockClothingComponent : Component
{
[DataField("triggerPort", customTypeSerializer: typeof(PrototypeIdSerializer<SinkPortPrototype>))]
public string TriggerPort = "Trigger";
[ViewVariables(VVAccess.ReadWrite), DataField("zapSound")]
public SoundSpecifier? ZapSound = new SoundPathSpecifier("/Audio/Weapons/Guns/Hits/taser_hit.ogg");
}