diff --git a/Resources/Prototypes/Entities/Clothing/OuterClothing/hardsuits.yml b/Resources/Prototypes/Entities/Clothing/OuterClothing/hardsuits.yml index b6a0dad1924..b33ec4d44bb 100644 --- a/Resources/Prototypes/Entities/Clothing/OuterClothing/hardsuits.yml +++ b/Resources/Prototypes/Entities/Clothing/OuterClothing/hardsuits.yml @@ -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 @@ -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 diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/clothing/security_hardsuit.yml b/Resources/Prototypes/Recipes/Construction/Graphs/clothing/security_hardsuit.yml new file mode 100644 index 00000000000..74992913f3a --- /dev/null +++ b/Resources/Prototypes/Recipes/Construction/Graphs/clothing/security_hardsuit.yml @@ -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 diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/clothing/security_patrol_hardsuit.yml b/Resources/Prototypes/Recipes/Construction/Graphs/clothing/security_patrol_hardsuit.yml new file mode 100644 index 00000000000..11b03a56085 --- /dev/null +++ b/Resources/Prototypes/Recipes/Construction/Graphs/clothing/security_patrol_hardsuit.yml @@ -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 diff --git a/Resources/Prototypes/Recipes/Construction/clothing.yml b/Resources/Prototypes/Recipes/Construction/clothing.yml index 796ab786420..22a28052b8d 100644 --- a/Resources/Prototypes/Recipes/Construction/clothing.yml +++ b/Resources/Prototypes/Recipes/Construction/clothing.yml @@ -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 \ No newline at end of file diff --git a/Resources/Prototypes/tags.yml b/Resources/Prototypes/tags.yml index 2a14537fb52..f0a782f6c45 100644 --- a/Resources/Prototypes/tags.yml +++ b/Resources/Prototypes/tags.yml @@ -855,6 +855,12 @@ - type: Tag id: SecBeltEquip +- type: Tag + id: SecHardsuit + +- type: Tag + id: SecPatrolHardsuit + - type: Tag id: SecwayKeys