diff --git a/Resources/Prototypes/Catalog/Research/technologies.yml b/Resources/Prototypes/Catalog/Research/technologies.yml index 3191f71060..99e5ce4cd6 100644 --- a/Resources/Prototypes/Catalog/Research/technologies.yml +++ b/Resources/Prototypes/Catalog/Research/technologies.yml @@ -45,6 +45,11 @@ - HydroponicsToolScythe - HydroponicsToolHatchet - KitchenKnife + - HandheldHealthAnalyzer + - ClothingHandsGlovesLatex + - ClothingHandsGlovesNitrile + - ClothingMaskSterile + - DiseaseSwab - type: technology name: "advanced botany" diff --git a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml index 434ca76874..b88c4f00c6 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml @@ -70,7 +70,6 @@ - Spade - CableStack - HandheldGPSBasic - - HandheldHealthAnalyzer - type: ActivatableUI key: enum.LatheUiKey.Key - type: ActivatableUIRequiresPower @@ -212,7 +211,7 @@ - type: entity parent: Protolathe id: CircuitImprinter - name: Circuit Imprinter + name: circuit imprinter description: Prints circuit boards for machines. components: - type: Sprite @@ -256,12 +255,12 @@ - type: entity parent: Protolathe id: SecurityTechFab - name: Security TechFab + name: security techfab description: Prints equipment for use by security crew. components: - type: Sprite netsync: false - sprite: Structures/Machines/security_techfab.rsi + sprite: Structures/Machines/techfab.rsi layers: - state: icon map: ["enum.LatheVisualLayers.IsRunning"] @@ -308,6 +307,64 @@ - Signaller - SignalTrigger +- type: entity + parent: Protolathe + id: MedicalTechFab + name: medical techfab + description: Prints equipment for use by the medbay. + components: + - type: Sprite + netsync: false + sprite: Structures/Machines/techfab.rsi + layers: + - state: icon + map: ["enum.LatheVisualLayers.IsRunning"] + - state: med + - state: unlit + shader: unshaded + map: ["enum.PowerDeviceVisualLayers.Powered"] + - state: inserting + map: ["enum.LatheVisualLayers.IsInserting"] + - state: panel + map: ["enum.WiresVisualLayers.MaintenancePanel"] + - type: LatheVisuals + idleState: icon + runningState: icon + - type: ProtolatheDatabase + protolatherecipes: + - HandheldHealthAnalyzer + - ClothingHandsGlovesLatex + - ClothingHandsGlovesNitrile + - ClothingMaskSterile + - DiseaseSwab + - HandheldCrewMonitor + - Scalpel + - Retractor + - Cautery + - Drill + - Saw + - Hemostat + - Beaker + - LargeBeaker + - CryostasisBeaker + - Dropper + - Syringe + - PillCanister #Everything below this is shared with other lathes + - FlashlightLantern + - Bucket + - MopItem + - SprayBottle + - FireExtinguisher + - LightTube + - LightBulb + - SheetSteel + - SheetGlass1 + - SheetRGlass + - SheetPlastic + - CableStack + - CableMVStack + - CableHVStack + - type: entity parent: Autolathe id: UniformPrinter @@ -378,7 +435,6 @@ - ClothingOuterWinterHoS - ClothingOuterWinterQM - ClothingOuterWinterRD - - type: Sprite sprite: Structures/Machines/uniform_printer.rsi netsync: false diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/furniture/bed.yml b/Resources/Prototypes/Recipes/Construction/Graphs/furniture/bed.yml index c9be483aea..3a6150bb5b 100644 --- a/Resources/Prototypes/Recipes/Construction/Graphs/furniture/bed.yml +++ b/Resources/Prototypes/Recipes/Construction/Graphs/furniture/bed.yml @@ -41,6 +41,9 @@ - !type:SpawnPrototype prototype: SheetSteel1 amount: 2 + - !type:SpawnPrototype + prototype: MaterialCloth1 + amount: 2 steps: - tool: Screwing doAfter: 1 @@ -63,6 +66,9 @@ - !type:SpawnPrototype prototype: SheetPlasteel1 amount: 2 + - !type:SpawnPrototype + prototype: MaterialDurathread1 + amount: 2 steps: - tool: Screwing doAfter: 1 diff --git a/Resources/Prototypes/Recipes/Lathes/medical.yml b/Resources/Prototypes/Recipes/Lathes/medical.yml index 84e7761cde..c6dde8b824 100644 --- a/Resources/Prototypes/Recipes/Lathes/medical.yml +++ b/Resources/Prototypes/Recipes/Lathes/medical.yml @@ -73,3 +73,37 @@ materials: Glass: 500 Steel: 500 + +- type: latheRecipe + id: ClothingHandsGlovesLatex + icon: Clothing/Hands/Gloves/latex.rsi/icon.png + result: ClothingHandsGlovesLatex + completetime: 2 + materials: + Plastic: 300 + +- type: latheRecipe + id: ClothingHandsGlovesNitrile + icon: Clothing/Hands/Gloves/Color/blue.rsi/icon.png + result: ClothingHandsGlovesNitrile + completetime: 2 + materials: + Plastic: 100 + Durathread: 200 + +- type: latheRecipe + id: ClothingMaskSterile + icon: Clothing/Mask/sterile.rsi/icon.png + result: ClothingMaskSterile + completetime: 2 + materials: + Plastic: 300 + +- type: latheRecipe + id: DiseaseSwab + icon: Objects/Specific/Medical/mouth_swab.rsi/icon.png + result: DiseaseSwab + completetime: 1 + materials: + Cloth: 20 + Plastic: 20 diff --git a/Resources/Textures/Structures/Machines/security_techfab.rsi/icon.png b/Resources/Textures/Structures/Machines/techfab.rsi/icon.png similarity index 100% rename from Resources/Textures/Structures/Machines/security_techfab.rsi/icon.png rename to Resources/Textures/Structures/Machines/techfab.rsi/icon.png diff --git a/Resources/Textures/Structures/Machines/security_techfab.rsi/inserting.png b/Resources/Textures/Structures/Machines/techfab.rsi/inserting.png similarity index 100% rename from Resources/Textures/Structures/Machines/security_techfab.rsi/inserting.png rename to Resources/Textures/Structures/Machines/techfab.rsi/inserting.png diff --git a/Resources/Textures/Structures/Machines/techfab.rsi/med.png b/Resources/Textures/Structures/Machines/techfab.rsi/med.png new file mode 100644 index 0000000000..506b03568a Binary files /dev/null and b/Resources/Textures/Structures/Machines/techfab.rsi/med.png differ diff --git a/Resources/Textures/Structures/Machines/security_techfab.rsi/meta.json b/Resources/Textures/Structures/Machines/techfab.rsi/meta.json similarity index 93% rename from Resources/Textures/Structures/Machines/security_techfab.rsi/meta.json rename to Resources/Textures/Structures/Machines/techfab.rsi/meta.json index c95ca36111..b3f100e1db 100644 --- a/Resources/Textures/Structures/Machines/security_techfab.rsi/meta.json +++ b/Resources/Textures/Structures/Machines/techfab.rsi/meta.json @@ -10,6 +10,9 @@ { "name": "icon" }, + { + "name": "med" + }, { "name": "panel" }, diff --git a/Resources/Textures/Structures/Machines/security_techfab.rsi/panel.png b/Resources/Textures/Structures/Machines/techfab.rsi/panel.png similarity index 100% rename from Resources/Textures/Structures/Machines/security_techfab.rsi/panel.png rename to Resources/Textures/Structures/Machines/techfab.rsi/panel.png diff --git a/Resources/Textures/Structures/Machines/security_techfab.rsi/unlit.png b/Resources/Textures/Structures/Machines/techfab.rsi/unlit.png similarity index 100% rename from Resources/Textures/Structures/Machines/security_techfab.rsi/unlit.png rename to Resources/Textures/Structures/Machines/techfab.rsi/unlit.png