# region Full
- type: entity
  id: HappyHonkMcCargo
  parent: HappyHonk
  name: mccargo meal
  components:
  - type: Sprite
    sprite: _NF/Objects/Storage/Happyhonk/mccargo.rsi
    state: box
  - type: Item
    sprite: _NF/Objects/Storage/Happyhonk/mccargo.rsi
    heldPrefix: box
  - type: StorageFill
    contents:
    - id: MysteryFigureBox
      orGroup: GiftPool
      prob: 0.80
    - id: ClothingHeadHatMcCrown
      orGroup: GiftPool
      prob: 0.15
    - id: SpaceBladeMc
      orGroup: GiftPool
      prob: 0.05
  - type: StaticPrice
    price: 1
    vendPrice: 200 # Need this to not bug out the cardbox worth...

- type: entity
  id: HappyHonkMcCargoFood
  parent: HappyHonkMcCargo
  categories: [ HideSpawnMenu ]
  components:
  - type: StorageFill
    contents:
    # Burger
    - id: FoodBurgerPlain
      orGroup: BurgerPool
      prob: 0.40
    - id: FoodBurgerMcrib
      orGroup: BurgerPool
      prob: 0.10
    - id: FoodBurgerBacon
      orGroup: BurgerPool
      prob: 0.10
    - id: FoodBurgerCheese
      orGroup: BurgerPool
      prob: 0.10
    - id: FoodBurgerMcguffin
      orGroup: BurgerPool
      prob: 0.10
    - id: FoodBurgerDuck
      orGroup: BurgerPool
      prob: 0.10
    - id: FoodBurgerChicken
      orGroup: BurgerPool
      prob: 0.10
    # Fries
    - id: FoodMealFries
      orGroup: FriesPool
      prob: 0.60
    - id: FoodMealFriesCheesy
      orGroup: FriesPool
      prob: 0.20
    - id: FoodMealFriesCarrot
      orGroup: FriesPool
      prob: 0.15
    - id: FoodOnionRings
      orGroup: FriesPool
      prob: 0.05
      amount: 2
    # Drinks
    - id: DrinkColaCan
      orGroup: DrinkPool
      prob: 0.10
    - id: DrinkGrapeCan
      orGroup: DrinkPool
      prob: 0.10
    - id: DrinkPwrGameCan
      orGroup: DrinkPool
      prob: 0.10
    - id: DrinkEnergyDrinkCan
      orGroup: DrinkPool
      prob: 0.10
    - id: DrinkSpaceMountainWindCan
      orGroup: DrinkPool
      prob: 0.10
    - id: DrinkStarkistCan
      orGroup: DrinkPool
      prob: 0.10
    - id: DrinkSpaceUpCan
      orGroup: DrinkPool
      prob: 0.10
    - id: DrinkLemonLimeCan
      orGroup: DrinkPool
      prob: 0.10
    - id: DrinkDrGibbCan
      orGroup: DrinkPool
      prob: 0.10
    - id: DrinkSolDryCan
      orGroup: DrinkPool
      prob: 0.10
    # Cake
    - id: FoodCakeLemonSlice
      orGroup: CakePool
      prob: 0.10
    - id: FoodCakeLimeSlice
      orGroup: CakePool
      prob: 0.10
    - id: FoodCakeChocolateSlice
      orGroup: CakePool
      prob: 0.10
    - id: FoodCakeCheeseSlice
      orGroup: CakePool
      prob: 0.10
    - id: FoodCakeOrangeSlice
      orGroup: CakePool
      prob: 0.10
    - id: FoodCakeLemoonSlice
      orGroup: CakePool
      prob: 0.10
    - id: FoodCakeBlueberrySlice
      orGroup: CakePool
      prob: 0.10
    - id: FoodCakeCarrotSlice
      orGroup: CakePool
      prob: 0.10
    - id: FoodCakeBirthdaySlice
      orGroup: CakePool
      prob: 0.10
    - id: FoodCakeAppleSlice
      orGroup: CakePool
      prob: 0.10
    # Frozen
    - id: FoodFrozenPopsicleOrange
      orGroup: FrozenPool
      prob: 0.2
    - id: FoodFrozenPopsicleJumbo
      orGroup: FrozenPool
      prob: 0.2
    - id: FoodFrozenPopsicleBerry
      orGroup: FrozenPool
      prob: 0.2
    - id: FoodFrozenSandwichStrawberry
      orGroup: FrozenPool
      prob: 0.2
    - id: FoodFrozenSandwich
      orGroup: FrozenPool
      prob: 0.2
    # Gifts
    - id: MysteryFigureBox
      orGroup: GiftPool
      prob: 0.80
    - id: ClothingHeadHatMcCrown
      orGroup: GiftPool
      prob: 0.15
    - id: SpaceBladeMc
      orGroup: GiftPool
      prob: 0.05
    # Smokes
    - id: CigPackRed
      orGroup: SmokesPool
      prob: 0.20
    - id: CigPackBlue
      orGroup: SmokesPool
      prob: 0.20
    - id: CigPackBlack
      orGroup: SmokesPool
      prob: 0.20
    - id: CigPackGreen
      orGroup: SmokesPool
      prob: 0.20
    - id: Cigar
      orGroup: SmokesPool
      prob: 0.10
      amount: 2
    - id: CigarGold
      orGroup: SmokesPool
      prob: 0.05
      amount: 2
    - id: CigarPlatinum
      orGroup: SmokesPool
      prob: 0.03
      amount: 2
    - id: CigPackSyndicate
      orGroup: SmokesPool
      prob: 0.02
    # Lighter
    - id: CheapLighter
      orGroup: LighterPool
      prob: 0.40
    - id: Lighter
      orGroup: LighterPool
      prob: 0.30
    - id: FlippoLighter
      orGroup: LighterPool
      prob: 0.20
    - id: FlippoEngravedLighter
      orGroup: LighterPool
      prob: 0.10
    # Condiment
    - id: FoodCondimentPacketBbq
      orGroup: CondimentPool
      prob: 0.25
    - id: FoodCondimentPacketMustard
      orGroup: CondimentPool
      prob: 0.25
    - id: FoodCondimentPacketHotsauce
      orGroup: CondimentPool
      prob: 0.25
    - id: FoodCondimentPacketKetchup
      orGroup: CondimentPool
      prob: 0.25
    # Extra
