From 9525314b778185e99fec9d30acb376e0b2708879 Mon Sep 17 00:00:00 2001 From: Sirionaut <148076704+Sirionaut@users.noreply.github.com> Date: Wed, 15 Nov 2023 00:27:55 +0100 Subject: [PATCH] craftable cotton cloth (#21648) * Update improvised.yml added CottonWovenCloth * added cotton.yml constructionGraph * it's spelled cotton, not cotten --- .../Recipes/Crafting/Graphs/improvised/cotton.yml | 13 +++++++++++++ .../Prototypes/Recipes/Crafting/improvised.yml | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 Resources/Prototypes/Recipes/Crafting/Graphs/improvised/cotton.yml diff --git a/Resources/Prototypes/Recipes/Crafting/Graphs/improvised/cotton.yml b/Resources/Prototypes/Recipes/Crafting/Graphs/improvised/cotton.yml new file mode 100644 index 0000000000..dcf0ae4be7 --- /dev/null +++ b/Resources/Prototypes/Recipes/Crafting/Graphs/improvised/cotton.yml @@ -0,0 +1,13 @@ +- type: constructionGraph + id: CottonObjects + start: start + graph: + - node: start + edges: + - to: cottoncloth + steps: + - material: Cotton + amount: 4 + doAfter: 3 + - node: cottoncloth + entity: MaterialCloth1 diff --git a/Resources/Prototypes/Recipes/Crafting/improvised.yml b/Resources/Prototypes/Recipes/Crafting/improvised.yml index df3a3bbdab..9fb10b741d 100644 --- a/Resources/Prototypes/Recipes/Crafting/improvised.yml +++ b/Resources/Prototypes/Recipes/Crafting/improvised.yml @@ -175,3 +175,16 @@ icon: sprite: Objects/Weapons/Bombs/ied.rsi state: icon + +- type: construction + name: cotton woven cloth + id: CottonWovenCloth + graph: CottonObjects + startNode: start + targetNode: cottoncloth + category: construction-category-misc + description: "A homemade piece of cotton cloth, it feels coarse." + icon: + sprite: Objects/Materials/materials.rsi + state: cloth_3 + objectType: Item -- 2.51.2