Adding injuries
Advanced Roleplay Environment supports modular injuries. This means you can easily add injuries or edit them accordingly.
Adding injuries
In order to add an injury we just need to add the injury inside the injuries file and configure the properties accordingly.
Adding the injury
Since all injuries are saved inside script/entities/injuries.lua
, we will open this file. This should look like this:
We will scroll to the bottom of this file and we will just copy n' paste a injury from above and edit the copied injury. So it should like this now:
Configuring the injury
There are many options for the injury so that we can edit it perfectly for our needs.
Lets begin with explaining.
Adding the translation
Since the translation is missing it will look weird inside the ui. So we need to add it in our locale files. So we open our locale file (example: languages/en.json) and copy 'n' paste just an other entry and edit the values accordingly. So it should look like this if added like above:
Last updated