]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
craftable cotton cloth (#21648)
authorSirionaut <148076704+Sirionaut@users.noreply.github.com>
Tue, 14 Nov 2023 23:27:55 +0000 (00:27 +0100)
committerGitHub <noreply@github.com>
Tue, 14 Nov 2023 23:27:55 +0000 (16:27 -0700)
* Update improvised.yml

added CottonWovenCloth

* added cotton.yml constructionGraph

* it's spelled cotton, not cotten

Resources/Prototypes/Recipes/Crafting/Graphs/improvised/cotton.yml [new file with mode: 0644]
Resources/Prototypes/Recipes/Crafting/improvised.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 (file)
index 0000000..dcf0ae4
--- /dev/null
@@ -0,0 +1,13 @@
+- type: constructionGraph\r
+  id: CottonObjects\r
+  start: start\r
+  graph:\r
+  - node: start\r
+    edges:\r
+    - to: cottoncloth\r
+      steps:\r
+      - material: Cotton\r
+        amount: 4\r
+        doAfter: 3\r
+  - node: cottoncloth\r
+    entity: MaterialCloth1\r
index df3a3bbdab9fad58f583d73dfdcf9f35b7751bfb..9fb10b741d1ec6cd325392899239b3c42e764dd4 100644 (file)
   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