Skip to content

Commit

Permalink
Adds prescription huds.
Browse files Browse the repository at this point in the history
THATS RIGHT.
TO THOSE 3 PLAYERS THAT USE NEARSIGHTED.
YOU CAN NOW SMASH TOGETHER A BRAND NEW TOOL TO HELP YOUR AID DURING WORKING HOURS.
*WOW, SO AMAZING.*

(For legal reasons, said advertisement was not trying to cause any mental or physical harm or legal obligations with medical and security industry who made said huds.)
  • Loading branch information
Adrian16199 committed Feb 19, 2024
1 parent c089507 commit cf3e4af
Show file tree
Hide file tree
Showing 13 changed files with 178 additions and 0 deletions.
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.
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.
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
- type: constructionGraph
id: PrescriptionMedHud # HudMedSec
start: start
graph:
- node: start
edges:
- to: prescmedhud # medsecHud
steps:
- tag: HudMedical
name: medical hud
icon:
sprite: Clothing/Eyes/Hud/med.rsi
state: icon
doAfter: 5
- tag: GlassesNearsight # Prescription Glasses
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 # medsecHud
entity: ClothingEyesPrescriptionMedHud # ClothingEyesHudMedSec

- type: constructionGraph
id: PrescriptionSecHud # HudMedSec
start: start
graph:
- node: start
edges:
- to: prescsechud # medsecHud
steps:
- tag: HudMedical
name: medical hud
icon:
sprite: Clothing/Eyes/Hud/med.rsi
state: icon
doAfter: 5
- tag: GlassesNearsight # Prescription Glasses
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 # medsecHud
entity: ClothingEyesPrescriptionHudSecurity # ClothingEyesHudMedSec
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 # ClothingEyesHudMedSec
graph: PrescriptionMedHud # HudMedSec
startNode: start
targetNode: prescmedhud # medsecHud
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 # ClothingEyesHudMedSec
graph: PrescriptionSecHud # HudMedSec
startNode: start
targetNode: prescsechud # medsecHud
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
}
]
}

0 comments on commit cf3e4af

Please sign in to comment.