# When adding new food also add to random spawner located in Resources\Prototypes\Entities\Markers\Spawners\Random\Food_Drinks\food_snack.yml
# Base

- type: entity
  parent: FoodBase
  id: FoodSnackBase
  abstract: true
  components:
  - type: Food
  - type: Tag
    tags:
      - FoodSnack
  - type: Sprite
    sprite: Objects/Consumable/Food/snacks.rsi
  - type: SolutionContainerManager
    solutions:
      food:
        maxVol: 30 # Room for extra condiments
        reagents:
        - ReagentId: Nutriment
          Quantity: 10
  - type: Item
    sprite: Objects/Consumable/Food/snacks.rsi
    heldPrefix: packet
    size: Tiny
# Snacks

# "Snacks" means food in a packet. Down the line this stuff can have multiple
# reagents and shit for healing or different effects.

- type: entity
  name: boritos
  parent: FoodSnackBase
  id: FoodSnackBoritos
  description: Crunchy, salty tortilla chips. You could probably make nachos with these.
  components:
  - type: FlavorProfile
    flavors:
      - boritos
  - type: Sprite
    state: boritos
  - type: Item
    heldPrefix: boritos
  - type: Food
    trash:
    - FoodPacketBoritosTrash

- type: entity
  name: C&Ds
  parent: FoodSnackBase
  id: FoodSnackCnDs
  description: Legally, we cannot say that these won't melt in your hands.
  components:
  - type: FlavorProfile
    flavors:
      - chocolate
  - type: Sprite
    state: cnds
  - type: Item
    heldPrefix: cnds
  - type: Food
    trash:
    - FoodPacketCnDsTrash

- type: entity
  name: cheesie honkers
  parent: FoodSnackBase
  id: FoodSnackCheesie
  description: Bite sized cheesie snacks that will honk all over your mouth.
  components:
  - type: FlavorProfile
    flavors:
      - cheesy
      - funny
  - type: Sprite
    state: cheesiehonkers
  - type: Item
    heldPrefix: cheesiehonkers
  - type: Food
    trash:
    - FoodPacketCheesieTrash

- type: entity
  name: chips
  parent: FoodSnackBase
  id: FoodSnackChips
  description: Commander Riker's What-The-Crisps.
  components:
  - type: FlavorProfile
    flavors:
      - oily
      - salty
      - potatoes
  - type: Sprite
    state: chips
  - type: Item
    heldPrefix: chips
  - type: Food
    trash:
    - FoodPacketChipsTrash

- type: entity
  name: chocolate bar
  parent: BaseItem
  id: FoodSnackChocolate
  description: Tastes like cardboard.
  components:
  - type: Sprite
    sprite: Objects/Consumable/Food/snacks.rsi
    state: chocolatebar
  - type: Item
    heldPrefix: chocolatebar
    size: Tiny
  - type: Tag
    tags:
      - FoodSnack
  - type: SpawnItemsOnUse
    items:
      - id: FoodPacketChocolateTrash
      - id: FoodSnackChocolateBar
    sound:
      path: /Audio/Effects/unwrap.ogg

- type: entity
  name: chocolate bar
  parent: FoodSnackBase
  id: FoodSnackChocolateBar
  description: Tastes like cardboard.
  components:
  - type: FlavorProfile
    flavors:
      - chocolate
  - type: Sprite
    state: chocolatebar-open
  - type: Item
    heldPrefix: chocolatebar-open
  - type: Tag
    tags:
      - FoodSnack
      - ReptilianFood
  - type: SolutionContainerManager
    solutions:
      food:
        maxVol: 30
        reagents:
        - ReagentId: Nutriment
          Quantity: 10
        - ReagentId: Theobromine
          Quantity: 3
        - ReagentId: CocoaPowder
          Quantity: 1

- type: entity
  name: energy bar
  parent: FoodSnackBase
  id: FoodSnackEnergy
  description: An energy bar with a lot of punch.
  components:
  - type: Sprite
    state: energybar
  - type: Item
    heldPrefix: energybar
  - type: SpawnItemsOnUse
    items:
      - id: FoodPacketEnergyTrash
      - id: FoodSnackEnergyBar
    sound:
      path: /Audio/Effects/unwrap.ogg

