# When adding new drinks also add to random spawner located in Resources\Prototypes\Entities\Markers\Spawners\Random\Food_Drinks\drinks_soda.yml
- type: entity
  abstract: true
  parent: [ DrinkBaseMaterialMetal, SolutionSmall, DrinkBase, DrinkBaseOpenable, DrinkVisualsOpenable ]
  id: DrinkCanBase
  components:
  - type: Solution
    solution:
      maxVol: 40 # Cans are about 330ml which translates to about 40u
  - type: SolutionManager
    solutions:
    - SolutionCanComposite
  - type: SolutionTransfer
    canChangeTransferAmount: true
    maxTransferAmount: 15
  - type: Extractable
    grindableSolutionName: composite
  - type: FitsInDispenser
    solution: drink
  - type: Tool
    qualities:
    - Rolling
    speedModifier: 0.25 # its small so takes longer to roll the entire dough flat
  - type: SpaceGarbage
  - type: TrashOnSolutionEmpty
    solution: drink
  - type: PhysicalComposition
    materialComposition:
      Steel: 50 #reduce, reuse, recycle
  - type: Tag
    tags:
    - DrinkCan

# When adding new drinks also add to random spawner located in Resources\Prototypes\Entities\Markers\Spawners\Random\Food_Drinks\drinks_soda.yml
- type: entity
  abstract: true
  parent: DrinkCanBase
  id: DrinkCanBaseFull
  suffix: Full # :)

- type: entity
  parent: SolutionComposite
  id: SolutionCanComposite
  categories: [ HideSpawnMenu ]
  components:
  - type: Solution
    solution:
      maxVol: 5
      reagents: # 5u -> 1/2 steel sheet (10u)
      - ReagentId: Aluminium # Fun fact: soda can makeup is approx. 75% aluminium and 25% tin/iron.
        Quantity: 4
      - ReagentId: Iron
        Quantity: 1

## Filled

### Needed because empty cola is important to construction
- type: entity
  abstract: true
  parent: DrinkCanBase
  id: DrinkColaCanBase
  name: Space Cola can
  description: A sweet, carbonated soft drink.
  components:
  - type: Tag
    tags:
    - Cola
    - DrinkCan
  - type: Sprite
    sprite: Objects/Consumable/Drinks/cola.rsi
  - type: Item
    sprite: Objects/Consumable/Drinks/cola.rsi

- type: entity
  parent: DrinkColaCanBase
  id: DrinkColaCan
  suffix: Full
  components:
  - type: Solution
    solution:
      reagents:
      - ReagentId: Cola
        Quantity: 40

# created when taking apart an ied
- type: entity
  parent: [ DrinkBaseOpenableOpen, DrinkColaCanBase ]
  id: DrinkColaCanEmpty
  suffix: Empty
  components:
  - type: Tag
    tags:
    - Cola
    - DrinkCan
    - Trash

- type: entity
  parent: DrinkCanBaseFull
  id: DrinkIcedTeaCan
  name: iced tea can
  description: A refreshing can of iced tea.
  components:
  - type: Solution
    solution:
      reagents:
      - ReagentId: IcedTea
        Quantity: 40
  - type: Sprite
    sprite: Objects/Consumable/Drinks/ice_tea_can.rsi
  - type: Item
    sprite: Objects/Consumable/Drinks/ice_tea_can.rsi

- type: entity
  parent: DrinkCanBaseFull
  id: DrinkLemonLimeCan
  name: Smite can
  description: You wanted ORANGE. It gave you Lemon-Lime.
  components:
  - type: Solution
    solution:
      reagents:
      - ReagentId: LemonLime
        Quantity: 40
  - type: Sprite
    sprite: Objects/Consumable/Drinks/lemon-lime.rsi
  - type: Item
    sprite: Objects/Consumable/Drinks/lemon-lime.rsi

- type: entity
  parent: DrinkCanBaseFull
  id: DrinkLemonLimeCranberryCan
  name: Smite Cranberry can
  description: Y'all want a Smite Cranberry? Beloved by administrators everywhere. Drink in moderation. A limited run for the holidays!
  components:
  - type: Solution
    solution:
      reagents:
      - ReagentId: LemonLimeCranberry
        Quantity: 40
  - type: Sprite
    sprite: Objects/Consumable/Drinks/lemon-lime-cranberry.rsi
  - type: Item
    sprite: Objects/Consumable/Drinks/lemon-lime-cranberry.rsi
  - type: Fixtures
    fixtures:
      fix1:
        shape: !type:PhysShapeCircle
          radius: 0.2
        density: 5
        mask:
        - ItemMask
        restitution: 0.3
        friction: 0.2
      projectile:
        shape:
          !type:PhysShapeAabb
          bounds: "-0.1,-0.1,0.1,0.1"
        hard: false
        mask:
        - Impassable
        - BulletImpassable
  - type: EmbeddableProjectile
    sound: /Audio/Weapons/punch1.ogg
    embedOnThrow: True
  - type: ThrowingAngle
    angle: 0
  - type: LandAtCursor
  - type: Ammo
    muzzleFlash: null
  - type: Projectile
    deleteOnCollide: false
    onlyCollideWhenShot: true
    damage:
      types:
        Blunt: 1
        Cold: 2 # Refreshing

