Attributes and Leveling
No stat is built into the engine. Might, Mana and the rest are rows in assets/data/attributes.vfa: rename them, remove them, add your own. Open the file in the asset manager (double-click it in the Content Drawer) for a form, or edit it as text.
comp attr might -1 -
field label Might
field start 8
comp bar health -1 -
field label Health
field max 100
field perlevel 0
field color cc3344
comp role damage -1 -
field attr might
comp leveling leveling -1 -
field levelup 5
field companionxp present_standing
field share 100Attributes
An attr <key> row, fields label and start. Up to twelve. A custom attribute works everywhere the built-in six did: dialog checks (a reply's stat resolve and dc 12), gear bonuses, skill effects, saves, companions' scores and the character screen.

Roles
The engine asks attributes six questions: damage, health, speed, crits, learning and prices. A role <role> row's attr field says which attribute answers each; without one, the attribute in the role's own place (the first six, in order) answers, and none leaves the role starved. A game where charisma drives damage is one row.
Speed also sets armour class and initiative (a third of it is the mod in the d20 rules); crits also drive backstabs and how well enemies see you.
Bars
A bar <key> row, fields label, max, perlevel (growth per level) and color (RRGGBB). Pools that go down and fill up again, up to six. The first bar is health. A bar named mana or mp is the spell pool; without one, spells are free.
Leveling
- Experience to the next level comes from the curve named
xp(see below). Without it, each level needs the level times 100. - There is no maximum level. In a script,
level <n>carries the character up to level n, 999 at most in one call. - The
levelingrow'slevelupfield is the points granted per level to spend on attributes. - Each level adds every bar's growth, plus the health attribute's share, then fills health and mana.
- The class's grants at that level (spells, skills, items, points) arrive with it. See Magic.
The leveling row's companionxp, share, downedshare, reserveshare and hook fields decide how companions share experience. In the asset manager's form, pick Leveling in the list for Points per level and the COMPANION XP rows: Companions gain, Share of hers, %, Downed share, % (members who are down), Reserve share, % (members waiting in the reserve) and Custom hook (script.Function). Pick Roles for the six roles. See Companions.
Points a companion has to spend are spent on the party screen, with the + beside each attribute.
Curves
assets/data/curves.vfa opens in the Asset Manager on its Curves page: double-click it in the Content Drawer's data folder. A chip along the top picks a curve, and the graph draws it as a row of points: across is the step (level 1, 2, 3...), up is the value. Drag a point to change it; Details renames the curve, sets how many points it has and types the picked point's value. New curve and Remove add and remove curves. Save writes the file, and reads Save * while there are unsaved changes.
comp curve xp -1 -
field points 100 250 450 700 1000The engine reads xp (step 1 is the experience from level 1 to 2). Past the last step a curve keeps its last value. Any script can read any curve with curve(<name>, <step>).