Add bagels (#24799)

Bagels are made by using a rolling pin on a dough slice to make a dough rope, then cooking the dough rope in a microwave for 5 seconds. There are two types: a normal bagel and a poppyseed bagel. The poppyseed bagel requires a poppy and a dough rope and has a small (5u) quantity of Bicaridine inside of it in addition to its nutriment.

Co-authored-by: Kevin Zheng <kevinz5000@gmail.com>
This commit is contained in:
DrEnzyme
2024-06-24 07:33:12 +12:00
committed by GitHub
parent 08352151e3
commit 659010993f
10 changed files with 120 additions and 0 deletions

View File

@@ -13,6 +13,8 @@
state: plain
- type: RandomSpawner
prototypes:
- FoodBagel
- FoodBagelPoppy
- FoodBurgerJelly
- FoodBurgerCarp
- FoodBurgerTofu

View File

@@ -0,0 +1,49 @@
# When adding new food also add to random spawner located in Resources\Prototypes\Entities\Markers\Spawners\Random\Food_Drinks\food_baked_whole.yml & food_baked_single.yml
# Base
- type: entity
id: FoodBagelBase
parent: FoodInjectableBase
abstract: true
description: A delicious bagel.
components:
- type: FlavorProfile
flavors:
- bread
- type: Sprite
sprite: Objects/Consumable/Food/Baked/bagel.rsi
state: bagel
- type: SolutionContainerManager
solutions:
food:
maxVol: 7
reagents:
- ReagentId: Nutriment
Quantity: 5
- type: entity
id: FoodBagel
name: bagel
parent: FoodBagelBase
- type: entity
id: FoodBagelPoppy
parent: FoodBagelBase
name: poppy seed bagel
description: A delicious bagel topped with bicaridine-infused poppy seeds.
components:
- type: FlavorProfile
flavors:
- bread
- medicine
- type: Sprite
state: bagel-poppy
- type: SolutionContainerManager
solutions:
food:
maxVol: 12
reagents:
- ReagentId: Bicaridine
Quantity: 5
- ReagentId: Nutriment
Quantity: 5

View File

@@ -305,6 +305,24 @@
- type: Tag
tags:
- Slice
- type: Construction
graph: DoughRope
node: start
- type: entity
name: dough rope
parent: FoodBakingBase
id: FoodDoughRope
description: A thin noodle of dough. Can be cooked into a bagel.
components:
- type: FlavorProfile
flavors:
- dough
- type: Sprite
state: dough-rope
- type: Construction
graph: DoughRope
node: rolled
- type: entity
name: cornmeal dough

View File

@@ -0,0 +1,13 @@
- type: constructionGraph
id: DoughRope
start: start
graph:
- node: start
entity: FoodDoughSlice
edges:
- to: rolled
steps:
- tool: Rolling
doAfter: 1
- node: rolled
entity: FoodDoughRope

View File

@@ -6,6 +6,24 @@
solids:
FoodDoughSlice: 1 # one third of a standard bread dough recipe
#Bagels
- type: microwaveMealRecipe
id: RecipeBagel
name: bagel recipe
result: FoodBagel
time: 5
solids:
FoodDoughRope: 1 # created by rolling a dough slice.
- type: microwaveMealRecipe
id: RecipeBagelPoppy
name: poppyseed bagel recipe
result: FoodBagelPoppy
time: 5
solids:
FoodDoughRope: 1
PoppySeeds: 1
#Burgers
- type: microwaveMealRecipe

Binary file not shown.

After

Width:  |  Height:  |  Size: 389 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 468 B

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Bagel and BagelPoppy were created by DrEnzyme",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "bagel"
},
{
"name": "bagel-poppy"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

View File

@@ -52,6 +52,9 @@
{
"name": "dough-pie"
},
{
"name": "dough-rope"
},
{
"name": "dough-flat"
},