# 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
  abstract: true
  parent: [SolutionNormal, FoodInjectableBase]
  id: FoodBreadBase
  components:
  - type: Item
    size: Normal
  - type: FlavorProfile
    flavors:
      - bread
  - type: Sprite
    sprite: Objects/Consumable/Food/Baked/bread.rsi
  - type: Tag
    tags:
    - Bread
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 80

- type: entity
  parent: [SolutionVeryTiny, FoodBreadBase]
  id: FoodBreadSliceBase
  abstract: true
  components:
  - type: Item
    size: Tiny
  - type: FlavorProfile
    flavors:
      - bread
  - type: Tag
    tags:
    - Bread
    - Slice
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 10 # 1/8 of a loaf of bread

# Custom Bread Example

- type: entity
  name: volcanic loaf
  parent: FoodBreadBase
  id: FoodBreadVolcanic
  description: A dark loaf. Resembles pumice.
  components:
  - type: Sprite
    layers:
    - state: alpha
      color: "#281415"
    - state: alpha-filling
      color: "#FF613F"
  - type: SliceableFood
    count: 8
    slice: FoodBreadVolcanicSlice

- type: entity
  name: volcanic slice
  parent: FoodBreadSliceBase
  id: FoodBreadVolcanicSlice
  description: A slice of dark loaf. Resembles pumice.
  components:
  - type: Sprite
    layers:
    - state: alpha-slice
      color: "#281415"
    - state: alpha-slice-filling
      color: "#FF613F"

# Bread

- type: entity
  name: banana bread
  parent: FoodBreadBase
  id: FoodBreadBanana
  description: A heavenly and filling treat.
  components:
  - type: FlavorProfile
    flavors:
      - banana
      - bread
  - type: Sprite
    layers:
    - state: banana
  - type: SliceableFood
    count: 8
    slice: FoodBreadBananaSlice
  - type: Tag
    tags:
    - Fruit
    - Bread
# Tastes like bread, banana, nut.

- type: entity
  name: banana bread slice
  parent: FoodBreadSliceBase
  id: FoodBreadBananaSlice
  description: A slice of delicious banana bread.
  components:
  - type: FlavorProfile
    flavors:
      - banana
      - bread
  - type: Sprite
    layers:
    - state: banana-slice
  - type: Tag
    tags:
    - Fruit
    - Bread
    - Slice

- type: entity
  parent: FoodBreadBase
  id: FoodBreadCotton
  name: cotton bread
  description: Bread, but for moff.
  components:
  - type: FlavorProfile
    flavors:
    - cotton
    - bread
  - type: Edible
    requiresSpecialDigestion: true
  - type: Sprite
    layers:
    - state: cotton
  - type: SliceableFood
    count: 8
    slice: FoodBreadCottonSlice
  - type: Tag
    tags:
    - ClothMade
    - Bread
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 40
      - ReagentId: Fiber
        Quantity: 40

- type: entity
  name: cotton bread slice
  parent: FoodBreadSliceBase
  id: FoodBreadCottonSlice
  description: A slice of (maybe) delicious cotton bread.
  components:
  - type: FlavorProfile
    flavors:
    - cotton
    - bread
  - type: Edible
    requiresSpecialDigestion: true
  - type: Sprite
    layers:
    - state: cotton-slice
  - type: Tag
    tags:
    - ClothMade
    - Bread
    - Slice
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 5
      - ReagentId: Fiber
        Quantity: 5

- type: entity
  name: cornbread
  parent: FoodBreadBase
  id: FoodBreadCorn
  description: Some good down-home country-style, rootin'-tootin', revolver-shootin', dad-gum yeehaw cornbread.
  components:
  - type: FlavorProfile
    flavors:
      - bread
      - corn
  - type: Sprite
    layers:
    - state: cornbread
  - type: SliceableFood
    count: 8
    slice: FoodBreadCornSlice
# Tastes like bread, banana, nut.

- type: entity
  name: cornbread slice
  parent: FoodBreadSliceBase
  id: FoodBreadCornSlice
  description: A slice of cornbread.
  components:
  - type: FlavorProfile
    flavors:
      - bread
      - corn
  - type: Sprite
    layers:
    - state: cornbread-slice

