Files

143 lines
2.3 KiB
TypeScript

// Shared types for DungeonMaster.tools
export const TERRAINS = [
"Forest",
"Dungeon",
"Mountain",
"Swamp",
"Urban",
"Desert",
"Arctic",
"Underdark",
"Coastal",
] as const;
export const MONSTER_TYPES = [
"Aberration",
"Beast",
"Celestial",
"Construct",
"Dragon",
"Elemental",
"Fey",
"Fiend",
"Giant",
"Humanoid",
"Monstrosity",
"Ooze",
"Plant",
"Undead",
] as const;
export const RACES = [
"Human",
"Elf",
"Dwarf",
"Halfling",
"Gnome",
"Half-Elf",
"Half-Orc",
"Tiefling",
"Dragonborn",
"Goliath",
"Drow",
"Tabaxi",
"Firbolg",
"Kenku",
"Lizardfolk",
"Aasimar",
"Genasi",
"Githyanki",
"Triton",
"Warforged",
] as const;
export const CLASSES = [
"Barbarian",
"Bard",
"Cleric",
"Druid",
"Fighter",
"Monk",
"Paladin",
"Ranger",
"Rogue",
"Sorcerer",
"Warlock",
"Wizard",
"Artificer",
] as const;
export const ALIGNMENTS = [
"Lawful Good",
"Neutral Good",
"Chaotic Good",
"Lawful Neutral",
"True Neutral",
"Chaotic Neutral",
"Lawful Evil",
"Neutral Evil",
"Chaotic Evil",
"Any",
] as const;
export const NPC_TRAITS = [
"Noble",
"Criminal",
"Religious",
"Scholarly",
"Mercantile",
"Wanderer",
"Military",
"Artistic",
"Naturalist",
"Mysterious",
] as const;
export const NPC_TONES = ["Serious", "Lighthearted", "Mysterious", "Ominous"] as const;
export const QUEST_SETTINGS = ["Fantasy", "Horror", "Intrigue", "Exploration", "Social"] as const;
export const QUEST_TONES = ["Epic", "Grounded", "Comedic", "Dark"] as const;
export const QUEST_DIFFICULTIES = ["Low", "Medium", "High"] as const;
export const ENCOUNTER_DIFFICULTIES = ["Easy", "Medium", "Hard", "Deadly"] as const;
// Result types
export interface Monster {
name: string;
cr: string;
count: number;
terrainBehavior: string;
}
export interface EncounterResult {
title: string;
description: string;
monsters: Monster[];
loot: string;
tactics: string;
notes: string;
}
export interface NPCResult {
name: string;
race: string;
class: string;
appearance: string;
personality: string;
motivation: string;
quirk: string;
secret: string;
hooks: string[];
}
export interface QuestResult {
title: string;
premise: string;
hook: string;
npcs: string[];
locations: string[];
rewards: string;
complications: string;
}