#    - id: FoodCondimentPacketPepper
    - id: FoodCondimentPacketSalt

- type: entity
  parent: [BaseStorageItem, BaseBagOpenClose]
  id: FoodBoxSushi
  name: sushi tray
  description: Plastic sushi container with lid.
  components:
  - type: Sprite
    sprite: _NF/Objects/Consumable/Food/sushi.rsi
    scale: 0.8, 0.8
    state: tray
    layers:
    - state: tray
    - state: goodtray6
      map: ["tray6"]
      visible: false
    - state: goodtray5
      map: ["tray5"]
      visible: false
    - state: goodtray4
      map: ["tray4"]
      visible: false
    - state: goodtray3
      map: ["tray3"]
      visible: false
    - state: goodtray2
      map: ["tray2"]
      visible: false
    - state: goodtray1
      map: ["tray1"]
      visible: false
    - state: label
      map: ["closeLayer"]
      visible: false
  - type: Item
    sprite: _NF/Objects/Consumable/Food/sushi.rsi
    size: Normal
    inhandVisuals:
      left:
      - state: tray-inhand-left
      right:
      - state: tray-inhand-right
  - type: Storage
    grid:
    - 0,0,1,2
    whitelist:
      tags:
        - Sushi
    storageOpenSound: /Audio/Effects/packetrip.ogg
    hideStackVisualsWhenClosed: false
  - type: ItemCounter
    count:
      tags: [Sushi]
    composite: true
    layerStates:
    - tray1
    - tray2
    - tray3
    - tray4
    - tray5
    - tray6
  - type: NFIngredient