- type: entity
  name: cream cheese bread
  parent: FoodBreadBase
  id: FoodBreadCreamcheese
  description: Yum yum yum!
  components:
  - type: FlavorProfile
    flavors:
      - cheesy
      - creamy
      - bread
  - type: Sprite
    layers:
    - state: creamcheese
  - type: SliceableFood
    count: 8
    slice: FoodBreadCreamcheeseSlice
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 100
      - ReagentId: Vitamin
        Quantity: 4
# Tastes like bread, cheese.

- type: entity
  name: cream cheese bread slice
  parent: FoodBreadSliceBase
  id: FoodBreadCreamcheeseSlice
  description: A slice of yum!
  components:
  - type: FlavorProfile
    flavors:
      - cheesy
      - creamy
      - bread
  - type: Sprite
    layers:
    - state: creamcheese-slice
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 12.5
      - ReagentId: Vitamin
        Quantity: 0.5

- type: entity
  name: meat bread
  parent: FoodBreadBase
  id: FoodBreadMeat
  description: The culinary base of every self-respecting eloquen/tg/entleman.
  components:
  - type: FlavorProfile
    flavors:
      - meaty
      - bread
  - type: Sprite
    layers:
    - state: meat
  - type: SliceableFood
    count: 8
    slice: FoodBreadMeatSlice
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 104
      - ReagentId: Protein
        Quantity: 4
      - ReagentId: Vitamin
        Quantity: 4
  - type: Tag
    tags:
    - Meat
    - Bread
# Tastes like bread, meat.

- type: entity
  name: meat bread slice
  parent: FoodBreadSliceBase
  id: FoodBreadMeatSlice
  description: A slice of delicious meatbread.
  components:
  - type: FlavorProfile
    flavors:
      - meaty
      - bread
  - type: Sprite
    layers:
    - state: meat-slice
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 13
      - ReagentId: Protein
        Quantity: 0.5
      - ReagentId: Vitamin
        Quantity: 0.5
  - type: Tag
    tags:
    - Meat
    - Bread
    - Slice

- type: entity
  name: mimana bread
  parent: FoodBreadBase
  id: FoodBreadMimana
  description: Best eaten in silence.
  components:
  - type: FlavorProfile
    flavors:
      - nothing
      - bread
  - type: Sprite
    layers:
    - state: mimana
  - type: SliceableFood
    count: 8
    slice: FoodBreadMimanaSlice
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 96
      - ReagentId: Vitamin
        Quantity: 4
      - ReagentId: MuteToxin
        Quantity: 10
# Tastes like bread, cheese.

- type: entity
  name: mimana bread slice
  parent: FoodBreadSliceBase
  id: FoodBreadMimanaSlice
  description: A slice of silence!
  components:
  - type: FlavorProfile
    flavors:
      - nothing
      - bread
  - type: Sprite
    layers:
    - state: mimana-slice
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 12
      - ReagentId: Vitamin
        Quantity: 0.5
      - ReagentId: MuteToxin
        Quantity: 1.25

- type: entity
  name: bread
  parent: FoodBreadBase
  id: FoodBreadPlain
  description: Some plain old earthen bread.
  components:
  - type: Sprite
    layers:
    - state: plain
  - type: SliceableFood
    count: 8
    slice: FoodBreadPlainSlice

- type: entity
  name: bread slice
  parent: FoodBreadSliceBase
  id: FoodBreadPlainSlice
  description: A slice of home.
  components:
  - type: Sprite
    layers:
    - state: plain-slice

- type: entity
  name: sausage bread
  parent: FoodBreadBase
  id: FoodBreadSausage
  description: Dont think too much about it.
  components:
  - type: FlavorProfile
    flavors:
      - meaty
      - bread
  - type: Sprite
    layers:
    - state: sausage
  - type: SliceableFood
    count: 8
    slice: FoodBreadSausageSlice
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 100
      - ReagentId: Protein
        Quantity: 10
  - type: Tag
    tags:
    - Meat
    - Bread

