From 2c26be606fb4348af13628eb0624cadbbf2ac910 Mon Sep 17 00:00:00 2001 From: Nemanja <98561806+EmoGarbage404@users.noreply.github.com> Date: Thu, 1 Aug 2024 00:15:05 -0400 Subject: [PATCH] Add support for printing reagents in lathes (#30476) * Add support for reagents in lathes * missing locale --- Content.Client/Lathe/UI/LatheMenu.xaml | 8 +- Content.Client/Lathe/UI/LatheMenu.xaml.cs | 56 +++++++----- Content.Client/Lathe/UI/RecipeControl.xaml | 4 +- Content.Client/Lathe/UI/RecipeControl.xaml.cs | 10 +-- .../Tests/MaterialArbitrageTest.cs | 6 +- Content.Server/Cargo/Systems/PricingSystem.cs | 21 +++++ Content.Server/Lathe/LatheSystem.cs | 50 +++++++++-- .../UserInterface/StatValuesCommand.cs | 7 +- .../Construction/MachinePartSystem.cs | 8 +- Content.Shared/Lathe/LatheComponent.cs | 3 + Content.Shared/Lathe/SharedLatheSystem.cs | 70 ++++++++++++++- .../Prototypes/LatheRecipePrototype.cs | 89 +++++-------------- .../Research/Systems/SharedResearchSystem.cs | 4 +- .../Systems/TechnologyDiskSystem.cs | 5 +- Resources/Locale/en-US/lathe/recipes.ftl | 8 ++ .../Locale/en-US/lathe/ui/lathe-menu.ftl | 3 + .../Prototypes/Recipes/Lathes/medical.yml | 16 ++-- 17 files changed, 234 insertions(+), 134 deletions(-) create mode 100644 Resources/Locale/en-US/lathe/recipes.ftl diff --git a/Content.Client/Lathe/UI/LatheMenu.xaml b/Content.Client/Lathe/UI/LatheMenu.xaml index e3247fe703..5b21f0bae6 100644 --- a/Content.Client/Lathe/UI/LatheMenu.xaml +++ b/Content.Client/Lathe/UI/LatheMenu.xaml @@ -100,11 +100,9 @@ Margin="5 0 0 0" Text="{Loc 'lathe-menu-fabricating-message'}"> - +