2021-12-21 13:07:17 +03:00
|
|
|
using Content.Server.Plants.Systems;
|
2021-06-09 22:19:39 +02:00
|
|
|
using Content.Server.Storage.Components;
|
2022-07-29 14:13:12 +12:00
|
|
|
using Robust.Shared.Audio;
|
2020-05-27 14:56:24 +02:00
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
namespace Content.Server.Plants.Components
|
2020-05-27 14:56:24 +02:00
|
|
|
{
|
2021-12-21 13:07:17 +03:00
|
|
|
/// <summary>
|
|
|
|
|
/// Interaction wrapper for <see cref="SecretStashComponent"/>.
|
|
|
|
|
/// Gently rustle after each interaction with plant.
|
|
|
|
|
/// </summary>
|
2020-05-27 14:56:24 +02:00
|
|
|
[RegisterComponent]
|
2022-06-07 15:26:28 +02:00
|
|
|
[Access(typeof(PottedPlantHideSystem))]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class PottedPlantHideComponent : Component
|
2020-05-27 14:56:24 +02:00
|
|
|
{
|
2021-12-21 13:07:17 +03:00
|
|
|
[DataField("rustleSound")]
|
|
|
|
|
public SoundSpecifier RustleSound = new SoundPathSpecifier("/Audio/Effects/plant_rustle.ogg");
|
2020-05-27 14:56:24 +02:00
|
|
|
}
|
|
|
|
|
}
|