From 960c18a99e9bd4411f282b253ee8c16943de4ae6 Mon Sep 17 00:00:00 2001 From: Radezolid Date: Sun, 3 Nov 2024 16:30:50 -0300 Subject: [PATCH] Modified to use an abstract parent. --- .../DeltaV/Entities/Clothing/Eyes/glasses.yml | 33 +++++++++---------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/Resources/Prototypes/DeltaV/Entities/Clothing/Eyes/glasses.yml b/Resources/Prototypes/DeltaV/Entities/Clothing/Eyes/glasses.yml index 6ad5b64a4ef..87a19521e09 100644 --- a/Resources/Prototypes/DeltaV/Entities/Clothing/Eyes/glasses.yml +++ b/Resources/Prototypes/DeltaV/Entities/Clothing/Eyes/glasses.yml @@ -44,14 +44,24 @@ coverage: EYES - type: entity - parent: [ClothingEyesBase, ShowSecurityIcons] - id: ClothingEyesPrescriptionSecurityGlasses - name: Prescription security glasses - description: A pair of security glasses with what appears to be a... prescription glass glued on top?. + parent: ClothingEyesBase + id: ClothingEyesPrescriptionBaseSecGlasses + abstract: true components: - type: FlashImmunity - type: EyeProtection protectionTime: 5 + - type: VisionCorrection + correctionPower: 1.50 # Being flash proof comes at the cost of less range of vision + - type: IdentityBlocker + coverage: EYES + +- type: entity + parent: [ClothingEyesPrescriptionBaseSecGlasses, ShowSecurityIcons, BaseRestrictedContraband] + id: ClothingEyesPrescriptionSecurityGlasses + name: Prescription security glasses + description: A pair of security glasses with what appears to be a... prescription lens glued on top?. + components: - type: Construction graph: PrescriptionSecGlasses node: prescsecglasses @@ -59,20 +69,13 @@ sprite: DeltaV/Clothing/Eyes/Glasses/prescsecglasses.rsi - type: Clothing sprite: DeltaV/Clothing/Eyes/Glasses/prescsecglasses.rsi - - type: VisionCorrection - correctionPower: 1.50 # Being flash proof comes at the cost of less range of vision - - type: IdentityBlocker - coverage: EYES - type: entity - parent: [ClothingEyesBase, ShowMedicalIcons, BaseRestrictedContraband] + parent: [ClothingEyesPrescriptionBaseSecGlasses, ShowMedicalIcons, BaseRestrictedContraband] id: ClothingEyesPrescriptionCorpsmanGlasses name: Prescription corpsman glasses - description: A pair of corpsman glasses with what appears to be a... prescription glass glued on top?. + description: A pair of corpsman glasses with what appears to be a... prescription lens glued on top?. components: - - type: FlashImmunity - - type: EyeProtection - protectionTime: 5 - type: Construction graph: PrescriptionCorpsmanGlasses node: presccorpsglasses @@ -80,7 +83,3 @@ sprite: DeltaV/Clothing/Eyes/Glasses/presccorpsglasses.rsi - type: Clothing sprite: DeltaV/Clothing/Eyes/Glasses/presccorpsglasses.rsi - - type: VisionCorrection - correctionPower: 1.50 # Being flash proof comes at the cost of less range of vision - - type: IdentityBlocker - coverage: EYES