]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Raw meatball cooks into cooked meatball (#36003)
authorCentronias <me@centronias.com>
Thu, 27 Mar 2025 06:26:13 +0000 (23:26 -0700)
committerGitHub <noreply@github.com>
Thu, 27 Mar 2025 06:26:13 +0000 (23:26 -0700)
meatballs can be cooked on their own

Resources/Prototypes/Entities/Objects/Consumable/Food/meat.yml
Resources/Prototypes/Recipes/Construction/Graphs/food/meatball.yml [new file with mode: 0644]

index fc340bbcfd46d46ee93ce892ea2d87409a0cbd0e..569c0c44026f81e8d1de7423ad1f7d8dde00e111 100644 (file)
     - Meat
   - type: Sprite
     state: meatball
+  - type: Construction
+    graph: MeatMeatballCooked
+    node: start
 
 - type: entity
   name: slimeball
     entries:
       Burger: MeatBall
       Taco: MeatBall
+  - type: Construction
+    graph: MeatMeatballCooked
+    node: meatball cooked
 
 - type: entity
   name: boiled snail
diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/food/meatball.yml b/Resources/Prototypes/Recipes/Construction/Graphs/food/meatball.yml
new file mode 100644 (file)
index 0000000..647c163
--- /dev/null
@@ -0,0 +1,16 @@
+- type: constructionGraph
+  id: MeatMeatballCooked
+  start: start
+  graph:
+
+  - node: start
+    edges:
+    - to: meatball cooked
+      completed:
+      - !type:PlaySound
+        sound: /Audio/Effects/sizzle.ogg
+      steps:
+      - minTemperature: 335
+
+  - node: meatball cooked
+    entity: FoodMeatMeatballCooked