- type: entity
  name: sausage bread slice
  parent: FoodBreadSliceBase
  id: FoodBreadSausageSlice
  description: Dont think too much about it.
  components:
  - type: FlavorProfile
    flavors:
      - meaty
      - bread
  - type: Sprite
    layers:
    - state: sausage-slice
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 12.5
      - ReagentId: Protein
        Quantity: 1.25
  - type: Tag
    tags:
    - Meat
    - Bread
    - Slice

- type: entity
  name: spider meat bread
  parent: FoodBreadBase
  id: FoodBreadMeatSpider
  description: Reassuringly green meatloaf made from spider meat.
  components:
  - type: FlavorProfile
    flavors:
      - cobwebs
      - bread
  - type: Sprite
    layers:
    - state: spidermeat
  - type: SliceableFood
    count: 8
    slice: FoodBreadMeatSpiderSlice
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 104
      - ReagentId: Protein
        Quantity: 4
      - ReagentId: Vitamin
        Quantity: 4
  - type: Tag
    tags:
    - Meat
    - Bread
# Tastes like bread, cobwebs.

- type: entity
  name: spider meat bread slice
  parent: FoodBreadSliceBase
  id: FoodBreadMeatSpiderSlice
  description: A slice of meatloaf made from an animal that most likely still wants you dead.
  components:
  - type: FlavorProfile
    flavors:
      - cobwebs
      - bread
  - type: Sprite
    layers:
    - state: spidermeat-slice
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 13
      - ReagentId: Protein
        Quantity: 0.5
      - ReagentId: Vitamin
        Quantity: 0.5
  - type: Tag
    tags:
    - Meat
    - Bread
    - Slice

- type: entity
  name: tofu bread
  parent: FoodBreadBase
  id: FoodBreadTofu
  description: Like meatbread but for vegetarians. Brag to your crewmates about how much better it is.
  components:
  - type: FlavorProfile
    flavors:
      - tofu
      - bread
  - type: Sprite
    layers:
    - state: tofu
  - type: SliceableFood
    count: 8
    slice: FoodBreadTofuSlice
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 90
      - ReagentId: Protein
        Quantity: 10
# Tastes like bread, tofu.

- type: entity
  name: tofu bread slice
  parent: FoodBreadSliceBase
  id: FoodBreadTofuSlice
  description: A slice of delicious tofu bread.
  components:
  - type: FlavorProfile
    flavors:
      - tofu
      - bread
  - type: Sprite
    layers:
    - state: tofu-slice
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 11.25
      - ReagentId: Protein
        Quantity: 1.25

- type: entity
  name: xeno meat bread
  parent: FoodBreadBase
  id: FoodBreadMeatXeno
  description: A fitting, and filling, end to xeno scum.
  components:
  - type: FlavorProfile
    flavors:
      - acid
      - bread
  - type: Sprite
    layers:
    - state: xenomeat
  - type: SliceableFood
    count: 8
    slice: FoodBreadMeatXenoSlice
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 104
      - ReagentId: Protein
        Quantity: 4
      - ReagentId: Vitamin
        Quantity: 4
  - type: Tag
    tags:
    - Meat
    - Bread
# Tastes like bread, acid.

- type: entity
  name: xeno meat bread slice
  parent: FoodBreadSliceBase
  id: FoodBreadMeatXenoSlice
  description: A slice of xeno scum.
  components:
  - type: FlavorProfile
    flavors:
      - acid
      - bread
  - type: Sprite
    layers:
    - state: xenomeat-slice
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 13
      - ReagentId: Protein
        Quantity: 0.5
      - ReagentId: Vitamin
        Quantity: 0.5
  - type: Tag
    tags:
    - Meat
    - Bread
    - Slice

# Other than bread/slices

- type: entity
  parent: FoodBreadBase
  id: FoodBreadBaguette
  name: baguette
  description: Bon appétit!
  components:
  - type: Sprite
    state: baguette
  - type: SliceableFood
    count: 12
    slice: FoodBreadBaguetteSlice
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 78
      - ReagentId: Vitamin
        Quantity: 3
      - ReagentId: TableSalt
        Quantity: 3
      - ReagentId: Blackpepper
        Quantity: 3
  - type: Clothing
    slots: [ BELT ]
    equippedPrefix: baguette
    quickEquip: false
  - type: Item
    shape:
    - 0,0,0,3
    storedRotation: -45
    inhandVisuals:
      left:
      - state: baguette-inhand-left
      right:
      - state: baguette-inhand-right
  - type: MeleeWeapon
    wideAnimationRotation: -120
    damage:
      types:
        Blunt: 1 # bonk
