This commit is contained in:
rhailrake
2023-05-04 15:27:20 +06:00
committed by Aviu00
parent 68ffe42dbb
commit b39320ad30
5 changed files with 24 additions and 15 deletions

View File

@@ -52,16 +52,16 @@ public sealed partial class StoreSystem
UpdateUserInterface(user, storeEnt, component); UpdateUserInterface(user, storeEnt, component);
} }
/// <summary> // /// <summary>
/// Closes the store UI for everyone, if it's open // /// Closes the store UI for everyone, if it's open
/// </summary> // /// </summary>
public void CloseUi(EntityUid uid, StoreComponent? component = null) // public void CloseUi(EntityUid uid, StoreComponent? component = null)
{ // {
if (!Resolve(uid, ref component)) // if (!Resolve(uid, ref component))
return; // return;
//
_ui.TryCloseAll(uid, StoreUiKey.Key); // _ui.TryCloseAll(uid, StoreUiKey.Key);
} // }
/// <summary> /// <summary>
/// Updates the user interface for a store and refreshes the listings /// Updates the user interface for a store and refreshes the listings

View File

@@ -33,7 +33,7 @@
sprite: Objects/Specific/Service/vending_machine_restock.rsi sprite: Objects/Specific/Service/vending_machine_restock.rsi
state: base state: base
product: CrateVendingMachineRestockClothesFilled product: CrateVendingMachineRestockClothesFilled
cost: 4650 cost: 6285
category: Service category: Service
group: market group: market

View File

@@ -218,8 +218,6 @@
prototypes: prototypes:
- CrateArtifactContainer - CrateArtifactContainer
- CapacitorStockPart - CapacitorStockPart
- MicroLaserStockPart
- ScanningModuleStockPart
- ToolboxElectricalFilled - ToolboxElectricalFilled
chance: 0.65 chance: 0.65
offset: 0.2 offset: 0.2

View File

@@ -817,6 +817,7 @@
- SyringeBluespace - SyringeBluespace
- Jug - Jug
- SyringeCryostasis - SyringeCryostasis
- ClothingEyesHudMedical
- type: Machine - type: Machine
board: MedicalTechFabCircuitboard board: MedicalTechFabCircuitboard
- type: StealTarget - type: StealTarget

View File

@@ -80,6 +80,16 @@
Steel: 1000 Steel: 1000
Plastic: 1400 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 - type: latheRecipe
id: HandheldHealthAnalyzer id: HandheldHealthAnalyzer
result: HandheldHealthAnalyzerEmpty result: HandheldHealthAnalyzerEmpty