Spaces:
Running
Running
| """Space configuration: D&D NPC Generator (DM-facing, table-ready NPCs).""" | |
| from .shared.config import SpaceConfig, CTA, RelatedSpace, OWNER | |
| CONFIG = SpaceConfig( | |
| slug="dnd-npc-generator", | |
| utm_campaign="dnd_npc_generator", | |
| title="D&D NPC Generator - Free Online Tool", | |
| emoji="🧙", | |
| short_description="Generate playable D&D NPCs with motives, voices, and hooks", | |
| h1="Free D&D NPC Generator", | |
| tagline=( | |
| "Generate a table-ready D&D NPC with personality, a performable voice, " | |
| "motivation, relationships, and three plot hooks in one click." | |
| ), | |
| primary_keyword="dnd npc generator", | |
| secondary_keywords=( | |
| "npc generator 5e", | |
| "random npc generator dnd", | |
| ), | |
| hero_cta=CTA( | |
| "Build it here. Loreify remembers what happens when it reaches the table.", | |
| "Try Loreify Free", | |
| "hero", | |
| ), | |
| post_tool_cta=CTA( | |
| "Created your NPC? Loreify captures how your party actually meets them " | |
| "and turns the session into organized notes.", | |
| "Turn Sessions Into Notes", | |
| "post_tool", | |
| ), | |
| mid_page_cta=None, | |
| footer_cta=CTA( | |
| "Stop taking notes while you play. Loreify records your session and " | |
| "organizes NPCs, quests, loot, locations, and lore automatically.", | |
| "Try Loreify Free", | |
| "footer", | |
| ), | |
| related=( | |
| RelatedSpace( | |
| "D&D Backstory Generator", | |
| f"https://huggingface.co/spaces/{OWNER}/AI-DND-backstory-generator", | |
| "Write a playable character backstory with three DM hooks.", | |
| ), | |
| RelatedSpace( | |
| "D&D Quest Generator", | |
| f"https://huggingface.co/spaces/{OWNER}/dnd-quest-generator", | |
| "Give your NPC a quest worth handing to the party.", | |
| ), | |
| RelatedSpace( | |
| "D&D Monster Builder", | |
| f"https://huggingface.co/spaces/{OWNER}/dnd-monster-builder", | |
| "Build a complete custom monster with stats, traits, and tactics.", | |
| ), | |
| ), | |
| ) | |