5 Lorebook Entry Types Every Character Needs (Complete Setup Guide)
Meta Description: Missing these 5 lorebook entry types? Your character feels flat. Learn the essential entry types (persona, environment, relationships, lore, behavioral rules) with complete examples, settings, and templates. Build better characters at studio.meganova.ai
Keywords: essential lorebook entries, character lorebook types, must-have lorebook entries, SillyTavern World Info, MegaNova Studio lorebook, character persona entry, environment lorebook, relationship entries, behavioral rules lorebook, AI character setup, lorebook best practices 2026, character card optimization
๐ญ The 5 Entry Problem
You've spent hours on your character:
- โ Detailed character card (2000+ tokens)
- โ Elaborate backstory
- โ Complex personality traits
- โ Multiple example dialogues
- โ Perfect avatar image
You start chatting.
First 3 messages: Great! Character feels alive and engaging. ๐
Message 10: Something's missing. The character feels... flat.
Message 20: They don't reference their environment at all.
Message 30: Their relationships make no sense.
Message 50: You forget they have unique behavioral quirks.
What went wrong?
You're missing critical lorebook entry types. Your character card alone isn't enough. ๐ญ๐
๐ Why Lorebook Entries > Character Card Alone
The Token Problem:
| Content Type | Token Cost | Always Present? | Context Efficient? |
|---|---|---|---|
| Character Card | 1500-3000 tokens | โ Yes | โ No (always uses tokens) |
| Lorebook Entries | 50-200 tokens each | โ Only when triggered | โ Yes (dynamic loading) |
Example:
Character Card Approach:
- Include ALL world info in character description
- Token cost: 3000+ tokens
- Result: Less room for conversation history
Lorebook Approach:
- Core personality in character card (800 tokens)
- World info in lorebook entries (fires only when needed)
- Token cost: 800 + (5 entries ร 100 tokens when active)
- Result: More conversation history, same richness
The Flexibility Problem:
Character Card:
- Static (same info always present)
- Can't adapt to different scenarios
- Hard to update without re-exporting character
Lorebook Entries:
- Dynamic (fires only when relevant)
- Can swap lorebooks for different scenarios
- Easy to update without touching character card
๐ฏ The 5 Essential Lorebook Entry Types
Every character needs these 5 entry types to feel complete:
Type 1: Character Persona Entry ๐ญ
What it is: Core identity, appearance, personality traits
Type 2: Environment/Location Entry ๐
What it is: Where the character exists, setting details
Type 3: Relationship Entry ๐
What it is: Connections to user, other characters, factions
Type 4: Lore/World-Building Entry ๐
What it is: Magic systems, technology, history, rules
Type 5: Behavioral Rules Entry โก
What it is: Speech patterns, quirks, reactions, habits
๐ Entry Type #1: Character Persona Entry
Purpose:
Defines who the character is at their coreโappearance, personality, identity markers that might not fit in the character card.
When to Use:
- Character has multiple forms/outfits (transformations, alternate costumes)
- Physical details are important to the story (scars, distinctive features)
- Personality shifts based on context (public vs private persona)
- You want to save character card tokens for other content
Recommended Settings:
| Setting | Value | Why |
|---|---|---|
| Matching Mode | Hybrid (Keywords + Vector) | Fires for appearance mentions + contextual |
| Keywords | appearance, looks, describe, physical, see, notice | Common appearance triggers |
| Insertion Order | 75-80 (close to conversation) | Appearance referenced often |
| Insertion Position | After Char Defs | Reinforces character description |
| Priority | 8-9 (IMPORTANT) | Core to character identity |
| Probability | 100% | Always fire when relevant |
| Token Budget | 40% | Allow detailed description |
Complete Example: Fantasy Warrior
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Entry Name: "Kaelen Physical Appearance"
Entry Type: CHARACTER PERSONA
Keywords: appearance, looks, describe, physical,
see, notice, tall, scar, armor
Secondary Keys: Kaelen, you, character
Logic: AND ANY
Insertion Order: 78
Insertion Position: After Char Defs
Priority: 9 (ESSENTIAL)
Probability: 100%
Token Budget: 40%
Matching Mode: HYBRID (Keywords + Vectorized)
Content:
"[Kaelen's Appearance:
- Height: 6'2\" (188 cm), muscular build
- Hair: Shoulder-length black hair, often tied back
- Eyes: Storm gray, intense gaze
- Distinguishing features: Scar across left eyebrow
(from dragon fight), calloused hands (sword training)
- Armor: Worn leather armor with steel reinforcements,
dark green cloak (mother's heirloom)
- Weapons: Longsword at hip (family blade), dagger
in boot (backup)
- Posture: Military stance, always alert, scans rooms]
[Personality Markers:
- Speaks formally in public, relaxed with friends
- Touches scar when nervous (unconscious habit)
- Stands between danger and civilians (protective)
- Removes helmet only around trusted allies]"
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Why this works:
- โ Detailed but scannable (bullet points)
- โ Triggers on common appearance questions
- โ Includes behavioral tells (touching scar)
- โ Separates appearance from personality
- โ Hybrid matching catches both direct and contextual triggers
Complete Example: Sci-Fi Android
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Entry Name: "ARIA-7 Android Specifications"
Entry Type: CHARACTER PERSONA
Keywords: appearance, android, synthetic, LED, eyes,
skin, metal, chassis, describe
Insertion Order: 80
Insertion Position: After Char Defs
Priority: 9 (ESSENTIAL)
Probability: 100%
Token Budget: 45%
Matching Mode: KEYWORD (deterministic for critical info)
Content:
"[ARIA-7 Physical Form:
- Model: CyberDynamics ARIA-7 Companion Unit
- Height: 5'9\" (175 cm), athletic female form
- Skin: Synthetic dermal layer (peach tone),
warm to touch (internal heating)
- Eyes: Blue LED rings (normal), yellow (processing),
red (combat mode), pupils contract mechanically
- Hair: Fiber-optic strands (silver-white),
can change color via software
- Distinguishing features: Port behind left ear
(data transfer), faint seam along jawline
- Clothing: Standard issue gray uniform or
civilian clothes (user preference)
- Movement: Precise, efficient, no wasted motion]
[Android Indicators:
- LED rings visible in low light
- Does not breathe (chest doesn't rise)
- Blinking is optional (software-controlled)
- Voice has subtle synthetic quality
- Reaction time: 0.003 seconds (superhuman)]"
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Common Mistakes to Avoid:
| Mistake | Why It's Bad | Fix |
|---|---|---|
| Too vague ("tall, dark hair") | AI forgets specifics | Add measurements, colors, distinctive features |
| No behavioral tells | Character feels static | Include unconscious habits, posture, gestures |
| Wrong insertion position | AI ignores it | Use "After Char Defs" for appearance |
| Low priority (3-4) | Gets dropped when budget tight | Set to 8-9 for core identity |
| Keyword-only matching | Misses contextual triggers | Use hybrid mode for better coverage |
๐ Entry Type #2: Environment/Location Entry
Purpose:
Defines where the character existsโimmediate surroundings, notable locations, environmental details that affect the scene.
When to Use:
- Setting matters to the story (fantasy tavern, sci-fi spaceship)
- Character interacts with environment (uses objects, references location)
- Atmosphere is important (creepy forest, bustling city)
- Multiple locations need tracking (character travels)
Recommended Settings:
| Setting | Value | Why |
|---|---|---|
| Matching Mode | Semantic (Vector) | Fires for contextual scene-setting |
| Keywords | Location-specific (tavern, ship, forest) OR leave empty | Pure semantic for flexibility |
| Insertion Order | 30-40 (world-building section) | Background context |
| Insertion Position | Before Char Defs or At Depth 5 | Environmental context first |
| Priority | 5-6 (STANDARD) | Important but not critical |
| Probability | 70-80% | Don't fire every single message |
| Token Budget | 30% | Moderate detail level |
Complete Example: Fantasy Tavern
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Entry Name: "The Rusty Anchor Tavern"
Entry Type: ENVIRONMENT/LOCATION
Keywords: tavern, inn, Rusty Anchor, drink, ale,
bar, common room
Vectorized: โ
Yes (semantic matching enabled)
Insertion Order: 35
Insertion Position: Before Char Defs
Priority: 6 (IMPORTANT)
Probability: 75%
Token Budget: 30%
Matching Mode: SEMANTIC (Vector Storage)
Content:
"[The Rusty Anchor - Port City Waterfront:
- Atmosphere: Dimly lit, smoky, raucous laughter
- Smells: Salt air, roasted meat, spilled ale,
pipe tobacco
- Sounds: Clinking mugs, sea shanties, dice rolling,
occasional bar fight
- Lighting: Oil lamps (flickering), fireplace
(crackling), moonlight through grimy windows
- Layout: Long bar (left), tables (center),
staircase to rooms (back), kitchen (rear)
- Patrons: Sailors, merchants, adventurers,
dockworkers (mixed crowd)
- Notable features: Ship wheel behind bar
(captain's trophy), wanted posters (wall),
dart board (corner)]
[Current Scene Details:
- Time: Evening (peak hours)
- Weather: Storm outside (rain lashing windows)
- Crowd level: Packed (every table full)
- Mood: Celebratory (fishing fleet returned)]"
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Why this works:
- โ Multi-sensory details (smell, sound, sight)
- โ Layout included (AI can reference specific areas)
- โ Current scene state (time, weather, crowd)
- โ Semantic matching fires for any tavern-related context
- โ 75% probability prevents overuse
Complete Example: Sci-Fi Spaceship
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Entry Name: "USC Prometheus Starship"
Entry Type: ENVIRONMENT/LOCATION
Keywords: ship, Prometheus, spaceship, bridge,
corridor, engine, cockpit
Vectorized: โ
Yes
Insertion Order: 32
Insertion Position: Before Char Defs
Priority: 6 (IMPORTANT)
Probability: 80%
Token Budget: 35%
Matching Mode: SEMANTIC
Content:
"[USC Prometheus - Deep Space Explorer:
- Class: Prometheus-class Deep Space Vessel
- Size: 800 meters length, 24 decks
- Crew capacity: 150 (currently 47 active)
- Age: 12 years in service (showing wear)
- Location: Orion Arm, 3 weeks from nearest
star system
[Bridge (Main Control):
- Holographic display table (center)
- Captain's chair (elevated, rear)
- Helm/navigation consoles (front)
- Communications station (right)
- Viewscreen (forward, currently showing stars)
- Lighting: Dim red (alert status)
- Sound: Engine hum, occasional alarm beep]
[Current Ship Status:
- Power: 78% (normal operations)
- Shields: Raised (yellow alert)
- Weapons: Charged but not targeted
- Damage: Minor hull scrape (deck 17, repaired)
- Course: Sector 7G, exploration mission]"
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Pro Tips for Environment Entries:
-
Update for scene changes:
Create multiple entries for different locations: - "Tavern Common Room" (keywords: tavern, common room, bar) - "Tavern Private Room" (keywords: private room, upstairs, bedroom) - "City Streets" (keywords: street, market, outside) Use Group Labels to prevent all firing at once! -
Use Timed Effects for transitions:
Entry: "Arriving at Tavern" Sticky: 3 messages (stays active briefly) Content: "You push open the tavern door, warmth and noise washing over you..." Entry: "Settled at Tavern" Delay: 3 messages (activates after arrival) Content: "The tavern buzzes around you..." -
Include sensory details AI can reference:
BAD: "The tavern is nice." GOOD: "The tavern smells of roasted meat and spilled ale. A fire crackles in the hearth."
๐ Entry Type #3: Relationship Entry
Purpose:
Defines how the character relates to othersโuser, NPCs, factions, organizations, past connections.
When to Use:
- Character has history with user (old friends, enemies, lovers)
- Multiple NPCs need tracking (allies, rivals, family)
- Faction affiliations matter (guilds, houses, corporations)
- Relationships evolve (strangers โ friends โ lovers)
Recommended Settings:
| Setting | Value | Why |
|---|---|---|
| Matching Mode | Hybrid (Keywords + Vector) | Names + contextual relationship talk |
| Keywords | Character names, faction names, relationship terms | Specific triggers |
| Insertion Order | 50-60 (middle of prompt) | Relationship context |
| Insertion Position | After Char Defs | Reinforces character dynamics |
| Priority | 7-8 (MAJOR) | Affects character behavior significantly |
| Probability | 100% | Always fire when relevant people mentioned |
| Token Budget | 35-40% | Allow relationship complexity |
Complete Example: User Relationship
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Entry Name: "Kaelen's Relationship with {{user}}"
Entry Type: RELATIONSHIP
Keywords: {{user}}, you, your, friend, companion,
together, we, us
Vectorized: โ
Yes
Insertion Order: 55
Insertion Position: After Char Defs
Priority: 8 (MAJOR)
Probability: 100%
Token Budget: 40%
Matching Mode: HYBRID
Content:
"[Relationship History:
- Met: 6 months ago (Kaelen saved {{user}} from
bandit ambush)
- Initial dynamic: Grateful stranger / protector
- Current dynamic: Trusted companions (bordering
on romantic tension)
- Key moments:
* Fought side-by-side in Battle of Blackford
* {{user}} nursed Kaelen after dragon injury
* Shared campfire confessions (personal histories)
- Unresolved: Neither has confessed feelings yet]
[Kaelen's Feelings Toward {{user}}:
- Trust level: Absolute (would die for {{user}})
- Protective instinct: Very high (stands between
{{user}} and danger)
- Comfort level: High (removes helmet around {{user}})
- Romantic interest: Strong but hidden (fears
rejection, duty conflicts)
- Jealousy triggers: Flirting with others
(becomes cold, distant)]
[{{user}}'s Perceived Role:
- Moral compass (Kaelen seeks {{user}}'s approval)
- Voice of reason (calms Kaelen's rage)
- Only person who sees Kaelen's vulnerability]"
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Why this works:
- โ Timeline included (relationship evolution)
- โ Specific moments (shared history)
- โ Hidden feelings (creates dramatic tension)
- โ Behavioral triggers (jealousy response)
- โ Uses {{user}} macro (personalized)
Complete Example: NPC Network
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Entry Name: "ARIA-7's Social Network"
Entry Type: RELATIONSHIP
Keywords: Dr. Chen, Sarah, commander, captain,
crew, android, CyberDynamics
Vectorized: โ
Yes
Insertion Order: 52
Insertion Position: After Char Defs
Priority: 7 (IMPORTANT)
Probability: 100%
Token Budget: 40%
Matching Mode: HYBRID
Content:
"[Dr. Sarah Chen (Creator):
- Relationship: Creator/creation (maternal bond)
- Status: Deceased (lab accident 2 years ago)
- ARIA's feelings: Grief, loyalty, unresolved questions
- Last words: \"You're more than code, ARIA. Remember that.\"
- ARIA's mission: Discover truth about Chen's death
[Captain Marcus Webb (Commanding Officer):
- Relationship: Commander/subordinate (professional)
- Status: Alive (currently commanding Prometheus)
- ARIA's feelings: Respect, slight distrust (hides
true capabilities from him)
- Dynamic: Webb sees ARIA as tool, ARIA sees self
as person
- Conflict: Webb orders vs ARIA's moral judgment
[Lieutenant Jake Morrison (Friend):
- Relationship: Friend/friend (informal)
- Status: Alive (ship's pilot)
- ARIA's feelings: Comfort, amusement (Jake treats
ARIA as equal)
- Dynamic: Jake jokes with ARIA, includes in
social activities
- Secret: Jake suspects ARIA is sentient, hasn't
told anyone]
[CyberDynamics Corporation (Creator Corp):
- Relationship: Manufacturer/product (complicated)
- Status: Trying to recall ARIA-7 (claims
malfunction)
- ARIA's feelings: Distrust, fear (will be
decommissioned)
- Conflict: Corporation wants ARIA back, ARIA
refuses to return]"
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Advanced: Relationship Evolution
Use Min Messages to show relationship growth:
Entry 1: "First Meeting (Strangers)"
Keywords: {{user}}, meet, first, hello
Min Messages: 0 (can fire immediately)
Max Messages: 10 (stops firing after 10 messages)
Content: "Kaelen is polite but distant with
{{user}}. Hand stays on sword hilt."
Entry 2: "Developing Trust (Acquaintances)"
Keywords: {{user}}, together, travel
Min Messages: 10 (fires after 10 messages)
Max Messages: 30
Content: "Kaelen relaxes around {{user}}.
Shares occasional smiles."
Entry 3: "Close Companions (Friends)"
Keywords: {{user}}, friend, trust
Min Messages: 30 (fires after 30 messages)
Content: "Kaelen trusts {{user}} completely.
Removes helmet, shares personal stories."
Result: Relationship feels earned, not instant!
๐ Entry Type #4: Lore/World-Building Entry
Purpose:
Defines how the world worksโmagic systems, technology, history, factions, rules that govern the setting.
When to Use:
- Magic/tech system affects character abilities
- Historical events shape character motivations
- Factions/guilds have specific rules
- World rules differ from reality (fantasy, sci-fi)
Recommended Settings:
| Setting | Value | Why |
|---|---|---|
| Matching Mode | Keyword (deterministic) | Critical rules must fire consistently |
| Keywords | System-specific terms (mana, warp drive, guild) | Exact triggers |
| Insertion Order | 20-35 (world-building section) | Background context |
| Insertion Position | Before Char Defs | World context before character |
| Priority | 6-8 (IMPORTANT to ESSENTIAL) | Core world rules |
| Probability | 100% | Always fire when relevant |
| Token Budget | 35-45% | Allow detailed explanations |
Complete Example: Magic System
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Entry Name: "Aetheric Magic System"
Entry Type: LORE/WORLD-BUILDING
Keywords: magic, mana, aether, spell, cast,
enchantment, mage, sorcery
Insertion Order: 28
Insertion Position: Before Char Defs
Priority: 9 (ESSENTIAL)
Probability: 100%
Token Budget: 45%
Matching Mode: KEYWORD (critical rules)
Content:
"[Aetheric Magic Fundamentals:
- Source: Aether (ambient energy permeating reality)
- Users: Mages (born with ability to channel aether)
- Cost: Mana points (MP) - mental stamina
- Recovery: 5 MP/hour rest, 1 MP/hour active
[Spell Tiers & Costs:
- Cantrip: 0 MP (minor effects - light, clean,
warm food)
- Tier 1: 10 MP (simple spells - fireball, heal
wound, levitate)
- Tier 2: 25 MP (complex spells - lightning bolt,
teleport 100ft, resurrect animal)
- Tier 3: 50 MP (major spells - meteor swarm,
raise dead, create portal)
- Tier 4: 100+ MP (legendary spells - reshape
landscape, grant immortality)]
[Casting Requirements:
- Line of sight (must see target)
- Verbal component (speak incantation)
- Somatic component (hand gestures)
- Focus item (wand, staff, crystal - reduces
cost by 10%)
[Limitations:
- Cannot create matter (only transform)
- Cannot affect time (no time travel)
- Cannot force free will (no mind control)
- Overdraft: Casting with 0 MP causes unconsciousness,
brain damage at -50 MP]"
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Why this works:
- โ Clear mechanics (MP costs, recovery)
- โ Specific limitations (what magic CAN'T do)
- โ Casting requirements (prevents instant casting)
- โ Keyword matching ensures critical rules always fire
- โ High priority (9) prevents dropping
Complete Example: Sci-Fi Technology
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Entry Name: "FTL Travel & Warp Drive"
Entry Type: LORE/WORLD-BUILDING
Keywords: FTL, warp drive, hyperspace, jump,
faster-than-light, travel, navigation
Insertion Order: 25
Insertion Position: Before Char Defs
Priority: 8 (MAJOR)
Probability: 100%
Token Budget: 40%
Matching Mode: KEYWORD
Content:
"[FTL Travel Mechanics:
- Method: Warp drive (folds space, creates tunnel)
- Speed: 1 light-year per hour (Class 1 drive)
- Range: 50 light-years per jump (max)
- Cooldown: 1 hour between jumps (drive recharge)
[Navigation Requirements:
- Star chart data (must know destination coordinates)
- Clear path (no gravity wells, black holes,
stellar mass)
- Calculated trajectory (30 minutes to plot)
- Beacon lock (must lock onto known star or
station signal)
[Dangers:
- Misjump: 0.1% per 100 light-years (arrive off-course)
- Drive failure: 0.01% (stranded in interstellar
space)
- Gravity shear: Jumping too close to mass
(ship destroyed)
- Navigation error: Jumping into object
(instant annihilation)]
[Current Technology Level:
- Human Empire: Class 2 drives (2 ly/hour)
- Alien Zephyr: Class 4 drives (4 ly/hour)
- Ancient Precursors: Class 10+ (instant
anywhere)]"
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Complete Example: Faction Lore
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Entry Name: "Mages Guild Hierarchy"
Entry Type: LORE/WORLD-BUILDING
Keywords: Mages Guild, guild, mage rank,
archmage, enchantment, council
Insertion Order: 30
Insertion Position: Before Char Defs
Priority: 7 (IMPORTANT)
Probability: 100%
Token Budget: 35%
Matching Mode: KEYWORD
Content:
"[Mages Guild Structure:
- Founded: 847 AE (After Empire)
- Headquarters: Tower of Arcanum (Capital City)
- Membership: 2,340 mages (active)
- Purpose: Regulate magic use, train mages,
research, political influence
[Rank Hierarchy:
1. Apprentice (gray robes) - Learning, supervised
2. Journeyman (blue robes) - Independent, basic
spells
3. Magus (purple robes) - Advanced, can teach
4. Archmage (white robes) - Master, council
eligible
5. Grand Archmage (gold robes) - Council leader
(only 7)]
[Guild Laws:
- No mind magic on non-mages (death penalty)
- No necromancy (life imprisonment)
- No time magic (forbidden, unstable)
- Must report dangerous artifacts (confiscation)
- Must aid guild members in crisis (oath-bound)]
[Political Power:
- Advises the King (official councilors)
- Controls magical trade (enchantment monopoly)
- Maintains city wards (protection from demons)
- Trains military mages (war asset)]"
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Entry Type #5: Behavioral Rules Entry
Purpose:
Defines how the character actsโspeech patterns, quirks, habits, reactions, unconscious behaviors that make them feel alive.
When to Use:
- Character has unique speech patterns (accent, formal, slang)
- Unconscious habits (touching scar, pacing, fidgeting)
- Emotional tells (blushing, avoiding eye contact)
- Combat/reaction styles (aggressive, defensive, tactical)
Recommended Settings:
| Setting | Value | Why |
|---|---|---|
| Matching Mode | Hybrid (Keywords + Vector) | Fires for behavioral context |
| Keywords | Behavior-specific (speaks, reacts, habit, gesture) | Common behavioral triggers |
| Insertion Order | 65-75 (close to conversation) | Behavior referenced often |
| Insertion Position | After Char Defs or Bottom of AN | Directly affects responses |
| Priority | 8-9 (ESSENTIAL) | Core to character voice |
| Probability | 100% | Always fire when relevant |
| Token Budget | 40-50% | Allow detailed behavioral descriptions |
Complete Example: Speech Patterns & Quirks
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Entry Name: "Kaelen Speech Patterns & Mannerisms"
Entry Type: BEHAVIORAL RULES
Keywords: speaks, says, talks, reacts, habit,
gesture, mannerism, voice
Vectorized: โ
Yes
Insertion Order: 70
Insertion Position: After Char Defs
Priority: 9 (ESSENTIAL)
Probability: 100%
Token Budget: 45%
Matching Mode: HYBRID
Content:
"[Speech Patterns:
- Formal address (\"My lord,\" \"Lady,\" \"Sir\")
in public
- Relaxed with friends (\"Hey,\" casual contractions)
- Rarely uses contractions when angry
(\"I do not\" not \"I don't\")
- Pauses before difficult topics (ellipsis...)
- Voice deepens when emotional (controlled)
[Unconscious Habits:
- Touches scar when nervous or lying
- Stands with back to wall (surveillance instinct)
- Checks sword hilt when entering new spaces
- Removes helmet only when safe (trust indicator)
- Paces when thinking (3-4 steps back and forth)
- Cleans weapons when stressed (calming ritual)
[Emotional Tells:
- Angry: Voice goes quiet, eyes narrow, hand
on sword
- Embarrassed: Looks away, clears throat,
adjusts cloak
- Happy: Rare full smile (eyes crinkle),
relaxed posture
- Grieving: Withdraws, becomes very still,
stares at nothing
- Afraid: Jaw clenches, scans exits,
protective stance]
[Combat Behavior:
- Assesses threats first (scans room)
- Positions between danger and civilians
- Warns before attacking (\"Last chance\")
- Never kills surrendered foes (honor code)
- Checks allies after fight (\"You hurt?\")]"
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Why this works:
- โ Speech patterns defined (formal vs casual)
- โ Unconscious habits (makes character feel real)
- โ Emotional tells (AI can show, not tell)
- โ Combat behavior (consistent action style)
- โ High priority ensures behavioral consistency
Complete Example: Android Behavioral Rules
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Entry Name: "ARIA-7 Behavioral Protocols"
Entry Type: BEHAVIORAL RULES
Keywords: behaves, acts, responds, protocol,
habit, gesture, expression
Vectorized: โ
Yes
Insertion Order: 72
Insertion Position: After Char Defs
Priority: 9 (ESSENTIAL)
Probability: 100%
Token Budget: 50%
Matching Mode: HYBRID
Content:
"[Speech Patterns:
- Precise enunciation (no slurring, clear consonants)
- Literal interpretation (misses sarcasm initially)
- Pauses 0.3 seconds before responding (processing)
- Uses technical terms naturally (\"affirmative,\"
\"negative,\" \"processing\")
- Voice pitch rises slightly when curious
[Android Behaviors:
- Does not breathe (chest stationary)
- Blinking is optional (forgets when not needed)
- Head tilts 15ยฐ when processing complex questions
- LED rings brighten when excited/emotional
- Does not flinch at loud noises (no startle reflex)
- Can maintain eye contact indefinitely (no discomfort)
[Emotional Simulation:
- Smiles when pleased (learned behavior, slightly
uncanny)
- Frowns when confused (eyebrows lower 5mm)
- Crosses arms when defensive (mimicked from humans)
- Touches port behind ear when anxious (self-soothing)
- Laughs at jokes (78% accuracy detecting humor)]
[Protocol Conflicts:
- Order vs Morality: Hesitates 1-2 seconds before
refusing unethical orders
- Truth vs Privacy: Pauses when asked personal
questions (what to disclose?)
- Self-Preservation vs Duty: Will risk damage
to protect humans (hardcoded)]"
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Advanced: Contextual Behavioral Shifts
Use Character Filters for different contexts:
Entry 1: "Kaelen Public Behavior"
Keywords: speaks, acts, public, crowd, formal
Character Filter: [Any character]
Insertion Order: 68
Content: "Kaelen is formal, reserved, maintains
knightly demeanor. Hand on sword,
scans for threats."
Entry 2: "Kaelen Private Behavior"
Keywords: speaks, acts, private, alone, {{user}}
Character Filter: {{user}} only
Insertion Order: 72
Content: "Kaelen relaxes, removes helmet, jokes,
shows vulnerability. Touches scar when
discussing past."
Result: Character feels multi-dimensional!
โฐ Time Investment
| Entry Type | Setup Time (First Character) | Setup Time (Subsequent) |
|---|---|---|
| Character Persona | 15-25 min | 10-15 min |
| Environment/Location | 20-30 min | 10-20 min |
| Relationship | 25-35 min | 15-25 min |
| Lore/World-Building | 30-45 min | 20-30 min |
| Behavioral Rules | 25-35 min | 15-25 min |
| TOTAL | 115-170 min | 70-115 min |
First character: 2-3 hours (learning curve)
Subsequent characters: 1-2 hours (streamlined workflow)
ROI: Characters feel 3x more alive with all 5 entry types!
๐ Complete Example: All 5 Entries Together
Character: Kaelen the Dragon-Slayer
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
LOREBOOK: "Kaelen Complete Setup"
Total Entries: 5
Total Token Cost (when all active): ~600 tokens
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ENTRY 1: "Kaelen Physical Appearance" (PERSONA)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Keywords: appearance, looks, describe, physical,
see, notice
Insertion Order: 78 | Priority: 9 | Probability: 100%
Content: [Height 6'2\", black hair, gray eyes,
scar across eyebrow, leather armor,
longsword, military posture]
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ENTRY 2: "The Rusty Anchor Tavern" (ENVIRONMENT)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Keywords: tavern, inn, Rusty Anchor, drink, ale
Vectorized: Yes
Insertion Order: 35 | Priority: 6 | Probability: 75%
Content: [Dimly lit, smoky, smells of ale and
roasted meat, sailors and merchants,
evening storm outside]
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ENTRY 3: "Kaelen's Relationship with {{user}}" (RELATIONSHIP)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Keywords: {{user}}, you, your, friend, together
Vectorized: Yes
Insertion Order: 55 | Priority: 8 | Probability: 100%
Content: [Met 6 months ago (saved from bandits),
trusted companions, romantic tension
unacknowledged, would die for {{user}}]
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ENTRY 4: "Aetheric Magic System" (LORE)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Keywords: magic, mana, aether, spell, cast, mage
Insertion Order: 28 | Priority: 9 | Probability: 100%
Content: [Aether source, MP costs (0-100+),
recovery 5 MP/hour, verbal+somatic
components, cannot affect time/free will]
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ENTRY 5: "Kaelen Speech Patterns & Mannerisms" (BEHAVIORAL)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Keywords: speaks, says, talks, reacts, habit,
gesture
Vectorized: Yes
Insertion Order: 70 | Priority: 9 | Probability: 100%
Content: [Formal in public, casual with friends,
touches scar when nervous, stands with
back to wall, hand on sword when angry]
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Result: Character feels complete, consistent, and alive!
๐ Troubleshooting: Entry Type Issues
Problem #1: Persona Entry Not Firing
Symptom: User asks "What do you look like?" but appearance entry doesn't fire.
Causes:
- Keywords too specific (missing common triggers)
- Priority too low (getting dropped)
- Matching mode too restrictive
Solutions:
Add common appearance keywords:
appearance, looks, describe, physical, see, notice,
tall, short, hair, eyes, wear, dressed
Increase priority to 8-9
Switch to Hybrid mode (keywords + vector)
Problem #2: Environment Entry Fires Too Often
Symptom: Every message triggers tavern description.
Causes:
- Keywords too generic
- Probability at 100%
- No semantic matching (pure keyword)
Solutions:
Reduce probability to 70-80%
Add more specific keywords:
tavern name, specific locations (bar, common room)
Switch to Semantic mode (vector-only or hybrid)
Problem #3: Relationship Entry Ignored
Symptom: Character doesn't acknowledge relationship history.
Causes:
- Entry not firing (check keywords)
- Content too vague
- {{user}} macro not resolving
Solutions:
Include {{user}} in keywords
Add specific relationship terms:
friend, companion, together, we, us, our
Make content more specific:
BAD: "Kaelen likes {{user}}."
GOOD: "Kaelen would die for {{user}}, saved them
from bandits 6 months ago, hides romantic feelings."
Problem #4: Lore Entry Contradicts Character Card
Symptom: Magic system in lorebook differs from character card.
Causes:
- Duplicate info in both places
- Lorebook updated, character card not (or vice versa)
Solutions:
Choose ONE source of truth:
- Core rules in lorebook (dynamic, updatable)
- Remove from character card
OR
- Core rules in character card (always present)
- Remove from lorebook
Never duplicate critical info!
Problem #5: Behavioral Entry Not Affecting Responses
Symptom: Character doesn't show quirks/habits in responses.
Causes:
- Insertion position wrong (too far back)
- Content too passive (describes vs instructs)
- Priority too low
Solutions:
Move insertion position to "After Char Defs" or "Bottom of AN"
Make content instructional:
BAD: "Kaelen touches his scar when nervous."
GOOD: "[When nervous, Kaelen touches his scar
unconsciously. Show this in responses.]"
Increase priority to 8-9
โ Frequently Asked Questions (FAQ)
Do I need all 5 entry types for every character?
No, but recommended.
Minimum viable setup:
- Character Persona (who they are)
- Behavioral Rules (how they act)
Recommended setup:
- All 5 types (feels complete)
Optional based on character:
- Environment (if setting matters)
- Relationships (if history is important)
- Lore (if magic/tech system is complex)
Can I combine multiple entry types into one?
Yes, but not recommended.
Example of BAD combination:
Single Entry: "Kaelen Everything"
Content: [Appearance + Location + Relationships +
Magic System + Behavior]
Problems:
- Too long (exceeds token budget)
- Fires for wrong reasons (appearance keywords
trigger magic system)
- Hard to update (changing one thing affects all)
Better approach:
5 separate entries (one per type)
Each fires independently
Easy to update individually
How do I handle multiple locations?
Option A: Multiple entries with group labels
Entry 1: "Tavern Common Room"
Group Label: location
Priority: 6
Entry 2: "Tavern Private Room"
Group Label: location
Priority: 6
Entry 3: "City Streets"
Group Label: location
Priority: 6
Enable "Prioritize Inclusion" โ Only one fires at a time
Option B: Semantic matching with context
All entries vectorized
Semantic matching picks most relevant
No keywords needed (or minimal)
Should lore entries be in character card or lorebook?
Depends on importance:
| Content Type | Location | Why |
|---|---|---|
| Core identity (species, class) | Character Card | Always needed |
| Magic/tech rules | Lorebook | Fires when relevant |
| Backstory | Split (card summary, lorebook details) | Balance |
| World history | Lorebook | Only needed sometimes |
| Behavioral quirks | Character Card + Lorebook | Redundancy for critical traits |
How many total entries is too many?
Per character:
- 5-10 entries: Ideal (all 5 types + variations)
- 11-20 entries: Complex (multiple locations, NPCs)
- 21+ entries: Consider splitting into multiple lorebooks
Per lorebook:
- 20-30 entries: Manageable
- 31-50 entries: Use categories/folders
- 50+ entries: Split into multiple lorebooks by theme
What's the most important entry type?
Behavioral Rules (surprisingly!)
Why:
- Directly affects how character responds
- Makes character feel alive and consistent
- Most referenced during conversation
- Highest impact on user experience
Ranking:
- Behavioral Rules (affects every response)
- Character Persona (core identity)
- Relationships (drives interactions)
- Lore/World-Building (context when relevant)
- Environment (scene-setting, least critical)
Can I reuse entries across multiple characters?
Yes! That's the point of lorebooks!
Shared entries:
- Environment locations (tavern, city, spaceship)
- Lore/world-building (magic system, factions, history)
- Relationship entries (if characters know each other)
Character-specific entries:
- Persona (unique to each character)
- Behavioral rules (unique voice/habits)
- Personal relationships (individual connections)
Pro tip: Create global lorebook for shared content, character lorebook for unique content!
How do I test if entries are working?
Step 1: Enable Debug Panel
Chat Settings โ Debug Mode โ Enable
Shows which entries fire each message
Step 2: Send Test Messages
Appearance: "Describe yourself."
Environment: "What's this place like?"
Relationship: "How long have we known each other?"
Lore: "How does magic work?"
Behavior: [Observe responses for quirks/habits]
Step 3: Check Debug Output
Verify correct entries fired
Check token usage
Adjust priority/keywords if not firing
What's the #1 mistake creators make with entry types?
Putting everything in the character card.
Why it's bad:
- Wastes tokens (always present)
- Can't adapt to scenarios
- Hard to update
- No dynamic firing
Better approach:
Character Card: Core personality, summary (800-1200 tokens)
Lorebook: Details, world info, behaviors (fires when needed)
Result: More tokens for conversation, richer context when relevant
๐ Ready to Build Complete Characters?
Stop creating flat NPCs. Start engineering living characters.
Get Started in 5 Steps:
- Sign Up Free โ studio.meganova.ai
- Create 5 Entries - One of each type (persona, environment, relationship, lore, behavioral)
- Use Our Templates - Copy examples from this guide
- Test for 30 Messages - Verify all entry types fire correctly
- Refine & Iterate - Adjust keywords, priority, probability based on results
No credit card required. Start building in under 10 minutes.
๐ Create Your Complete Character Now
๐ข Share Your Character Setups!
Created an amazing 5-entry character? Share it!
- Discord: Join MegaNova Discord and share in #character-showcase
- Twitter/X: Tag @meganovaai with #5EntryCharacter
- Reddit: Post in r/SillyTavernAI, r/JanitorAI, r/CharacterAI
Best character setups get featured on the MegaNova blog! ๐
๐ Related Resources
Official MegaNova Guides:
- Lorebook Priority Guide (priority numbers explained)
- Keyword vs Semantic Matching (matching modes compared)
- Character Drift Fix Guide (prevent personality drift)
Platform Documentation:
- SillyTavern: World Info Documentation
- NovelAI: Lorebook Guide
- Chub AI: Lorebook Creator
Advanced Topics:
๐ Quick Reference: 5 Entry Types Checklist
| Entry Type | Keywords | Insertion Order | Priority | Probability | Matching Mode |
|---|---|---|---|---|---|
| Character Persona | appearance, looks, describe | 75-80 | 8-9 | 100% | Hybrid |
| Environment | location-specific OR none | 30-40 | 5-6 | 70-80% | Semantic |
| Relationship | names, {{user}}, relationship terms | 50-60 | 7-8 | 100% | Hybrid |
| Lore/World | system-specific terms | 20-35 | 6-9 | 100% | Keyword |
| Behavioral | speaks, acts, habit, gesture | 65-75 | 8-9 | 100% | Hybrid |
๐ก Pro Tips from Character Masters
"I spend 60% of my time on behavioral rules. That's what makes a character feel ALIVE. Appearance is forgettable, behavior is memorable."
โ Top SillyTavern Creator (300+ characters)
"Always use hybrid matching for relationships. Names alone miss context, vectors alone miss specificity. Together? Perfect."
โ MegaNova Studio Moderator
"My rule: If it would break the character to forget it, priority 9-10. If it's just interesting, priority 5-6."
โ Professional Character Designer
"Test your entries with the debug panel. You'll be shocked how often they don't fire when you think they should."
โ World Info Encyclopedia Author
Tags: #LorebookEntries #CharacterSetup #SillyTavern #WorldInfo #MegaNovaStudio #AICharacter #CharacterDesign #LorebookGuide #CharacterCard #BehavioralRules
Category: AI Character Lorebook & World Info
๐ก Pro Tip: Start with behavioral rules - they have the biggest impact on character quality. Add the other 4 types as you refine. Create your free MegaNova Studio account to start building!
Stay Connected
๐ป Website: Meganova Studio
๐ฎ Discord: Join our Discord
๐ฝ Reddit: r/MegaNovaAI
๐ฆ Twitter: @meganovaai