Adds explosion when attempting to microwave metal / bugfix (#23887)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Content.Shared.Kitchen;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
||||
|
||||
namespace Content.Server.Kitchen.Components;
|
||||
|
||||
@@ -14,6 +15,10 @@ public sealed partial class ActiveMicrowaveComponent : Component
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public float TotalTime;
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer))]
|
||||
public TimeSpan MalfunctionTime = TimeSpan.Zero;
|
||||
|
||||
[ViewVariables]
|
||||
public (FoodRecipePrototype?, int) PortionedRecipe;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user