Files
492176a8c3fac3544b65601ac756b71861ba260a
16 lines
509 B
C#
16 lines
509 B
C#
using Content.Shared.Whitelist;
|
|||
using Robust.Shared.Prototypes;
|
|||
using Robust.Shared.GameStates;
|
|||
|
|||
namespace Content.Shared.Sound.Components;
|
|||
|
|||
/// <summary>
|
|||
/// Whenever this item is used upon by an entity, with a tag or component within a whitelist, in the hand of a user, play a sound
|
|||
/// </summary>
|
|||
[RegisterComponent, NetworkedComponent]
|
|||
public sealed partial class EmitSoundOnInteractUsingComponent : BaseEmitSoundComponent
|
|||
{
|
|||
[DataField(required: true)]
|
|||
public EntityWhitelist Whitelist = new();
|
|||
}
|