Adds parchís game board, improves tabletop system to support other games. (#4610)
This commit is contained in:
committed by
GitHub
parent
5534aec102
commit
e440df03db
@@ -1,5 +1,10 @@
|
||||
## TabletopGameComponent
|
||||
tabletop-verb-play-game = Play Game
|
||||
tabletop-default-board-name = Board Game
|
||||
|
||||
## Chess
|
||||
tabletop-chess-board-name = Chess
|
||||
tabletop-chess-flip = Flip
|
||||
|
||||
## Parchís
|
||||
tabletop-parchis-board-name = Parchís
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
sprite: Objects/Fun/Tabletop/chessboard.rsi
|
||||
state: chessboard
|
||||
- type: TabletopGame
|
||||
boardName: tabletop-chess-board-name
|
||||
size: 338, 274
|
||||
setup: !type:TabletopChessSetup
|
||||
|
||||
# Chessboard tabletop item (item only visible in tabletop game)
|
||||
- type: entity
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
# Parchís board item (normal in game item you can hold in your hand)
|
||||
- type: entity
|
||||
parent: BaseItem
|
||||
id: ParchisBoard
|
||||
name: parchís board
|
||||
description: Cross and circle board game famous for destroying countless friendships.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Fun/Tabletop/parchis.rsi
|
||||
state: board
|
||||
- type: TabletopGame
|
||||
boardName: tabletop-parchis-board-name
|
||||
size: 574, 574
|
||||
setup:
|
||||
!type:TabletopParchisSetup
|
||||
|
||||
# Parchís tabletop item (item only visible in tabletop game)
|
||||
- type: entity
|
||||
id: ParchisBoardTabletop
|
||||
name: parchís
|
||||
abstract: true
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Fun/Tabletop/parchis_tabletop.rsi
|
||||
state: board
|
||||
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
|
||||
BIN
Resources/Textures/Objects/Fun/Tabletop/parchis.rsi/board.png
Normal file
BIN
Resources/Textures/Objects/Fun/Tabletop/parchis.rsi/board.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 451 B |
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Zumorica",
|
||||
"size": {
|
||||
"x": 18,
|
||||
"y": 18
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "board"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 215 B |
Binary file not shown.
|
After Width: | Height: | Size: 215 B |
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Zumorica",
|
||||
"size": {
|
||||
"x": 24,
|
||||
"y": 24
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "red"
|
||||
},
|
||||
{
|
||||
"name": "green"
|
||||
},
|
||||
{
|
||||
"name": "yellow"
|
||||
},
|
||||
{
|
||||
"name": "blue"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 215 B |
Binary file not shown.
|
After Width: | Height: | Size: 215 B |
Binary file not shown.
|
After Width: | Height: | Size: 9.6 KiB |
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Zumorica",
|
||||
"size": {
|
||||
"x": 548,
|
||||
"y": 548
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "board"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user