diff --git a/Resources/Prototypes/DeltaV/Entities/Clothing/Eyes/hud.yml b/Resources/Prototypes/DeltaV/Entities/Clothing/Eyes/hud.yml new file mode 100644 index 00000000000..c67895cb625 --- /dev/null +++ b/Resources/Prototypes/DeltaV/Entities/Clothing/Eyes/hud.yml @@ -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 diff --git a/Resources/Prototypes/DeltaV/Recipes/Construction/Graphs/clothing/prescription_huds.yml b/Resources/Prototypes/DeltaV/Recipes/Construction/Graphs/clothing/prescription_huds.yml new file mode 100644 index 00000000000..06f065a1b82 --- /dev/null +++ b/Resources/Prototypes/DeltaV/Recipes/Construction/Graphs/clothing/prescription_huds.yml @@ -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 diff --git a/Resources/Prototypes/DeltaV/Recipes/Construction/clothing.yml b/Resources/Prototypes/DeltaV/Recipes/Construction/clothing.yml new file mode 100644 index 00000000000..386a0211c03 --- /dev/null +++ b/Resources/Prototypes/DeltaV/Recipes/Construction/clothing.yml @@ -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 diff --git a/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi/equipped-EYES.png b/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi/equipped-EYES.png new file mode 100644 index 00000000000..63ed2962771 Binary files /dev/null and b/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi/equipped-EYES.png differ diff --git a/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi/icon.png b/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi/icon.png new file mode 100644 index 00000000000..5457944b764 Binary files /dev/null and b/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi/icon.png differ diff --git a/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi/inhand-left.png b/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi/inhand-left.png new file mode 100644 index 00000000000..5bbd8c366f7 Binary files /dev/null and b/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi/inhand-left.png differ diff --git a/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi/inhand-right.png b/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi/inhand-right.png new file mode 100644 index 00000000000..500f9d518aa Binary files /dev/null and b/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi/inhand-right.png differ diff --git a/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi/meta.json b/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi/meta.json new file mode 100644 index 00000000000..5d1707dc568 --- /dev/null +++ b/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescmedhud.rsi/meta.json @@ -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 + } + ] +} diff --git a/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescsechud.rsi/equipped-EYES.png b/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescsechud.rsi/equipped-EYES.png new file mode 100644 index 00000000000..6c3c594d3d4 Binary files /dev/null and b/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescsechud.rsi/equipped-EYES.png differ diff --git a/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescsechud.rsi/icon.png b/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescsechud.rsi/icon.png new file mode 100644 index 00000000000..0ebf00a3724 Binary files /dev/null and b/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescsechud.rsi/icon.png differ diff --git a/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescsechud.rsi/inhand-left.png b/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescsechud.rsi/inhand-left.png new file mode 100644 index 00000000000..ffbdb484d76 Binary files /dev/null and b/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescsechud.rsi/inhand-left.png differ diff --git a/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescsechud.rsi/inhand-right.png b/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescsechud.rsi/inhand-right.png new file mode 100644 index 00000000000..adce411ed16 Binary files /dev/null and b/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescsechud.rsi/inhand-right.png differ diff --git a/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescsechud.rsi/meta.json b/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescsechud.rsi/meta.json new file mode 100644 index 00000000000..c2957348b61 --- /dev/null +++ b/Resources/Textures/DeltaV/Clothing/Eyes/Hud/prescsechud.rsi/meta.json @@ -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 + } + ] +}