]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix pancakes stacks (#30270)
authorlzk <124214523+lzk228@users.noreply.github.com>
Sun, 28 Jul 2024 03:49:06 +0000 (05:49 +0200)
committerGitHub <noreply@github.com>
Sun, 28 Jul 2024 03:49:06 +0000 (13:49 +1000)
Fix pancakes

Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/misc.yml
Resources/Prototypes/Stacks/consumable_stacks.yml

index fde181d8b9b20858e3d149c4b916773fc2a79d48..784bfe2cd5d2337bf40b7ddb59f612e57d1e3d7a 100644 (file)
 
 - type: entity
   name: blueberry pancake
-  parent: FoodBakedBase
+  parent: FoodBakedPancake
   id: FoodBakedPancakeBb
   description: A fluffy and delicious blueberry pancake.
   components:
   - type: Stack
-    stackType: Pancake
-    count: 1
-    composite: true
+    stackType: PancakeBb
     layerStates:
     - pancakesbb1
     - pancakesbb2
     - state: pancakesbb3
       map: ["pancakesbb3"]
       visible: false
-  - type: Appearance
   - type: Tag
     tags:
     - Pancake
 
 - type: entity
   name: chocolate chip pancake
-  parent: FoodBakedBase
+  parent: FoodBakedPancake
   id: FoodBakedPancakeCc
   description: A fluffy and delicious chocolate chip pancake.
   components:
   - type: Stack
-    stackType: Pancake
-    count: 1
-    composite: true
+    stackType: PancakeCc
     layerStates:
     - pancakescc1
     - pancakescc2
     - state: pancakescc3
       map: ["pancakescc3"]
       visible: false
-  - type: Appearance
   - type: SolutionContainerManager
     solutions:
       food:
           Quantity: 5
         - ReagentId: Theobromine
           Quantity: 1
-  - type: Tag
-    tags:
-    - Pancake
 
 - type: entity
   name: waffles
index e7feab7b52023ef1aac85657c7dbfb40f8237a76..e2abbcbf0896c451fb87ccda0e505e2a10e4c3ec 100644 (file)
@@ -4,6 +4,18 @@
   id: Pancake
   name: pancake
   spawn: FoodBakedPancake
+  maxCount: 9
+
+- type: stack
+  id: PancakeBb
+  name: blueberry pancake
+  spawn: FoodBakedPancakeBb
+  maxCount: 3
+
+- type: stack
+  id: PancakeCc
+  name: chocolate chip pancake
+  spawn: FoodBakedPancakeCc
   maxCount: 3
 
 # Food Containers