Files
wwdpublic/Content.Server/Nyanotrasen/Kitchen/Components/DeepFriedComponent.cs
2024-01-26 21:22:43 +01:00

25 lines
849 B
C#

using Content.Shared.Kitchen.Components;
using Content.Shared.Nyanotrasen.Kitchen.Components;
namespace Content.Server.Kitchen.Components
{
[RegisterComponent]
//This line appears to be deprecated. [ComponentReference(typeof(SharedDeepFriedComponent))]
public sealed partial class DeepFriedComponent : SharedDeepFriedComponent
{
/// <summary>
/// What is the item's base price multiplied by?
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("priceCoefficient")]
public float PriceCoefficient { get; set; } = 1.0f;
/// <summary>
/// What was the entity's original name before any modification?
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("originalName")]
public string? OriginalName { get; set; }
}
}