Skip to content

Commit

Permalink
Corpsman Glasses (#1828)
Browse files Browse the repository at this point in the history
* Corpsman Glasses

Added Corpsman Glasses to the game, added it to Corpsmans lockers, and added a crafting recipe for them.

* Corpsman Glasses

Added Corpsman Glasses to the game, added it to Corpsmans lockers, and added a crafting recipe for them.

* Corpsman Glasses

Added Corpsman Glasses to the game, added it to Corpsmans lockers, and added a crafting recipe for them.

* Corpsman Glasses

Added Corpsman Glasses to the game, added it to Corpsmans lockers, and added a crafting recipe for them.
  • Loading branch information
Unkn0wnGh0st333 committed Sep 16, 2024
1 parent ed52281 commit 0c5d0ca
Show file tree
Hide file tree
Showing 13 changed files with 108 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/Prototypes/Catalog/Fills/Lockers/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
components:
- type: StorageFill
contents:
- id: ClothingEyesGlassesSecurity
- id: ClothingEyesGlassesCorpsman # DeltaV - Corpsman Glasses
- id: WeaponDisabler
- id: TrackingImplanter
amount: 2
Expand Down Expand Up @@ -160,7 +160,7 @@
components:
- type: StorageFill
contents:
- id: ClothingEyesHudSecurity
- id: ClothingEyesGlassesCorpsman # DeltaV - Corpsman Glasses
- id: WeaponDisabler
- id: TrackingImplanter
amount: 2
Expand Down
30 changes: 30 additions & 0 deletions Resources/Prototypes/DeltaV/Entities/Clothing/Eyes/glasses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,33 @@
modifiers:
coefficients:
Caustic: 0.85

- type: entity
parent: [ClothingEyesBase, ShowSecurityIcons, ShowMedicalIcons, BaseRestrictedContraband]
id: ClothingEyesGlassesCorpsman
name: corpsman glasses
description: Security glasses designed for the Corpsman for medical and security needs. Now with a cool blue hue*
components:
- type: Sprite
sprite: DeltaV/Clothing/Eyes/Glasses/corpsglasses.rsi
- type: Clothing
sprite: DeltaV/Clothing/Eyes/Glasses/corpsglasses.rsi
- type: FlashImmunity
- type: EyeProtection
protectionTime: 5
- type: Construction
graph: GlassesCorpsHUD
node: glassesCorps
- type: Tag
tags:
- HamsterWearable
- WhitelistChameleon
- SecDogWearable
- type: GuideHelp
guides:
- Security
- Antagonists
- Medical
- type: IdentityBlocker
coverage: EYES

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
- type: constructionGraph
id: GlassesCorpsHUD
start: start
graph:
- node: start
edges:
- to: glassesCorps
steps:
- tag: Sunglasses
name: sun glasses
icon:
sprite: Clothing/Eyes/Glasses/sunglasses.rsi
state: icon
doAfter: 5
- tag: HudMedicalSecurity
name: medsec hud
icon:
sprite: Clothing/Eyes/Hud/medsec.rsi
state: icon
doAfter: 5
- material: Cable
amount: 5
doAfter: 5
- node: glassesCorps
entity: ClothingEyesGlassesCorpsman
11 changes: 11 additions & 0 deletions Resources/Prototypes/DeltaV/Recipes/Construction/clothing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,14 @@
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

- type: construction
name: corpsman glasses
id: ClothingEyesGlassesCorpsman
graph: GlassesCorpsHUD
startNode: start
targetNode: glassesCorps
category: construction-category-clothing
description: A pair of sunglasses, modified to have a built-in security and medical HUD.
icon: { sprite: DeltaV/Clothing/Eyes/Glasses/corpsglasses.rsi, state: icon }
objectType: Item
3 changes: 3 additions & 0 deletions Resources/Prototypes/DeltaV/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@

- type: Tag
id: PaperSlip

- type: Tag
id: HudMedicalSecurity #Craftable Corpsman Glasses

- type: Tag
id: BorgModuleSecurity
Expand Down
3 changes: 3 additions & 0 deletions Resources/Prototypes/Entities/Clothing/Eyes/hud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@
- type: Construction
graph: HudMedSec
node: medsecHud
- type: Tag
tags:
- HudMedicalSecurity

- type: entity
parent: [ClothingEyesBase, ShowSecurityIcons, ShowMedicalIcons]
Expand Down
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.
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,34 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Remodeled design of the Security Glasses done by Unkn0wn_Gh0st on github",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "equipped-EYES",
"directions": 4
},
{
"name": "equipped-EYES-hamster",
"directions": 4
},
{
"name": "equipped-EYES-secdog",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}

0 comments on commit 0c5d0ca

Please sign in to comment.