Can no longer place an infinite quantity of items inside a microwave (#23577)

* initial commit

* rewrote code to early return to reduce nesting

* added VV to Capacity field of MicrowaveComponent
This commit is contained in:
SpeltIncorrectyl
2024-01-05 20:03:48 +00:00
committed by GitHub
parent 5c02a4fba4
commit 655b54145a
4 changed files with 12 additions and 0 deletions

View File

@@ -66,6 +66,9 @@ namespace Content.Server.Kitchen.Components
public int CurrentCookTimeButtonIndex;
public Container Storage = default!;
[DataField, ViewVariables(VVAccess.ReadWrite)]
public int Capacity = 10;
}
public sealed class BeingMicrowavedEvent : HandledEntityEventArgs