# 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: FoodInjectableBase
  id: FoodPieBase
  components:
  - type: Item
    shape:
    - 0,0,1,0
  - type: FlavorProfile
    flavors:
      - sweet
  - type: Sprite
    sprite: Objects/Consumable/Food/Baked/pie.rsi
  - type: SolutionContainerManager
    solutions:
      food:
        maxVol: 50
        reagents: #Most of these are this with slight variations, not worth changing until we have the rest of the reagents
        - ReagentId: Nutriment
          Quantity: 30
        - ReagentId: Vitamin
          Quantity: 14
        - ReagentId: Sugar
          Quantity: 5
  - type: Edible #It's actually possible now to have a pie stored in a tin rather than spawning trash when you finish eating it. But right now I'm just cleaning up.
    trash:
    - FoodPlateTin
  - type: SliceableFood
    count: 4
  - type: Tag
    tags:
    - Pie

- type: entity
  parent: FoodInjectableBase # Not sliceable
  id: FoodPieSliceBase
  abstract: true
  description: A slice of pie. Tasty!
  components:
  - type: Item
    size: Tiny
  - type: FlavorProfile
    flavors:
      - sweet
  - type: Sprite
    sprite: Objects/Consumable/Food/Baked/pie.rsi
  - type: SolutionContainerManager
    solutions:
      food:
        maxVol: 7
        reagents:
        - ReagentId: Nutriment
          Quantity: 7.5
        - ReagentId: Vitamin
          Quantity: 3.5
        - ReagentId: Sugar
          Quantity: 1.25
  - type: Tag
    tags:
    - Pie
    - Slice

# Pie

- type: entity
  name: apple pie
  parent: FoodPieBase
  id: FoodPieApple
  description: A pie containing sweet, sweet love... or apple.
  components:
  - type: FlavorProfile
    flavors:
      - sweet
      - apple
  - type: Sprite
    layers:
    - state: tin
    - state: apple
  - type: SliceableFood
    slice: FoodPieAppleSlice
  - type: Tag
    tags:
    - Fruit
    - Pie

- type: entity
  name: slice of apple pie
  parent: FoodPieSliceBase
  id: FoodPieAppleSlice
  components:
  - type: FlavorProfile
    flavors:
      - sweet
      - apple
  - type: Sprite
    layers:
    - state: plain-slice
    - state: alpha-slice-filling
      color: orange
  - type: Tag
    tags:
    - Fruit
    - Pie
    - Slice
# Tastes like pie, apple.

- type: entity
  name: baklava
  parent: FoodPieBase
  id: FoodPieBaklava
  description: A delightful healthy snack made of nut layers with thin bread.
  components:
  - type: FlavorProfile
    flavors:
      - sweet
      - nutty
  - type: Sprite
    layers:
    - state: tin
    - state: baklava
  - type: SliceableFood
    slice: FoodPieBaklavaSlice

- type: entity
  name: slice of baklava
  parent: FoodPieSliceBase
  id: FoodPieBaklavaSlice
  description: A portion of a delightful healthy snack made of nut layers with thin bread.
  components:
  - type: FlavorProfile
    flavors:
      - sweet
      - nutty
  - type: Sprite
    state: baklava-slice
# Tastes like pie, nuts.

- type: entity
  name: banana cream pie
  parent: FoodPieBase
  id: FoodPieBananaCream
  description: Just like back home, on clown planet! HONK!
  components:
  - type: FlavorProfile
    flavors:
      - sweet
      - banana
      - creamy
  - type: Sprite
    layers:
    - state: tin
    - state: plain
  - type: CreamPie
  - type: ThrowingAngle
    angle: 180
  - type: LandAtCursor
  - type: ContainerContainer
    containers:
      payloadSlot: !type:ContainerSlot
  - type: ItemSlots
    slots:
      payloadSlot:
        whitelist:
          components:
          - TimerTrigger
        insertSound:
          path: /Audio/Weapons/Guns/Empty/empty.ogg
        ejectSound:
          path: /Audio/Weapons/Guns/Empty/empty.ogg
        swap: false
        disableEject: true
  - type: Tag
    tags:
    - Fruit
    - Pie
  - type: SliceableFood
    slice: FoodPieBananaCreamSlice

