LoreGenerator.h header
#include <ew/app/LoreGenerator.h>
Namespace ew::app
Functions
QString ew::app::generateLorePrompt(quint64 seed)
Generates a one-sentence worldbuilding lore prompt from seed – a spark such as "A drowned
cathedral where a broken oath still festers, watched over by an exiled cartographer." The prompt is composed by filling a randomly chosen sentence template from built-in word banks (evocative adjectives, places, situations, and figures), driven by a seeded pseudo-random sequence so the same seed reproduces the same prompt (shareable and unit-testable). Always returns a non-empty prompt.
std::vector< QString > ew::app::generateLorePrompts(int count, quint64 seed)
Generates count lore prompts over consecutive seeds (seed, seed + 1, ...), a deterministic batch. Returns an empty list when count is not positive.