- type: entity
  abstract: true
  parent: [ DrinkBaseMaterialCardboard, DrinkBase, DrinkBaseOpenable, DrinkVisualsOpenable ]
  id: DrinkCartonBaseFull
  suffix: Full
  components:
  - type: Openable
    sound:
      collection: bottleOpenSounds #Could use a new sound someday ¯\_(ツ)_/¯
    closeable: true
    closeSound:
      collection: bottleCloseSounds
  - type: SolutionContainerManager
    solutions:
      drink:
        maxVol: 100
  - type: TrashOnSolutionEmpty
    solution: drink
  - type: Item
    size: Normal
  # begin starcup: allow cartons to be put in dispensers
  - type: Tag
    tags:
    - DrinkBottle
  # end starcup

- type: entity
  abstract: true
  parent: DrinkCartonBaseFull
  id: DrinkCartonSmallBaseFull
  components:
  - type: SolutionContainerManager
    solutions:
      drink:
        maxVol: 50
  - type: Item
    size: Small

- type: entity
  abstract: true
  parent: DrinkCartonBaseFull
  id: DrinkCartonBaseXtraLargeFull
  components:
  - type: SolutionContainerManager
    solutions:
      drink:
        maxVol: 150
  - type: Tag
    tags:
    - DrinkBottle # Need this to fit in the soda dispenser, probably needs a better name

# Small carton

- type: entity
  parent: [DrinkBaseMaterialPlastic, DrinkCartonSmallBaseFull]
  id: DrinkJuiceLimeCarton
  name: lime juice
  description: Sweet-sour goodness.
  components:
  - type: SolutionContainerManager
    solutions:
      drink:
        reagents:
        - ReagentId: JuiceLime
          Quantity: 50
  - type: Sprite
    sprite: Objects/Consumable/Drinks/limejuice.rsi

- type: entity
  parent: DrinkCartonSmallBaseFull
  id: DrinkJuiceOrangeCarton
  name: orange juice
  description: Full of vitamins and deliciousness!
  components:
  - type: SolutionContainerManager
    solutions:
      drink:
        reagents:
        - ReagentId: JuiceOrange
          Quantity: 50
  - type: Sprite
    sprite: Objects/Consumable/Drinks/orangejuice.rsi

- type: entity
  parent: DrinkCartonSmallBaseFull
  id: DrinkJuiceTomatoCarton
  name: tomato juice
  description: Well, at least it LOOKS like tomato juice. You can't tell with all that redness.
  components:
  - type: SolutionContainerManager
    solutions:
      drink:
        reagents:
        - ReagentId: JuiceTomato
          Quantity: 50
  - type: Sprite
    sprite: Objects/Consumable/Drinks/tomatojuice.rsi

- type: entity
  parent: DrinkCartonSmallBaseFull
  id: DrinkCoconutWaterCarton
  name: coconut water
  description: It's the inside of the coconut that counts.
  components:
  - type: SolutionContainerManager
    solutions:
      drink:
        reagents:
        - ReagentId: CoconutWater
          Quantity: 50
  - type: Sprite
    sprite: Objects/Consumable/Drinks/coconutwater.rsi

- type: entity
  parent: DrinkCartonSmallBaseFull
  id: DrinkCreamCarton
  name: milk cream
  description: It's cream. Made from milk. What else did you think you'd find in there?
  components:
  - type: SolutionContainerManager
    solutions:
      drink:
        reagents:
        - ReagentId: Cream
          Quantity: 50
  - type: Sprite
    sprite: Objects/Consumable/Drinks/cream.rsi

- type: entity
  parent: [DrinkBaseMaterialPlastic, DrinkCartonSmallBaseFull]
  id: DrinkJuiceLemonCarton
  name: lemon juice
  description: First it's sour, then it's still sour.
  components:
  - type: SolutionContainerManager
    solutions:
      drink:
        reagents:
        - ReagentId: JuiceLemon
          Quantity: 50
  - type: Sprite
    sprite: Objects/Consumable/Drinks/lemonjuice.rsi

- type: entity
  parent: DrinkCartonSmallBaseFull
  id: DrinkJuicePineappleCarton
  name: pineapple juice
  description: Tastes like a tropical vacation far from space.
  components:
  - type: SolutionContainerManager
    solutions:
      drink:
        reagents:
        - ReagentId: JuicePineapple
          Quantity: 50
  - type: Sprite
    sprite: Objects/Consumable/Drinks/pineapplejuice.rsi

# Large carton

- type: entity
  parent: [DrinkBaseMaterialPlastic, DrinkCartonBaseFull] # Looks like a plastic jug, fight me
  id: DrinkMilkCarton
  name: milk
  description: An opaque white liquid produced by the mammary glands of mammals.
  components:
  - type: SolutionContainerManager
    solutions:
      drink:
        reagents:
        - ReagentId: Milk
          Quantity: 100
  - type: Sprite
    sprite: Objects/Consumable/Drinks/milk.rsi

- type: entity
  parent: DrinkCartonBaseFull
  id: DrinkSoyMilkCarton
  name: soy milk
  description: White and nutritious soy goodness!
  components:
  - type: SolutionContainerManager
    solutions:
      drink:
        reagents:
        - ReagentId: MilkSoy
          Quantity: 100
  - type: Sprite
    sprite: Objects/Consumable/Drinks/soymilk.rsi

- type: entity
  parent: [DrinkBaseMaterialPlastic, DrinkCartonBaseFull]
  id: DrinkOatMilkCarton
  name: oat milk
  description: It's oat milk. Tan and nutritious goodness!
  components:
  - type: SolutionContainerManager
    solutions:
      drink:
        reagents:
        - ReagentId: MilkOat
          Quantity: 100
  - type: Sprite
    sprite: Objects/Consumable/Drinks/oatmilk.rsi

# Xtra large

- type: entity
  parent: [DrinkBaseMaterialPlastic, DrinkCartonBaseXtraLargeFull]
  id: DrinkJuiceLimeCartonXL
  name: lime juice XL
  description: Sweet-sour goodness.
  components:
  - type: SolutionContainerManager
    solutions:
      drink:
        maxVol: 150
        reagents:
        - ReagentId: JuiceLime
          Quantity: 150
  - type: Label
    currentLabel: reagent-name-juice-lime
  - type: Sprite
    sprite: Objects/Consumable/Drinks/limejuice.rsi

- type: entity
  parent: DrinkCartonBaseXtraLargeFull
  id: DrinkJuiceOrangeCartonXL
  name: orange juice XL
  description: Full of vitamins and deliciousness!
  components:
  - type: SolutionContainerManager
    solutions:
      drink:
        maxVol: 150
        reagents:
        - ReagentId: JuiceOrange
          Quantity: 150
  - type: Label
    currentLabel: reagent-name-juice-orange
  - type: Sprite
    sprite: Objects/Consumable/Drinks/orangejuice.rsi

- type: entity
  parent: DrinkCartonBaseXtraLargeFull
  id: DrinkCreamCartonXL
  name: milk cream XL
  description: It's cream. Made from milk. What else did you think you'd find in there?
  components:
  - type: SolutionContainerManager
    solutions:
      drink:
        maxVol: 150
        reagents:
        - ReagentId: Cream
          Quantity: 150
  - type: Label
    currentLabel: reagent-name-cream
  - type: Sprite
    sprite: Objects/Consumable/Drinks/cream.rsi
