cleanup the title generation naming
All checks were successful
ci/woodpecker/cron/ci Pipeline was successful

This commit is contained in:
2026-01-22 22:08:27 -05:00
parent 5588108cb6
commit 07128c3529

View File

@@ -714,34 +714,18 @@ function validateAndFixContent(dungeonData) {
export async function generateDungeon() {
// Step 1: Titles
const generatedTitles = await callOllama(
`Generate 50 different evocative dungeon titles for one-page dungeon adventures. Each title should be 2-4 words and feel like a complete, memorable location name.
GOOD EXAMPLES (the kind of titles we want):
- "Shadows of Winterhalf"
- "Rust of a Forgotten Tomb"
- "Ruins of Alph"
- "Wyrm's Maw"
- "Echoes of Duskfall"
- "The Sunken Cathedral"
- "Bone Orchard"
- "Whispering Depths"
BAD EXAMPLES (avoid these - too generic/short):
- "Rust" (too short, not evocative)
- "Shadows" (single word, lacks context)
- "Ruin" (too vague)
Each title should:
- Be 2-4 words (preferably 3-4 words for better flavor)
- Sound like a complete location name that tells a story
- Use evocative, descriptive language
- Feel like it belongs in a classic tabletop RPG dungeon
- Be memorable and distinctive
Vary the styles: some can be "X of Y" format, some can be possessive ("Wyrm's Maw"), some can be descriptive phrases. Mix of dark fantasy, classic D&D, weird fantasy, and other styles.
CRITICAL: Ensure all spelling is correct. Double-check all words before outputting.
Absolutely do not use the words "Obsidian" or "Clockwork" in any title. Do not include explanations, markdown, or preambles. Only output the 50 numbered titles, one per line.`,
`Generate 50 short, punchy dungeon titles (max 5 words each), numbered as a plain text list.
Each title should come from a different style or theme. Make the set varied and evocative. For example:
- OSR / classic tabletop: gritty, mysterious, old-school
- Mörk Borg: dark, apocalyptic, foreboding
- Pulpy fantasy: adventurous, dramatic, larger-than-life
- Mildly sci-fi: alien, technological, strange
- Weird fantasy: uncanny, surreal, unsettling
- Whimsical: fun, quirky, playful
CRITICAL: Ensure all spelling is correct. Double-check all words before outputting.
Avoid repeating materials or adjectives. Absolutely do not use the words "Obsidian" or "Clockwork" in any title. Do not include explanations, markdown, or preambles. Do not include the style or theme in parenthesis. Only the 50 numbered titles.`,
undefined, 5, "Step 1: Titles"
);
console.log("Generated Titles:", generatedTitles);