satiates abrahams hunger for microwave fixes
This commit is contained in:
@@ -137,10 +137,11 @@ namespace Content.Client.GameObjects.Components.Kitchen
|
||||
{
|
||||
Text = (index <= 0 ? 1 : index).ToString(),
|
||||
TextAlign = Label.AlignMode.Center,
|
||||
ToggleMode = true,
|
||||
Group = CookTimeButtonGroup,
|
||||
};
|
||||
CookTimeButtonVbox.AddChild(newButton);
|
||||
newButton.OnPressed += args =>
|
||||
newButton.OnToggled += args =>
|
||||
{
|
||||
OnCookTimeSelected?.Invoke(args);
|
||||
_cookTimeInfoLabel.Text = $"{Loc.GetString("COOK TIME")}: {VisualCookTime}";
|
||||
|
||||
@@ -224,6 +224,8 @@ namespace Content.Server.GameObjects.Components.Kitchen
|
||||
|
||||
if (!itemEntity.TryGetComponent(typeof(FoodComponent), out var food))
|
||||
{
|
||||
|
||||
_notifyManager.PopupMessage(Owner, eventArgs.User, "That won't work!");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
id: KitchenMicrowave
|
||||
name: Microwave
|
||||
description: It's magic.
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
- type: SnapGrid
|
||||
offset: Center
|
||||
- type: Microwave
|
||||
- type: Clickable
|
||||
- type: InteractionOutline
|
||||
@@ -17,8 +21,6 @@
|
||||
interfaces:
|
||||
- key: enum.MicrowaveUiKey.Key
|
||||
type: MicrowaveBoundUserInterface
|
||||
|
||||
|
||||
- type: Collidable
|
||||
shapes:
|
||||
- !type:PhysShapeAabb
|
||||
|
||||
Reference in New Issue
Block a user