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

Corpsman Glasses #1828

Merged
merged 4 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
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]
Unkn0wnGh0st333 marked this conversation as resolved.
Show resolved Hide resolved
id: ClothingEyesGlassesCorpsman
name: corpsman glasses
description: Security glasses designed for the Corpsman for medical and security needs. Now with a cool blue hue*
Unkn0wnGh0st333 marked this conversation as resolved.
Show resolved Hide resolved
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
}
]
}
Loading