Add sound for turning on grill (#31099)
* Add sound for turning on grill * remove view variable
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Content.Server.Temperature.Systems;
|
||||
using Content.Shared.Temperature;
|
||||
using Robust.Shared.Audio;
|
||||
|
||||
namespace Content.Server.Temperature.Components;
|
||||
|
||||
@@ -21,4 +22,10 @@ public sealed partial class EntityHeaterComponent : Component
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public EntityHeaterSetting Setting = EntityHeaterSetting.Off;
|
||||
|
||||
/// <summary>
|
||||
/// An optional sound that plays when the setting is changed.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public SoundPathSpecifier? SettingSound;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user