From b39320ad3088e7ee4cb4ec3528d8b79c173cb913 Mon Sep 17 00:00:00 2001 From: rhailrake <49613070+rhailrake@users.noreply.github.com> Date: Thu, 4 May 2023 15:27:20 +0600 Subject: [PATCH] shit --- .../Store/Systems/StoreSystem.Ui.cs | 20 +++++++++---------- .../Catalog/Cargo/cargo_vending.yml | 2 +- .../Entities/Markers/Spawners/Random/loot.yml | 2 -- .../Entities/Structures/Machines/lathe.yml | 5 +++-- .../Prototypes/Recipes/Lathes/medical.yml | 10 ++++++++++ 5 files changed, 24 insertions(+), 15 deletions(-) diff --git a/Content.Server/Store/Systems/StoreSystem.Ui.cs b/Content.Server/Store/Systems/StoreSystem.Ui.cs index 93b921beec..d7d0aaf1b9 100644 --- a/Content.Server/Store/Systems/StoreSystem.Ui.cs +++ b/Content.Server/Store/Systems/StoreSystem.Ui.cs @@ -52,16 +52,16 @@ public sealed partial class StoreSystem UpdateUserInterface(user, storeEnt, component); } - /// - /// Closes the store UI for everyone, if it's open - /// - public void CloseUi(EntityUid uid, StoreComponent? component = null) - { - if (!Resolve(uid, ref component)) - return; - - _ui.TryCloseAll(uid, StoreUiKey.Key); - } + // /// + // /// Closes the store UI for everyone, if it's open + // /// + // public void CloseUi(EntityUid uid, StoreComponent? component = null) + // { + // if (!Resolve(uid, ref component)) + // return; + // + // _ui.TryCloseAll(uid, StoreUiKey.Key); + // } /// /// Updates the user interface for a store and refreshes the listings diff --git a/Resources/Prototypes/Catalog/Cargo/cargo_vending.yml b/Resources/Prototypes/Catalog/Cargo/cargo_vending.yml index 52676943d0..e6e98db69d 100644 --- a/Resources/Prototypes/Catalog/Cargo/cargo_vending.yml +++ b/Resources/Prototypes/Catalog/Cargo/cargo_vending.yml @@ -33,7 +33,7 @@ sprite: Objects/Specific/Service/vending_machine_restock.rsi state: base product: CrateVendingMachineRestockClothesFilled - cost: 4650 + cost: 6285 category: Service group: market diff --git a/Resources/Prototypes/Entities/Markers/Spawners/Random/loot.yml b/Resources/Prototypes/Entities/Markers/Spawners/Random/loot.yml index 9a05118dcf..5d88953fb7 100644 --- a/Resources/Prototypes/Entities/Markers/Spawners/Random/loot.yml +++ b/Resources/Prototypes/Entities/Markers/Spawners/Random/loot.yml @@ -218,8 +218,6 @@ prototypes: - CrateArtifactContainer - CapacitorStockPart - - MicroLaserStockPart - - ScanningModuleStockPart - ToolboxElectricalFilled chance: 0.65 offset: 0.2 diff --git a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml index 07d5f3f854..2dd454d956 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml @@ -750,7 +750,7 @@ - Sheet - type: StealTarget stealGroup: AmmoTechFabCircuitboard - + - type: entity id: MedicalTechFab parent: BaseLathe @@ -817,11 +817,12 @@ - SyringeBluespace - Jug - SyringeCryostasis + - ClothingEyesHudMedical - type: Machine board: MedicalTechFabCircuitboard - type: StealTarget stealGroup: MedicalTechFabCircuitboard - + - type: entity parent: BaseLathe id: UniformPrinter diff --git a/Resources/Prototypes/Recipes/Lathes/medical.yml b/Resources/Prototypes/Recipes/Lathes/medical.yml index d3477832e9..ec597df4a0 100644 --- a/Resources/Prototypes/Recipes/Lathes/medical.yml +++ b/Resources/Prototypes/Recipes/Lathes/medical.yml @@ -80,6 +80,16 @@ Steel: 1000 Plastic: 1400 +- type: latheRecipe + id: ClothingEyesHudMedical + icon: { sprite: Clothing/Eyes/Hud/med.rsi, state: icon } + result: ClothingEyesHudMedical + completetime: 4 + materials: + Steel: 100 + Glass: 300 + Plasma: 200 + - type: latheRecipe id: HandheldHealthAnalyzer result: HandheldHealthAnalyzerEmpty