# SPDX-FileCopyrightText: 2023 eclips_e <67359748+Just-a-Unity-Dev@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Plykiya <58439124+Plykiya@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 plykiya <plykiya@protonmail.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
# Board item (given to players)
- type: entity
  parent: BaseBoardEntity
  id: BaseBattlemap
  name: battlemap
  abstract: true
  description: A battlemap for your epic dungeon exploring to begin, pieces not included!
  components:
    - type: Sprite
      sprite: Objects/Fun/Tabletop/grassbm.rsi
      state: icon
    - type: TabletopGame
      boardName: tabletop-battlemap-board-name
      setup:
        !type:TabletopEmptySetup
        boardPrototype: GrassBoardTabletop

- type: entity
  parent: BaseBattlemap
  id: GrassBattlemap
  name: grass battlemap
  description: A battlemap for your epic dungeon exploring to begin, pieces not included!
  components:
    - type: Sprite
      sprite: Objects/Fun/Tabletop/Battlemaps/grassbm.rsi
    - type: TabletopGame
      setup:
        !type:TabletopEmptySetup
        boardPrototype: GrassBoardTabletop

- type: entity
  parent: BaseBattlemap
  id: MoonBattlemap
  name: moon battlemap
  description: A battlemap for your epic moon exploring to begin, pieces not included!
  components:
    - type: Sprite
      sprite: Objects/Fun/Tabletop/Battlemaps/moonbm.rsi
    - type: TabletopGame
      setup:
        !type:TabletopEmptySetup
        boardPrototype: MoonBoardTabletop

- type: entity
  parent: BaseBattlemap
  id: SandBattlemap
  name: sand battlemap
  description: A battlemap for your epic beach episodes to begin, pieces not included!
  components:
    - type: Sprite
      sprite: Objects/Fun/Tabletop/Battlemaps/sandbm.rsi
    - type: TabletopGame
      setup:
        !type:TabletopEmptySetup
        boardPrototype: SandBoardTabletop

- type: entity
  parent: BaseBattlemap
  id: SnowBattlemap
  name: snow battlemap
  description: A battlemap for your frigid exploring to begin, pieces not included! # if this isn't funny enough i can remove it
  components:
    - type: Sprite
      sprite: Objects/Fun/Tabletop/Battlemaps/snowbm.rsi
    - type: TabletopGame
      setup:
        !type:TabletopEmptySetup
        boardPrototype: SnowBoardTabletop

- type: entity
  parent: BaseBattlemap
  id: ShipBattlemap
  name: ship battlemap
  description: A battlemap for your epic space exploring to begin, pieces not included!
  components:
    - type: Sprite
      sprite: Objects/Fun/Tabletop/Battlemaps/shipbm.rsi
    - type: TabletopGame
      size: 543, 543
      setup:
        !type:TabletopEmptySetup
        boardPrototype: ShipBoardTabletop

# Background entity (actually shown in the board)
- type: entity
  parent: BaseBoardTabletop
  id: GrassBoardTabletop
  name: grass battlemap
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Objects/Fun/Tabletop/Battlemaps/grassbm_tabletop.rsi
    state: tabletop
    noRot: false
    drawdepth: FloorTiles

- type: entity
  parent: BaseBoardTabletop
  id: MoonBoardTabletop
  name: grass battlemap
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Objects/Fun/Tabletop/Battlemaps/moonbm_tabletop.rsi
    state: tabletop

- type: entity
  parent: BaseBoardTabletop
  id: SandBoardTabletop
  name: sand battlemap
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Objects/Fun/Tabletop/Battlemaps/sandbm_tabletop.rsi
    state: tabletop

- type: entity
  parent: BaseBoardTabletop
  id: SnowBoardTabletop
  name: snow battlemap
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Objects/Fun/Tabletop/Battlemaps/snowbm_tabletop.rsi
    state: tabletop

- type: entity
  parent: BaseBoardTabletop
  id: ShipBoardTabletop
  name: ship battlemap
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Objects/Fun/Tabletop/Battlemaps/shipbm_tabletop.rsi
    state: tabletop