# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entity
  id: RandomVending
  name: random vending machine spawner
  suffix: Any
  parent: MarkerBase
  components:
  - type: Sprite
    layers:
    - state: red
    - sprite: Structures/Machines/VendingMachines/random.rsi
      state: any
  - type: RandomSpawner
    prototypes:
    - VendingMachineChang
    - VendingMachineCigs
    - VendingMachineCoffee
    - VendingMachineCola #Robust Sofdrinks
    - VendingMachineColaBlack #Robust Sofdrinks [Black]
    - VendingMachineColaRed #Space Cola
    - VendingMachineDiscount
    - VendingMachineDonut
    - VendingMachineDrGibb
    - VendingMachinePwrGame
    - VendingMachineShamblersJuice
    - VendingMachineSmite
    - VendingMachineSnack
    - VendingMachineSnackBlue
    - VendingMachineSnackGreen
    - VendingMachineSnackOrange
    - VendingMachineSnackTeal
    - VendingMachineSoda #Robust Sofdrinks [Soda]
    - VendingMachineSovietSoda #Boda
    - VendingMachineSpaceUp
    - VendingMachineStarkist
    - VendingMachineSweetToof # Goobstation
    chance: 1


- type: entityTable
  id: ClothingVendorTable
  table: !type:GroupSelector
    children:
    - id: VendingMachineClothing
      weight: 40
    - id: VendingMachineWinter
      weight: 40
    - id: VendingMachinePride
      weight: 10
    - id: VendingMachineTheater
      weight: 10

- type: entity
  id: RandomVendingClothing
  name: random vending machine spawner
  suffix: Clothing
  parent: MarkerBase
  components:
  - type: Sprite
    layers:
    - state: red
    - sprite: Structures/Machines/VendingMachines/random.rsi
      state: clothing
  - type: EntityTableSpawner
    table: !type:NestedSelector
      tableId: ClothingVendorTable
