Add game
This commit is contained in:
parent
d36e98ad0b
commit
c071b286af
23 changed files with 713 additions and 11 deletions
31
src/services/game/structures/races.ts
Normal file
31
src/services/game/structures/races.ts
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
export interface IRace {
|
||||
id: Race;
|
||||
name: string;
|
||||
description: string;
|
||||
}
|
||||
|
||||
export enum Race {
|
||||
HUMAN = "HUMAN",
|
||||
GIANT = "GIANT",
|
||||
ELF = "ELF",
|
||||
}
|
||||
|
||||
export const raceHuman: IRace = {
|
||||
id: Race.HUMAN,
|
||||
name: "Human",
|
||||
description: "Just a normal human",
|
||||
};
|
||||
|
||||
export const raceGiant: IRace = {
|
||||
id: Race.GIANT,
|
||||
name: "Giant",
|
||||
description: "Basically a human, but of an extreme size and strength",
|
||||
};
|
||||
|
||||
export const raceElf: IRace = {
|
||||
id: Race.ELF,
|
||||
name: "Elf",
|
||||
description: "A weird creature with pointy ears",
|
||||
};
|
||||
|
||||
export const races = [raceHuman, raceGiant, raceElf];
|
||||
Loading…
Add table
Add a link
Reference in a new issue