Player characters
You build the player character yourself. It is the set of stats you define for your story, such as Strength, Dexterity, Health or Charisma.
Building a player character
Section titled “Building a player character”Stats live in the Stats tab at the bottom of the editor.
- Click Add statistic. It creates a stat with a name like “Variable 1” and opens it in the list. The number counts all the variables in the story, not just the ones in this tab.
- Rename it in the list if you want.
- Keep the type on Number.
- Set a range if you need one.
Two rules apply to the range:
- The minimum and maximum are saved together. If you fill in only one, both are discarded.
- The default must be inside the range. Every reader starts with it.
The tab where you click Add decides the kind (stat or variable). Create Variable inside an Event component also makes a stat.
Letting readers shape the character
Section titled “Letting readers shape the character”Every reader starts with your default values. An Event component on a node changes a stat when the reader reaches that node:
- set to writes a starting value.
- increase by and decrease by adjust it later.
To let readers choose their own starting values, open the chapter with a choice. Each option leads to a node with an Event component. This way a reader can pick a class, for example fighter, thief or mage.
Using stats
Section titled “Using stats”A stat can restrict a choice, be tested in a skill check, or decide a switch condition.
The skill-check picker lists only stats. Requirements on choices and switch conditions accept both stats and plain variables.
The printable gamebook keeps the two apart as well. Stats go in a table headed Global Stats, and plain variables go in a table headed Environment Variables. Both headings stay in English, whatever language you write in.
Bounds while the story runs
Section titled “Bounds while the story runs”The minimum and maximum apply to values you enter in the editor. Events do not enforce them while the story runs: an event that subtracts 3 from a stat at 1 takes it to −2.
Event rows have no condition of their own. You can guard the value only on the route to the node, with a switch condition or a restricted choice before it. When you write a condition, the editor refuses a value outside the bounds and restores the last valid one. See Variables.
Stats and story characters
Section titled “Stats and story characters”The people the reader meets are characters. They have a separate list, and each one has a name, a description and an avatar. You use that list to put a speaker on a dialogue line. The stats you define on the Stats tab belong to the story and are shared by the whole story. You do not set stats tied to a specific character in the character editor yet. If you do see them on a character, the same locking after release applies to them as to other stats.
To track a relationship with a character, use a story variable named after what it tracks. You can test it anywhere except a skill check.