# SPDX-FileCopyrightText: 2023 Jeff <velcroboy333@hotmail.com>
# SPDX-FileCopyrightText: 2023 Velcroboy <107660393+IamVelcroboy@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Vordenburg <114301317+Vordenburg@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 brainfood1183 <113240905+brainfood1183@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aidenkrz <aiden@djkraz.com>
# SPDX-FileCopyrightText: 2025 Solstice <solsticeofthewinter@gmail.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entity
  id: SpawnVendingMachineRestockFoodDrink
  name: Vending Machine Restock
  suffix: "food or drink"
  parent: MarkerBase
  components:
  - type: Sprite
    layers:
      - state: green
      - sprite: Objects/Specific/Service/vending_machine_restock.rsi
        state: base
      - sprite: Objects/Specific/Service/vending_machine_restock.rsi
        state: refill_discount
  - type: ConditionalSpawner
    prototypes:
      - VendingMachineRestockDiscountDans
      - VendingMachineRestockChang
      - VendingMachineRestockDonut
      - VendingMachineRestockGetmoreChocolateCorp
      - VendingMachineRestockRobustSoftdrinks
      - VendingMachineRestockHotDrinks
      - VendingMachineRestockHappyHonk
      - VendingMachineRestockCondimentStation

- type: entity
  id: SpawnVendingMachineRestockFood
  name: Vending Machine Restock
  suffix: "food"
  parent: MarkerBase
  components:
  - type: Sprite
    layers:
      - state: green
      - sprite: Objects/Specific/Service/vending_machine_restock.rsi
        state: base
      - sprite: Objects/Specific/Service/vending_machine_restock.rsi
        state: refill_donuts
  - type: ConditionalSpawner
    prototypes:
      - VendingMachineRestockDiscountDans
      - VendingMachineRestockChang
      - VendingMachineRestockDonut
      - VendingMachineRestockGetmoreChocolateCorp
      - VendingMachineRestockHappyHonk
      - VendingMachineRestockCondimentStation
      - VendingMachineRestockSweetToof # Goobstation

- type: entity
  id: SpawnVendingMachineRestockDrink
  name: Vending Machine Restock
  suffix: "drink"
  parent: MarkerBase
  components:
  - type: Sprite
    layers:
      - state: green
      - sprite: Objects/Specific/Service/vending_machine_restock.rsi
        state: base
      - sprite: Objects/Specific/Service/vending_machine_restock.rsi
        state: refill_cola
  - type: ConditionalSpawner
    prototypes:
      - VendingMachineRestockRobustSoftdrinks
      - VendingMachineRestockHotDrinks