numResearchFields exceeds the maximum allowed. 4 requested but only 3 allowed. If a larger number is needed bug a programmer!
Nice error message. So, whom do I have to bug?
Currently we have research definitions in the PlayerRacename.entity files, in the Gameplay.constants file and in the RESEARCHSUBJECT_RESEARCHNAME.entity files.
Making the process of adding and changing the research part of the game a bit messy. Is there a possibility that you'll change the data structure, so that everything related to research is located in one file? (Preferably in the RESEARCHSUBJECT_RESEARCHNAME.entity files themselves. Probably not, but still wanted to ask.
There is also a second little problem with modding research. For example I wanted to add a new research: rawMetalExtractPercIncrease
It would have been a low lvl research that would have increased tax income (which is sadly not changeable Mistake on my side. Totally overlooked the corresponding research.
, so it would have changed population amount on a planet, which works very similarly) and decreased metal gathering rate. Now because the game adds up improvements from level:0 to level:3, that research would decrease metal gathering from 40% to 35%, even when no other metal research would have been done (though it works correctly in game, ie. it doesn't increase metal gathering by 35% but decreases it correctly by 5%.) It's only a display error, but a very misleading one.
Now I can't change my decrease research just to level:0, since then all the other metal researches would be affected.
This makes researches which have the same effect, but which aren't just continuations of the same type of research very confusing, since they'll always have an error while displaying the values.
Would it be possible to calculate those values on the fly? I.e. they would be changed, depending on what is already researched?