Skip to content

Commit

Permalink
Modified to use an abstract parent.
Browse files Browse the repository at this point in the history
  • Loading branch information
Radezolid committed Nov 3, 2024
1 parent e36b57d commit 960c18a
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions Resources/Prototypes/DeltaV/Entities/Clothing/Eyes/glasses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,43 +44,42 @@
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
- type: Sprite
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
- type: Sprite
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

0 comments on commit 960c18a

Please sign in to comment.