Add Modular grenades (chemnades). (#7138)
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
using Content.Shared.Sound;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
using Robust.Shared.ViewVariables;
|
||||
using Robust.Shared.Audio;
|
||||
|
||||
namespace Content.Server.Sound.Components
|
||||
{
|
||||
@@ -15,6 +13,9 @@ namespace Content.Server.Sound.Components
|
||||
[DataField("sound", required: true)]
|
||||
public SoundSpecifier Sound { get; set; } = default!;
|
||||
|
||||
[DataField("audioParams")]
|
||||
public AudioParams AudioParams = AudioParams.Default.WithVolume(-2f);
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("variation")]
|
||||
public float PitchVariation { get; set; } = 0.0f;
|
||||
|
||||
Reference in New Issue
Block a user