Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add camera mod to diagnostic hud #32254

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Resources/Prototypes/Entities/Clothing/Eyes/glasses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
parent: [ClothingEyesBase, BaseCommandContraband]
id: ClothingEyesGlassesCommand
name: administration glasses
description: Upgraded sunglasses that provide flash immunity and show ID card status.
description: Upgraded sunglasses that provide flash immunity and show ID card status.
components:
- type: Sprite
sprite: Clothing/Eyes/Glasses/commandglasses.rsi
Expand Down
21 changes: 18 additions & 3 deletions Resources/Prototypes/Entities/Clothing/Eyes/hud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,22 @@
- Biological

- type: entity
parent: ClothingEyesBase
parent: [ClothingEyesBase, BaseToggleClothing]
id: ClothingEyesHudDiagnostic
name: diagnostic hud
description: A heads-up display capable of analyzing the integrity and status of robotics and exosuits. Made out of see-borg-ium.
description: A heads-up display capable of analyzing the integrity and status of robotics and exosuits. Made out of see-borg-ium. Has a camera mod to work with Station AI.
components:
- type: Sprite
sprite: Clothing/Eyes/Hud/diag.rsi
- type: Clothing
sprite: Clothing/Eyes/Hud/diag.rsi
- type: ToggleClothing
action: ActionToggleHudDiagnosticCamera
disableOnUnequip: true
- type: ComponentToggler
parent: true
components:
- type: StationAiOverlay
- type: ShowHealthBars
damageContainers:
- Inorganic
Expand All @@ -38,7 +45,7 @@
parent: [ClothingEyesBase, ShowMedicalIcons]
id: ClothingEyesHudMedical
name: medical hud
description: A heads-up display that scans the humanoids in view and provides accurate data about their health status.
description: A heads-up display that scans the humas in view and provides accurate data about their health status.
components:
- type: Sprite
sprite: Clothing/Eyes/Hud/med.rsi
Expand Down Expand Up @@ -294,3 +301,11 @@
parent: [ClothingEyesEyepatchHudDiag, ClothingHeadEyeBaseFlipped]
id: ClothingEyesEyepatchHudDiagFlipped
name: diagnostic hud eyepatch

- type: entity
id: ActionToggleHudDiagnosticCamera
name: Toggle camera mod
description: Toggles the camera mod on and off.
components:
- type: InstantAction
event: !type:ToggleActionEvent
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,7 @@
- TorsoBorgService
dynamicRecipes:
- ProximitySensor
- ClothingEyesHudDiagnostic
- BorgModuleLightReplacer
- BorgModuleAdvancedCleaning
- BorgModuleMining
Expand Down
9 changes: 9 additions & 0 deletions Resources/Prototypes/Recipes/Lathes/robotics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
Plastic: 200
Steel: 100

- type: latheRecipe
parent: BaseRoboticsRecipe
id: ClothingEyesHudDiagnostic
result: ClothingEyesHudDiagnostic
materials:
Steel: 200
Plastic: 100
Glass: 300

- type: latheRecipe
parent: BaseRoboticsRecipe
id: CyborgEndoskeleton
Expand Down
1 change: 1 addition & 0 deletions Resources/Prototypes/Research/experimental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
recipeUnlocks:
- ProximitySensor
- ExosuitFabricatorMachineCircuitboard
- ClothingEyesHudDiagnostic

- type: technology
id: BasicAnomalousResearch
Expand Down
Loading