Files
OldThink/Content.Shared/Plants/PottedPlantHideComponent.cs

18 lines
562 B
C#
Raw Permalink Normal View History

using Content.Shared.Storage.Components;
2022-07-29 14:13:12 +12:00
using Robust.Shared.Audio;
namespace Content.Shared.Plants
{
/// <summary>
/// Interaction wrapper for <see cref="SecretStashComponent"/>.
/// Gently rustle after each interaction with plant.
/// </summary>
[RegisterComponent]
[Access(typeof(PottedPlantHideSystem))]
public sealed partial class PottedPlantHideComponent : Component
{
[DataField("rustleSound")]
public SoundSpecifier RustleSound = new SoundPathSpecifier("/Audio/Effects/plant_rustle.ogg");
}
}