civfanatics / CQUI_Community-Edition

Civilization 6 mod - UI enhancements, reduce clicks and manage your empire faster!
MIT License
149 stars 28 forks source link

Tech/Civic Tree Related Fixes and Additions #354

Closed JamieNyanchi closed 1 year ago

JamieNyanchi commented 1 year ago

Makes the following modifications:

  1. Fixes the panel tooltip in the WorldTracker_CQUI file to properly show the tech/civic info when hovering over

  2. Fixes selecting Future Tech or Future Civic in the Tech/Civic trees. Also comments out playing sound when selecting these as this sound is already played by the base file.

  3. Adds in a setting to automatically repeat repeatable techs and civics. In the case of the base game, this is just Future Tech and Future Civic, but should work for custom techs and civics that are repeatable too. Another solution to this that may look nicer would be to have a small button on the tech/civic nodes that can be repeated that can be clicked to repeat that tech/civic. I may look into doing this later, but for now, I think this is suitable. This feature was requested in the comments of #54 , but does not implement the main request of that issue, so it shouldn't be closed yet.

As always, I can made changes or give more info if requested!

Infixo commented 1 year ago

1 and 2 are ok. Re: 3 - I have a question about such situation. In Civics tree one can get to the end but not research all civics (there leaves, mostly govs). Can you still manually select such a leftover? Or is this auto-repeat forcing you to just do Future Tech/Civic? This could also be problematic in the Shuffle Mode.

JamieNyanchi commented 1 year ago

Oh, that's a good question! The way I intended it to work is that it will only repeat a tech/civic if that tech/civic was just finished and it is repeatable. It should still let you manually select others that you may have passed on earlier. I will test this soon to be sure though and make any changes if necessary!