- type: entity
  name: energy bar
  parent: FoodSnackBase
  id: FoodSnackEnergyBar
  description: An energy bar with a lot of punch.
  components:
  - type: FlavorProfile
    flavors:
      - nutty
      - oats
      - fiber
      - sweet
  - type: Sprite
    state: energybar-open
  - type: Item
    heldPrefix: energybar-open

- type: entity
  name: Sweetie's pistachios
  parent: FoodSnackBase
  id: FoodSnackPistachios
  description: Sweeties's name-brand pistachios. Probably won't give you diseases. Probably.
  components:
  - type: FlavorProfile
    flavors:
      - salty
      - nutty
  - type: Sprite
    state: pistachio
  - type: Item
    heldPrefix: pistachio
  - type: Food
    trash:
    - FoodPacketPistachioTrash
  - type: Tag
    tags:
    - Fruit # Seed of a fruit, you can yell at me
    - Pistachios # Added tag due to CrateFoodGetMore interaction with BountyFruit.

- type: entity
  name: popcorn
  parent: FoodSnackBase
  id: FoodSnackPopcorn
  description: Grown on an unknown planet, by an unknown farmer, popped by some jerk on a space station.
  components:
  - type: FlavorProfile
    flavors:
      - corn
      - salt
      - butter
  - type: Sprite
    state: popcorn
  - type: Item
    heldPrefix: popcorn
  - type: Food
    trash:
    - FoodPacketPopcornTrash

- type: entity
  name: 4no raisins
  parent: FoodSnackBase
  id: FoodSnackRaisins
  description: Best raisins in the universe. Not sure why.
  components:
  - type: FlavorProfile
    flavors:
      - raisins
  - type: Sprite
    state: raisins
  - type: Item
    heldPrefix: raisins
  - type: Food
    trash:
    - FoodPacketRaisinsTrash
  - type: Tag
    tags:
    - Fruit

- type: entity
  name: bob's semki sunflower seeds
  parent: FoodSnackBase
  id: FoodSnackSemki
  description: Proudly produced by the Bob Bobson nutritional corporation. Perfect for spitting at people.
  components:
  - type: FlavorProfile
    flavors:
      - nutty
  - type: Sprite
    state: semki
  - type: Item
    heldPrefix: semki
  - type: Food
    trash:
    - FoodPacketSemkiTrash

- type: entity
  name: sus jerky
  parent: FoodSnackBase
  id: FoodSnackSus
  description: Something about this packet makes you feel incredibly uneasy. Jerky's good though.
  components:
  - type: FlavorProfile
    flavors:
      - susjerky
  - type: Sprite
    state: susjerky
  - type: Item
    heldPrefix: susjerky
  - type: Food
    trash:
    - FoodPacketSusTrash
  - type: Tag
    tags:
    - Meat

- type: entity
  name: syndi-cakes
  parent: FoodSnackBase
  id: FoodSnackSyndi
  description: An extremely moist snack cake that tastes just as good after being nuked.
  components:
  - type: FlavorProfile
    flavors:
      - syndicakes
  - type: Sprite
    state: syndicakes
  - type: Item
    heldPrefix: syndicakes
  - type: Food
    trash:
    - FoodPacketSyndiTrash

- type: entity
  parent: FoodSnackBase
  id: DrinkRamen
  name: cup ramen
  description: A cheap food with a taste that reminds you of your school years.
  components:
  - type: RefillableSolution
    solution: food
  - type: InjectableSolution
    solution: food
  - type: SolutionContainerManager
    solutions:
      food:
        maxVol: 50 #big cup
        reagents:
        - ReagentId: DryRamen
          Quantity: 30
        - ReagentId: Soysauce
          Quantity: 5
  - type: Sprite
    state: ramen
  - type: Food
    trash:
    - FoodPacketCupRamenTrash
  - type: Item
    heldPrefix: ramen

- type: entity
  parent: DrinkRamen
  id: DrinkHellRamen
  name: hell ramen
  description: Super spicy flavor!
  components:
  - type: SolutionContainerManager
    solutions:
      food:
        maxVol: 50
        reagents:
        - ReagentId: DryRamen
          Quantity: 30
        - ReagentId: CapsaicinOil
          Quantity: 5

