How NPCs, Villains & Your World Make Decisions
Most tabletop tools either give you static NPCs who sit in a tavern waiting for the party to walk up, or omniscient AI villains who magically know secrets they never heard and act on whims from the last chat message.
Elthoria uses a structured decision engine behind the scenes so every major NPC, faction leader, rival spy, and combatant makes believable, grounded choices based only on what they actually know — and can explain why they acted that way whenever you ask.
TIP
Looking for the Java classes, Bayesian networks, QBAF argumentation, and graph algorithms under the hood? Switch over to Agent Reasoning & Decision-Making Deep Dive on the Developer side.
What changes at your table (in plain English)
What an NPC actually knows How they decide What players experience
────────────────────────── ─────────────── ───────────────────────
• Their own relationships ──► • Weighs pros, cons & doubts ──► • No omniscient villains
• Rumors they actually heard • Checks if proof is missing • Spies investigate first
• Secrets they hold • Traces social connections • Schemes adapt to setbacks
• Contradictions they noticed • Reacts to debunked lies • Every twist has a real trail1. No omniscient villains — NPCs only act on what they actually know
Every active schemer and faction leader operates inside their own private view of the world:
- Target-specific knowledge: Just because a rival lord heard gossip about a witness in Duke Vane's household doesn't mean he suddenly has leverage to blackmail Captain Mara across town. If an NPC wants to blackmail, coerce a witness, or expose corruption against a specific target, they must actually have a rumor or secret connected to that target.
- When proof is missing, they investigate instead of cheating: If an NPC wants to strike at an enemy but lacks solid evidence, their plan automatically shifts into the exact missing step — planting an informant, verifying a ledger, opening a backchannel, or gathering rumors first.
- Connecting the dots across mutual contacts: Sharp spymasters and high-tier NPCs don't just look at who they personally hate. If a seemingly neutral envoy is heavily indebted to a rival the spymaster already distrusts, the spymaster grows suspicious of the envoy too — based strictly on contacts they know about, never hidden GM secrets.
2. NPCs navigate real social networks (bridges & information brokers)
When an NPC wants to reach someone outside their immediate circle, they don't teleport into their throne room:
- Finding a mutual bridge: If Noble A wants leverage over Noble C and only connects to them through Merchant B, Elthoria traces the shortest social path (
A → B → C) and plans an introduction, backchannel, or informant through Merchant B. - Targeting key brokers: When a faction needs intelligence across a tense city, it identifies who sits at the center of the information web — the harbor master, guild clerk, or gossipy courtier bridging rival cliques — and focuses its informants or bribes there.
3. Weighing pros, cons, and doubts (in politics and in combat)
Instead of picking actions from a flat checklist, Elthoria lets competing reasons argue against each other — including doubts that weaken specific assumptions:
- In faction & intrigue planning: A tempting hostile move gets weighed against goal alignment, capability, execution risk, and the NPC's own belief about whether the target is loyal or about to betray them. If the evidence surrounding that target is contradictory or contested, that doubt directly weakens the NPC's confidence in acting — making cautious leaders pause and verify while reckless ones press ahead.
- In tactical combat (
recommend_combat_action): When you ask Elthoria to recommend an enemy's (or player's) next combat move, it balances expected damage, battlefield control, ally protection, counterattack exposure, and resource cost — with nested checks:- Low hit chance or shaky battlefield intel directly weakens a flashy high-damage strike.
- A fearless berserker's high risk tolerance directly softens counterattack exposure, while a cautious archer treats the same opening as too dangerous.
- Abundant spell slots or consumables soften resource cost; running low makes the combatant conserve power.
4. When a lie is exposed, beliefs unravel realistically
Suppose your party publicly rescues a trapped caravan, proving that rumors calling Lord Aldric a coward were false:
- Conclusions built solely on the debunked lie collapse and are purged from the world's active facts.
- Suspicions backed by other independent clues don't magically disappear — instead, they soften to reflect the remaining evidence, and NPCs who believed the false rumor shift into skeptics while Aldric's public standing partially recovers.
- Live scenes remember the tension: When characters meet in a staged scene right afterward, someone who suspects a counterpart of betrayal or knows their reputation is disputed actually brings that guarded, probing attitude into their dialogue and inner thoughts.
5. Smarter GM prep: pinpointing pressure points & "what does it take?"
Four built-in analytical tools turn complex world state into fast, usable GM answers:
| What you want to know during prep | What Elthoria tells you | How to use it at the table |
|---|---|---|
| "What does the realm hinge on this week?" | Runs sensitivity analysis across crown legitimacy, debt, famine, war, succession, and faction tension to name the single lever whose shift changes crisis risk the most. | Focus tonight's session hook right on the fulcrum that actually matters most. |
| "Why is kingdom collapse / civil war looming?" | Gives the shortest, clearest root-cause explanation (the 1–2 primary drivers) plus how strongly each factor is pushing the crisis. | Turn abstract percentages into concrete news criers, shortages, and noble grievances. |
| "What would it take to stabilize the realm?" | Tests counterfactual "what-if" scenarios (e.g., "what if crown debt drops to 10%?") or goal-seeks the exact target threshold needed to stabilize the kingdom — without changing canon. | Design fair, meaningful quest stakes ("paying off half the guild debt is enough to stop the riots"). |
| "Why isn't this alliance or plot hook active yet?" | Surfaces the exact missing link or graph gap holding a story candidate back. | Hand players an actionable investigative lead instead of a dead end. |
6. Tuning the world's tone to your table
Every campaign has a different feel — gritty low-magic intrigue, high-drama court conspiracy, or pulp adventure. When you give Elthoria feedback on whether a weekly rumor spread, secret leak, conspiracy suspect, or tactical call felt plausible or overblown, Elthoria adjusts and versions its reasoning weights for that specific campaign (and lets you inspect or revert versions anytime). Over a few sessions, your world learns how fast gossip should travel, how easily conspiracies form, and how boldly combatants weigh risk at your table.
Plain-English prompts to try right now
| Goal | What to ask your AI GM |
|---|---|
| Get an enemy's best tactical move | "It's the hobgoblin captain's turn — recommend his best combat action given he's aggressive, low on potions, and the wizard is threatening his archers." |
| See what the world hinges on | "Give me this week's GM overview — what single pressure does the realm hinge on right now, and what's driving the biggest collapse risk?" |
| Test a "what-if" before the party chooses | "Preview what happens to the region if the party exposes the Dockmasters Guild instead of taking their bribe." |
| Understand an NPC's motive | "Why does Warden Voss suddenly distrust the envoy? Trace his beliefs and recent rumors." |
| Check why a story lead is blocked | "Show me the top story candidates for next session, including any missing leads the party would need to uncover first." |
Where to go next
- How Your AI GM Uses Maps & the Living World — plain-English guide to hex maps, tactical grids, advancing weeks, and running living-world campaigns.
- Walkthrough 2: Tactical Combat, Initiative & Stealth — try
recommend_combat_actionalongside live initiative and stealth. - Walkthrough 3: Living World, Oracle & Custom Tables — try weekly ticks, counterfactual previews, and
explain_world_fact. - Agent Reasoning & Decision-Making Deep Dive (Developer track) — full technical architecture of how Elthoria wires Kompile's graph-reasoning primitives.