Every Bestia world is generated, and so are its stories. No designer writes a quest or a book for one world. Four systems work one after the other:

   world generation        zone server, at world creation         zone server, in play
 ────────────────        ──────────────────────────────         ────────────────────
 history ──chronicle──▶  quest planner ──plans──▶ text job      director ──▶ givers ──▶ quest core
 (1000 years)   │        (payoff first)           (LLM writes   (offers what            (steps, log)
                │                                  the texts)    has a real cause)           │
                ▼                                                     ▲                      ▼
          things in the world                                   live events            endings change
          (ruins, tombs, relics)                                (shortage, damage,     the world and are
                                                                 news)                 new causes
  

1. The History

The world generator plays out a thousand years on the places where towns can stand (History Generation). The result is the chronicle: a list of events with the peoples, towns, people, gods, artifacts and world bosses they happened to. It is a set of facts, not prose. The same seed always gives the same history.

The history also records open threads: stories that began and never ended. A lost artifact, an artifact that is away from its temple, a vengeance not taken, a sealed boss, a boss at large, a house without heir, a persecuted cult, a forgotten god.

2. What Can Be Found in the World

The history is not only told. It leaves things a player can walk to (World History):

ThingWhere it comes from
Towns and their namesFounded, walled, sacked and renamed by the history
Ruins and ash ruinsTowns that fell, or were buried by a volcano
BattlefieldsBones, blades and banners by the number of dead; undead that rise at night
Tombs and monumentsThe resting places of notable people; a few hold an artifact and are guarded
Grave stonesPeople who died at home, in the cemetery of their town, with an epitaph to read
Treasure cachesBuried at history sites; a site with an artifact holds a splendid one
RelicsA dug artifact is an item named from the chronicle, with its own history
Forts, mines, shrinesMonasteries, lighthouses, cave hoards and Wounds are placed the same way
What people sayTownsfolk tell the events of their town, legends and rumours

A townsperson who tells an event of the chronicle teaches it. The game keeps what each player has learned in the fact store, so a quest can ask for it later.

3. Quests

The quest core (Quests) only keeps records: a quest, its steps, who took it, how far each player is. It does not know where a quest comes from. Two sources make quests: players, on the blackboard, and the world, through the Quest Manager.

The Quest Manager follows a few rules. A quest needs a real cause. It is planned from its payoff backwards, so no quest ends in nothing. A quest shape is data in a catalogue, never code. And an ending changes the world.

PartWhat it does
SourcesTurn a cause into a seed: an open thread of the history, a town that lacks a good, a damaged building, news that has not reached a town
PlannerBuilds a chain of 2 to 5 steps from the seed, with real places and people. Same world, same plans
DirectorOffers a plan when its cause is real and the town has room for it, and withdraws it when the cause is gone
GiversA townsperson in a conversation, or the town’s board
Quest coreTracks the steps: talk, examine, bring, deliver, kill, decide
EndingsWrite a world fact, move the thing, repair the building, change standing, pay the reward

The four quest shapes that exist:

ShapeCauseWhoWhat changes
Lost artifactAn open thread of the historyA race: one prize in the worldThe relic is kept by the finder or in its temple
Town shortageThe town’s stock of a good is lowAll comers fill one counterThe goods go into the town’s stock
Town damageBuildings of the town are destroyedAll comers fill one counterThe buildings are repaired
Carried newsA town nearby has not heard a rumourUp to 100 masters, each for themselfThe other town now tells the news

A world fact is an event after year 1000. Together with the generated chronicle it is the living chronicle. A new world fact is a new cause, so the end of one quest can start the next one. This is how history and play join: the history gives the first causes, and the players write what comes after.

4. The Texts

A legend, an epitaph or the words of a quest giver belong to one world, so they cannot be in the game’s translation files (Dynamic Text).

  • A template always works. Each text has a plain template behind it. The world is playable before any text is written.
  • Written once, at world creation. A small language model runs on the server’s CPU, in its own container that the zone starts and stops. Nothing is written while a player waits.
  • Facts in, text out. For each text, plain code collects a fact sheet: the facts, the names that may be used, and what a quest text must point at. The model only puts them into words.
  • Checked. A validator rejects a text with a name or a number that is not on the sheet. The model tries again, up to three times. A text that never passes stays a template.
  • Each language from the facts. German is written from the same fact sheet, not translated from the English text.
  • A time cap. The most important texts come first: unique quests, then quests near the start towns, then the rest. What is not written when the time is up stays a template.
  • Placeholders. A text about something that only happens in play, such as news, is written ahead with a gap like {town}. The game fills it when the text is shown.

The zone sends a text reference: the template key, its arguments, and the id of the written text if there is one. The client shows the template at once and swaps in the written text when it has loaded it from the api-server, in the player’s language.

What Is Built

PartState
History, chronicle, open threads, the things in the worldBuilt
Text reference, text store, delivery, readable thingsBuilt
Fact store, quest steps and stages, living chronicleBuilt
Planner, catalogues, director, townsfolk as giversBuilt
Endings, rewards, the raceBuilt
Text job with the language model, English and GermanBuilt
Town shortage, town damage, carried newsBuilt
Client: steps in the quest log, the decide dialog, the paper sheetBuilt
Quests from the other seven kinds of open threadNot built
Found things (a letter, an epitaph) as quest giversNot built
A follow-up quest for those who lost a raceNot built
A window that shows what a player has learnedNot built
Books and long proseNot built
Quest lines that branch, more quests for many playersIdeas, see Quest Ideas

The endings, the text job, the live quests and the client windows have not been played in a running game yet. They are covered by tests only.

Last updated 04 Dec 2026, 01:08 +0100 . history