Skip to content

Features

What it actually does, feature by feature

From world building to character cognition, from the item ledger to social evolution — grouped under the world engine, the character engine and the shared layer. Every item below maps to a module and an acceptance path that really exist in the repository.

v1.1.4-beta.1Apache-2.0English
WE

World engine

04

Time, space, facts, items and generation: the world advances on its own, whether or not anyone is watching a character.

Building a world

A world starts from a brief, runs through a generation workflow and a setup wizard, and lands as a runnable state. The model only decides what should exist; the map is drawn by deterministic code.

Three starting points
Parse a long lore document (paste or upload, the AI segments it and extracts structure), fill in the six dimensions by hand (rules, time and space, society, history and culture, existence, information), or let ideation mode draft an editable first version from a theme and one premise.
Generation workflow
Six-dimension worldview, place candidates, cast and per-character depth, story planning and style profiles become nodes with dependencies. Nodes run in parallel or in a chain, each with attempt counts, artefact versions and failure reasons. Nothing is persisted before preview confirmation; failures retry, crashes resume, and progress streams over SSE.
Setup wizard
Step through worldview and places, factions and organisations, characters, relations and the opening situation. Every step can be skipped or retried, and what you wrote is never overwritten — the AI only fills the gaps.
Archives and migration
One world, one archive: copy data/worlds/<uid>/ and you have moved a world. A world also exports to a single .holzyn file, optionally password-protected. Import previews first, refuses incompatible versions and never overwrites an existing world.

The S0–S5 map pipeline

The model is not asked to paint a map. It decides what should exist; where it goes is solved by deterministic algorithms on real terrain.

StageWho does itOutput
S0 world profileAITranslates the geographic character of the lore into explainable quantities: elongation, coastline fragmentation, plain ratio, river count — no coordinates
S1 terrainDeterministicNoise terrain, hydraulic erosion, biomes, coastal concavity and elevation bias
S2 building assetsAIWhat belongs here: types, size tendencies and roles — no coordinates
S3 road topologyAI topology, algorithm routingThe AI only says what connects to what and the character of each road; routing is least-cost pathfinding over real terrain
S4 placementDeterministicLighthouses, docks, ferries, squares and fields placed under bearing constraints and budgets; houses snap to streets, courtyards fill in
S5 compositeDeterministicThe realistic top-down map: trodden dirt, road shoulders, stone paving, field terracing, walls and garden plots, tree canopies, lit windows at night

One seed plus the same input yields the same layout; with mapgen.ai-enabled=false the whole chain is deterministic, which makes comparison and tuning possible.

Running a world

There is one authoritative clock; every other cadence derives from it.

Clock and scheduling
Time advances from real time at a configured rate. Pause freezes it, resume continues from that point, and offline hours are never back-filled. The default tick is 5 game minutes; perception, decisions and memory maintenance each have their own cadence, and AI calls are dispatched asynchronously so they never block a world tick.
The daily world frame
Each game day produces a world daily: regional weather, macro events, information packets and environmental change. AI writes it, rules back it up, repeat requests within a day hit a cache, and major events can force an urgent update.
Seasons and weather
Seasonal rotation, temperature curves, weather switches and felt temperature feed perception, dialogue and decisions; traits such as cold-sensitive, rain-loving, night owl, frail, heat-sensitive, homebound or restless are weighted by environment.
How news spreads
Message packets propagate between regions by distance and speed and get embellished along the way. Each character hears only the version they can reach, are entitled to hear and understand from their own angle; rumour and fact are recorded separately.
Facts and causes
Who owes whom, what was promised, who holds which object — all recorded as versioned world facts, each with a visibility scope. New events are attached to the reason they happened, so causes and immediate consequences can be followed.
Chronicle and foresight
World events settle into a timeline and entity state updates under expiry rules; pruning archives first and skips the round if archiving fails. A procedural trend plus one line about "the shape of tomorrow" is injected into decisions as direction, not script.

Daily life and economy

Every object has a ledger, every trade deducts goods and payment, tools wear out and food spoils.

Items and the ledger
Items have definitions, stacks, quality, durability and freshness. Every change writes one ledger row — production positive, consumption negative, transfer zero — so stock and books agree.
Trade
Market prices move with supply and demand. Not enough money means no purchase; not enough goods means no sale. Credit exists, repayment follows an order, and debt sits on both parties.
Crafting and building
Work starts from a recipe: materials are deducted, the forge or workbench is occupied, and the output appears when the time is up. Leaving mid-way wastes the work, and missing recipes, materials or a free facility each say exactly what is missing.
Wear, spoilage and equipment
Tools wear item by item and blunt as their condition drops; food spoils on game time; armour absorbs damage by condition; equipment has slots, and wearing or removing it shows up in character state.
Starting supplies and unmet needs
A new world issues tools, rations and clothing by occupation, shops stock according to their settlement, and the player gets a set too. Running out of food, a tool about to fail, goods to sell — each becomes a reason for a character to come looking for you.
CE

Character engine

03

Perception, memory, decisions and expression: a character is a set of states that changes with time, not a persona paragraph.

Characters

A character is not a persona paragraph; it is a body, a memory, relations and plans that change with time.

