using System.Numerics; using Robust.Shared.GameStates; using Robust.Shared.Prototypes; namespace Content.Shared._CP14.Temperature; /// /// passively returns the solution temperature to the standard /// [RegisterComponent, NetworkedComponent] public sealed partial class CP14TemperatureTransformationComponent : Component { [DataField(required: true)] public List Entries = new(); /// /// solution where reagents will be added from newly added ingredients /// [DataField] public string Solution = "food"; /// /// The transformation will occur instantly if the entity was in FoodCookerComponent at the moment cooking ended. /// [DataField] public bool AutoTransformOnCooked = true; } [DataRecord] public record struct CP14TemperatureTransformEntry() { public EntProtoId? TransformTo { get; set; } = null; public Vector2 TemperatureRange { get; set; } = new(); }