Add the list of game options to the common module and make the multiplayer lobby begin listening to lobby info events + some style tweaks.
This commit is contained in:
parent
4b12a5a1a0
commit
6e9ff8b751
3 changed files with 56 additions and 33 deletions
33
common/src/data/game_options.ts
Normal file
33
common/src/data/game_options.ts
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/** The options that games can support */
|
||||
export const gameOptions = [
|
||||
{
|
||||
name: `No Secrets`,
|
||||
id: `no-secrets`,
|
||||
active: false,
|
||||
hidden: true,
|
||||
},
|
||||
{
|
||||
name: `Warp Gate Activated`,
|
||||
id: `warp-gate-activated`,
|
||||
active: false,
|
||||
hidden: false,
|
||||
},
|
||||
{
|
||||
name: `Chaos Theory`,
|
||||
id: `Chaos Theory`,
|
||||
active: false,
|
||||
hidden: false,
|
||||
},
|
||||
{
|
||||
name: `Hardcore`,
|
||||
id: `hardcore`,
|
||||
active: false,
|
||||
hidden: false,
|
||||
},
|
||||
{
|
||||
name: `Fate`,
|
||||
id: `fate`,
|
||||
active: false,
|
||||
hidden: true,
|
||||
},
|
||||
];
|
||||
|
|
@ -7,6 +7,7 @@
|
|||
// Data
|
||||
export * from "./data/colours";
|
||||
export * from "./data/spaceships";
|
||||
export * from "./data/game_options";
|
||||
|
||||
// Data Structures
|
||||
export * from "./types/Colour";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue