| """Space configuration: D&D Random Encounter Generator (one ready-to-run scene).""" |
|
|
| from .shared.config import SpaceConfig, CTA, RelatedSpace, OWNER |
|
|
| CONFIG = SpaceConfig( |
| slug="dnd-random-encounter-generator", |
| utm_campaign="dnd_random_encounter_generator", |
| title="D&D Random Encounter Generator - Free Online Tool", |
| emoji="๐บ", |
| short_description="Roll random 5e encounters by environment, level, and tone", |
| h1="Free D&D Random Encounter Generator", |
| tagline=( |
| "Roll a ready-to-run D&D encounter โ setup, creatures with counts, " |
| "motivation, and a complication โ for any environment and party level." |
| ), |
| primary_keyword="dnd random encounter generator", |
| secondary_keywords=( |
| "random encounter generator 5e", |
| "dnd encounter ideas", |
| ), |
| hero_cta=CTA( |
| "Roll it here. Loreify remembers how the ambush actually went.", |
| "Try Loreify Free", |
| "hero", |
| ), |
| post_tool_cta=CTA( |
| "Encounter rolled? Loreify captures what your party does with it 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 Quest Generator", |
| f"https://huggingface.co/spaces/{OWNER}/dnd-quest-generator", |
| "Need a full multi-scene arc instead of one scene?", |
| ), |
| RelatedSpace( |
| "D&D Monster Builder", |
| f"https://huggingface.co/spaces/{OWNER}/dnd-monster-builder", |
| "Build a custom monster to drop into your encounter.", |
| ), |
| RelatedSpace( |
| "D&D Combat Tracker", |
| f"https://huggingface.co/spaces/{OWNER}/dnd-combat-tracker", |
| "Run the encounter โ initiative, HP, and conditions.", |
| ), |
| ), |
| ) |
|
|