Add entity
This commit is contained in:
parent
f25c637d7b
commit
44510884fe
2 changed files with 33 additions and 2 deletions
|
|
@ -40,6 +40,7 @@ export type TFullNPC = INPC & INPCData;
|
||||||
|
|
||||||
export enum NPC {
|
export enum NPC {
|
||||||
BECKY = "BECKY",
|
BECKY = "BECKY",
|
||||||
|
TATO = "TATO",
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum NpcType {
|
export enum NpcType {
|
||||||
|
|
@ -71,4 +72,27 @@ export const npcBecky: INPC = {
|
||||||
type: NpcType.QUEST_GIVER,
|
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];
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ export interface IRace {
|
||||||
export enum Race {
|
export enum Race {
|
||||||
HUMAN = "HUMAN",
|
HUMAN = "HUMAN",
|
||||||
GIANT = "GIANT",
|
GIANT = "GIANT",
|
||||||
|
TROLL = "TROLL",
|
||||||
ELF = "ELF",
|
ELF = "ELF",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -22,10 +23,16 @@ export const raceGiant: IRace = {
|
||||||
description: "Basically a human, but of an extreme size and strength",
|
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 = {
|
export const raceElf: IRace = {
|
||||||
id: Race.ELF,
|
id: Race.ELF,
|
||||||
name: "Elf",
|
name: "Elf",
|
||||||
description: "A weird creature with pointy ears",
|
description: "A weird creature with pointy ears",
|
||||||
};
|
};
|
||||||
|
|
||||||
export const races = [raceHuman, raceGiant, raceElf];
|
export const races = [raceHuman, raceGiant, raceTroll, raceElf];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue