# Randomized spawners to make things a bit more diverse
# Unlike dungeon spawners, the ones here shouldn't contain
# contraband or otherwise restricted items or machines

# Clutter
- type: entityTable
  id: TableRandomDrinkMug
  table: !type:GroupSelector
    children:
    # Common
    - id: DrinkMug
    - id: DrinkMugMetal
    - id: DrinkMugBlack
    - id: DrinkMugBlue
    - id: DrinkMugGreen
    - id: DrinkMugRed
    - id: DrinkMugOne
    - id: DrinkMugDog
    - id: DrinkMugHeart
    - id: DrinkMugMoebius
    - id: DrinkMugRainbow

- type: entity
  id: SpawnRandomDrinkMug
  parent: MarkerBasePlaceFree
  name: random mug
  suffix: Ship
  components:
  - type: Sprite
    layers:
      - state: green
        scale: 0.5, 0.5
      - sprite: Objects/Consumable/Drinks/mug_moebius.rsi
        state: icon-0
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: green
        scale: 0.7, 0.7
  - type: EntityTableSpawner
    offset: 0.0
    table: !type:NestedSelector
      tableId: TableRandomDrinkMug
      prob: 1.00

- type: entityTable
  id: TableRandomDrinkFlask
  table: !type:GroupSelector
    children:
    # Common
    - id: DrinkFlaskBar
    - id: DrinkFlaskOld
    - id: DrinkShinyFlask
    - id: DrinkVacuumFlask
    - id: DrinkFlask
    - id: DrinkDetFlask

- type: entityTable
  id: TableRandomTowel
  table: !type:GroupSelector
    children:
    # Common
    - id: TowelColorBlack
    - id: TowelColorBlue
    - id: TowelColorGreen
    - id: TowelColorRed
    - id: TowelColorWhite
    - id: TowelColorYellow
    - id: TowelColorPink
    - id: TowelColorOrange
    - id: TowelColorPurple
    - id: TowelColorBrown
    - id: TowelColorGray
    - id: TowelColorTeal
    - id: TowelColorMaroon
    - id: TowelColorSilver
    - id: TowelColorMime
    - id: TowelColorGold
    - id: TowelColorLightBlue
    - id: TowelColorLightBrown
    - id: TowelColorDarkBlue
    - id: TowelColorDarkGreen
    - id: TowelColorNT

- type: entity
  id: SpawnRandomTowel
  parent: MarkerBasePlaceFree
  name: random towel
  suffix: Ship
  components:
  - type: Sprite
    layers:
      - state: green
        scale: 0.5, 0.5
      - sprite: Clothing/Multiple/towel.rsi
        state: icon
        color: "#EAE8E8"
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: green
        scale: 0.7, 0.7
  - type: EntityTableSpawner
    offset: 0.0
    table: !type:NestedSelector
      tableId: TableRandomTowel
      prob: 1.00

- type: entityTable
  id: TableRandomBible
  table: !type:GroupSelector
    children:
    # Common
    - id: Bible
    - id: BibleTanakh
    - id: BibleDruid
    - id: BibleCommunistManifesto
    - id: BibleSatanic
    - id: BibleNanoTrasen

- type: entity
  parent: MarkerBasePlaceFree
  id: SpawnRandomBible
  name: random bible
  suffix: Ship
  components:
  - type: Sprite
    layers:
    - state: green
    - sprite: Objects/Specific/Chapel/bible.rsi
      state: icon
    - sprite: _NF/Markers/general.rsi
      state: questionmark
      color: green
  - type: EntityTableSpawner
    offset: 0.0
    table: !type:NestedSelector
      tableId: TableRandomBible
      prob: 1.00

# Tools

# Clothes

#region Furniture/lockers
- type: entityTable
  id: TableRandomSuitStorageMercenary
  table: !type:GroupSelector
    children:
    - id: SuitStorageMercenary
    - id: SuitStoragePrivateSecurity
    - id: SuitStorageEVAMercenary
    - id: SuitStorageEVAPrivateSec
    - id: SuitStorageSurplus

- type: entity
  id: SpawnShuttleGearSuitStorageUnitsMercenary
  parent: MarkerBase
  name: random suit storage unit
  suffix: Ship
  components:
  - type: Sprite
    layers:
      - state: green
      - sprite: Structures/Storage/suit_storage.rsi
        state: base
      - sprite: Structures/Storage/suit_storage.rsi
        state: door
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.0
    table: !type:NestedSelector
      tableId: TableRandomSuitStorageMercenary
      prob: 1.00

#region Machines
- type: entityTable
  id: TableRandomVendomatClothing
  table: !type:GroupSelector
    children:
    # Common
    - !type:GroupSelector
      weight: 95
      children:
      - id: VendingMachineClothing
      - id: VendingMachineWinter
      - id: VendingMachineHydrobe
      - id: VendingMachineTheater
      - id: VendingMachineLawDrobe
      - id: VendingBarDrobe
      - id: VendingMachineChapel
      - id: VendingMachineCargoDrobe
      - id: VendingMachineMediDrobe
      - id: VendingMachineChemDrobe
      - id: VendingMachineCuraDrobe
      - id: VendingMachineAtmosDrobe
      - id: VendingMachineEngiDrobe
      - id: VendingMachineChefDrobe
      - id: VendingMachineJaniDrobe
      - id: VendingMachineSciDrobe
      - id: VendingMachineRoboDrobe
      - id: VendingMachineGeneDrobe
      - id: VendingMachineViroDrobe
      - id: VendingMachinePride
    # Uncommon
    - !type:GroupSelector
      weight: 5
      children:
      - id: VendingMachineClothingPunk
      - id: VendingMachineBountyVendPunk

- type: entity
  id: SpawnShuttleVendomatsClothes
  parent: MarkerBase
  name: random vendomat
  suffix: Ship
  components:
  - type: Sprite
    layers:
      - state: green
      - sprite: Structures/Machines/VendingMachines/winterdrobe.rsi
        state: off
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: red
  - type: EntityTableSpawner
    offset: 0.0
    table: !type:NestedSelector
      tableId: TableRandomVendomatClothing
      prob: 1.00

# Other
- type: entityTable
  id: TableRandomSignRedDigits
  table: !type:GroupSelector
    children:
    # Common
    - id: SignRedOne
    - id: SignRedTwo
    - id: SignRedThree
    - id: SignRedFour
    - id: SignRedFive
    - id: SignRedSix
    - id: SignRedSeven
    - id: SignRedEight
    - id: SignRedNine
    - id: SignRedZero

- type: entity
  id: SpawnRandomSignRedDigits
  parent: MarkerBasePlaceFree
  name: random number sign
  suffix: Ship
  components:
  - type: Sprite
    layers:
      - state: green
        scale: 0.5, 0.5
      - sprite: Structures/Wallmounts/signs.rsi
        state: five
      - sprite: _NF/Markers/general.rsi
        state: questionmark
        color: green
        scale: 0.6, 0.6
  - type: EntityTableSpawner
    offset: 0.0
    table: !type:NestedSelector
      tableId: TableRandomSignRedDigits
      prob: 1.00
