# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 gluesniffler <159397573+gluesniffler@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entityTable
  id: LavalandHeavyMobs
  table: !type:GroupSelector
    children:
    - id: MobLegion
    - !type:GroupSelector
      children:
      - id: MobLavalandGoliath
        weight: 99
      - id: MobLavalandGoliathAncient
        weight: 1

- type: entityTable
  id: LavalandLightMobs
  table: !type:GroupSelector
    children:
    - id: MobCarpDungeon
    - !type:GroupSelector
      children:
      - id: MobWatcherLavaland
      - id: MobWatcherMagmawing
      - id: MobWatcherIcewing

- type: entity
  name: lavaland heavy mob spawner
  id: SpawnerRandomMobLavaland
  parent: ProximitySpawnerBase
  suffix: Lavaland, Proximity
  components:
  - type: Sprite
    layers:
    - state: red
    - sprite: Mobs/Aliens/Asteroid/goliath.rsi
      state: goliath
  - type: SpawnTableOnTrigger
    table: !type:NestedSelector
      tableId: LavalandHeavyMobs

- type: entity
  name: lavaland light mob spawner
  id: SpawnerRandomLightMobLavaland
  parent: ProximitySpawnerBase
  suffix: Lavaland, Proximity
  components:
  - type: Sprite
    layers:
    - state: red
    - sprite: Mobs/Aliens/Asteroid/goliath.rsi
      state: goliath
  - type: SpawnTableOnTrigger
    table: !type:NestedSelector
      tableId: LavalandLightMobs
