# region pistol
- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonLootNpcMercenariesPistols
  categories: [ HideSpawnMenu ]
  components:
  - type: EntityTableSpawner
    offset: 0.1
    table: !type:GroupSelector
      children:
      - id: WeaponCaseShortMk58Expedition
        weight: 0.4
      - id: WeaponCaseShortUniversalExpedition
        weight: 0.3
      - id: WeaponCaseShortPollockExpedition
        weight: 0.2
      - id: WeaponCaseShortViper
        weight: 0.1

# region shotguns
- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonLootNpcMercenariesShotguns
  categories: [ HideSpawnMenu ]
  components:
  - type: EntityTableSpawner
    offset: 0.1
    table: !type:GroupSelector
      children:
      - id: WeaponCaseLongKammererExpedition
        weight: 0.85
      - id: WeaponCaseLongEnforcerExpedition
        weight: 0.1
      - id: WeaponCaseLongBulldog
        weight: 0.05

# region assault rifles (.20)
- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonLootNpcMercenariesRifles
  categories: [ HideSpawnMenu ]
  components:
  - type: EntityTableSpawner
    offset: 0.1
    table: !type:GroupSelector
      children:
      - id: WeaponCaseLongWeaponRifleNovaliteC1Expedition
        weight: 0.65
      - id: WeaponCaseLongJackdaw
        weight: 0.2
      - id: WeaponCaseLongGestioExpedition
        weight: 0.05
      - id: WeaponCaseLongLecterExpedition
        weight: 0.05
      - id: WeaponCaseLongM90Expedition
        weight: 0.05

# region energy
- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonLootNpcMercenariesEnergy
  categories: [ HideSpawnMenu ]
  components:
  - type: EntityTableSpawner
    offset: 0.1
    table: !type:GroupSelector
      children:
      - id: WeaponCaseShortLaserGunExpedition
        weight: 0.75
      - id: WeaponCaseShortSvalinnExpedition
        weight: 0.23
      - id: WeaponCaseLongLaserCarbineExpedition
        weight: 0.01
      - id: WeaponCaseShortAdvancedLaserExpedition
        weight: 0.01

# region fluff
- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonLootNpcMercenariesFluff
  categories: [ HideSpawnMenu ]
  components:
  - type: EntityTableSpawner
    offset: 0.1
    table: !type:GroupSelector
      children:
      # T1 - Common
      - !type:GroupSelector
        weight: 0.5
        children:
        - id: Flash
        - id: Zipties
        - id: Handcuffs
      # T2 - Uncommon
      - !type:GroupSelector
        weight: 0.35
        children:
        - id: ClothingEyesGlassesSecurity
        - id: ClothingEyesGlassesMercenary
        - id: ClothingEyesHudSecurity
        - id: ClothingEyesHudBountyHunter
        - id: ClothingEyesGlassesNoir
      # T3 - Rare
      - !type:GroupSelector
        weight: 0.15
        children:
        - id: ClothingMaskGasSecurity
        - id: ClothingMaskGasMercenary
        - id: ClothingMaskGasSwat
      # T4 - Epic
      - !type:NestedSelector
        tableId: TableDungeonLootMercenaryClothes
        weight: 0.15
        rolls: !type:RangeNumberSelector
          range: 1, 2
      # Unique
      - !type:NestedSelector
        tableId: TableDungeonLootMercenaryCircuitBoards
        weight: 0.01

# region blueprints
- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnDungeonLootNpcMercenariesBlueprints
  categories: [ HideSpawnMenu ]
  components:
  - type: EntityTableSpawner
    offset: 0.1
    table: !type:GroupSelector
      children:
      # T1 - Common
      - !type:GroupSelector
        weight: 0.15
        children:
        - id: NFBlueprintPouchMercenary
      # T2 - Uncommon
      - !type:GroupSelector
        weight: 0.3
        children:
        - id: NFBlueprintAmmoOverpressureMercenary
        - id: NFBlueprintAmmo60Mercenary
      # T3 - Rare
      - !type:GroupSelector
        weight: 0.35
        children:
        - id: NFBlueprintHighCapPistol35MagMercenary
        - id: NFBlueprintHighCapRifle20MagMercenary
      # T4 - Epic
      - !type:GroupSelector
        weight: 0.15
        children:
        - id: NFBlueprintJackdawMercenary
        - id: NFBlueprintLecterMercenary
      # T5 - Legendary
      - !type:GroupSelector
        weight: 0.05
        children:
        - id: NFWeaponSubMachineGunWt550Expedition
        - id: NFWeaponSubMachineGunDrozdExpedition