# Tastes like France.

- type: entity
  parent: FoodBreadBaguette
  id: FoodBreadBaguetteCotton
  name: cotton baguette
  description: Bon azzétit!
  components:
  - type: Sprite
    state: baguette-cotton
  - type: SliceableFood
    slice: FoodBreadBaguetteCottonSlice
  - type: Edible
    requiresSpecialDigestion: true
  - type: Tag
    tags:
    - Bread
    - ClothMade
  - type: Clothing
    equippedPrefix: baguette-cotton
  - type: Item
    shape:
    - 0,0,0,3
    storedRotation: -45
    inhandVisuals:
      left:
      - state: baguette-cotton-inhand-left
      right:
      - state: baguette-cotton-inhand-right
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 39
      - ReagentId: Fiber
        Quantity: 39
      - ReagentId: Vitamin
        Quantity: 0.6
      - ReagentId: TableSalt
        Quantity: 0.6
      - ReagentId: Blackpepper
        Quantity: 0.6

- type: entity
  name: crostini
  parent: FoodBreadSliceBase
  id: FoodBreadBaguetteSlice
  description: Bon ap-pétite!
  components:
  - type: Sprite
    state: crostini
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 6.5
      - ReagentId: Vitamin
        Quantity: 0.05
      - ReagentId: TableSalt
        Quantity: 0.05
      - ReagentId: Blackpepper
        Quantity: 0.05

- type: entity
  parent: FoodBreadBaguetteSlice
  id: FoodBreadBaguetteCottonSlice
  name: cotton crostini
  description: Bon az-zétite!
  components:
  - type: Sprite
    state: crostini-cotton
  - type: Edible
    requiresSpecialDigestion: true
  - type: Tag
    tags:
    - Bread
    - Slice
    - ClothMade
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 3.25
      - ReagentId: Fiber
        Quantity: 3.25
      - ReagentId: Vitamin
        Quantity: 0.05
      - ReagentId: TableSalt
        Quantity: 0.05
      - ReagentId: Blackpepper
        Quantity: 0.05

- type: entity
  name: buttered toast
  parent: FoodBreadSliceBase
  id: FoodBreadButteredToast
  description: Crunchy.
  components:
  - type: FlavorProfile
    flavors:
      - butter
      - bread
  - type: Sprite
    state: buttered-toast
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 10
      - ReagentId: Butter
        Quantity: 2.5
# Tastes like bread, butter.

- type: entity
  name: french toast
  parent: [SolutionTiny, FoodBreadSliceBase]
  id: FoodBreadFrenchToast
  description: A slice of bread soaked in a beaten egg mixture.
  components:
  - type: FlavorProfile
    flavors:
      - syrupy
      - bread
  - type: Sprite
    state: french-toast
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 10
      - ReagentId: EggCooked
        Quantity: 6
      - ReagentId: Protein
        Quantity: 6
      - ReagentId: Vitamin
        Quantity: 3
# Tastes like bread, butter.

- type: entity
  name: garlic bread
  parent: [SolutionTiny, FoodBreadSliceBase]
  id: FoodBreadGarlicSlice
  description: Alas, it is limited.
  components:
  - type: FlavorProfile
    flavors:
      - bread
      - garlic
  - type: Sprite
    layers:
    - state: garlic-slice
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 16
      - ReagentId: Vitamin
        Quantity: 4
      - ReagentId: Allicin
        Quantity: 4
      - ReagentId: Butter
        Quantity: 2.5
# Tastes like garlic, Italy.

- type: entity
  name: jelly toast
  parent: [SolutionTiny, FoodBreadSliceBase]
  id: FoodBreadJellySlice
  description: As if science are gonna give up their slimes for toast!
  components:
  - type: FlavorProfile
    flavors:
      - bread
      - slimy
  - type: Sprite
    layers:
    - state: jelly-toast
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 15
      - ReagentId: Vitamin
        Quantity: 5
