Name vs Identifier
General
You can either use the name or identifier of a parameter in the configuration file.
For example, if you want to have a 10% chance to learn Cure from a Happy Bunny, you can do it via identifiers like this:
{9, {0, 12288, 10.00}}or via names like this:
{foes.happyBunny, {actions.cure, contents.magicks.cure, 10.00}}or this:
{foes["happyBunny"], {actions["cure"], contents["magicks"]["cure"], 10.00}}All names are case insensitive, so you can even use foes.HaPpYbUnNy if you want.
Names give a better overview of the configuration file while identifiers keep it shorter and a bit more neatly formatted. You can choose whichever style you prefer more.
Notes
The 2nd style (e.g. foes.happyBunny) can not be used with names that:
Start with a number (e.g.
1000needles)Include non-latin characters (e.g.
cĂşchulainn)Are a Lua instruction (e.g.
break)
For such cases, you must use the 3rd style instead (e.g. foes["happyBunny"]).
Last updated