Oathkeeper Oblivion
Chieftain
- Joined
- Oct 23, 2020
- Messages
- 43
I have done pretty much the exact same with the technology tree and it displays properly, seen here (more expensive to the right)First you need to have all the Cost values for Ancient Era Civics less than the lowest cost value of any Civic in the Classical Era, and so on for each respective pair of eras. Otherwise this borks the code in the lua file that assigns the positions in the display.
Second you need to ensure that the CivicPrereqs table is properly constructed after your changes and does not have logical conflicts with the costs and positioning on the tree you are aiming after.
https://i.imgur.com/3GpYPAY.png
which leads me to believe that the costs need not be cheaper than the costs of the next era? unless this only applies to civics.
For some reason in my civics tree, techs with higher costs are being displayed in the same column as civics with lower costs, and the tech tree isn't having the same problem.
https://i.imgur.com/Mr1XSD7.png
As for CivicPrereqs, how would this conflict with costs? I also have Techs requiring techs that are more expensive, displays fine in the tech tree