Makes Eyepatches Flippable (#26277)

This commit is contained in:
Cojoke
2024-06-16 22:21:29 -05:00
committed by GitHub
parent f7aca6b15f
commit 390f8d19d1
10 changed files with 175 additions and 56 deletions

View File

@@ -10,3 +10,42 @@
- type: Item
size: Small
storedRotation: -90
- type: entity
parent: [ClothingEyesBase, BaseFoldable]
id: ClothingHeadEyeBaseFlippable
abstract: true
components:
- type: Appearance
- type: FlippableClothingVisuals
- type: Foldable
canFoldInsideContainer: true
unfoldVerbText: fold-flip-verb
foldVerbText: fold-flip-verb
- type: FoldableClothing
- type: Sprite
layers:
- map: [ "unfoldedLayer" ]
state: icon
- map: ["foldedLayer"]
state: icon
visible: false
scale: -1,1
- type: entity
parent: ClothingHeadEyeBaseFlippable
id: ClothingHeadEyeBaseFlipped
suffix: flipped
abstract: true
components:
- type: Foldable
folded: true
- type: Sprite
layers:
- map: [ "unfoldedLayer" ]
state: icon
visible: false
- map: ["foldedLayer"]
state: icon
visible: true
scale: -1,1

View File

@@ -220,7 +220,7 @@
suffix: Syndicate
- type: entity
parent: ClothingEyesHudMedical
parent: [ClothingEyesHudMedical, ClothingHeadEyeBaseFlippable]
id: ClothingEyesEyepatchHudMedical
name: medical hud eyepatch
description: A heads-up display that scans the humanoids in view and provides accurate data about their health status. For true patriots.
@@ -231,7 +231,12 @@
sprite: Clothing/Eyes/Hud/medpatch.rsi
- type: entity
parent: ClothingEyesHudSecurity
parent: [ClothingEyesEyepatchHudMedical, ClothingHeadEyeBaseFlipped]
id: ClothingEyesEyepatchHudMedicalFlipped
name: medical hud eyepatch
- type: entity
parent: [ClothingEyesHudSecurity, ClothingHeadEyeBaseFlippable]
id: ClothingEyesEyepatchHudSecurity
name: security hud eyepatch
description: A heads-up display that scans the humanoids in view and provides accurate data about their ID status and security records. For true patriots.
@@ -242,7 +247,12 @@
sprite: Clothing/Eyes/Hud/secpatch.rsi
- type: entity
parent: ClothingEyesHudBeer
parent: [ClothingEyesEyepatchHudSecurity, ClothingHeadEyeBaseFlipped]
id: ClothingEyesEyepatchHudSecurityFlipped
name: security hud eyepatch
- type: entity
parent: [ClothingEyesHudBeer, ClothingHeadEyeBaseFlippable]
id: ClothingEyesEyepatchHudBeer
name: beer hud eyepatch
description: A pair of sunHud outfitted with apparatus to scan reagents, as well as providing an innate understanding of liquid viscosity while in motion. For true patriots.
@@ -253,7 +263,12 @@
sprite: Clothing/Eyes/Hud/beerpatch.rsi
- type: entity
parent: ClothingEyesBase
parent: [ClothingEyesEyepatchHudBeer, ClothingHeadEyeBaseFlipped]
id: ClothingEyesEyepatchHudBeerFlipped
name: beer hud eyepatch
- type: entity
parent: [ClothingEyesHudDiagnostic, ClothingHeadEyeBaseFlippable]
id: ClothingEyesEyepatchHudDiag
name: diagnostic hud eyepatch
description: A heads-up display capable of analyzing the integrity and status of robotics and exosuits. Made out of see-borg-ium.
@@ -262,7 +277,8 @@
sprite: Clothing/Eyes/Hud/diagpatch.rsi
- type: Clothing
sprite: Clothing/Eyes/Hud/diagpatch.rsi
- type: ShowHealthBars
damageContainers:
- Inorganic
- Silicon
- type: entity
parent: [ClothingEyesEyepatchHudDiag, ClothingHeadEyeBaseFlipped]
id: ClothingEyesEyepatchHudDiagFlipped
name: diagnostic hud eyepatch

View File

@@ -1,16 +1,3 @@
- type: entity
parent: ClothingEyesBase
id: ClothingEyesEyepatch
name: eyepatch
description: Yarr.
components:
- type: Sprite
sprite: Clothing/Eyes/Misc/eyepatch.rsi
- type: Clothing
sprite: Clothing/Eyes/Misc/eyepatch.rsi
- type: EyeProtection
protectionTime: 5
- type: entity
parent: ClothingEyesBase
id: ClothingEyesBlindfold
@@ -26,3 +13,21 @@
graph: Blindfold
node: blindfold
- type: FlashImmunity
- type: entity
parent: ClothingHeadEyeBaseFlippable
id: ClothingEyesEyepatch
name: eyepatch
description: Yarr.
components:
- type: Sprite
sprite: Clothing/Eyes/Misc/eyepatch.rsi
- type: Clothing
sprite: Clothing/Eyes/Misc/eyepatch.rsi
- type: EyeProtection
protectionTime: 5
- type: entity
parent: [ClothingEyesEyepatch, ClothingHeadEyeBaseFlipped]
id: ClothingEyesEyepatchFlipped
suffix: flipped