# Tastes like garlic, Italy.

- type: entity
  name: moldy bread slice
  parent: FoodBreadSliceBase
  id: FoodBreadMoldySlice
  description: Entire stations have been ripped apart over arguing whether this is still good to eat.
  components:
  - type: Sprite
    layers:
    - state: moldy-slice
  - type: Tag
    tags:
    - Trash
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 2.5
      - ReagentId: Mold
        Quantity: 10
# Tastes like decaying fungus.

- type: entity
  name: two slice
  parent: [SolutionTiny, FoodBreadSliceBase]
  id: FoodBreadTwoSlice
  description: Classy.
  components:
  - type: Sprite
    layers:
    - state: two-slice
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 20
      - ReagentId: Wine
        Quantity: 5
# Tastes like decaying fungus.

- type: entity
  name: bread dog
  id: MobBreadDog
  parent: [SolutionLarge, FoodBase]
  description: It's a bread. It's a dog. It's a... breaddog?
  components:
  - type: FlavorProfile
    flavors:
    - meaty
    - bread
  - type: SliceableFood
    count: 8
    slice: FoodBreadSausageSlice
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 105
      - ReagentId: Vitamin
        Quantity: 10
      - ReagentId: Protein
        Quantity: 10
      - ReagentId: UncookedAnimalProteins
        Quantity: 25
  - type: Sprite
    noRot: true
    drawdepth: Mobs
    sprite: Mobs/Pets/breaddog.rsi
    layers:
    - map: ["enum.DamageStateVisualLayers.Base"]
      state: base
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeCircle
          radius: 0.35
        density: 50
        mask:
        - MobMask
        layer:
        - MobLayer
  - type: RotationVisuals
    defaultRotation: 0
    horizontalRotation: 0
  - type: Item
    size: Ginormous
  - type: GhostRole
    prob: 1
    name: ghost-role-information-BreadDog-name
    allowMovement: true
    description: ghost-role-information-BreadDog-description
    rules: ghost-role-information-nonantagonist-rules
    raffle:
      settings: short
  - type: GhostTakeoverAvailable
  - type: BarkAccent
  - type: Speech
    speechSounds: Dog
    speechVerb: SmallMob
  - type: MovementSpeedModifier
    baseWalkSpeed : 5
    baseSprintSpeed : 3
  - type: Tag
    tags:
    - VimPilot
    - DoorBumpOpener
    - Bread
    - Meat
  - type: CanEscapeInventory
    baseResistTime: 2
  - type: Puller
    needsHands: false
  - type: Examiner
  - type: DoAfter
  - type: CombatMode
  - type: MeleeWeapon
    soundHit:
      path: /Audio/Animals/dog_bark1.ogg
    hidden: true
    damage:
      types:
        Blunt: 1

- type: entity
  parent: [SolutionVeryTiny, FoodBreadSliceBase]
  id: FoodBreadNutriBatard
  name: nutri-bâtard
  description: bon 'pétite!
  components:
  - type: Sprite
    sprite: Objects/Consumable/Food/Baked/bread.rsi
    state: batard
  - type: Item
    size: Small
    storedOffset: -1,0
    heldPrefix: batard
  - type: Tag
    tags:
    - ReptilianFood
  - type: FlavorProfile
    flavors:
    - nutribrick
    - peppery
    - salty
    - bread

- type: entity
  parent: FoodBreadNutriBatard
  id: FoodBreadCottonNutriBatard
  name: cotton nutri-bâtard
  description: bon 'pétite!
  components:
  - type: Edible
    requiresSpecialDigestion: true
  - type: Sprite
    sprite: Objects/Consumable/Food/Baked/bread.rsi
    state: batard-cotton
  - type: FlavorProfile
    flavors:
    - peppery
    - salty
    - bread
  - type: Tag
    tags:
    - ClothMade
  - type: Item
    size: Small
    storedOffset: -1,0
    heldPrefix: batard-cotton
  - type: Solution
    solution:
      reagents:
      - ReagentId: Fiber
        Quantity: 10
