Attach paper to closets and lockers (#15864)

This commit is contained in:
lzk228
2023-05-14 22:02:41 +03:00
committed by GitHub
parent 181f7008c9
commit f547fded6e
2 changed files with 40 additions and 1 deletions

View File

@@ -72,10 +72,40 @@
- 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

View File

@@ -19,6 +19,14 @@
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