Files
tbd-station-14/Content.Server/Plants/Components/PottedPlantHideComponent.cs
2022-02-16 18:23:23 +11:00

22 lines
721 B
C#

using Content.Server.Plants.Systems;
using Content.Server.Storage.Components;
using Content.Shared.Sound;
using Robust.Shared.Analyzers;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Server.Plants.Components
{
/// <summary>
/// Interaction wrapper for <see cref="SecretStashComponent"/>.
/// Gently rustle after each interaction with plant.
/// </summary>
[RegisterComponent]
[Friend(typeof(PottedPlantHideSystem))]
public sealed class PottedPlantHideComponent : Component
{
[DataField("rustleSound")]
public SoundSpecifier RustleSound = new SoundPathSpecifier("/Audio/Effects/plant_rustle.ogg");
}
}