A non-player character: wants, voice and secrets
P95.npcs.01 · Audience: Guest, IT/ML learner, Language professional · Prerequisites: What a game master does: describe, adjudicate, pace
Where next?
Later in Non-Player Characters
P95.npcs.01 · Audience: Guest, IT/ML learner, Language professional · Prerequisites: What a game master does: describe, adjudicate, pace
Later in Non-Player Characters
The toll-keeper on the stone bridge had a coat, a ledger and a dog, and the game master played him well enough for one scene. Meet him a second time, three sessions later, and the table will remember what he said: if he speaks differently, wants something else, or has forgotten what he was hiding, the world stops feeling real. This lesson writes a character down on a card short enough to read in a minute, and complete enough that a game master, or later a language model, can play them the same way every time.
The players each speak for one character. Everyone else the characters meet, the toll-keeper, a bandit, a merchant, the innkeeper, is a non-player character, played by the game master. A game master may voice a dozen of them in an evening, so each needs to be quick to pick up and hard to get wrong.
A character card holds what a game master needs to play someone, and nothing else. It has five parts:
A card holds no backstory nobody will ever hear, and no stats for a fight the story does not have.
Bram, the toll-keeper of the stone bridge. About fifty, a patched blue coat, a ledger always under his arm, and a big grey dog called Pebble.
Wants. Now: five coins from every traveller, written in his ledger. Underneath: to keep his post. He has kept the bridge for twenty years and has nowhere else to go.
Voice. Slow and exact. Counts everything aloud, calls everyone "traveller", and answers a hard question by reading from his ledger. "Five coins, traveller. One, two, three… five. I'll write you down."
Secret. At night he lets the smugglers' boats pass under the bridge for a coin each, kept in a tin under his floor, because the lord stopped paying his wages last winter. He will deny it.
How it can come out. Pebble greets the boatmen like old friends, which anyone at the bridge after dark can see. Fresh rope marks on the arch: a Noticing check, easy (10). Seeing through his denial: a Reading people check, medium (15).
Each part does a job at the table. Wants tells the game master what Bram does when the players do nothing: he asks for the coins. Voice lets the game master become him in one sentence. Secret gives the players something to find, and how it can come out makes sure they can: a secret nobody can discover is the same, for the table, as no secret.
Ada's player: Ada asks him whether boats pass at night.
Game master (as Bram, turning a page of the ledger): "Boats, traveller? The ledger says no boats. One page, two pages. No boats."
Ada's player: I don't believe him. Can I tell if he's lying?
Game master: That's Reading people, a Heart skill, medium: 15. If you make it, you'll know he is hiding something, and roughly what. If you miss, he seems like a dull man telling the truth. Roll.
The game master did not have to invent anything: the answer, the voice and the check were on the card. The check is adjudicated exactly as in the last lesson: possible, uncertain, and failing matters, because the players might leave the bridge with the wrong idea.
For Ada the odds are poor. Heart −1, untrained, against 15: she needs 16 or more on the die, 5 faces out of 20, a 25 % chance. The rope marks are easier: Noticing is a Wits skill, Wits +1 against 10, so 9 or more, 12 faces, 60 %. A secret with three ways out gives a table three chances: the dog, seen by anyone who is there after dark, and the two checks, of which the easier one rewards the players who go and look.
A card is data before it is prose. Written as data, a program can check that no part is missing, and work out the odds each way out gives a character.
bram = {
"who": "Bram, the toll-keeper of the stone bridge; a patched blue coat, a ledger, a grey dog",
"wants": {"now": "five coins from every traveller", "underneath": "to keep his post"},
"voice": "slow and exact, counts aloud, calls everyone 'traveller'",
"sample_line": "Five coins, traveller. One, two, three... five. I'll write you down.",
"secret": "lets the smugglers' boats pass at night, because the lord stopped paying him",
"comes_out": [
{"clue": "Pebble greets the boatmen like old friends"},
{"check": "Noticing", "ability": "Wits", "difficulty": 10, "finds": "rope marks on the arch"},
{"check": "Reading people", "ability": "Heart", "difficulty": 15, "finds": "his denial is a lie"},
],
}
# The five parts; the voice is written as two keys, how they speak and a sample line.
PARTS = ("who", "wants", "voice", "sample_line", "secret", "comes_out")
def complete(card):
"""Every part present, both wants, and at least one clue and one check."""
ways = card.get("comes_out", [])
return (all(card.get(part) for part in PARTS)
and set(card["wants"]) == {"now", "underneath"}
and any("clue" in w for w in ways) and any("check" in w for w in ways))
def chance(modifier, difficulty):
"""The faces of a d20 that reach the difficulty, out of twenty."""
return sum(1 for face in range(1, 21) if face + modifier >= difficulty) / 20
ada = {"Wits": 1, "Heart": -1} # Ada trains neither Noticing nor Reading people
print(complete(bram)) # True
print(complete({**bram, "secret": ""})) # False: nothing to find
for way in bram["comes_out"]:
if "check" in way: # the dog needs no roll: anyone there after dark sees it
print(way["check"], chance(ada[way["ability"]], way["difficulty"]))
# Noticing 0.6
# Reading people 0.25
The two chances are the 60 % and the 25 % above.
A game master who forgets a detail can improvise and stay consistent with what they remember. A language model playing Bram has nothing but the text it is given: if the card does not say that he denies the smuggling, the model may confess at the first question; if it does not say how he speaks, every character sounds the same. That is why the card names a voice with a sample line, and states the secret and the way it comes out plainly, rather than leaving them to be guessed. A card good enough for a model is a card any new game master can pick up and play.
Why it matters — The same card will be handed to a language model in later lessons, and a model plays only what it is given.
The first rung gives you one line of a card and asks which part it is. The second asks you to write a whole card: the innkeeper of the village where the characters' story starts. It is read against the five parts above.
Ask a question about this content. The mentor explains and grounds its answer in what you are studying; asking is recorded as a learning signal, not a grade.
Off by default. The mentor always gets your file; this only decides whether your own copy stays here. Copies live in this browser only - they do not follow you to another device, and clearing site data removes them.
Loading exercise…
Loading exercise…
Loading your notes...