Logo Platform
logo amplifiers simplified

Science gain from Science Collaboration Treaty is not calculated properly.

Reply
Copied to clipboard!
2 years ago
Dec 20, 2022, 5:35:18 PM

Hey,


I'm playing first game after DLC release and science gain from collaboration treaty seemed too high to me so I decided to mod it.

However during modding proccess I noticed that values in game are not calculated properly. Current formula for calculations is as follows:


Target.PopulationCount + Target.DistrictCount * Target.GlobalEra * 2


Gains in game are always much higher though. Here is an example:

Gain here should be: 3+6*6*2=75  ,because:

PopsCount = 3,

District Count = 6

Global Era = 6


However the gain in the game is 203. 

Problem occurs in every game not only on that save and affects every city of independent people.


After some testing I noticed a reason for that. Variable Target.DistrictCount doesn't return real number of district. When I set up gain from treaty as simply DistrictCount I got much higher values than number of district in the city. All other variables work fine.

Updated 2 years ago.
0Send private message
2 years ago
Jan 26, 2023, 11:31:26 AM

Hello!


Thank you very much for your report :)

An issue was filed and is being investigated. 


Have a lovely day! ^^


0Send private message
?

Click here to login

Reply
Comment