20 lines
489 B
C#
20 lines
489 B
C#
using Content.Shared.Kitchen;
|
|
|
|
namespace Content.Server.Kitchen.Components;
|
|
|
|
/// <summary>
|
|
/// Attached to a microwave that is currently in the process of cooking
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class ActiveMicrowaveComponent : Component
|
|
{
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public float CookTimeRemaining;
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public float TotalTime;
|
|
|
|
[ViewVariables]
|
|
public (FoodRecipePrototype?, int) PortionedRecipe;
|
|
}
|