- type: entity
  parent: DrinkCanBaseFull
  id: DrinkGrapeCan
  name: grape soda can
  description: Sweetened drink with a grape flavor and a deep purple color.
  components:
  - type: Solution
    solution:
      reagents:
      - ReagentId: GrapeSoda
        Quantity: 40
  - type: Sprite
    sprite: Objects/Consumable/Drinks/purple_can.rsi
  - type: Item
    sprite: Objects/Consumable/Drinks/purple_can.rsi

- type: entity
  parent: DrinkCanBaseFull
  id: DrinkRootBeerCan
  name: root beer can
  description: Some of that tasty root beer goodness, now in a portable can!
  components:
  - type: Solution
    solution:
      reagents:
      - ReagentId: RootBeer
        Quantity: 40
  - type: Sprite
    sprite: Objects/Consumable/Drinks/rootbeer.rsi
  - type: Item
    sprite: Objects/Consumable/Drinks/rootbeer.rsi
  - type: Tag
    tags:
    - Beer
    - DrinkCan

- type: entity
  parent: DrinkCanBaseFull
  id: DrinkSodaWaterCan
  name: soda water can
  description: Soda water. Why not make a scotch and soda?
  components:
  - type: Solution
    solution:
      reagents:
      - ReagentId: SodaWater
        Quantity: 40
  - type: Sprite
    sprite: Objects/Consumable/Drinks/sodawater.rsi
  - type: Item
    sprite: Objects/Consumable/Drinks/sodawater.rsi

- type: entity
  parent: DrinkCanBaseFull
  id: DrinkSpaceMountainWindCan
  name: Space Solar Wind can
  description: Blows right through you like a solar wind.
  components:
  - type: Solution
    solution:
      reagents:
      - ReagentId: SpaceMountainWind
        Quantity: 40
  - type: Sprite
    sprite: Objects/Consumable/Drinks/space_mountain_wind.rsi
  - type: Item
    sprite: Objects/Consumable/Drinks/space_mountain_wind.rsi

- type: entity
  parent: DrinkCanBaseFull
  id: DrinkSpaceUpCan
  name: Space-Up can
  description: Tastes like a hull breach in your mouth.
  components:
  - type: Solution
    solution:
      reagents:
      - ReagentId: SpaceUp
        Quantity: 40
  - type: Sprite
    sprite: Objects/Consumable/Drinks/space-up.rsi
  - type: Item
    sprite: Objects/Consumable/Drinks/space-up.rsi

- type: entity
  parent: DrinkCanBaseFull
  id: DrinkSolDryCan
  name: Sol Dry can
  description: Sweet ginger soda from outer space!
  components:
  - type: Solution
    solution:
      reagents:
      - ReagentId: SolDry
        Quantity: 40
  - type: Sprite
    sprite: Objects/Consumable/Drinks/sol_dry.rsi
  - type: Item
    sprite: Objects/Consumable/Drinks/sol_dry.rsi

- type: entity
  parent: DrinkCanBaseFull
  id: DrinkStarkistCan
  name: Starkist can
  description: The taste of a star in liquid form. And, a bit of tuna...?
  components:
  - type: Solution
    solution:
      reagents:
      - ReagentId: Starkist
        Quantity: 40
  - type: Sprite
    sprite: Objects/Consumable/Drinks/starkist.rsi
  - type: Item
    sprite: Objects/Consumable/Drinks/starkist.rsi

- type: entity
  parent: DrinkCanBaseFull
  id: DrinkTonicWaterCan
  name: tonic water can
  description: Quinine tastes funny, but at least it'll keep that Space Malaria away.
  components:
  - type: Solution
    solution:
      reagents:
      - ReagentId: TonicWater
        Quantity: 40
  - type: Sprite
    sprite: Objects/Consumable/Drinks/tonic.rsi
  - type: Item
    sprite: Objects/Consumable/Drinks/tonic.rsi

