]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Muffins (#29318)
authorRumiTiger <154005209+RumiTiger@users.noreply.github.com>
Fri, 1 Nov 2024 02:06:46 +0000 (05:06 +0300)
committerGitHub <noreply@github.com>
Fri, 1 Nov 2024 02:06:46 +0000 (22:06 -0400)
* Update meta.json

* Add files via upload

* Update misc.yml

* Update meal_recipes.yml

* Update meta.json

* Add files via upload

* Update plate.yml

* Update food_baked_single.yml

* Update dinnerware.yml

* Update cooking.yml

* Update misc.yml

* Add files via upload

* Delete Resources/Textures/Objects/Consumable/Food/Baked/misc.rsi/muffin-cherry.png

* Add files via upload

* Update meta.json

* Update misc.yml

* Update meal_recipes.yml

* Update meta.json

* Fix meta.json

* Fix meta.json again

* Update misc.yml

* Update misc.yml

* Update misc.yml

* Update misc.yml

* Update meta.json

* Update meta.json

* Update misc.yml

* Update meal_recipes.yml

* Update Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/misc.yml

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
* Update dinnerware.yml

* Delete cherry

* Add files via upload

* Delete banana

* Add banana

* Delete chocolate

* Add chocolate

* lathe recipe fix

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
14 files changed:
Resources/Prototypes/Catalog/VendingMachines/Inventories/dinnerware.yml
Resources/Prototypes/Entities/Markers/Spawners/Random/Food_Drinks/food_baked_single.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/misc.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/plate.yml
Resources/Prototypes/Entities/Structures/Machines/lathe.yml
Resources/Prototypes/Recipes/Cooking/meal_recipes.yml
Resources/Prototypes/Recipes/Lathes/cooking.yml
Resources/Textures/Objects/Consumable/Food/Baked/misc.rsi/meta.json
Resources/Textures/Objects/Consumable/Food/Baked/misc.rsi/muffin-banana.png [new file with mode: 0644]
Resources/Textures/Objects/Consumable/Food/Baked/misc.rsi/muffin-berry.png
Resources/Textures/Objects/Consumable/Food/Baked/misc.rsi/muffin-cherry.png
Resources/Textures/Objects/Consumable/Food/Baked/misc.rsi/muffin-chocolate.png [new file with mode: 0644]
Resources/Textures/Objects/Consumable/Food/plates.rsi/meta.json
Resources/Textures/Objects/Consumable/Food/plates.rsi/muffin-tin.png [new file with mode: 0644]

index d7108ab99557db98972fb36ca380f94c79965cfa..046607f21aa2163fa93ce3556be4a95aa9bb8815 100644 (file)
@@ -11,6 +11,7 @@
     FoodPlate: 10
     FoodPlateSmall: 10
     FoodPlateTin: 5
+    FoodPlateMuffinTin: 5
     FoodKebabSkewer: 5
     DrinkGlass: 5
     Beaker: 5
index 68d9394ea1610bb796caa63e287367abdc932c3e..fa2856763950b1e7a2c85fc8d228a27336d843f8 100644 (file)
@@ -46,6 +46,8 @@
       - FoodBakedMuffinBerry
       - FoodBakedMuffinCherry
       - FoodBakedMuffinBluecherry
+      - FoodBakedMuffinChocolate
+      - FoodBakedMuffinBanana
       - FoodBakedBunHoney
       - FoodBakedBunHotX
       - FoodBakedBunMeat
index 8b455fe872c5c03da7bb967f560638e6d78c905d..b4be6a8dfd1541aed5cb5c5483fc4ba5b17f3f87 100644 (file)
   - type: Item
     size: Tiny
 
-# Muffins/Buns
+# Muffins
 
 - type: entity
   name: muffin
-  parent: FoodBakedBase
+  parent: FoodInjectableBase
   id: FoodBakedMuffin
   description: A delicious and spongy little cake.
   components:
+  - type: Food
+    trash: 
+    - FoodPlateMuffinTin
   - type: Sprite
+    sprite: Objects/Consumable/Food/Baked/misc.rsi
     state: muffin
+  - type: SolutionContainerManager
+    solutions:
+      food:
+        maxVol: 10
+        reagents:
+        - ReagentId: Nutriment
+          Quantity: 6
+        - ReagentId: Vitamin
+          Quantity: 2
+  - type: FlavorProfile
+    flavors:
+      - sweet
+  - type: Item
+    size: Tiny
 
 - type: entity
   name: berry muffin
-  parent: FoodBakedBase
+  parent: FoodBakedMuffin
   id: FoodBakedMuffinBerry
   description: A delicious and spongy little cake, with berries.
   components:
   - type: Sprite
     state: muffin-berry
+  - type: SolutionContainerManager
+    solutions:
+      food:
+        maxVol: 12
+        reagents:
+        - ReagentId: Nutriment
+          Quantity: 6
+        - ReagentId: Vitamin
+          Quantity: 2
+        - ReagentId: JuiceBerry
+          Quantity: 2
   - type: Tag
     tags:
     - Fruit
 
 - type: entity
   name: cherry muffin
-  parent: FoodBakedBase
+  parent: FoodBakedMuffin
   id: FoodBakedMuffinCherry
   description: A sweet muffin with cherry bits.
   components:
   - type: Sprite
     state: muffin-cherry
+  - type: SolutionContainerManager
+    solutions:
+      food:
+        maxVol: 12
+        reagents:
+        - ReagentId: Nutriment
+          Quantity: 6
+        - ReagentId: Vitamin
+          Quantity: 2
+        - ReagentId: JuiceCherry
+          Quantity: 2
   - type: Tag
     tags:
     - Fruit
 
 - type: entity
   name: bluecherry muffin
-  parent: FoodBakedBase
+  parent: FoodBakedMuffin
   id: FoodBakedMuffinBluecherry
   description: Blue cherries inside a delicious muffin.
   components:
     tags:
     - Fruit
 
+- type: entity
+  name: chocolate muffin
+  parent: FoodBakedMuffin
+  id: FoodBakedMuffinChocolate
+  description: A delicious and spongy chocolate muffin.
+  components:
+  - type: Sprite
+    state: muffin-chocolate
+  - type: SolutionContainerManager
+    solutions:
+      food:
+        maxVol: 12
+        reagents:
+        - ReagentId: Nutriment
+          Quantity: 6
+        - ReagentId: Vitamin
+          Quantity: 2
+        - ReagentId: CocoaPowder
+          Quantity: 2
+
+- type: entity
+  name: banana muffin
+  parent: FoodBakedMuffin
+  id: FoodBakedMuffinBanana
+  description: A delicious and spongy banana muffin.
+  components:
+  - type: Sprite
+    state: muffin-banana
+  - type: SolutionContainerManager
+    solutions:
+      food:
+        maxVol: 12
+        reagents:
+        - ReagentId: Nutriment
+          Quantity: 6
+        - ReagentId: Vitamin
+          Quantity: 2
+        - ReagentId: JuiceBanana
+          Quantity: 2
+  - type: Tag
+    tags:
+    - Fruit
+
+# Buns
+
 - type: entity
   name: honey bun #TODO honey
   parent: FoodBakedBase
   - type: DamageOtherOnHit
     damage:
       types:
-        Blunt: 0 # so the damage stats icon doesn't immediately give away the syndie ones
\ No newline at end of file
+        Blunt: 0 # so the damage stats icon doesn't immediately give away the syndie ones
index 63c47df67e79207e4fceb8a873632307c834a601..2e2f2979bc7008187992fee54be958af79a1db81 100644 (file)
     materialComposition:
       Steel: 60
   - type: SpaceGarbage
+
+# Muffin Tin
+
+- type: entity
+  name: muffin tin
+  parent: BaseItem
+  id: FoodPlateMuffinTin
+  description: A cheap foil tin for muffins.
+  components:
+  - type: Sprite
+    sprite: Objects/Consumable/Food/plates.rsi
+    state: muffin-tin
+  - type: Item
+    size: Small
+    shape:
+    - 0,0,1,0
+    storedOffset: 0,-3
+  - type: Tag
+    tags:
+    - Trash
+  - type: PhysicalComposition
+    materialComposition:
+      Steel: 30
+  - type: SpaceGarbage
index a8e4d0f43e012857a1c24c229ee543089769cf9d..b27f2cc1b982dba25ebc48b21d7b480952128cd2 100644 (file)
       - FoodPlateSmallPlastic
       - FoodBowlBig
       - FoodPlateTin
+      - FoodPlateMuffinTin
       - FoodKebabSkewer
       - SprayBottle
       - MopItem
index fa2b6573915d8bf680ead852accec055d227daf6..173cf9e9dbdcea5569ab36c76be4b6fb7c3d2e74 100644 (file)
     FoodOrange: 1
     FoodAmbrosiaVulgaris: 1
 
+# Muffins
+
+- type: microwaveMealRecipe
+  id: RecipeMuffin
+  name: muffin recipe
+  result: FoodBakedMuffin
+  time: 15
+  solids:
+    FoodPlateMuffinTin: 1
+    FoodDoughSlice: 1
+  reagents:
+    Sugar: 10
+
+- type: microwaveMealRecipe
+  id: RecipeMuffinChocolate
+  name: chocolate muffin recipe
+  result: FoodBakedMuffinChocolate
+  time: 15
+  solids:
+    FoodPlateMuffinTin: 1
+    FoodDoughSlice: 1
+    FoodSnackChocolateBar: 1
+  reagents:
+    Sugar: 10
+
+- type: microwaveMealRecipe
+  id: RecipeMuffinBerry
+  name: berry muffin recipe
+  result: FoodBakedMuffinBerry
+  time: 15
+  solids:
+    FoodPlateMuffinTin: 1
+    FoodDoughSlice: 1
+    FoodBerries: 1
+  reagents:
+    Sugar: 10
+
+- type: microwaveMealRecipe
+  id: RecipeMuffinBanana
+  name: banana muffin recipe
+  result: FoodBakedMuffinBanana
+  time: 15
+  solids:
+    FoodPlateMuffinTin: 1
+    FoodDoughSlice: 1
+    FoodBanana: 1
+  reagents:
+    Sugar: 10
+
+- type: microwaveMealRecipe
+  id: RecipeMuffinCherry
+  name: cherry muffin recipe
+  result: FoodBakedMuffinCherry
+  time: 15
+  solids:
+    FoodPlateMuffinTin: 1
+    FoodDoughSlice: 1
+    FoodCherry: 3
+  reagents:
+    Sugar: 10
+
 # NOT ACTUAL FOOD
 
 - type: microwaveMealRecipe
index 577d8299dab09ae890024de415e901d31dad4be7..c28a93701587ee67b064ba37f5069de06a313147 100644 (file)
   materials:
     Steel: 100
 
+- type: latheRecipe
+  id: FoodPlateMuffinTin
+  result: FoodPlateMuffinTin
+  completetime: 0.4
+  materials:
+    Steel: 50
+
 - type: latheRecipe
   id: FoodKebabSkewer
   result: FoodKebabSkewer
index c6c435a5c9f8b5c3cb08fe350cd90e84dd0ec95d..ea2e3dc6eae0ee72f196cb7f6a24a8c2b34e75fb 100644 (file)
@@ -1,7 +1,7 @@
 {
     "version": 1,
     "license": "CC-BY-SA-3.0",
-    "copyright": "Taken from tgstation and modified by Swept at https://github.com/tgstation/tgstation/commit/40d75cc340c63582fb66ce15bf75a36115f6bdaa. Chevrechaud created by Github user deathride58, croissant taken from tgstation at commit https://github.com/tgstation/tgstation/commit/7ffd61b6fa6a6183daa8900f9a490f46f7a81955",
+    "copyright": "Taken from tgstation and modified by Swept at https://github.com/tgstation/tgstation/commit/40d75cc340c63582fb66ce15bf75a36115f6bdaa. Chevrechaud created by Github user deathride58, croissant taken from tgstation at commit https://github.com/tgstation/tgstation/commit/7ffd61b6fa6a6183daa8900f9a490f46f7a81955. Muffin-chocolate, muffin-banana and muffin-cherry sprites modified from the original muffin sprite by RumiTiger",
     "size": {
         "x": 32,
         "y": 32
         },
         {
             "name": "croissant"
+        },
+        {
+           "name": "muffin-chocolate"
+        },
+        {
+           "name": "muffin-banana"
         }
     ]
 }
