-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds prescription huds. 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.) * forgot to delete these * Update Resources/Prototypes/DeltaV/Entities/Clothing/Eyes/hud.yml Co-authored-by: DEATHB4DEFEAT <[email protected]> Signed-off-by: Adrian16199 <[email protected]> * Apply suggestions from code review Co-authored-by: DEATHB4DEFEAT <[email protected]> Signed-off-by: Adrian16199 <[email protected]> --------- Signed-off-by: Adrian16199 <[email protected]> Co-authored-by: DEATHB4DEFEAT <[email protected]>
- Loading branch information
1 parent
2083d88
commit a79d53c
Showing
13 changed files
with
178 additions
and
0 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
Resources/Prototypes/DeltaV/Entities/Clothing/Eyes/hud.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 poorly done and rushed mix between half of a pair of prescription glasses and a medical HUD allowing you to see clearly out of one eye and view the health of people out of the other! | ||
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 poorly done and rushed mix between half of a pair of prescription glasses and a security HUD allowing you to see clearly out of one eye and inspect the employee's ID and warning status in the other! | ||
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 |
63 changes: 63 additions & 0 deletions
63
Resources/Prototypes/DeltaV/Recipes/Construction/Graphs/clothing/prescription_huds.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
21 changes: 21 additions & 0 deletions
21
Resources/Prototypes/DeltaV/Recipes/Construction/clothing.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Binary file added
BIN
+943 Bytes
Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi/equipped-EYES.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+830 Bytes
Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+839 Bytes
Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi/inhand-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+861 Bytes
Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi/inhand-right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions
26
Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
] | ||
} |
Binary file added
BIN
+941 Bytes
Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescsechud.rsi/equipped-EYES.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+832 Bytes
Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescsechud.rsi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+873 Bytes
Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescsechud.rsi/inhand-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+852 Bytes
Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescsechud.rsi/inhand-right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions
26
Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescsechud.rsi/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
] | ||
} |