]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
New Recipes: Breakfasts (#37279)
authorDisp-Dev <91643998+Disp-Dev@users.noreply.github.com>
Mon, 9 Jun 2025 22:33:02 +0000 (06:33 +0800)
committerGitHub <noreply@github.com>
Mon, 9 Jun 2025 22:33:02 +0000 (00:33 +0200)
* Adds full english and american breakfasts and respective recipes

* sprite tweak and added random spawner

* reagent rebalance

* reagent re-rebalance

* spawner ID fix

* ACTUALLY actually fixed the spawner, also description changes

* reagent re-re-rebalance

* spawner fix so the linter stops screaming at me

* different check failed kekw

* trailing whitespace fix attempt #1

* identation fix? i think?

* indetation fix part 2, also vox cant eat this anymore

* more yaml fixes

---------

Co-authored-by: DispenserDev <mariousjoaquin@gmail.com>
Resources/Prototypes/Entities/Markers/Spawners/Random/Food_Drinks/food_breakfast.yml [new file with mode: 0644]
Resources/Prototypes/Entities/Objects/Consumable/Food/breakfast.yml [new file with mode: 0644]
Resources/Prototypes/Recipes/Cooking/meal_recipes.yml
Resources/Textures/Objects/Consumable/Food/breakfast.rsi/fullamerican.png [new file with mode: 0644]
Resources/Textures/Objects/Consumable/Food/breakfast.rsi/fullenglish.png [new file with mode: 0644]
Resources/Textures/Objects/Consumable/Food/breakfast.rsi/meta.json [new file with mode: 0644]

diff --git a/Resources/Prototypes/Entities/Markers/Spawners/Random/Food_Drinks/food_breakfast.yml b/Resources/Prototypes/Entities/Markers/Spawners/Random/Food_Drinks/food_breakfast.yml
new file mode 100644 (file)
index 0000000..e4213ad
--- /dev/null
@@ -0,0 +1,18 @@
+- type: entity
+  id: RandomFoodBreakfast
+  name: random food spawner
+  suffix: Meal
+  parent: MarkerBase
+  placement:
+    mode: AlignTileAny
+  components:
+  - type: Sprite
+    layers:
+      - sprite: Objects/Consumable/Food/breakfast.rsi
+        state: fullamerican
+  - type: RandomSpawner
+    prototypes:
+      - FoodBreakfastAmerican
+      - FoodBreakfastEnglish
+    chance: 0.8
+    offset: 0.0
diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/breakfast.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/breakfast.yml
new file mode 100644 (file)
index 0000000..01df50b
--- /dev/null
@@ -0,0 +1,50 @@
+# When adding new food also add to random spawner located in Resources\Prototypes\Entities\Markers\Spawners\Random\Food_Drinks\food_breakfast.yml
+
+# Base
+
+- type: entity
+  parent: FoodInjectableBase
+  id: FoodBreakfastBase
+  abstract: true
+  description: A full breakfast, rise and shine!
+  components:
+  - type: Item
+    storedRotation: -90
+  - type: Food
+  - type: Sprite
+    sprite: Objects/Consumable/Food/breakfast.rsi
+  - type: SolutionContainerManager
+    solutions:
+      food:
+        maxVol: 60
+        reagents:
+        - ReagentId: Nutriment
+          Quantity: 40
+        - ReagentId: Vitamin
+          Quantity: 10
+
+# Breakfasts
+
+- type: entity
+  name: full american breakfast
+  parent: FoodBreakfastBase
+  id: FoodBreakfastAmerican
+  description: A huge plate of protein and carbs, more likely to put you back in bed than get you out of it. Oh, what fresh hell is this?
+  components:
+  - type: FlavorProfile
+    flavors:
+      - food
+  - type: Sprite
+    state: fullamerican
+
+- type: entity
+  name: full english breakfast
+  parent: FoodBreakfastBase
+  id: FoodBreakfastEnglish
+  description: A huge plate of protein and carbs, more likely to put you back in bed than get you out of it. Don't mention the war!
+  components:
+  - type: FlavorProfile
+    flavors:
+      - food
+  - type: Sprite
+    state: fullenglish
index 68162ed647ac2695d5a26b34f5d959df8977597a..13462b86da7250c4c789cfeb732f1a73f41b5ebd 100644 (file)
     FoodBreadCottonSlice: 2
     FoodCheeseSlice: 1
     FoodButterSlice: 1
+
+- type: microwaveMealRecipe
+  id: RecipeBreakfastAmerican
+  name: full american breakfast recipe
+  result: FoodBreakfastAmerican
+  time: 30
+  group: Savory
+  reagents:
+    Egg: 12
+  solids:
+    FoodMeatBacon: 2
+    FoodPotato: 1
+    FoodBakedPancake: 2
+
+- type: microwaveMealRecipe
+  id: RecipeBreakfastEnglish
+  name: full english breakfast recipe
+  result: FoodBreakfastEnglish
+  time: 30
+  group: Savory
+  reagents:
+    Egg: 12
+  solids:
+    FoodMeatBacon: 1
+    FoodMeat: 1
+    FoodTomato: 1
+    FoodSoybeans: 2 # replace these with green beans once those become a thing
diff --git a/Resources/Textures/Objects/Consumable/Food/breakfast.rsi/fullamerican.png b/Resources/Textures/Objects/Consumable/Food/breakfast.rsi/fullamerican.png
new file mode 100644 (file)
index 0000000..2176fc3
Binary files /dev/null and b/Resources/Textures/Objects/Consumable/Food/breakfast.rsi/fullamerican.png differ
diff --git a/Resources/Textures/Objects/Consumable/Food/breakfast.rsi/fullenglish.png b/Resources/Textures/Objects/Consumable/Food/breakfast.rsi/fullenglish.png
new file mode 100644 (file)
index 0000000..a7235bb
Binary files /dev/null and b/Resources/Textures/Objects/Consumable/Food/breakfast.rsi/fullenglish.png differ
diff --git a/Resources/Textures/Objects/Consumable/Food/breakfast.rsi/meta.json b/Resources/Textures/Objects/Consumable/Food/breakfast.rsi/meta.json
new file mode 100644 (file)
index 0000000..4a28cc5
--- /dev/null
@@ -0,0 +1,17 @@
+{
+    "version": 1,
+    "license": "CC-BY-SA-3.0",
+       "copyright": "Sprites created by DispenserG0inUp",
+       "size": {
+    "x": 32,
+    "y": 32
+       },
+       "states": [
+    {
+        "name": "fullamerican"
+    },
+    {
+        "name": "fullenglish"
+    }
+  ]
+}