Character stats

Every character (and things or places that, on the technical level, act like characters) needs some sort of stats. These are collected in stats.txt, a file found in the character's folder alongside diag.txt, sprites and images.

Data are written by variable name first, followed by a colon and whitespace, followed by the actual value. Each is typed on a separate line with no end line symbol needed.

The file is divided into several sections. The first one contains only a few lines of data and isn't encased in any way. The currently used stats are as follows:

The second section is wrapped in  tags and contains the character's attributes, hitpoints and resistances used in combat.

The third section is wrapped in  tags. It contains a list of moves the character can use during combat. Put each one on a single line with no divider or variable name included.

Another, rare section is used for characters that have a shop set up. Similarly to cards, you can type item names on each line in-between the  tags. In dialogue, you then use the start_shop function to open up a buy/sell menu. As of v1.13, this feature is only used with Tornoth.

Example stats.txt that contains most of the previously mentioned data: default_env: sejan_forest text_color: CFCDC9 bubble_color: 4F477F  