CatStation/Content.Server/Kitchen/Components/ActiveMicrowaveComponent.cs
Skye ef9934c61d
April Fool's Day: Microwave Haywire Mode (#14975)
* Microwave Haywire Mode

* Fixed microwave board not being ejected
2023-03-30 18:53:56 -05:00

25 lines
587 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 class ActiveMicrowaveComponent : Component
{
[ViewVariables(VVAccess.ReadWrite)]
public float CookTimeRemaining;
[ViewVariables(VVAccess.ReadWrite)]
public float TotalTime;
[ViewVariables]
public (FoodRecipePrototype?, int) PortionedRecipe;
[ViewVariables]
public bool Haywire;
[ViewVariables]
public float HaywireTimeRemaining;
}