- type: entity
  name: chow mein
  parent: FoodSnackBase
  id: FoodSnackChowMein
  description: A salty fried noodle snack. Looks like they forgot the vegetables.
  components:
  - type: FlavorProfile
    flavors:
      - cheapnoodles
      - salty
      - oily
  - type: Sprite
    state: chinese1
  - type: Item
    heldPrefix: chinese1
  - type: SolutionContainerManager
    solutions:
      food:
        maxVol: 30 # Room for extra condiments
        reagents:
        - ReagentId: Nutriment
          Quantity: 10
        - ReagentId: Soysauce
          Quantity: 2
  - type: Food
    trash:
    - FoodPacketChowMeinTrash

- type: entity
  name: dan dan noodles
  parent: FoodSnackBase
  id: FoodSnackDanDanNoodles
  description: A spicy Sichuan noodle snack. The chili oil slick pools on top.
  components:
  - type: FlavorProfile
    flavors:
      - cheapnoodles
      - oily
      - spicy
  - type: Sprite
    state: chinese2
  - type: Item
    heldPrefix: chinese2
  - type: SolutionContainerManager
    solutions:
      food:
        maxVol: 30 # Room for extra condiments
        reagents:
        - ReagentId: Nutriment
          Quantity: 10
        - ReagentId: CapsaicinOil
          Quantity: 2
        - ReagentId: Soysauce
          Quantity: 2
  - type: Food
    trash:
    - FoodPacketDanDanTrash

- type: entity
  name: fortune cookie
  parent: FoodSnackBase
  id: FoodSnackCookieFortune
  description: A boring cardboard tasting snack with a fortune inside. Surprise! You're boring too.
  components:
  - type: FlavorProfile
    flavors:
      - fortunecookie
  - type: Sprite
    state: cookie_fortune
  - type: SolutionContainerManager
    solutions:
      food:
        maxVol: 1
        reagents:
        - ReagentId: Nutriment
          Quantity: 1
  - type: Item
    sprite: Objects/Consumable/Food/snacks.rsi
    heldPrefix: cookie_fortune
    size: Tiny
  - type: Food
    trash:
    - FoodCookieFortune

- type: entity
  id: FoodSnackNutribrick
  parent: BaseItem
  name: nutribrick
  description: A carefully synthesized brick designed to contain the highest ratio of nutriment to volume. Tastes like shit.
  components:
  - type: Item
    size: Small
    heldPrefix: nutribrick
  - type: Tag
    tags:
      - FoodSnack
  - type: Sprite
    sprite: Objects/Consumable/Food/snacks.rsi
    state: nutribrick
  - type: SpawnItemsOnUse
    items:
      - id: FoodPacketMRETrash
      - id: FoodSnackNutribrickOpen
    sound:
      path: /Audio/Effects/unwrap.ogg

- type: entity
  id: FoodSnackNutribrickOpen
  parent: FoodSnackBase
  name: nutribrick
  description: A carefully synthesized brick designed to contain the highest ratio of nutriment to volume. Tastes like shit.
  components:
  - type: FlavorProfile
    flavors:
      - nutribrick
  - type: Item
    size: Small
    heldPrefix: nutribrick-open
  - type: Tag
    tags:
      - ReptilianFood
  - type: Sprite
    state: nutribrick-open
  - type: Food
  - type: SolutionContainerManager
    solutions:
      food:
        maxVol: 25
        reagents:
        - ReagentId: Nutriment
          Quantity: 20

- type: entity
  id: FoodSnackMREBrownie
  parent: BaseItem
  name: brownie
  description: A precisely mixed brownie, made to withstand blunt trauma and harsh conditions. Tastes like shit.
  components:
  - type: Sprite
    sprite: Objects/Consumable/Food/snacks.rsi
    state: mre-brownie
  - type: Item
    heldPrefix: mre-brownie
  - type: Tag
    tags:
      - FoodSnack
  - type: SpawnItemsOnUse
    items:
      - id: FoodPacketMRETrash
      - id: FoodSnackMREBrownieOpen
    sound:
      path: /Audio/Effects/unwrap.ogg

- type: entity
  id: FoodSnackMREBrownieOpen
  parent: FoodSnackBase
  name: brownie
  suffix: MRE
  description: A precisely mixed brownie, made to withstand blunt trauma and harsh conditions. Tastes like shit.
  components:
  - type: FlavorProfile
    flavors:
      - mrebrownie
  - type: Sprite
    state: mre-brownie-open
  - type: Item
    heldPrefix: mre-brownie-open
  - type: Food
  - type: SolutionContainerManager
    solutions:
      food:
        maxVol: 15
        reagents:
        - ReagentId: Nutriment
          Quantity: 10
        - ReagentId: Theobromine
          Quantity: 3

