Knowledge Items
Knowledge Items are the building blocks of your game world.
Knowledge Types
| Type | Purpose | Examples |
|---|---|---|
| PLAYER | The protagonist's template | Stats, abilities, backstory |
| NPC | Characters in your world | Quest givers, enemies, allies |
| LOCATION | Places to explore | Towns, dungeons, forests |
| ITEM | Objects that can be obtained | Weapons, keys, potions |
| OBJECT | Interactive environmental things | Doors, levers, chests |
| LORE | Background information | History, legends, world rules |
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]