[kovarex] [0.17.42] Infinite technologies with lower max_level than prototype-number can freeze the game.
Posted: Fri May 31, 2019 11:02 am
What?
If an infinite technology prototype is named "blabla-N" and has max_level=K with K < (N-1) then calling research_all_technologies will freeze the game.
Reproduction
Expected Behavior
Max level should be treated as ((N-1) + K) not just K i guess? Not sure.
If an infinite technology prototype is named "blabla-N" and has max_level=K with K < (N-1) then calling research_all_technologies will freeze the game.
Reproduction
Code: Select all
data.raw.technology['physical-projectile-damage-7'].max_level=1
Code: Select all
/c game.player.force.research_all_technologies()
Expected Behavior
Max level should be treated as ((N-1) + K) not just K i guess? Not sure.