Sound Effect For Emagged Borgs (#21451)

* Added sound effect for borg being emagged

* attributions

* license

* patched for #21460

* Made the sound trigger on emag instead of role add

* oops
This commit is contained in:
Bixkitts
2023-11-20 16:36:25 +01:00
committed by GitHub
parent c5f9dfe7db
commit 646aee0b7a
4 changed files with 19 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
using Content.Shared.Roles;
using Content.Shared.Roles;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
using Robust.Shared.Audio;
namespace Content.Shared.Silicons.Laws.Components;
@@ -48,4 +49,12 @@ public sealed partial class EmagSiliconLawComponent : Component
/// </summary>
[DataField]
public ProtoId<AntagPrototype>? AntagonistRole = "SubvertedSilicon";
/// <summary>
/// The sound that plays for the borg player
/// to let them know they've been emagged
/// </summary>
[DataField]
public SoundSpecifier EmaggedSound = new SoundPathSpecifier("/Audio/Ambience/Antag/emagged_borg.ogg");
}