]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Meat Patty (#34896)
authorSG6732 <151011904+SG6732@users.noreply.github.com>
Thu, 24 Apr 2025 03:45:27 +0000 (20:45 -0700)
committerGitHub <noreply@github.com>
Thu, 24 Apr 2025 03:45:27 +0000 (20:45 -0700)
Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
Resources/Prototypes/Entities/Objects/Consumable/Food/meat.yml
Resources/Prototypes/Recipes/Construction/Graphs/food/meatball.yml
Resources/Prototypes/Recipes/Construction/Graphs/food/patty.yml [new file with mode: 0644]
Resources/Textures/Objects/Consumable/Food/meat.rsi/meta.json
Resources/Textures/Objects/Consumable/Food/meat.rsi/patty.png [new file with mode: 0644]
Resources/Textures/Objects/Consumable/Food/meat.rsi/raw_patty.png [new file with mode: 0644]

index a229c0ea80f726d7a2397fd16ec592e1699fbe4c..067595fa144d3dbe2b3b1b78623b9d4026fd0950 100644 (file)
     graph: MeatMeatballCooked
     node: start
 
+# meat patty - grillin' time
+
+- type: entity
+  name: meat patty
+  parent: FoodMeatBase
+  id: FoodMeatPatty
+  description: A flat slab of ground meat. Ready for grillin'.
+  components:
+  - type: Tag
+    tags:
+    - Raw
+    - Meat
+  - type: Sprite
+    state: raw_patty
+  - type: InternalTemperature
+    conductivity: 0.43
+  - type: Construction
+    graph: CookedPatty
+    node: start
+    defaultTarget: cooked meat patty
+
 - type: entity
   name: slimeball
   parent: FoodMeatBase
     graph: MeatMeatballCooked
     node: meatball cooked
 
+- type: entity
+  name: cooked meat patty
+  parent: FoodMeatBase
+  id: FoodMeatPattyCooked
+  description: A cooked meat patty.
+  components:
+  - type: Tag
+    tags:
+    - Cooked
+    - Meat
+    - Steak
+  - type: Sprite
+    state: patty
+  - type: SolutionContainerManager
+    solutions:
+      food:
+        reagents:
+        - ReagentId: Nutriment
+          Quantity: 7.5
+        - ReagentId: Protein
+          Quantity: 7.5
+  - type: Construction
+    graph: CookedPatty
+    node: cooked meat patty
+  - type: FoodSequenceElement
+    entries:
+      Burger: MeatSteak
+      Taco: MeatSteak
+
 - type: entity
   name: boiled snail
   parent: FoodMeatBase
index 647c163e793529c82306a48fb0e94ac45397be4a..9fac37b9c6fae22ac3f8b58efa9c538be7e72da1 100644 (file)
         sound: /Audio/Effects/sizzle.ogg
       steps:
       - minTemperature: 335
+    - to: meat patty
+      steps:
+      - tool: Rolling
+        doAfter: 1
 
   - node: meatball cooked
     entity: FoodMeatMeatballCooked
+
+  - node: meat patty
+    entity: FoodMeatPatty
diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/food/patty.yml b/Resources/Prototypes/Recipes/Construction/Graphs/food/patty.yml
new file mode 100644 (file)
index 0000000..f82efe5
--- /dev/null
@@ -0,0 +1,15 @@
+# cooked meat patty
+- type: constructionGraph
+  id: CookedPatty
+  start: start
+  graph:
+  - node: start
+    edges:
+    - to: cooked meat patty
+      completed:
+      - !type:PlaySound
+        sound: /Audio/Effects/sizzle.ogg
+      steps:
+      - minTemperature: 335
+  - node: cooked meat patty
+    entity: FoodMeatPattyCooked
index 5dc8e026cc1ea52060467c351873673a6dc5aa52..1c3f950180836ec7dbcd6de86505cd5e1c4e37ef 100644 (file)
@@ -1,7 +1,7 @@
 {
   "version": 1,
   "license": "CC-BY-SA-3.0",
-  "copyright": "Taken from tgstation and modified by Swept, potato1234x and deltanedas at https://github.com/tgstation/tgstation/commit/40d75cc340c63582fb66ce15bf75a36115f6bdaa, snail by IproduceWidgets (github) and Kezu (discord), anomalymeat/cooked by august-sun, dragoncutlet, dragoncutlet_veins, dragoncutlet-cooked and dragon-cooked by JuneSzalkowska (discord)",
+  "copyright": "Taken from tgstation and modified by Swept, potato1234x and deltanedas at https://github.com/tgstation/tgstation/commit/40d75cc340c63582fb66ce15bf75a36115f6bdaa, snail by IproduceWidgets (github) and Kezu (discord), anomalymeat/cooked by august-sun, dragoncutlet, dragoncutlet_veins, dragoncutlet-cooked and dragon-cooked by JuneSzalkowska (discord), raw and cooked patty taken from tgstation at https://github.com/tgstation/tgstation/commit/b83c7deee4c91df4de130db242facce20308aa8a",
   "size": {
     "x": 32,
     "y": 32
     },
     {
       "name": "dragoncutlet-cooked"
+    },
+    {
+      "name": "raw_patty"
+    },
+    {
+      "name": "patty"
     }
   ]
 }
diff --git a/Resources/Textures/Objects/Consumable/Food/meat.rsi/patty.png b/Resources/Textures/Objects/Consumable/Food/meat.rsi/patty.png
new file mode 100644 (file)
index 0000000..d0a59c5
Binary files /dev/null and b/Resources/Textures/Objects/Consumable/Food/meat.rsi/patty.png differ
diff --git a/Resources/Textures/Objects/Consumable/Food/meat.rsi/raw_patty.png b/Resources/Textures/Objects/Consumable/Food/meat.rsi/raw_patty.png
new file mode 100644 (file)
index 0000000..ff73878
Binary files /dev/null and b/Resources/Textures/Objects/Consumable/Food/meat.rsi/raw_patty.png differ