# region Clutter
- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonClutterMedical
  name: random clutter
  suffix: "Loot (Frontier), Medical"
  components:
  - type: Sprite
    layers:
      - state: green
        scale: 0.7, 0.7
      - sprite: Objects/Specific/Medical/healthanalyzer.rsi
        state: icon
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.1
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalClutter

- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnPoiClutterMedical
  name: random clutter
  suffix: "Loot (Frontier), Medical"
  components:
  - type: Sprite
    layers:
      - state: green
        scale: 0.7, 0.7
      - sprite: Objects/Specific/Medical/healthanalyzer.rsi
        state: icon
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.1
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TablePoiLootMedicalClutter

# region Tools
- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonLootKitsFirstAid
  name: random medkit
  suffix: Loot (Frontier)
  components:
  - type: Sprite
    layers:
      - state: green
        scale: 0.7, 0.7
      - sprite: _NF/Objects/Specific/Medical/firstaidkits.rsi
        state: firstaid
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.1
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalFirstAidKits

- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonLootToolsSurgeryCrude
  name: random tool
  suffix: "Loot (Frontier), Surgery, Improvised"
  components:
  - type: Sprite
    layers:
      - state: green
        scale: 0.7, 0.7
      - sprite: Objects/Specific/Medical/Surgery/saw.rsi
        state: improv
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.1
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalToolsSurgeryImprovised

- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonLootToolsSurgery
  name: random tool
  suffix: "Loot (Frontier), Surgery"
  components:
  - type: Sprite
    layers:
      - state: green
        scale: 0.7, 0.7
      - sprite: Objects/Specific/Medical/Surgery/saw.rsi
        state: saw
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.1
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalToolsSurgeryCommon

- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonLootToolsSurgeryAdvanced
  name: random tool
  suffix: "Loot (Frontier), Surgery, Advanced"
  components:
  - type: Sprite
    layers:
      - state: green
        scale: 0.7, 0.7
      - sprite: Objects/Specific/Medical/Surgery/saw.rsi
        state: advanced
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.1
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalToolsSurgeryAdvanced

- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonLootKitSurgery
  name: random surgery kit
  suffix: Loot (Frontier)
  components:
  - type: Sprite
    layers:
      - state: green
        scale: 0.7, 0.7
      - sprite: Clothing/Back/Duffels/medical.rsi
        state: icon
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.1
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalToolsSurgeryKit

- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonClutterBeakerEmpty
  name: random lab glassware
  suffix: "Loot (Frontier), Empty"
  components:
  - type: Sprite
    layers:
      - state: green
        scale: 0.7, 0.7
      - sprite: Objects/Specific/Chemistry/beaker_large.rsi
        state: beakerlarge
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.1
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalToolsLabGlassware

- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonClutterSyringe
  name: random syringe
  suffix: Loot (Frontier), Filled
  components:
  - type: Sprite
    layers:
      - state: green
        scale: 0.7, 0.7
      - sprite: Objects/Specific/Chemistry/syringe.rsi
        state: syringe_base0
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.1
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalToolsSyringesFilled

- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonClutterMedipens
  name: random medipens
  suffix: Loot (Frontier)
  components:
  - type: Sprite
    layers:
      - state: green
        scale: 0.7, 0.7
      - sprite: Objects/Specific/Medical/medipen.rsi
        state: firstaid
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.1
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalToolsMedipens

- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonClutterHypospray
  name: random hypospray
  suffix: Loot (Frontier)
  components:
  - type: Sprite
    layers:
      - state: green
        scale: 0.7, 0.7
      - sprite: Objects/Specific/Medical/hypospray.rsi
        state: hypo
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.1
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalToolsHyposprays

- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonClutterMedsFull
  name: random meds
  suffix: "Loot (Frontier), Full"
  components:
  - type: Sprite
    layers:
      - state: green
        scale: 0.7, 0.7
      - sprite: Objects/Specific/Medical/medical.rsi
        state: gauze
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.1
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalToolsTopicalsFull

- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonClutterMedsSingle
  name: random meds
  suffix: "Loot (Frontier), Single"
  components:
  - type: Sprite
    layers:
      - state: green
        scale: 0.7, 0.7
      - sprite: Objects/Specific/Medical/medical.rsi
        state: gauze
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.1
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalToolsTopicalsSingle

- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonLootChems
  name: random chemicals
  suffix: "Loot (Frontier), Chemistry"
  components:
  - type: Sprite
    layers:
      - state: green
        scale: 0.7, 0.7
      - sprite: Objects/Specific/Chemistry/beaker.rsi
        state: beaker
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.1
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalGlasswareFilled

- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonClutterImplanter
  name: random implanter
  suffix: Loot (Frontier)
  components:
  - type: Sprite
    layers:
      - state: green
        scale: 0.7, 0.7
      - sprite: Objects/Specific/Medical/implanter.rsi
        state: implanter0
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.1
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalToolsImplanters

- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonClutterPatientTransport
  name: random patient transport
  suffix: Loot (Frontier)
  components:
  - type: Sprite
    layers:
      - state: green
        scale: 0.7, 0.7
      - sprite: Objects/Specific/Medical/Morgue/bodybags.rsi
        state: bag
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.1
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalToolsPatientTransport

# region Clothes
- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonLootClothesMed
  name: random clothes
  suffix: "Loot (Frontier), Medical"
  components:
  - type: Sprite
    layers:
      - state: green
        scale: 0.7, 0.7
      - sprite: Clothing/Uniforms/Jumpsuit/medical.rsi
        state: icon
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.1
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalClothes

# region Lockers
- type: entity
  parent: MarkerBase
  id: SpawnDungeonLootLockersMed
  name: random locker
  suffix: "Loot (Frontier), Medical"
  components:
  - type: Sprite
    layers:
      - state: green
      - sprite: Structures/Storage/closet.rsi
        state: med_secure
      - sprite: Structures/Storage/closet.rsi
        state: med_secure_door
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.0
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalLockers

# region Crates
- type: entity
  parent: MarkerBase
  id: SpawnDungeonLootCrateMed
  name: random crate
  suffix: "Loot (Frontier), Medical"
  components:
  - type: Sprite
    layers:
      - state: green
      - sprite: Structures/Storage/Crates/medicalcrate_secure.rsi
        state: icon
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.0
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalCrates

- type: entity
  parent: MarkerBase
  id: SpawnDungeonLootCrateEmptyMed
  name: random crate (empty)
  suffix: "Loot (Frontier), Medical"
  components:
  - type: Sprite
    layers:
      - state: green
      - sprite: Structures/Storage/Crates/medicalcrate_secure.rsi
        state: icon
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.0
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalCratesEmpty

- type: entity
  parent: MarkerBase
  id: SpawnDungeonLootCrateRestockMed
  name: random crate (restock)
  suffix: "Loot (Frontier), Medical"
  components:
  - type: Sprite
    layers:
      - state: green
      - sprite: Structures/Storage/Crates/medicalcrate_secure.rsi
        state: icon
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.0
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalCratesRestock

# region Machines
- type: entity
  parent: MarkerBase
  id: SpawnDungeonVendomatsMed
  name: random vendomat
  suffix: "Loot (Frontier), Medical"
  components:
  - type: Sprite
    layers:
      - state: green
      - sprite: Structures/Machines/VendingMachines/medical.rsi
        state: off
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.0
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalMachinesVending

# region Flatpacks
- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonLootFlatpacksMed
  name: random flatpack
  suffix: "Loot (Frontier), Medical"
  components:
  - type: Sprite
    layers:
      - state: green
      - sprite: _NF/Objects/Devices/flatpack.rsi
        state: engineering_lathe
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.1
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalFlatpacks

# region Circuit Boards
- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonLootCircuitBoardMed
  name: random machine board
  suffix: "Loot (Frontier), Medical"
  components:
  - type: Sprite
    layers:
      - state: green
        scale: 0.7, 0.7
      - sprite: Objects/Misc/module.rsi
        state: medical
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.1
    deleteSpawnerAfterSpawn: false
    table: !type:NestedSelector
      tableId: TableDungeonLootMedicalCircuitBoards
