From 569085ab5c0c92c6344106a7c4f2b79270482673 Mon Sep 17 00:00:00 2001 From: EmoGarbage404 <98561806+EmoGarbage404@users.noreply.github.com> Date: Fri, 15 Apr 2022 17:20:14 -0400 Subject: [PATCH] Recipe for Durathread (#7349) --- .../Entities/Objects/Materials/materials.yml | 3 +++ .../Graphs/materials/durathread.yml | 17 +++++++++++++++++ .../Recipes/Construction/materials.yml | 11 +++++++++++ 3 files changed, 31 insertions(+) create mode 100644 Resources/Prototypes/Recipes/Construction/Graphs/materials/durathread.yml diff --git a/Resources/Prototypes/Entities/Objects/Materials/materials.yml b/Resources/Prototypes/Entities/Objects/Materials/materials.yml index 71a67d8311..835522c68e 100644 --- a/Resources/Prototypes/Entities/Objects/Materials/materials.yml +++ b/Resources/Prototypes/Entities/Objects/Materials/materials.yml @@ -148,6 +148,9 @@ - durathread - durathread_2 - durathread_3 + - type: Construction + graph: Durathread + node: MaterialDurathread - type: entity parent: MaterialDurathread diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/materials/durathread.yml b/Resources/Prototypes/Recipes/Construction/Graphs/materials/durathread.yml new file mode 100644 index 0000000000..32613caf04 --- /dev/null +++ b/Resources/Prototypes/Recipes/Construction/Graphs/materials/durathread.yml @@ -0,0 +1,17 @@ +- type: constructionGraph + id: Durathread + start: start + graph: + - node: start + edges: + - to: MaterialDurathread + completed: + - !type:SetStackCount + amount: 1 + steps: + - material: Cloth + amount: 5 + - material: Plastic + amount: 5 + - node: MaterialDurathread + entity: MaterialDurathread diff --git a/Resources/Prototypes/Recipes/Construction/materials.yml b/Resources/Prototypes/Recipes/Construction/materials.yml index b67abbf7dc..c4146c54f8 100644 --- a/Resources/Prototypes/Recipes/Construction/materials.yml +++ b/Resources/Prototypes/Recipes/Construction/materials.yml @@ -38,3 +38,14 @@ category: Materials icon: Objects/Materials/Sheets/glass.rsi/rpglass.png objectType: Item + +- type: construction + name: durathread + id: MaterialDurathread + graph: Durathread + startNode: start + targetNode: MaterialDurathread + category: Materials + description: A high-quality thread used to make durable clothes. + icon: Objects/Materials/materials.rsi/durathread.png + objectType: Item \ No newline at end of file