The cognition loop
Perceive → remember → think and plan → portray → act → learn. When the world reaches a decision point, the character engine reads the world view and its own state, produces an intent, hands it to the world for adjudication, and writes the result back into memory and relations.
Perception
The world assembled from the character’s own point of view: time, place, who is present, visible events, relation summaries, body state and the rumours they can reach. Locations describe where they are, where they can go, how far and in which direction — the AI only says where, and the world resolves and corrects the destination.
Four memory layers
Working, episodic, core identity and long-term archive. Writes are deduplicated; memories blur over time, get cleaned during sleep and rise through layers as they consolidate. Recall ages from when the event happened, so remembering an old thing does not make it young.
Decisions and interruptions
A periodic channel handles routine, an immediate channel handles surprises. High-importance events are simulated a few ways before acting. Interrupted plans leave a record and the character decides by temperament whether to resume, rearrange or abandon. Failures enter a retry queue and leave a trace.
Body and mood
Hunger, thirst, energy, health and a PAD mood state move with game time. A hungry character checks their bag and eats rations on the spot; injury drains health and ends in bed; armour absorbs damage by condition; moods decay, are written back to memory and feed back into decisions.
Personality and life stages
Ten stages from infancy to deceased, each gating ability and behaviour. Major events drive bounded personality drift with an evidence trail. A social mask separates feeling from expression, and alcohol or trauma triggers crack it.
Cognitive LOD
Compute is allocated by observation intensity, not character count: characters far from view and unrelated to whoever is being watched take a lightweight path and are promoted to full decisions when approached or involved. Ordinary residents are scheduled in groups.

Society

Relations, organisations and macro numbers grow by themselves instead of being pushed by a script.

Relations
Relations carry type, affinity, trust and state and change through dialogue, action and events. Near-saturation becomes trust, conflict forces a negative turn, and mutual aid is weighted by salience rather than a flat +1 each time.
Group chats and self-started talk
Characters find topics and answer each other on their own; group chats form from awake characters in the same place. When a conversation ends, key points are extracted into both sides’ memory and affect relations.
Meso-level groups
Factions, affiliations and self-organised groups derive automatically; routine and event directives are injected into member perception, so group action is not one template copied around.
Macro society
Population, economy, factions, cultural opinion and technology evolve through a numeric engine. Harvests move grain prices, prices move livelihoods, livelihoods move factions — one causal chain carrying climate change to the dinner table.
Emergence and replay
Second-order emergence detection ships with anti-bootstrapping aggregation, weights, cooldowns and ratio control. A macro advance can be replayed across four hops — input, parameters, events and feedback — so you can tell whether society grew this or the parameters pushed it.
Family and inheritance
Romance, marriage, childbirth and inheritance form a traceable family tree; newborns get profiles from family and era; inheritance, bereavement and family origin are all recorded.

Three ways to be there

One world, three time bases; each mode stands alone and can contain the others.

ModeTime baseCharactersStored in
WorldWorld clockNPCs in the world plus your avatarWorld database
ConversationFrozen momentAwake characters in the same placeWorld database
CompanionReal timeA companion, across worldsRegistry database

A companion can walk into a world, and a conversation can happen while the world is paused.

SH

Shared layer

02

Observability, adjudication and clients: see through the world, hand it out, or keep it in your own window.

Watching and intervening

The world is not a black box: you can watch it, query it, and trace a decision back to the step that went wrong.

World sandbox
The default landing page is a 2D realistic world map with the character activity stream and world-evolution panels beside it; zoom, pan, layer toggles and click-to-inspect are all there.
World live view
Without opening the map: real-time events, what each character is doing right now, macro snapshots and the world clock.
World graph
The world as a queryable graph with seven read-only facets: time, places, characters, events, relations, factions and macro.
Decision traces
A single decision’s perceive → think → act → learn can be opened segment by segment with structured AI call details, so a drift can be traced to the step that caused it.
Project-level assistant
Ctrl+Shift+A summons a meta-layer assistant on any page: it explains the world, characters, macro state and the project in narrative or factual mode, cites sources item by item, and can intervene for you after confirmation.
Observability and checks
AI usage dashboards, call tracing, drift measurement, prompt metrics, data inspection, and a spatial check that compares engine coordinates with map coordinates per character.

External clients and desktop

You can hand the live world over, or keep it in your own window.

Unity
A unified message contract, protocol version negotiation, heartbeats and disconnect cleanup. The client reports game time to drive the world; disconnecting freezes it and reconnecting resumes from that point. Grid coordinates convert both ways against server-side semantic positions.
HarmonyOS
A native HarmonyOS client built with ArkTS + ArkUI and a local database, keeping business logic and data on device. In planning, in its own repository.
Desktop
A borderless 16:9 window with hand-drawn controls. The splash shows real start-up stages. Closing minimises to the tray and the world keeps advancing. Stable and beta update channels back up data first and recover automatically if a start-up fails.

Known limits

These are the current boundaries, stated without polish.

A model is required
It runs without one, but character behaviour and dialogue quality drop sharply; model capability is the ceiling.
Scale
It is tuned at village and small-town scale: a typical world is 1024 × 1024 metres with a few dozen buildings and around ten named characters plus residents. Scaling up raises compute and time costs sharply.
AI is non-deterministic
Regenerating with the same seed can still change terrain and facility lists; turn mapgen.ai-enabled off when you need deterministic comparison.
Trade and crafting
Models do not always choose to buy or craft. A deal needs goods, intent and a stated want at the same time; a world without a workshop will not produce smithing or weaving.
Still in development
Features keep changing and bugs exist. Model output does not represent the author.

Want the source, or a world of your own?