# 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: FoodPieBase
  components:
  - type: Item
    size: Normal
  - type: FlavorProfile
    flavors:
      - sweet
  - type: Sprite
    sprite: Objects/Consumable/Food/Baked/pie.rsi
  - type: Solution
    solution:
      reagents: #Most of these are this with slight variations, not worth changing until we have the rest of the reagents
      - ReagentId: Nutriment
        Quantity: 64
      - ReagentId: Vitamin
        Quantity: 8
      - ReagentId: Sugar
        Quantity: 8
  - 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: 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: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 8
      - ReagentId: Vitamin
        Quantity: 1
      - ReagentId: Sugar
        Quantity: 1
  - type: Tag
    tags:
    - Pie
    - Slice

# Pie

- type: entity
  name: apple pie
  parent: [FoodPieBase, BaseSlicingRefinableFood]
  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: ToolRefinable
    refineResult:
    - id: FoodPieAppleSlice
      amount: 8
  - 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, BaseSlicingRefinableFood]
  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: ToolRefinable
    refineResult:
    - id: FoodPieBaklavaSlice
      amount: 8

- 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, BaseSlicingRefinableFood]
  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: ToolRefinable
    refineResult:
    - id: FoodPieBananaCreamSlice
      amount: 8

- 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, BaseSlicingRefinableFood]
  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: ToolRefinable
    refineResult:
    - id: FoodPieClafoutisSlice
      amount: 8
  - 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, BaseSlicingRefinableFood]
  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: ToolRefinable
    refineResult:
    - id: FoodPieCherrySlice
      amount: 8
  - 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, BaseSlicingRefinableFood]
  id: FoodPieMeat
  description: An old barber recipe, very delicious!
  components:
  - type: FlavorProfile
    flavors:
      - meaty
  - type: Sprite
    layers:
    - state: tin
    - state: meat
  - type: ToolRefinable
    refineResult:
    - id: FoodPieMeatSlice
      amount: 8
  - 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, BaseSlicingRefinableFood]
  id: FoodPiePumpkin
  description: Someone should turn this into a latte!
  components:
  - type: FlavorProfile
    flavors:
      - sweet
      - pumpkin
  - type: Sprite
    layers:
    - state: tin
    - state: pumpkin
  - type: ToolRefinable
    refineResult:
    - id: FoodPiePumpkinSlice
      amount: 8
  - 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, BaseSlicingRefinableFood]
  id: FoodPieXeno
  components:
  - type: FlavorProfile
    flavors:
      - meaty
      - acid
  - type: Sprite
    layers:
    - state: tin
    - state: xeno
  - type: ToolRefinable
    refineResult:
    - id: FoodPieXenoSlice
      amount: 8
  - 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, BaseSlicingRefinableFood]
  id: FoodPieFrosty
  description: Tastes like blue and cold.
  components:
  - type: FlavorProfile
    flavors:
      - cold
  - type: Sprite
    layers:
    - state: tin
    - state: frosty
  - type: ToolRefinable
    refineResult:
    - id: FoodPieFrostySlice
      amount: 8

- 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, BaseSlicingRefinableFood]
  id: FoodTartMime
  description: "\"      \""
  components:
  - type: FlavorProfile
    flavors:
      - nothing
  - type: Sprite
    state: mime
  - type: Item
    heldPrefix: mime
  - type: ToolRefinable
    refineResult:
    - id: FoodTartMimeSlice
      amount: 8

- 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.

- type: entity
  name: amanita pie
  parent: [FoodPieBase, BaseSlicingRefinableFood]
  id: FoodPieAmanita
  description: Sweet and tasty poison pie.
  components:
  - type: FlavorProfile
    flavors:
      - mushroom
  - type: Sprite
    layers:
    - state: tin
    - state: amanita
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 64
      - ReagentId: Vitamin
        Quantity: 8
      - ReagentId: Sugar
        Quantity: 8
      - ReagentId: Amatoxin
        Quantity: 10
  - type: ToolRefinable
    refineResult:
    - id: FoodPieAmanitaSlice
      amount: 8

- type: entity
  name: slice of amanita pie
  parent: FoodPieSliceBase
  id: FoodPieAmanitaSlice
  components:
  - type: FlavorProfile
    flavors:
      - mushroom
  - type: Sprite
    layers:
    - state: plain-slice
    - state: alpha-slice-filling
      color: red
  - type: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 8
      - ReagentId: Vitamin
        Quantity: 1
      - ReagentId: Sugar
        Quantity: 1
      - ReagentId: Amatoxin
        Quantity: 1.25
# Tastes like pie, mushrooms.

- type: entity
  name: plump pie
  parent: [FoodPieBase, BaseSlicingRefinableFood]
  id: FoodPiePlump
  description: I bet you love stuff made out of plump helmets!
  components:
  - type: FlavorProfile
    flavors:
      - mushroom
  - type: Sprite
    layers:
    - state: tin
    - state: plump
  - type: ToolRefinable
    refineResult:
    - id: FoodPiePlumpSlice
      amount: 8

- type: entity
  name: slice of plump pie
  parent: FoodPieSliceBase
  id: FoodPiePlumpSlice
  components:
  - type: FlavorProfile
    flavors:
      - mushroom
  - type: Sprite
    layers:
    - state: plain-slice
    - state: alpha-slice-filling
      color: purple
# 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: 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: Solution
    solution:
      reagents:
      - ReagentId: Nutriment
        Quantity: 64
      - ReagentId: Vitamin
        Quantity: 8
      - ReagentId: Sugar
        Quantity: 8
      - ReagentId: Theobromine
        Quantity: 8
# Tastes like tart, dark chocolate.
