> For the complete documentation index, see [llms.txt](https://xeavin.gitbook.io/the-insurgents-lucky-loot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xeavin.gitbook.io/the-insurgents-lucky-loot/overview/configuration/name-vs-identifier.md).

# 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 `5%` chance to find a `Potion` in the `Arena`, you can do it via identifiers like this:

```lua
{49, {0, 1, 5.00}}
```

or via names like this:

```lua
{locations.arena, {contents.items.potion, 1, 5.00}}
```

or this:

```lua
{locations["arena"], {contents["items"]["potion"], 1, 5.00}}
```

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

{% hint style="info" %}
For a list of all names, you can view the `{game}/x64/scripts/config/TheInsurgentsLuckyLoot/helpers.lua` file.
{% endhint %}

{% hint style="warning" %}
The 2nd style (e.g. `locations.arena`) 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. `locations["arena"]`).
{% endhint %}
