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

Adds a crafting recipe for the Security Patrol Hardsuit, and a revert crafting recipe. #249

Closed
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
12 changes: 12 additions & 0 deletions Resources/Prototypes/Entities/Clothing/OuterClothing/hardsuits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,14 @@
- type: ClothingSpeedModifier
walkModifier: 0.75
sprintModifier: 0.75
- type: Construction
graph: SecPatrolHardsuit
node: securitypatrolhardsuit
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitSecurity
- type: Tag
tags:
- SecHardsuit

#Security Patrol Hardsuit NF14
- type: entity
Expand Down Expand Up @@ -211,8 +217,14 @@
Caustic: 0.8
- type: ExplosionResistance
damageCoefficient: 0.5
- type: Construction
graph: SecPatrolHardsuit
node: securitypatrolhardsuit
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitSecuritypatrol
- type: Tag
tags:
- SecPatrolHardsuit

#Brigmedic Hardsuit
- type: entity
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
- type: constructionGraph
id: SecHardsuit
start: start
graph:
- node: start
edges:
- to: securityhardsuit
steps:
- tag: SecPatrolHardsuit
name: A Security Patrol Hardsuit
icon:
sprite: Clothing/OuterClothing/Hardsuits/security-patrol.rsi
state: icon
- material: Plasteel
amount: 2
doAfter: 2
- material: Durathread
amount: 5
doAfter: 8
completed:
- !type:PopupUser
cursor: true
text: You've refasten the outer composite armor
- node: securityhardsuit
entity: ClothingOuterHardsuitSecurity
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
- type: constructionGraph
id: SecPatrolHardsuit
start: start
graph:
- node: start
edges:
- to: securitypatrolhardsuit
steps:
- tag: SecHardsuit
name: A Security Hardsuit
icon:
sprite: Clothing/OuterClothing/Hardsuits/security.rsi
state: icon
doAfter: 10
completed:
- !type:SpawnPrototype
prototype: SheetPlasteel1
amount: 2
- !type:SpawnPrototype
prototype: MaterialDurathread1
amount: 5
- !type:PopupUser
cursor: true
text: You've removed the outer composite armor
- node: securitypatrolhardsuit
entity: ClothingOuterHardsuitSecuritypatrol
22 changes: 22 additions & 0 deletions Resources/Prototypes/Recipes/Construction/clothing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,25 @@
description: A modified hardsuit fit for a clown.
icon: { sprite: Clothing/OuterClothing/Hardsuits/clown.rsi, state: icon }
objectType: Item

- type: construction
name: security patrol hardsuit
id: SecPatrolHardsuit
graph: SecPatrolHardsuit
startNode: start
targetNode: securitypatrolhardsuit
category: construction-category-clothing
description: Remove the layer of outer composite armor.
icon: { sprite: Clothing/OuterClothing/Hardsuits/security-patrol.rsi, state: icon }
objectType: Item

- type: construction
name: security patrol hardsuit
id: SecHardsuit
graph: SecHardsuit
startNode: start
targetNode: securityhardsuit
category: construction-category-clothing
description: Reattach the outer layer of composite armor.
icon: { sprite: Clothing/OuterClothing/Hardsuits/security.rsi, state: icon }
objectType: Item
6 changes: 6 additions & 0 deletions Resources/Prototypes/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,12 @@
- type: Tag
id: SecBeltEquip

- type: Tag
id: SecHardsuit

- type: Tag
id: SecPatrolHardsuit

- type: Tag
id: SecwayKeys

Expand Down
Loading