CatStation/Content.Server/Animals/Components/SolutionProducerComponent.cs
AndrewFenriz 6dc1aae3f2
Refactor animal reagent/entity production (#45019)
* 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
2026-08-16 19:15:52 +00:00

18 lines
586 B
C#

using Content.Server.Animals.Systems;
using Content.Shared.Chemistry.Components;
namespace Content.Server.Animals.Components;
/// <summary>
/// Adds a configured solution when production is requested.
/// This component is intended to be placed directly on a solution entity.
/// </summary>
[RegisterComponent, Access(typeof(SolutionProducerSystem))]
public sealed partial class SolutionProducerComponent : Component
{
/// <summary>
/// Solution added during a production attempt.
/// </summary>
[DataField(required: true)]
public Solution Generated = default!;
}