Skip to content

Chapter 13 — Content Files

Part IV — Authoring Games

The schema system that defines your world.

TypePurpose
GameManifestTop-level game definition
EntityBlueprintActors, enemies, objects
RoomDefinitionSpatial containers
ZoneDefinitionSub-areas within rooms
DialogueDefinitionConversation trees
QuestDefinitionObjective tracking
AbilityDefinitionSkills and actions
StatusDefinitionBuffs, debuffs, conditions
ProgressionTreeDefinitionAdvancement paths

Content goes through three stages before it reaches the engine:

schema validation → cross-reference validation → compiled content bundle
  1. Schema validation — structure and types are correct
  2. Cross-reference validation — all refs point to real content (zones, entities, items)
  3. Compilation — content is bundled into a runtime-ready format

Errors are caught early, before the game runs. This prevents broken references, missing entities, and malformed data from causing runtime crashes.

Games define their worlds through structured content files, not by writing engine code. This keeps gameplay logic separate from simulation mechanics and makes worlds portable across engine versions.