- type: entity
  name: swirl lollipop
  parent: FoodSnackBase
  id: FoodSnackSwirlLollipop
  description: A swirly circle of pure concentrated sugar. Who's the biggest kid on the playground now?
  components:
  - type: Sprite
    sprite: Objects/Consumable/Food/candy.rsi
    state: swirl_lollipop
  - type: Item
    sprite: Objects/Consumable/Food/candy.rsi
    heldPrefix: swirl_lollipop
    size: Small
  - type: Tag
    tags:
    - FoodSnack
    - ReptilianFood
  - type: SolutionContainerManager
    solutions:
      food:
        maxVol: 20 # Room for extra condiments
        reagents:
        - ReagentId: Sugar
          Quantity: 15
  - type: FlavorProfile
    flavors:
    - sweet
  - type: MeleeWeapon
    wideAnimationRotation: -135
    damage:
      types:
        Blunt: 2
    soundHit:
      collection: WeakHit

# Trash

- type: entity
  categories: [ HideSpawnMenu ]
  parent: BaseItem
  id: FoodPacketTrash
  description: This is rubbish.
  abstract: true
  components:
  - type: Sprite
    sprite: Objects/Consumable/Food/snacks.rsi
  - type: Item
    sprite: Objects/Consumable/Food/snacks.rsi
    size: Tiny
  - type: Tag
    tags:
    - Trash
  - type: PhysicalComposition
    materialComposition:
      Steel: 100
  - type: SpaceGarbage
  - type: StaticPrice
    price: 0
  - type: SolutionContainerManager
    solutions:
      food:
        maxVol: 10
        reagents:
        - ReagentId: ToxinTrash
          Quantity: 5
  - type: Food
    requiresSpecialDigestion: true

- type: entity
  categories: [ HideSpawnMenu ]
  parent: FoodPacketTrash
  id: FoodPacketBoritosTrash
  name: boritos bag
  components:
  - type: Sprite
    state: boritos-trash
  - type: Item
    inhandVisuals:
      left:
      - state: trash-inhand-left
        color: "#4F54BE"
      right:
      - state: trash-inhand-right
        color: "#4F54BE"

- type: entity
  categories: [ HideSpawnMenu ]
  parent: FoodPacketTrash
  id: FoodPacketCnDsTrash
  name: C&Ds bag
  components:
  - type: Sprite
    state: cnds-trash
  - type: Item
    inhandVisuals:
      left:
      - state: trash-inhand-left
        color: "#915145"
      right:
      - state: trash-inhand-right
        color: "#915145"

- type: entity
  categories: [ HideSpawnMenu ]
  parent: FoodPacketTrash
  id: FoodPacketCheesieTrash
  name: cheesie honkers
  components:
  - type: Sprite
    state: cheesiehonkers-trash
  - type: Item
    inhandVisuals:
      left:
      - state: trash-inhand-left
        color: "#FFCC33"
      right:
      - state: trash-inhand-right
        color: "#FFCC33"

- type: entity
  categories: [ HideSpawnMenu ]
  parent: FoodPacketTrash
  id: FoodPacketChipsTrash
  name: chips
  components:
  - type: Sprite
    state: chips-trash
  - type: Item
    inhandVisuals:
      left:
      - state: trash-inhand-left
        color: "#008000"
      right:
      - state: trash-inhand-right
        color: "#008000"

- type: entity
  categories: [ HideSpawnMenu ]
  parent: FoodPacketTrash
  id: FoodPacketChocolateTrash
  name: chocolate wrapper
  components:
  - type: Sprite
    state: chocolatebar-trash
  - type: Item
    inhandVisuals:
      left:
      - state: trash-inhand-left
        color: "#A20000"
      right:
      - state: trash-inhand-right
        color: "#A20000"

- type: entity
  categories: [ HideSpawnMenu ]
  parent: FoodPacketTrash
  id: FoodPacketEnergyTrash
  name: energybar wrapper
  components:
  - type: Sprite
    state: energybar-trash
  - type: Item
    inhandVisuals:
      left:
      - state: trash-inhand-left
        color: "#9AFF1F"
      right:
      - state: trash-inhand-right
        color: "#9AFF1F"

