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 add a chain benefit that has a 5% chance to add the status effect protect to the party leader, you can do it via identifiers like this:

{0, 2, 18, 118, 5.00}

or via names like this:

{
  targetTypes.leader,
  benefitTypes.statusEffect,
  statusEffects.protect,
  particleEffects.chainBenefit,
  5.00
}

or this:

{
  targetTypes["leader"],
  benefitTypes["statusEffect"],
  statusEffects["protect"],
  particleEffects["chainBenefit"],
  5.00
}

All names are case insensitive, so you can even use targetTypes.LeAdEr 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

For a list of all names, you can view the {game}/x64/scripts/config/TheInsurgentsChainBenefits/helpers.lua file.

Last updated