]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Attach paper to closets and lockers (#15864)
authorlzk228 <124214523+lzk228@users.noreply.github.com>
Sun, 14 May 2023 19:02:41 +0000 (22:02 +0300)
committerGitHub <noreply@github.com>
Sun, 14 May 2023 19:02:41 +0000 (15:02 -0400)
Resources/Prototypes/Catalog/Fills/Lockers/medical.yml
Resources/Prototypes/Entities/Structures/Storage/Closets/base_structureclosets.yml

index 0f721a0bda9399eac4482b1d85d08b1ba4b53c67..3d7c371d28656aa62cad88d3c3248dc3e322e2ba 100644 (file)
       - id: ClothingMaskSterile
 
 - type: entity
+  parent: LockerWallMedical
   id: LockerWallMedicalDoctorFilled
   name: medical doctor's wall locker
   suffix: Filled
-  parent: ["LockerWallMedical", "LockerMedicalFilled"]
+  components:
+  - type: StorageFill
+    contents:
+      - id: HandheldHealthAnalyzer
+        prob: 0.6
+      - id: ClothingHandsGlovesLatex
+      - id: ClothingHeadsetMedical
+     # - id: ClothingEyesHudMedical #Removed until working properly
+      - id: ClothingBeltMedical
+      - id: ClothingHeadHatSurgcapGreen
+        prob: 0.1
+        orGroup: Surgcaps
+      - id: ClothingHeadHatSurgcapPurple
+        prob: 0.05
+        orGroup: Surgcaps
+      - id: ClothingHeadHatSurgcapBlue
+        prob: 0.90
+        orGroup: Surgcaps
+      - id: UniformScrubsColorBlue
+        prob: 0.5
+        orGroup: Surgshrubs
+      - id: UniformScrubsColorGreen
+        prob: 0.1
+        orGroup: Surgshrubs
+      - id: UniformScrubsColorPurple
+        prob: 0.05
+        orGroup: Surgshrubs
+      - id: NitrousOxideTankFilled
+        prob: 0.3
+      - id: ClothingMaskSterile
 
 - type: entity
   id: LockerChemistryFilled
index 6b12337bf5dba31d2e7187fac807f542ed0ede45..326572a3afe44bf25d62482b0f8c1b514026aa2e 100644 (file)
       visible: false
       map: ["enum.WeldableLayers.BaseWelded"]
   - type: MovedByPressure
+  - type: PaperLabel
+    labelSlot:
+      insertVerbText: Attach Label
+      ejectVerbText: Remove Label
+      whitelist:
+        components:
+        - Paper
+  - type: ItemSlots
   - type: DamageOnHighSpeedImpact
     damage:
       types:
@@ -42,6 +50,7 @@
   - type: ContainerContainer
     containers:
       entity_storage: !type:Container
+      paper_label: !type:ContainerSlot
   - type: Weldable
   - type: PlaceableSurface
     placeCentered: true