Files
crystall-punk-14/Content.Server/Plants/Components/PottedPlantHideComponent.cs

22 lines
721 B
C#
Raw Normal View History

using Content.Server.Plants.Systems;
2021-06-09 22:19:39 +02:00
using Content.Server.Storage.Components;
using Content.Shared.Sound;
using Robust.Shared.Analyzers;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
2021-06-09 22:19:39 +02:00
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");
}
}