Files
crystall-punk-14/Content.Server/Plants/Components/PottedPlantHideComponent.cs
Alex Evgrashin 900a8118c5 ECS secret stash and toilet (#5685)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2021-12-21 21:07:17 +11:00

24 lines
773 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 class PottedPlantHideComponent : Component
{
public override string Name => "PottedPlantHide";
[DataField("rustleSound")]
public SoundSpecifier RustleSound = new SoundPathSpecifier("/Audio/Effects/plant_rustle.ogg");
}
}