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>
@@ -8,3 +8,6 @@ tabletop-chess-flip = Flip
|
||||
|
||||
## Parchís
|
||||
tabletop-parchis-board-name = Parchís
|
||||
|
||||
## Backgammon
|
||||
tabletop-backgammon-board-name = Backgammon
|
||||
|
||||
@@ -33,3 +33,15 @@
|
||||
cost: 5000
|
||||
category: Fun
|
||||
group: market
|
||||
|
||||
- type: cargoProduct
|
||||
name: "board game crate"
|
||||
id: FunBoardGames
|
||||
description: "Game nights have been proven to either decrease boredom or increase murderous rage depending on the game"
|
||||
icon:
|
||||
sprite: Objects/Fun/dice.rsi
|
||||
state: d66
|
||||
product: CrateFunBoardGames
|
||||
cost: 1500
|
||||
category: Fun
|
||||
group: market
|
||||
|
||||
@@ -68,3 +68,19 @@
|
||||
amount: 1
|
||||
- id: CrayonWhite
|
||||
amount: 1
|
||||
|
||||
- type: entity
|
||||
id: CrateFunBoardGames
|
||||
name: board game crate
|
||||
parent: CrateGenericSteel
|
||||
components:
|
||||
- type: StorageFill
|
||||
contents:
|
||||
- id: ChessBoard
|
||||
amount: 1
|
||||
- id: BackgammonBoard
|
||||
amount: 1
|
||||
- id: ParchisBoard
|
||||
amount: 1
|
||||
- id: d6Dice
|
||||
amount: 4
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -292,6 +292,7 @@
|
||||
- FunPlushies
|
||||
- FunArtSupplies
|
||||
- FunInstruments
|
||||
- FunBoardGames
|
||||
- MaterialSteel
|
||||
- MaterialGlass
|
||||
- MaterialPlastic
|
||||
|
||||
BIN
Resources/Textures/Objects/Fun/Tabletop/backgammon.rsi/board.png
Normal file
|
After Width: | Height: | Size: 671 B |
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Fishfish458",
|
||||
"size": {
|
||||
"x": 23,
|
||||
"y": 16
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "board"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 9.7 KiB |
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Fishfish458",
|
||||
"size": {
|
||||
"x": 550,
|
||||
"y": 410
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "backgammonBoard"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 602 B |
|
Before Width: | Height: | Size: 215 B After Width: | Height: | Size: 215 B |
|
Before Width: | Height: | Size: 215 B After Width: | Height: | Size: 215 B |
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Zumorica",
|
||||
"copyright": "Zumorica, Fishfish458",
|
||||
"size": {
|
||||
"x": 24,
|
||||
"y": 24
|
||||
@@ -18,6 +18,12 @@
|
||||
},
|
||||
{
|
||||
"name": "blue"
|
||||
},
|
||||
{
|
||||
"name": "white"
|
||||
},
|
||||
{
|
||||
"name": "black"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 215 B After Width: | Height: | Size: 215 B |
|
After Width: | Height: | Size: 615 B |
|
Before Width: | Height: | Size: 215 B After Width: | Height: | Size: 215 B |