Add backgammon and board game crate (#5884)

* [ADD] backgammon, made pieces generic

* [ADD] board game crate

* [REMOVE] minor whitespace

* Fix BOM

* [CHANGE] feedback changes, condensed backgammon setup

* [CHANGE] swapped backgammon y positions to correct ones

Co-authored-by: fishfish458 <fishfish458>
Co-authored-by: Visne <39844191+Visne@users.noreply.github.com>
This commit is contained in:
Fishfish458
2021-12-24 06:20:20 -06:00
committed by GitHub
parent 81df9f0601
commit 16d96c9dcc
20 changed files with 228 additions and 51 deletions

View File

@@ -0,0 +1,25 @@
- type: entity
parent: BaseItem
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
- type: entity
id: BackgammonBoardTabletop
name: backgammon
abstract: true
components:
- type: Sprite
sprite: Objects/Fun/Tabletop/backgammon_tabletop.rsi
state: backgammonBoard
noRot: false
drawdepth: FloorTiles

View File

@@ -26,49 +26,3 @@
noRot: false
drawdepth: FloorTiles
# Parchís pieces
- type: entity
id: BaseParchisPiece
parent: BaseItem
abstract: true
components:
- type: TabletopDraggable
- type: Sprite
netsync: false
noRot: true
sprite: Objects/Fun/Tabletop/parchis_pieces.rsi
- type: Appearance
visuals:
- type: TabletopItemVisualizer
- type: entity
id: RedParchisPiece
name: red piece
parent: BaseParchisPiece
components:
- type: Sprite
state: red
- type: entity
id: GreenParchisPiece
name: green piece
parent: BaseParchisPiece
components:
- type: Sprite
state: green
- type: entity
id: YellowParchisPiece
name: yellow piece
parent: BaseParchisPiece
components:
- type: Sprite
state: yellow
- type: entity
id: BlueParchisPiece
name: blue piece
parent: BaseParchisPiece
components:
- type: Sprite
state: blue

View File

@@ -0,0 +1,61 @@
- type: entity
id: BaseTabletopPiece
parent: BaseItem
abstract: true
components:
- type: TabletopDraggable
- type: Sprite
netsync: false
noRot: true
sprite: Objects/Fun/Tabletop/generic_pieces.rsi
- type: Appearance
visuals:
- type: TabletopItemVisualizer
- type: entity
id: RedTabletopPiece
name: red piece
parent: BaseTabletopPiece
components:
- type: Sprite
state: red
- type: entity
id: GreenTabletopPiece
name: green piece
parent: BaseTabletopPiece
components:
- type: Sprite
state: green
- type: entity
id: YellowTabletopPiece
name: yellow piece
parent: BaseTabletopPiece
components:
- type: Sprite
state: yellow
- type: entity
id: BlueTabletopPiece
name: blue piece
parent: BaseTabletopPiece
components:
- type: Sprite
state: blue
- type: entity
id: WhiteTabletopPiece
name: white piece
parent: BaseTabletopPiece
components:
- type: Sprite
state: white
- type: entity
id: BlackTabletopPiece
name: black piece
parent: BaseTabletopPiece
components:
- type: Sprite
state: black

View File

@@ -292,6 +292,7 @@
- FunPlushies
- FunArtSupplies
- FunInstruments
- FunBoardGames
- MaterialSteel
- MaterialGlass
- MaterialPlastic