- type: entity
  categories: [ HideSpawnMenu ]
  parent: FoodPacketTrash
  id: FoodPacketPistachioTrash
  name: pistachios packet
  components:
  - type: Sprite
    state: pistachio-trash
  - type: Item
    inhandVisuals:
      left:
      - state: trash-inhand-left
        color: "#99B334"
      right:
      - state: trash-inhand-right
        color: "#99B334"

- type: entity
  categories: [ HideSpawnMenu ]
  parent: FoodPacketTrash
  id: FoodPacketPopcornTrash
  name: popcorn box
  components:
  - type: Sprite
    state: popcorn-trash
  - type: Item
    inhandVisuals:
      left:
      - state: trash-inhand-left
        color: "#5193FF"
      right:
      - state: trash-inhand-right
        color: "#5193FF"

- type: entity
  categories: [ HideSpawnMenu ]
  parent: FoodPacketTrash
  id: FoodPacketRaisinsTrash
  name: 4no raisins
  components:
  - type: Sprite
    state: raisins-trash
  - type: Item
    inhandVisuals:
      left:
      - state: trash-inhand-left
        color: "#FF0033"
      right:
      - state: trash-inhand-right
        color: "#FF0033"

- type: entity
  categories: [ HideSpawnMenu ]
  parent: FoodPacketTrash
  id: FoodPacketSemkiTrash
  name: semki packet
  components:
  - type: Sprite
    state: semki-trash
  - type: Item
    inhandVisuals:
      left:
      - state: trash-inhand-left
        color: "#C2821E"
      right:
      - state: trash-inhand-right
        color: "#C2821E"

- type: entity
  categories: [ HideSpawnMenu ]
  parent: FoodPacketTrash
  id: FoodPacketSusTrash
  name: sus jerky
  components:
  - type: Sprite
    state: susjerky-trash
  - type: Item
    inhandVisuals:
      left:
      - state: trash-inhand-left
        color: "#990033"
      right:
      - state: trash-inhand-right
        color: "#990033"

- type: entity
  categories: [ HideSpawnMenu ]
  parent: FoodPacketTrash
  id: FoodPacketSyndiTrash
  name: syndi-cakes box
  components:
  - type: Sprite
    state: syndicakes-trash
  - type: Item
    inhandVisuals:
      left:
      - state: trash-inhand-left
        color: "#FFFFFF"
      right:
      - state: trash-inhand-right
        color: "#FFFFFF"

- type: entity
  categories: [ HideSpawnMenu ]
  parent: FoodPacketTrash
  id: FoodPacketCupRamenTrash
  name: empty cup ramen
  components:
  - type: Sprite
    state: ramen
  - type: Item
    heldPrefix: ramen

- type: entity
  categories: [ HideSpawnMenu ]
  parent: FoodPacketTrash
  id: FoodPacketChowMeinTrash
  name: empty chow mein box
  components:
  - type: Sprite
    state: chinese1
  - type: Item
    heldPrefix: chinese1

- type: entity
  categories: [ HideSpawnMenu ]
  parent: FoodPacketTrash
  id: FoodPacketDanDanTrash
  name: empty dan dan box
  components:
  - type: Sprite
    state: chinese2
  - type: Item
    heldPrefix: chinese2

- type: entity
  categories: [ HideSpawnMenu ]
  parent: FoodPacketTrash
  id: FoodCookieFortune
  name: cookie fortune
  description: "The fortune reads: The end is near...and it's all your fault."
  components:
  - type: Sprite
    state: fortune
  - type: Item
  - type: RandomMetadata
    descriptionSegments: [DescriptionsCookieFortune]

- type: entity
  categories: [ HideSpawnMenu ]
  parent: FoodPacketTrash
  id: FoodPacketMRETrash
  name: MRE wrapper
  description: A general purpose wrapper for a variety of military food goods.
  components:
  - type: Food
    requiresSpecialDigestion: true
  - type: SolutionContainerManager
    solutions:
      food:
        maxVol: 45
        reagents:
        - ReagentId: Fiber
          Quantity: 40
  - type: Tag
    tags:
    - ClothMade
    - Trash
  - type: Sprite
    state: mre-wrapper
  - type: Item
    inhandVisuals:
      left:
      - state: trash-inhand-left
        color: "#8B7356"
      right:
      - state: trash-inhand-right
        color: "#8B7356"
