]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Added ghost sheet craft (#15281)
authorlzk228 <124214523+lzk228@users.noreply.github.com>
Sat, 29 Apr 2023 06:14:46 +0000 (09:14 +0300)
committerGitHub <noreply@github.com>
Sat, 29 Apr 2023 06:14:46 +0000 (16:14 +1000)
Resources/Prototypes/Entities/Clothing/OuterClothing/misc.yml
Resources/Prototypes/Recipes/Crafting/Graphs/improvised/ghost_sheet.yml [new file with mode: 0644]
Resources/Prototypes/Recipes/Crafting/improvised.yml

index a17ab0a64c1ed3fdcb34e65cf3428a4715138231..ab134b4d2c8088e7ed1cfe4606ad432a0784912c 100644 (file)
     sprite: Clothing/OuterClothing/Misc/nunrobe.rsi
   - type: Clothing
     sprite: Clothing/OuterClothing/Misc/nunrobe.rsi
-    
+
 - type: entity
   parent: ClothingOuterBase
   id: ClothingOuterGhostSheet
     sprite: Clothing/OuterClothing/Misc/ghostsheet.rsi
   - type: Clothing
     sprite: Clothing/OuterClothing/Misc/ghostsheet.rsi
+  - type: Construction
+    graph: GhostSheet
+    node: ghost_sheet
 
 - type: entity
   parent: ClothingOuterBase
diff --git a/Resources/Prototypes/Recipes/Crafting/Graphs/improvised/ghost_sheet.yml b/Resources/Prototypes/Recipes/Crafting/Graphs/improvised/ghost_sheet.yml
new file mode 100644 (file)
index 0000000..866996a
--- /dev/null
@@ -0,0 +1,14 @@
+- type: constructionGraph
+  id: GhostSheet
+  start: start
+  graph:
+    - node: start
+      edges:
+        - to: ghost_sheet
+          steps:
+            - material: Cloth
+              amount: 5
+              doAfter: 12
+    - node: ghost_sheet
+      entity: ClothingOuterGhostSheet
+
index 5229290a29303cc9f09223aec782c673797e96ac..71de22a2604e00bb60275b88b8dd538325b14d4a 100644 (file)
     state: icon
   objectType: Item
 
+- type: construction
+  name: ghost sheet
+  id: ghost_sheet
+  graph: GhostSheet
+  startNode: start
+  targetNode: ghost_sheet
+  category: construction-category-misc
+  description: Become a spooky ghost. Boo!
+  icon:
+    sprite: Clothing/OuterClothing/Misc/ghostsheet.rsi
+    state: icon
+  objectType: Item
+
 - type: construction
   name: makeshift handcuffs
   id: makeshifthandcuffs