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

Adds Prescription huds #859

Merged
merged 8 commits into from
Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from 5 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
42 changes: 42 additions & 0 deletions Resources/Prototypes/DeltaV/Entities/Clothing/Eyes/hud.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
- type: entity
parent: ClothingEyesBase
id: ClothingEyesPrescriptionMedHud
name: prescription medical hud
description: A heads-up display that scans the humanoids in view and provides accurate data about their health status. This was put together with prescription glasses for anyone that wants to use the hud while maintaining their vision.
Adrian16199 marked this conversation as resolved.
Show resolved Hide resolved
components:
- type: Sprite
sprite: DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi
- type: Clothing
sprite: DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi
- type: Construction
graph: PrescriptionMedHud
node: prescmedhud
- type: ShowHealthBars
damageContainers:
- Biological
- type: ShowHealthIcons
damageContainers:
- Biological
- type: Tag
tags:
- HudMedical
- GlassesNearsight

- type: entity
parent: ClothingEyesBase
id: ClothingEyesPrescriptionHudSecurity
name: prescription security hud
description: A heads-up display that scans the humanoids in view and provides accurate data about their ID status and security records. This was put together with prescription glasses for anyone that wants to use the hud while maintaining their vision.
Adrian16199 marked this conversation as resolved.
Show resolved Hide resolved
components:
- type: Sprite
sprite: DeltaV/Clothing/Eyes/Hud/prescsechud.rsi
- type: Clothing
sprite: DeltaV/Clothing/Eyes/Hud/prescsechud.rsi
- type: ShowSecurityIcons
- type: Construction
graph: PrescriptionSecHud
node: prescsechud
- type: Tag
tags:
- HudSecurity
- GlassesNearsight
Adrian16199 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
- type: constructionGraph
id: PrescriptionMedHud
start: start
graph:
- node: start
edges:
- to: prescmedhud
steps:
- tag: HudMedical
name: medical hud
icon:
sprite: Clothing/Eyes/Hud/med.rsi
state: icon
doAfter: 5
- tag: GlassesNearsight
name: glasses
icon:
sprite: Clothing/Eyes/Glasses/glasses.rsi
state: icon
doAfter: 5
- material: Cable
amount: 5
doAfter: 5
- tag: DrinkSpaceGlue
name: space glue
icon:
sprite: Objects/Consumable/Drinks/glue-tube.rsi
state: icon
doAfter: 5
- node: prescmedhud
entity: ClothingEyesPrescriptionMedHud

- type: constructionGraph
id: PrescriptionSecHud
start: start
graph:
- node: start
edges:
- to: prescsechud
steps:
- tag: HudSecurity
name: security hud
icon:
sprite: Clothing/Eyes/Hud/med.rsi
state: icon
doAfter: 5
- tag: GlassesNearsight
name: glasses
icon:
sprite: Clothing/Eyes/Glasses/glasses.rsi
state: icon
doAfter: 5
- material: Cable
amount: 5
doAfter: 5
- tag: DrinkSpaceGlue
name: space glue
icon:
sprite: Objects/Consumable/Drinks/glue-tube.rsi
state: icon
doAfter: 5
- node: prescsechud
entity: ClothingEyesPrescriptionHudSecurity
Adrian16199 marked this conversation as resolved.
Show resolved Hide resolved
21 changes: 21 additions & 0 deletions Resources/Prototypes/DeltaV/Recipes/Construction/clothing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
- type: construction
name: prescription medhud
id: ClothingEyesPrescriptionMedHud
graph: PrescriptionMedHud
startNode: start
targetNode: prescmedhud
category: construction-category-clothing
description: Prescription medhud, merged glasses and medhud together by sheer luck and cables with glue.
icon: { sprite: DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi, state: icon }
objectType: Item

- type: construction
name: prescription sechud
id: ClothingEyesPrescriptionHudSecurity
graph: PrescriptionSecHud
startNode: start
targetNode: prescsechud
category: construction-category-clothing
description: Prescription sechud, merged glasses and sechud together by sheer luck and cables with glue.
icon: { sprite: DeltaV/Clothing/Eyes/Hud/prescsechud.rsi, state: icon }
objectType: Item
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Medhud Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/5a73e8f825ff279e82949b9329783a9e3070e2da and prescription glasses from commit https://github.com/tgstation/tgstation/commit/5a73e8f825ff279e82949b9329783a9e3070e2da modified by Adrian16199",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "equipped-EYES",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Sechud Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/5a73e8f825ff279e82949b9329783a9e3070e2da and prescription glasses from commit https://github.com/tgstation/tgstation/commit/5a73e8f825ff279e82949b9329783a9e3070e2da modified by Adrian16199",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "equipped-EYES",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}
Loading