Component types
NPC
Every settlement has someone who remembers. An NPC is the person in your game who does the talking.
What it is
An NPC is a character who stands in a scene. It can give the player a bit of dialogue or a cut-scene, and it can give items, or trade them. It is not a party member and it is not something the player plays.
Use it for
- A quest giver who plays a short story and then hands over a quest.
- A trader who takes ore and, after a while, pays out gold.
- A guide who says something different once the player has done something.
- A keeper of a place whose only job is to be remembered.
Actions it can have
| Action | What it does here |
|---|---|
| Play story | Plays a short story when the player taps the NPC and the requirements are met. The story can award a quest. |
| Make things | Gives items over time. With no requirements it is a plain gift. With requirements the player must bring first, it is a trade. |
An NPC has no shop-style Buy or Sell action. See under the hood for how a trade works.
Setting it up
- Play your game, open the game menu and choose Edit this Game.
- In Add Components, click + Create Component.
- In the Create Component dialog, pick NPC.
- Fill in Name and Description Shown Player.
- Click Create, then drag the NPC from the palette onto the scene.
- Select the NPC and open its property window. In the Add action menu, choose Let this play a story.
- In the story picker, type a name and use Create story to make a new story, then Edit story to write it. The story opens in a new tab.
The create form asks only for a name, a description and an image. It does not add an action, so steps 6 and 7 give the NPC something to say.
In Vespera: Old Maren Play it
Old Maren keeps the cold hearth at the Last Outpost. When the player taps her, she offers Welcome, a short story that plays once. Its last scene hands the player the Guild quest. After that, tapping her shows only her description, because the story has already been told.
The Last Bard in the Bards' Ruin is a second NPC with the same pattern. His Listen plays A Song Half-Remembered once. After it, his popover shows no button. See Play story.
Players cannot drag her anywhere. An NPC always stays where you placed her.
Good to know
- A story you cannot run is not shown. If the requirements of an NPC's story are not met, the player sees no button for it at all. It does not appear greyed out.
- Tell a story once. To make a story play only once, give the NPC a marker the story awards, and require that the player does not hold it yet. Old Maren does this.
- Unique and fixed. An NPC is always a single, unique character. It cannot be dragged by the player, and Edit Mode can still move where you placed it.
- Keep the words in a story. The dialogue belongs to the story, not to the NPC. The NPC only runs the action that awards it.
- At least one story must be playable. If an NPC has several stories and none of their requirements can be met, tapping it shows only its description.
Under the hood
- An NPC has no Buy or Sell action. A trade is a Make things action with requirements the player must supply first, and it finishes over time, not at once.
- An NPC that is given attack actions effectively becomes an enemy, so use the Enemy type for fights.
- Party membership and branching dialogue are not part of the NPC type.