This plugin allows to change the default bottom window of the unit menu screen, so you can show data from the unit that is not available by default. You can also add more windows, with each window showing different types of data for the selected unit. The data that will be displayed will be choosen by the user from the list of data that was added to the plugin.
You don't need to use custom parameters and you don't need to know about progamming. To modify the window, you only need to change some options specified in the instructions below. It is possible to make windows show different types of data like races, states, class type, among other things.
The windows are divided into four sectors: top left, top right, bottom left and bottom right. Each of these sector can hold one type of data. In particular, the top sectors are bigger than the bottom ones, so they can have more detailed information. For example, if you insert the races in a top sector, you can see the name and icon of the race, but if you add it to a bottom sector, you can only see the icon.
In addition to that, most data can be selected, which allows to show the description of the data below the window. In the example mentioned earlier, it would show the description of the selected race.
Note that not all data is available in all sectors. Some are exclusive to top sections and some others to bottom sections.
To assign data to a sector, you need to open the _config.js file with a text editor like Notepad. In there, you will find a list of variables with default values already set. The variables TOP_OPTIONS and BOTTOM_OPTIONShave the data available to use, while the Options variable is where you can assign one of those data options.
Notice that each variable is not just a value, but an list of values. Each value represents the data from that section of each window. For example, if the TOPLEFT value has [TopRaceInteraction, GrowthInteraction] it means that the first window will have a list of races at the top left, and the second window will have a list of the growths of that unit.
Before modifying those values, make sure to define the value you want for WINDOWS_COUNT, which determines the amount of windows the screen will have. Also, make sure that each list has the same amount of elements as the amount of windows defined in WINDOWS_COUNT.
Here is a list of all the possible values that can be used for the top and bottom sections:
If you use the StatsInteraction, AltStatsInteraction and/or GrowthInteraction, you will notice that you can't select each stat to check their description. That is the default behaviour, but it can be changed. To enable this, set true to the variable ENABLE_STAT_DESCRIPTION in the _config.js file
To do this, you need to create and Original Data entry for each stat. Each entry must have exactly the same name as the stat, and you can write the description in the Description field. All entries must be in the same tab, which will be specified by the STAT_TAB variable. Note that the value zero means the first tab, one is for the second tab, and so on.