# SPDX-FileCopyrightText: 2024 Flareguy <78941145+Flareguy@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Southbridge <7013162+southbridge-fur@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
# Minor medical loot spawner
# Use case: Common areas that aren't medical
- type: entity
  name: healing supplies spawner
  id: LootSpawnerMedicalMinor
  parent: MarkerBase
  components:
    - type: Sprite
      layers:
        - state: red
        - sprite: Objects/Specific/Medical/medical.rsi
          state: brutepack
    - type: RandomSpawner
      rarePrototypes:
        - MedkitFilled
      rareChance: 0.1
      prototypes:
        - Syringe #you win some you lose some
        - Brutepack
        - Ointment
        - Gauze
        - EmergencyMedipen
        - PillCanisterIron
      chance: 0.9
      offset: 0.0

# Proper medical loot spawner, contains things like beakers and better meds.
- type: entity
  name: medical loot spawner
  id: LootSpawnerMedicalClassy
  parent: MarkerBase
  components:
    - type: Sprite
      layers:
        - state: red
        - sprite: Objects/Specific/Medical/firstaidkits.rsi
          state: firstaid
    - type: RandomSpawner
      rarePrototypes:
        - PillCanisterDermaline
        - PillCanisterDylovene
        - PillCanisterBicaridine
        - PillCanisterKelotane
        - PillCanisterDexalin
        - HandheldHealthAnalyzer
        - ClothingHandsGlovesLatex
      rareChance: 0.1
      prototypes:
        - Syringe
        - Dropper
        - Beaker
        - LargeBeaker
        - Brutepack
        - Ointment
        - Gauze
        - EmergencyMedipen
        - ChemistryBottleEpinephrine
        - PillCanisterTricordrazine
        - PillCanisterCharcoal
        - PillCanisterHyronalin
        - PillCanisterIron
        - Bloodpack
        - MedkitFilled
      chance: 0.9
      offset: 0.0