-
diff --git a/Resources/Textures/Objects/Consumable/Food/Baked/misc.rsi/muffin-banana.png b/Resources/Textures/Objects/Consumable/Food/Baked/misc.rsi/muffin-banana.png
new file mode 100644 (file)
index 0000000..51ab05e
Binary files /dev/null and b/Resources/Textures/Objects/Consumable/Food/Baked/misc.rsi/muffin-banana.png differ
index 9e0165e8121f4ef42b231cfa6169f6b531d76893..161da9acb430d928b6ef97426bd06b288562ea4f 100644 (file)
Binary files a/Resources/Textures/Objects/Consumable/Food/Baked/misc.rsi/muffin-berry.png and b/Resources/Textures/Objects/Consumable/Food/Baked/misc.rsi/muffin-berry.png differ
index 47df3223683e6bf499e1702d6fdf1cee5570a02b..282c7c421d2e4e39e4b3af2d075f346a04339f99 100644 (file)
Binary files a/Resources/Textures/Objects/Consumable/Food/Baked/misc.rsi/muffin-cherry.png and b/Resources/Textures/Objects/Consumable/Food/Baked/misc.rsi/muffin-cherry.png differ
diff --git a/Resources/Textures/Objects/Consumable/Food/Baked/misc.rsi/muffin-chocolate.png b/Resources/Textures/Objects/Consumable/Food/Baked/misc.rsi/muffin-chocolate.png
new file mode 100644 (file)
index 0000000..7ca1a22
Binary files /dev/null and b/Resources/Textures/Objects/Consumable/Food/Baked/misc.rsi/muffin-chocolate.png differ
index d0cfd1021687fcf3e3a6b075bb15dc754c41ff3b..e1d8337bc9d10aaaac575b79eabeb6514436692c 100644 (file)
@@ -1,7 +1,7 @@
 {
   "version": 1,
   "license": "CC-BY-SA-3.0",
-  "copyright": "Taken from tgstation and modified by Swept at https://github.com/tgstation/tgstation/commit/40d75cc340c63582fb66ce15bf75a36115f6bdaa",
+  "copyright": "Taken from tgstation and modified by Swept at https://github.com/tgstation/tgstation/commit/40d75cc340c63582fb66ce15bf75a36115f6bdaa. Muffin-tin sprite modified from the original tin sprite by RumiTiger",
   "size": {
     "x": 32,
     "y": 32
@@ -33,6 +33,9 @@
     },
     {
       "name": "tray-trash"
+    },
+    {
+        "name": "muffin-tin"
     }
   ]
 }
diff --git a/Resources/Textures/Objects/Consumable/Food/plates.rsi/muffin-tin.png b/Resources/Textures/Objects/Consumable/Food/plates.rsi/muffin-tin.png
new file mode 100644 (file)
index 0000000..32ac737
Binary files /dev/null and b/Resources/Textures/Objects/Consumable/Food/plates.rsi/muffin-tin.png differ