- type: entity
  parent: BaseItem
  id: FoodSnackHardCandy
  name: hard candy
  description: So many flavors of sugar!
  components:
  - type: Sprite
    sprite: _Starlight/Objects/Consumable/Food/hardcandy.rsi
    state: candy_wrapped
    color: "#ff63be"
  - type: Item
    size: Tiny
    storedOffset: -1,-1
  - type: Tag
    tags:
      - FoodSnack
  - type: SpawnItemsOnUse
    items:
      - id: FoodPacketHardCandyTrash
      - id: FoodSnackHardCandyOpen
    sound:
      path: /Audio/Effects/unwrap.ogg
    requireHands: false # 🌟Starlight🌟

- type: entity
  parent: FoodSnackBase
  id: FoodSnackHardCandyOpen
  name: hard candy
  description: So many flavors of sugar! Tastes even better with the skin off.
  components:
  - type: Sprite
    sprite: _Starlight/Objects/Consumable/Food/hardcandy.rsi
    state: candy
    color: "#ff7dc9"
  - type: Item
    storedOffset: -1,-1
  - 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: entity
  categories: [ HideSpawnMenu ]
  parent: FoodPacketTrash
  id: FoodPacketHardCandyTrash
  name: candy wrapper
  components:
  - type: Sprite
    sprite: _Starlight/Objects/Consumable/Food/hardcandy.rsi
    state: wrapper
    color: "#ff63be"
  - type: Item
    size: Tiny
  - type: Tag
    tags:
    - Trash

- type: entity
  parent: FoodInjectableBase
  id: FoodLollipopPlain
  name: lollipop
  description: A sugary treat on a stick. Make sure to add some flavoring!
  components:
  - type: FlavorProfile
    flavors:
      - sweet
  - type: Sprite
    sprite: _Starlight/Objects/Consumable/Food/lollipop.rsi
    layers:
    - state: white_lollipop
    - state: white_lollipop_fill_1
      map: ["enum.SolutionContainerLayers.Fill"]
      visible: false
  - type: Item
    sprite: _Starlight/Objects/Consumable/Food/lollipop.rsi
    size: Small
    storedRotation: -45
    storedOffset: 0,-1
  - type: SolutionContainerManager
    solutions:
      food:
        maxVol: 20
        reagents:
          - ReagentId: Sugar
            Quantity: 10
  - type: RefillableSolution
    solution: food
  - type: SolutionContainerVisuals
    maxFillLevels: 2
    fillBaseName: white_lollipop_fill_
    solutionName: food
    changeColor: true
    inHandsMaxFillLevels: 2
    inHandsFillBaseName: _fill_
  - type: Appearance
  - type: Tag
    tags:
    - FoodSnack
  - type: Clothing
    sprite: _Starlight/Objects/Consumable/Food/lollipop.rsi
    equippedPrefix: white_lollipop
    slots: [ mask ]
