Could you post the whole chain from modifier to score?
Code:
if (double_time == yes)
[effective difficulty of a tech component] = 2 x (2 + max(3, difficulty));
else
[effective difficulty of a tech component] = 2 + max(3, difficulty);
[effective difficulty of a tech] = Sum of effective difficulties over all 5 components of a tech;
value = value_dbed x [effective difficulty of a tech];
score = value x [historical date modifier] / [research time including ministers and ideas but excluding historical date modifier];
Also it might be useful to know that with historical date modifier excluded the calculation of research time is simplified to
Code:
if (matching expertise == yes)
[research time for a component] = 200 days x [effective difficulty of a tech component] / (18.0 + 3 x skill + 15 x [matching test site level]);
else
[research time for a component] = 200 days x [effective difficulty of a tech component] / (9.0 + 1.5 x skill + 15 x [matching test site level]);
[research time for a tech] = Sum of research times over all 5 components of a tech;
[research time for a tech] = [research time for a tech] x (1-minister modifier);
if (blueprints == yes)
[research time for a tech] = [research time for a tech] / [blueprint modifier];
In a further step one would need to divide by research_mod, but as that will not differ it can be ignored for the purposes of calculating score.
Ah, I see. Yes, 1 is fine as well. Do you foresee the desire to specify preferences in the interval (0, 1)?
If 1 were to be the standard value, than yes. But for 100 as standard value, value_dbed would be in [10,300]. The later would imply to start 667 days ahead of time, while 10 does imply to ignore unless all alternatives suffer historical date modifier = 0.1.
Last edited: