# SPDX-FileCopyrightText: 2022 ChilbroBaggins <107660393+ChilbroBaggins@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 DrSmugleaf <DrSmugleaf@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Paul Ritter <ritter.paul1@googlemail.com>
# SPDX-FileCopyrightText: 2022 Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
# SPDX-FileCopyrightText: 2023 Jeff <velcroboy333@hotmail.com>
# SPDX-FileCopyrightText: 2023 Velcroboy <107660393+IamVelcroboy@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Solstice <solsticeofthewinter@gmail.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entity
  id: RandomSnacks
  name: random snack spawner
  #suffix: ""
  parent: MarkerBase
  placement:
    mode: AlignTileAny
  components:
  - type: Sprite
    layers:
      - state: red
      - sprite: Objects/Consumable/Food/snacks.rsi
        state: cheesiehonkers
  - type: EntityTableSpawner
    table: !type:NestedSelector
      tableId: RandomSnackTable
      prob: 0.8

- type: entityTable
  id: RandomSnackTable
  table: !type:GroupSelector
    children:
    - id: FoodFrozenCornuto
    - id: FoodFrozenFreezy
    - id: FoodFrozenPopsicleBerry
    - id: FoodFrozenPopsicleJumbo
    - id: FoodFrozenPopsicleOrange
    - id: FoodFrozenSandwich
    - id: FoodFrozenSandwichStrawberry
    - id: FoodFrozenSnowcone
    - id: FoodFrozenSnowconeBerry
    - id: FoodFrozenSnowconeClown
    - id: FoodFrozenSnowconeFruit
    - id: FoodFrozenSnowconeMime
    - id: FoodFrozenSnowconeRainbow
    - id: FoodFrozenSundae
    - id: FoodSnackBoritos
    - id: FoodSnackCheesie
    - id: FoodSnackChips
    - id: FoodSnackChocolate
    - id: FoodSnackChocolateBar
    - id: FoodSnackChowMein
    - id: FoodSnackCookieFortune
    - id: FoodSnackDanDanNoodles
    - id: FoodSnackEnergy
    - id: FoodSnackMREBrownie
    - id: FoodSnackNutribrick
    - id: FoodSnackPistachios
    - id: FoodSnackPopcorn
    - id: FoodSnackRaisins
    - id: FoodSnackSemki
    - id: FoodSnackSus
    - id: FoodSnackSyndi
    - id: FoodSnackSwirlLollipop
    - id: FoodSnackLollypopWrapped # Goobstation
