Stellaris
~ StarNet AI
starnet.2 event issue for set_flag use country that is ever best
I'm studying your mod (I'm integrating some of your code into my mod to make the ultimate AI), I found that you set a nice flag to understand if the nation has good eco tech or fleet but you also use empires that are necessarily better like an overlord.
I also found some code that can be optimized (which I will tell you in the future as soon as I finish studying it)

In starnet.2 add "NOT = { is_overlord_to = ROOT } " overlord is ever best at 99% of times.
every_relation = { limit = { is_country_type = default }
change in:
every_relation = { limit = { is_country_type = default NOT = { is_overlord_to = ROOT } }
Отредактировано gobbibomb; 9 апр. 2024 г. в 6:58