- type: entity
  name: slice of banana cream pie
  parent: FoodPieSliceBase
  id: FoodPieBananaCreamSlice
  description: Just like back home, on clown planet! HONK!
  components:
  - type: FlavorProfile
    flavors:
      - sweet
      - banana
      - creamy
  - type: Sprite
    state: bananapie-slice
  - type: Tag
    tags:
    - Fruit
    - Pie
    - Slice
# Tastes like pie, cream, banana.

- type: entity
  name: berry clafoutis
  parent: FoodPieBase
  id: FoodPieClafoutis
  description: No black birds, this is a good sign.
  components:
  - type: FlavorProfile
    flavors:
      - sweet
      - berry
  - type: Sprite
    layers:
    - state: tin
      color: pink
    - state: berryclafoutis
  - type: SliceableFood
    slice: FoodPieClafoutisSlice
  - type: Tag
    tags:
    - Fruit
    - Pie

- type: entity
  name: slice of berry clafoutis
  parent: FoodPieSliceBase
  id: FoodPieClafoutisSlice
  components:
  - type: FlavorProfile
    flavors:
      - sweet
      - berry
  - type: Sprite
    layers:
    - state: plain-slice
    - state: alpha-slice-filling
      color: pink
  - type: Tag
    tags:
    - Fruit
    - Pie
    - Slice
# Tastes like pie, blackberries.

- type: entity
  name: cherry pie
  parent: FoodPieBase
  id: FoodPieCherry
  description: Tastes good enough to make a grown man cry.
  components:
  - type: FlavorProfile
    flavors:
      - sweet
  - type: Sprite
    layers:
    - state: tin
    - state: cherry
  - type: SliceableFood
    slice: FoodPieCherrySlice
  - type: Tag
    tags:
    - Fruit
    - Pie

- type: entity
  name: slice of cherry pie
  parent: FoodPieSliceBase
  id: FoodPieCherrySlice
  components:
  - type: FlavorProfile
    flavors:
      - sweet
  - type: Sprite
    layers:
    - state: plain-slice
    - state: alpha-slice-filling
      color: red
  - type: Tag
    tags:
    - Fruit
    - Pie
    - Slice
# Tastes like pie, cherries.

- type: entity
  name: meat pie
  parent: FoodPieBase
  id: FoodPieMeat
  description: An old barber recipe, very delicious!
  components:
  - type: FlavorProfile
    flavors:
      - meaty
  - type: Sprite
    layers:
    - state: tin
    - state: meat
  - type: SliceableFood
    slice: FoodPieMeatSlice
  - type: Tag
    tags:
    - Meat
    - Pie

- type: entity
  name: slice of meat pie
  parent: FoodPieSliceBase
  id: FoodPieMeatSlice
  components:
  - type: FlavorProfile
    flavors:
      - meaty
  - type: Sprite
    layers:
    - state: plain-slice
    - state: alpha-slice-filling
      color: brown
  - type: Tag
    tags:
    - Meat
    - Pie
    - Slice
# Tastes like pie, meat.

- type: entity
  name: pumpkin pie
  parent: FoodPieBase
  id: FoodPiePumpkin
  description: Someone should turn this into a latte!
  components:
  - type: FlavorProfile
    flavors:
      - sweet
      - pumpkin
  - type: Sprite
    layers:
    - state: tin
    - state: pumpkin
  - type: SliceableFood
    slice: FoodPiePumpkinSlice
  - type: Tag
    tags:
    - Pie

- type: entity
  name: slice of pumpkin pie
  parent: FoodPieSliceBase
  id: FoodPiePumpkinSlice
  components:
  - type: FlavorProfile
    flavors:
      - sweet
      - pumpkin
  - type: Sprite
    layers:
    - state: pumpkin-slice
  - type: Tag
    tags:
    - Pie
    - Slice

- type: entity
  name: xeno pie
  parent: FoodPieBase
  id: FoodPieXeno
  components:
  - type: FlavorProfile
    flavors:
      - meaty
      - acid
  - type: Sprite
    layers:
    - state: tin
    - state: xeno
  - type: SliceableFood
    slice: FoodPieXenoSlice
  - type: Tag
    tags:
    - Meat
    - Pie

