Knowledge Items

Knowledge Items are the building blocks of your game world.

Knowledge Types

TypePurpose
PLAYERThe protagonist's template
NPCCharacters in your world
LOCATIONPlaces to explore
ITEMObjects that can be obtained
OBJECTInteractive environmental things
LOREBackground information

Anatomy of a Knowledge Item

NAME:"The Sleeping Dragon"
TYPE:NPC
CONTENT:

A massive red dragon slumbering deep within Mount Ember. Ancient and immensely powerful.

BASE FACTS:
  • • Status: Asleep
  • • Health: Unharmed
  • • Disposition: Neutral
TRIGGER: to_be_revealed

Condition: "Player enters Mount Ember"

Base Facts

Base Facts are descriptive attributes that define an knowledge's initial state. Unlike traditional stats, these are natural language descriptions that the AI can reason about:

Good Examples

  • • Health: Gravely wounded
  • • Mood: Suspicious of strangers
  • • Holding: Ancient iron key

Avoid

  • • HP: 45
  • • Mood: 7
  • • Inventory: [key_001]