Files
crystall-punk-14/Content.Server/_CP14/Temperature/CP14TemperatureTransformationComponent.cs
Ed 312f2ae14c Великая жарка мяса (#788)
* temperature transform

* Update CP14TemperatureSystem.cs

* fix heating entities

* cooking!

* fix cooking

* aaa

* foodsequence remove

* fix

* fix
2025-01-21 23:03:50 +03:00

28 lines
784 B
C#

using System.Numerics;
using Robust.Shared.Prototypes;
namespace Content.Server._CP14.Temperature;
/// <summary>
/// passively returns the solution temperature to the standard
/// </summary>
[RegisterComponent, Access(typeof(CP14TemperatureSystem))]
public sealed partial class CP14TemperatureTransformationComponent : Component
{
[DataField(required: true)]
public List<CP14TemperatureTransformEntry> Entries = new();
/// <summary>
/// solution where reagents will be added from newly added ingredients
/// </summary>
[DataField]
public string Solution = "food";
}
[DataRecord]
public record struct CP14TemperatureTransformEntry()
{
public EntProtoId? TransformTo { get; set; } = null;
public Vector2 TemperatureRange { get; set; } = new();
}