Microwave ECS (#10766)

* microwave ECS

* allcomponentdelete etset

ack

* container purge
This commit is contained in:
Nemanja
2022-08-27 19:40:29 -04:00
committed by GitHub
parent f442fb044e
commit 32abdf5f00
23 changed files with 535 additions and 922 deletions

View File

@@ -0,0 +1,19 @@
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;
}