diff --git a/src/services/game/structures/entities.ts b/src/services/game/structures/entities.ts index c9d63b7..12bd594 100644 --- a/src/services/game/structures/entities.ts +++ b/src/services/game/structures/entities.ts @@ -40,6 +40,7 @@ export type TFullNPC = INPC & INPCData; export enum NPC { BECKY = "BECKY", + TATO = "TATO", } export enum NpcType { @@ -71,4 +72,27 @@ export const npcBecky: INPC = { type: NpcType.QUEST_GIVER, }; -export const npcs = [npcBecky]; +export const npcTato: INPC = { + id: NPC.TATO, + name: "Tato", + description: "A ", + race: Race.TROLL, + location: Location.HIGHMERE_TAVERN, + inventory: { + items: [], + }, + experience: 500, + vitality: 25, + strength: 25, + endurance: 5, + agility: 15, + dexterity: 30, + intelligence: 5, + wisdom: 10, + stealth: 5, + charisma: 20, + lockpicking: 0, + type: NpcType.QUEST_GIVER, +}; + +export const npcs = [npcBecky, npcTato]; diff --git a/src/services/game/structures/races.ts b/src/services/game/structures/races.ts index 1e6349e..e812777 100644 --- a/src/services/game/structures/races.ts +++ b/src/services/game/structures/races.ts @@ -7,6 +7,7 @@ export interface IRace { export enum Race { HUMAN = "HUMAN", GIANT = "GIANT", + TROLL = "TROLL", ELF = "ELF", } @@ -22,10 +23,16 @@ export const raceGiant: IRace = { description: "Basically a human, but of an extreme size and strength", }; +export const raceTroll: IRace = { + id: Race.TROLL, + name: "Troll", + description: "Tall and green creature", +}; + export const raceElf: IRace = { id: Race.ELF, name: "Elf", description: "A weird creature with pointy ears", }; -export const races = [raceHuman, raceGiant, raceElf]; +export const races = [raceHuman, raceGiant, raceTroll, raceElf];