# SPDX-FileCopyrightText: 2021 Fishfish458 <47410468+Fishfish458@users.noreply.github.com>
# SPDX-FileCopyrightText: 2021 Visne <39844191+Visne@users.noreply.github.com>
# SPDX-FileCopyrightText: 2021 fishfish458 <fishfish458>
# SPDX-FileCopyrightText: 2022 Vera Aguilera Puerto <gradientvera@outlook.com>
# 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

- type: entity
  parent: BaseBoardEntity
  id: BackgammonBoard
  name: backgammon board
  description: Old fashioned game of dice and pieces.
  components:
  - type: Sprite
    sprite: Objects/Fun/Tabletop/backgammon.rsi
    state: board
  - type: TabletopGame
    boardName: tabletop-backgammon-board-name
    size: 550, 410
    setup:
      !type:TabletopBackgammonSetup
      boardPrototype: BackgammonBoardTabletop

- type: entity
  id: BackgammonBoardTabletop
  name: backgammon
  parent: BaseBoardTabletop
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Objects/Fun/Tabletop/backgammon_tabletop.rsi
    state: backgammonBoard