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;
|
2021-07-10 17:35:33 +02:00
|
|
|
using Content.Shared.Sound;
|
2021-12-21 13:07:17 +03:00
|
|
|
using Robust.Shared.Analyzers;
|
2020-05-27 14:56:24 +02:00
|
|
|
using Robust.Shared.GameObjects;
|
2021-07-10 17:35:33 +02:00
|
|
|
using Robust.Shared.Serialization.Manager.Attributes;
|
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]
|
2021-12-21 13:07:17 +03:00
|
|
|
[Friend(typeof(PottedPlantHideSystem))]
|
2022-02-16 00:23:23 -07:00
|
|
|
public sealed 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
|
|
|
}
|
|
|
|
|
}
|