]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Crafting pizza boxes. (#29680)
authorsaga3152 <133799418+saga3152@users.noreply.github.com>
Wed, 10 Jul 2024 05:52:33 +0000 (07:52 +0200)
committerGitHub <noreply@github.com>
Wed, 10 Jul 2024 05:52:33 +0000 (15:52 +1000)
* We can now craft pizza boxes

* Fixing errors

Resources/Prototypes/Recipes/Crafting/Graphs/storage/foodboxpizza.yml [new file with mode: 0644]
Resources/Prototypes/Recipes/Crafting/crates.yml

diff --git a/Resources/Prototypes/Recipes/Crafting/Graphs/storage/foodboxpizza.yml b/Resources/Prototypes/Recipes/Crafting/Graphs/storage/foodboxpizza.yml
new file mode 100644 (file)
index 0000000..b475289
--- /dev/null
@@ -0,0 +1,15 @@
+- type: constructionGraph
+  id: FoodBoxPizza
+  start: start
+  graph:
+    - node: start
+      edges:
+        - to: foodboxpizza
+          steps:
+            - material: Cardboard
+              amount: 1
+              doAfter: 4
+
+
+    - node: foodboxpizza
+      entity: FoodBoxPizza
\ No newline at end of file
index 4177b3fa2a6a3e673d48e15f2098e6d9fdf319f3..72fabc2221b6ab233a5028e118a2aa516fcfd921 100644 (file)
   icon: { sprite: Objects/Storage/boxes.rsi, state: box }
   objectType: Item
 
+- type: construction
+  name: pizza box
+  id: FoodBoxPizza
+  graph: FoodBoxPizza
+  startNode: start
+  targetNode: foodboxpizza
+  category: construction-category-storage
+  description: A box for pizza.
+  icon: 
+    sprite: Objects/Consumable/Food/Baked/pizza.rsi
+    state: box
+  objectType: Item
+
 - type: construction
   name: coffin
   id: CrateCoffin