- type: entity
  parent: DrinkCanBaseFull
  id: DrinkFourteenLokoCan
  name: Fourteen Loko can
  description: The MBO has advised crew members that consumption of Fourteen Loko may result in seizures, blindness, drunkeness, or even death. Please Drink Responsibly.
  components:
  - type: Solution
    solution:
      reagents:
      - ReagentId: FourteenLoko
        Quantity: 40
  - type: Sprite
    sprite: Objects/Consumable/Drinks/fourteen_loko.rsi
  - type: Item
    sprite: Objects/Consumable/Drinks/fourteen_loko.rsi

- type: entity
  parent: DrinkCanBaseFull
  id: DrinkChangelingStingCan
  name: Changeling Sting can
  description: You take a tiny sip and feel a burning sensation...
  components:
  - type: Solution
    solution:
      reagents:
      - ReagentId: ChangelingSting
        Quantity: 40
  - type: Sprite
    sprite: Objects/Consumable/Drinks/changelingsting.rsi
  - type: Item
    sprite: Objects/Consumable/Drinks/changelingsting.rsi

- type: entity
  parent: DrinkCanBaseFull
  id: DrinkDrGibbCan
  name: Dr. Gibb can
  description: A delicious blend of 42 different flavours.
  components:
  - type: Solution
    solution:
      reagents:
      - ReagentId: DrGibb
        Quantity: 40
  - type: Sprite
    sprite: Objects/Consumable/Drinks/dr_gibb.rsi
  - type: Item
    sprite: Objects/Consumable/Drinks/dr_gibb.rsi

- type: entity
  parent: DrinkCanBaseFull
  id: DrinkNukieCan
  name: Blood-red Brew can
  description: A home-brewed drink made from the crazed minds at the Syndicate. Not recommended by doctors.
  components:
  - type: Solution
    solution:
      reagents:
      - ReagentId: Stimulants
        Quantity: 10
      - ReagentId: NuclearCola
        Quantity: 25
      - ReagentId: Ice
        Quantity: 5
  - type: Sprite
    sprite: Objects/Consumable/Drinks/robustnukie.rsi
  - type: Item
    sprite: Objects/Consumable/Drinks/robustnukie.rsi

- type: entity
  parent: DrinkCanBaseFull
  id: DrinkEnergyDrinkCan
  name: Red Bool can
  description: A can of Red Bool, with enough caffeine to kill a horse.
  components:
  - type: Solution
    solution:
      reagents:
      - ReagentId: EnergyDrink
        Quantity: 40
  - type: Sprite
    sprite: Objects/Consumable/Drinks/energy_drink.rsi
  - type: Item
    sprite: Objects/Consumable/Drinks/energy_drink.rsi

- type: entity
  parent: DrinkCanBaseFull
  id: DrinkShamblersJuiceCan
  name: Shambler's Juice can
  description: ~Shake me up some of that Shambler's Juice!~
  components:
  - type: Solution
    solution:
      reagents:
      - ReagentId: ShamblersJuice
        Quantity: 40
  - type: Sprite
    sprite: Objects/Consumable/Drinks/shamblersjuice.rsi
  - type: Item
    sprite: Objects/Consumable/Drinks/shamblersjuice.rsi

- type: entity
  parent: DrinkCanBaseFull
  id: DrinkPwrGameCan
  name: PWR Game can
  description: The only drink with the PWR that true gamers crave. When a gamer talks about gamerfuel, this is what they're literally referring to.
  components:
  - type: Solution
    solution:
      reagents:
      - ReagentId: PwrGame
        Quantity: 40
  - type: Sprite
    sprite: Objects/Consumable/Drinks/pwrgame.rsi
  - type: Item
    sprite: Objects/Consumable/Drinks/pwrgame.rsi

- type: entity
  parent: DrinkCanBaseFull
  id: DrinkBeerCan
  name: beer can
  description: Small joy, big taste, no worries!
  components:
  - type: Solution
    solution:
      reagents:
      - ReagentId: Beer
        Quantity: 40
  - type: Sprite
    sprite: Objects/Consumable/Drinks/beer_can.rsi
  - type: Item
    sprite: Objects/Consumable/Drinks/beer_can.rsi
  - type: Tag
    tags:
    - Beer
    - DrinkCan

- type: entity
  parent: DrinkCanBaseFull
  id: DrinkWineCan
  name: wine can
  description: Your way to forgetting all worries and having fun!
  components:
  - type: Solution
    solution:
      reagents:
      - ReagentId: Wine
        Quantity: 40
  - type: Sprite
    sprite: Objects/Consumable/Drinks/wine_can.rsi
  - type: Item
    sprite: Objects/Consumable/Drinks/wine_can.rsi
  - type: Tag
    tags:
    - Wine
    - DrinkCan
