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);
}
/// <summary>
/// Closes the store UI for everyone, if it's open
/// </summary>
public void CloseUi(EntityUid uid, StoreComponent? component = null)
{
if (!Resolve(uid, ref component))
return;
_ui.TryCloseAll(uid, StoreUiKey.Key);
}
// /// <summary>
// /// Closes the store UI for everyone, if it's open
// /// </summary>
// public void CloseUi(EntityUid uid, StoreComponent? component = null)
// {
// if (!Resolve(uid, ref component))
// return;
//
// _ui.TryCloseAll(uid, StoreUiKey.Key);
// }
/// <summary>
/// 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
state: base
product: CrateVendingMachineRestockClothesFilled
cost: 4650
cost: 6285
category: Service
group: market

View File

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

View File

@@ -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

View File

@@ -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