]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Grilled Cheese Sandwich Entity and Recipe (#33807)
authorSmith <182301147+AgentSmithRadio@users.noreply.github.com>
Thu, 13 Feb 2025 08:00:38 +0000 (03:00 -0500)
committerGitHub <noreply@github.com>
Thu, 13 Feb 2025 08:00:38 +0000 (00:00 -0800)
* Grilled Cheese Prototype

* Typos

* Removed butter reagent to test flavour changes.

* Flavour corrections.

* CC-BY-SA-3.0 attribution

* Fixing meta.json

* I lost an hour of my life to a missing comma in meta.json

* Merge Conflict Rebase and Test Fixing

* Cook time to 10 seconds.

* Sandwich nutritional balance

* Grilled cheese sprite fixed, found the actual original source for copyright.

Resources/Prototypes/Entities/Markers/Spawners/Random/Food_Drinks/food_baked_single.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/misc.yml
Resources/Prototypes/Recipes/Cooking/meal_recipes.yml
Resources/Textures/Objects/Consumable/Food/Baked/misc.rsi/grilled-cheese.png [new file with mode: 0644]
Resources/Textures/Objects/Consumable/Food/Baked/misc.rsi/meta.json

index fa2856763950b1e7a2c85fc8d228a27336d843f8..052886eadff613be2a1b82088242a3d11250c415 100644 (file)
@@ -55,6 +55,7 @@
       - FoodBakedCookieOatmeal
       - FoodBakedCookieRaisin
       - FoodBakedCookieSugar
+      - FoodBakedGrilledCheeseSandwich
       - FoodBakedNugget
       - FoodBakedPancake
       - FoodBakedPancakeBb
index db8c186856e3aa0b6250724335c2f3217d49930b..3999f4c155541960b6e26f31d41209599db99159 100644 (file)
           Quantity: 2
         - ReagentId: Vitamin
           Quantity: 1
+
+- type: entity         
+  name: grilled cheese sandwich
+  parent: FoodBakedBase
+  id: FoodBakedGrilledCheeseSandwich
+  description: Bread and cheese toasted with butter, perfect for a chilly day in space.
+  components:
+  - type: FlavorProfile
+    flavors:
+      - cheesy
+      - bread
+  - type: Sprite
+    sprite: Objects/Consumable/Food/Baked/misc.rsi
+    state: grilled-cheese
+  - type: SolutionContainerManager
+    solutions:
+      food:
+        maxVol: 21
+        reagents:
+        - ReagentId: Nutriment
+          Quantity: 11
+        - ReagentId: Butter
+          Quantity: 2
+        - ReagentId: Vitamin
+          Quantity: 3
index a33f78cac26887ceeb9b22cf4d6690298c4362cc..8e2e97a746e4225af656126eade7b836ff4e9d41 100644 (file)
   time: 5
   solids:
     FoodMeatAnomaly: 1
+
+- type: microwaveMealRecipe
+  id: RecipeGrilledCheeseSandwich
+  name: grilled cheese sandwich recipe
+  result: FoodBakedGrilledCheeseSandwich
+  time: 10
+  solids:
+    FoodBreadPlainSlice: 2
+    FoodCheeseSlice: 1
+    FoodButterSlice: 1
+
diff --git a/Resources/Textures/Objects/Consumable/Food/Baked/misc.rsi/grilled-cheese.png b/Resources/Textures/Objects/Consumable/Food/Baked/misc.rsi/grilled-cheese.png
new file mode 100644 (file)
index 0000000..172c16c
Binary files /dev/null and b/Resources/Textures/Objects/Consumable/Food/Baked/misc.rsi/grilled-cheese.png differ
index 7afea96765bede95b65a4d7745c2fcb54d1e6414..f9e3aef18c2a68dde8c352c7a85341810d87addc 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. Muffin-chocolate, muffin-banana and muffin-cherry sprites modified from the original muffin sprite by RumiTiger. Chevrechaud-cotton and croissant-cotton created by JuneSzalkowska",
+    "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. Chevrechaud-cotton and croissant-cotton created by JuneSzalkowska. Grilled-cheese created by AdipemDragon, take from tgstation at commit https://github.com/tgstation/tgstation/commit/716c6db05ab9df28fee81ceb7cf2b6c25f21176d.",
     "size": {
         "x": 32,
         "y": 32
             "name": "croissant-cotton"
         },
         {
-           "name": "muffin-chocolate"
+            "name": "muffin-chocolate"
         },
         {
-           "name": "muffin-banana"
+            "name": "muffin-banana"
+        },
+        {
+            "name": "grilled-cheese"
         }
     ]
 }