mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* port 35190 * HungerProduction * SolutionProducer * update * move to server * small tweak for Shearable * fix * ProductionAttemptEvent * EntityProducer * update EggLayer * EntityTable * no more actions on EggLayer * move popups to comp * kill EggLayer * new locale * rename field * upd * SatiationType * rename to SatiationProduction and lil docs * EntityQuery * more docs for god of docs * small fix * more queries
35 lines
1.2 KiB
C#
35 lines
1.2 KiB
C#
using Content.Server.Animals.Systems;
|
|
using Robust.Shared.Audio;
|
|
|
|
namespace Content.Server.Animals.Components;
|
|
|
|
/// <summary>
|
|
/// Defines action feedback for an entity producer.
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(EntityProducerActionSystem))]
|
|
public sealed partial class EntityProducerActionComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Sound played after entities are successfully produced.
|
|
/// </summary>
|
|
[DataField]
|
|
public SoundSpecifier ProductionSound = new SoundPathSpecifier("/Audio/Effects/pop.ogg");
|
|
|
|
/// <summary>
|
|
/// Popup shown to the acting entity when production fails due to insufficient configured satiation.
|
|
/// </summary>
|
|
[DataField]
|
|
public LocId InsufficientSatiationPopup = "entity-producer-action-popup-too-hungry";
|
|
|
|
/// <summary>
|
|
/// Feedback shown to the producer after successful entity production.
|
|
/// </summary>
|
|
[DataField]
|
|
public LocId UserPopup = "entity-producer-action-popup-user";
|
|
|
|
/// <summary>
|
|
/// Feedback shown to nearby observers after successful entity production.
|
|
/// </summary>
|
|
[DataField]
|
|
public LocId OthersPopup = "entity-producer-action-popup-others";
|
|
}
|