- type: entity
  name: slice of xeno pie
  parent: FoodPieSliceBase
  id: FoodPieXenoSlice
  components:
  - type: FlavorProfile
    flavors:
      - meaty
      - acid
  - type: Sprite
    layers:
    - state: plain-slice
    - state: alpha-slice-filling
      color: green
  - type: Tag
    tags:
    - Meat
    - Pie
    - Slice
# Tastes like pie, meat, acid.

- type: entity
  name: frosty pie
  parent: FoodPieBase
  id: FoodPieFrosty
  description: Tastes like blue and cold.
  components:
  - type: FlavorProfile
    flavors:
      - cold
  - type: Sprite
    layers:
    - state: tin
    - state: frosty
  - type: SliceableFood
    slice: FoodPieFrostySlice

- type: entity
  name: slice of frosty pie
  parent: FoodPieSliceBase
  id: FoodPieFrostySlice
  components:
  - type: FlavorProfile
    flavors:
      - cold
  - type: Sprite
    layers:
    - state: plain-slice
    - state: alpha-slice-filling
      color: blue
# Tastes like pie, mint.

- type: entity
  name: mime tart
  parent: FoodPieBase
  id: FoodTartMime
  description: "\"      \""
  components:
  - type: FlavorProfile
    flavors:
      - nothing
  - type: Sprite
    state: mime
  - type: Item
    heldPrefix: mime
  - type: SliceableFood
    slice: FoodTartMimeSlice

- type: entity
  name: slice of mime tart
  parent: FoodPieSliceBase
  id: FoodTartMimeSlice
  components:
  - type: FlavorProfile
    flavors:
      - nothing
  - type: Sprite
    layers:
    - state: mimetart-slice
  - type: Item
    heldPrefix: mime
# Tastes like nothing.

# No Slice

- type: entity
  name: amanita pie
  parent: FoodPieBase
  id: FoodPieAmanita
  description: Sweet and tasty poison pie.
  components:
  - type: FlavorProfile
    flavors:
      - mushroom
  - type: Sprite
    state: amanita
  - type: SolutionContainerManager
    solutions:
      food:
        maxVol: 17
        reagents:
        - ReagentId: Nutriment
          Quantity: 6
        - ReagentId: Amatoxin
          Quantity: 3
        - ReagentId: Vitamin
          Quantity: 4
# Tastes like pie, mushrooms.

- type: entity
  name: plump pie
  parent: FoodPieBase
  id: FoodPiePlump
  description: I bet you love stuff made out of plump helmets!
  components:
  - type: FlavorProfile
    flavors:
      - mushroom
  - type: Sprite
    state: plump
# Tastes like pie, mushrooms.

# Tart

- type: entity
  name: grape tart
  parent: FoodPieBase
  id: FoodTartGrape
  description: A tasty dessert that reminds you of the wine you didn't make.
  components:
  - type: FlavorProfile
    flavors:
      - sweet
  - type: Sprite
    state: grape
  - type: SolutionContainerManager
    solutions:
      food:
        maxVol: 30
        reagents:
        - ReagentId: Nutriment
          Quantity: 15
        - ReagentId: Vitamin
          Quantity: 5
        - ReagentId: Sugar
          Quantity: 5
  - type: Tag
    tags:
    - Fruit
    - Pie
# Tastes like tart, grape.

- type: entity
  name: golden apple streusel tart
  parent: FoodPieBase
  id: FoodTartGapple
  description: A tasty dessert that won't make it through a metal detector.
  components:
  - type: FlavorProfile
    flavors:
      - apple
  - type: Sprite
    state: gapple
  - type: Tag
    tags:
    - Fruit
    - Pie
# Tastes like tart, apple, expensive metal.

- type: entity
  name: chocolate lava tart
  parent: FoodPieBase
  id: FoodTartCoco
  description: A tasty dessert made of chocolate, with a liquid core.
  components:
  - type: FlavorProfile
    flavors:
      - chocolate
  - type: Sprite
    state: cocolava
  - type: SolutionContainerManager
    solutions:
      food:
        maxVol: 35
        reagents:
        - ReagentId: Nutriment
          Quantity: 25
        - ReagentId: Theobromine
          Quantity: 2
# Tastes like tart, dark chocolate.
