Move guardian sounds to component (#36870)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
using Robust.Shared.Audio;
|
||||
|
||||
namespace Content.Server.Guardian
|
||||
{
|
||||
/// <summary>
|
||||
@@ -30,5 +32,23 @@ namespace Content.Server.Guardian
|
||||
[DataField]
|
||||
public bool GuardianLoose;
|
||||
|
||||
/// <summary>
|
||||
/// Sound played when a mob starts hosting the guardian.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public SoundSpecifier InjectSound = new SoundPathSpecifier("/Audio/Effects/guardian_inject.ogg");
|
||||
|
||||
/// <summary>
|
||||
/// Sound played when the guardian enters critical state.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public SoundSpecifier CriticalSound = new SoundPathSpecifier("/Audio/Effects/guardian_warn.ogg");
|
||||
|
||||
/// <summary>
|
||||
/// Sound played when the guardian dies.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public SoundSpecifier DeathSound = new SoundPathSpecifier("/Audio/Voice/Human/malescream_guardian.ogg", AudioParams.Default.WithVariation(0.2f));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user