- type: entity
  parent: FoodBoxSushi
  id: FoodBoxSushiBad
  suffix: Bad
  components:
  - type: Sprite
    sprite: _NF/Objects/Consumable/Food/sushi.rsi
    scale: 0.8, 0.8
    state: tray
    layers:
    - state: tray
    - state: tray6
      map: ["tray6"]
      visible: false
    - state: tray5
      map: ["tray5"]
      visible: false
    - state: tray4
      map: ["tray4"]
      visible: false
    - state: tray3
      map: ["tray3"]
      visible: false
    - state: tray2
      map: ["tray2"]
      visible: false
    - state: tray1
      map: ["tray1"]
      visible: false
    - state: label
      map: ["closeLayer"]
      visible: false
  - type: StorageFill
    contents:
    # Slice1
    - id: FoodMealGasSafeSushiSlice
      orGroup: Slice1
    - id: FoodMealGasBadSushiSlice
      orGroup: Slice1
    # Slice2
    - id: FoodMealGasSafeSushiSlice
      orGroup: Slice2
    - id: FoodMealGasBadSushiSlice
      orGroup: Slice2
    # Slice3
    - id: FoodMealGasSafeSushiSlice
      orGroup: Slice3
    - id: FoodMealGasBadSushiSlice
      orGroup: Slice3
    # Slice4
    - id: FoodMealGasSafeSushiSlice
      orGroup: Slice4
    - id: FoodMealGasBadSushiSlice
      orGroup: Slice4
    # Slice5
    - id: FoodMealGasSafeSushiSlice
      orGroup: Slice5
    - id: FoodMealGasBadSushiSlice
      orGroup: Slice5
    # Slice6
    - id: FoodMealGasSafeSushiSlice
      orGroup: Slice6
    - id: FoodMealGasBadSushiSlice
      orGroup: Slice6

- type: entity
  parent: BoxCardboard
  id: FoodBoxWaffleCone
  name: box of waffle cones
  description: A box of Waffle Co. brand waffle cones. There's a mildly offputting picture of a smiling child on the box.
  components:
  - type: Sprite
    sprite: Objects/Storage/boxes.rsi
    state: box # TODO: pretty sprites
  - type: Storage
    grid:
    - 0,0,2,1
    maxItemSize: Normal
  - type: Item
    size: Normal
  - type: StorageFill
    contents:
    - id: FoodBakedWaffleCone
      amount: 5

# region Empty
- type: entity
  id: BoxMREEmpty
  parent: BoxMRE
  categories: [ HideSpawnMenu ]
  components:
  - type: StorageFill
    contents: []

- type: entity
  id: HappyHonkEmpty
  parent: HappyHonk
  categories: [ HideSpawnMenu ]
  components:
  - type: StorageFill
    contents: []

- type: entity
  id: HappyHonkMimeEmpty
  parent: HappyHonkMime
  categories: [ HideSpawnMenu ]
  components:
  - type: StorageFill
    contents: []

- type: entity
  id: HappyHonkNukieEmpty
  parent: HappyHonkNukie
  categories: [ HideSpawnMenu ]
  components:
  - type: StorageFill
    contents: []

- type: entity
  id: HappyHonkCluwneEmpty
  parent: HappyHonkCluwne
  categories: [ HideSpawnMenu ]
  components:
  - type: StorageFill
    contents: []

- type: entity
  id: HappyHonkMcCargoEmpty
  parent: HappyHonkMcCargo
  categories: [ HideSpawnMenu ]
  components:
  - type: StorageFill
    contents: []

- type: entity
  id: FoodBoxNuggetEmpty
  parent: FoodBoxNugget
  categories: [ HideSpawnMenu ]
  components:
  - type: StorageFill
    contents: []

- type: entity
  id: FoodContainerEggEmpty
  parent: FoodContainerEgg
  categories: [ HideSpawnMenu ]
  components:
  - type: StorageFill
    contents: []

- type: entity
  id: FoodBoxDonutEmpty
  parent: FoodBoxDonut
  components:
  - type: StorageFill
    contents: []
