I was writing a mod to make infinite technologies ignore the technology cost multiplier. While troubleshooting, I set ALL technologies to ignore the technology cost multiplier. The source code is as follows:
What happened?for techname, tech in pairs(data.raw["technology"]) do
tech.ignore_tech_cost_multiplier = true
end
All non-infinite technology levels ignored the cost multiplier, but infinite levels did not.
What did you expect to happen?
Expected all levels of all technologies to ignore the cost multiplier.
Steps to Reproduce
Run the game with the given mod code in data-final-fixes (Infinite-Unadjusted has been attached for this purpose), create a new game with the technology cost multiplier increased.
All non-infinite technology levels will have unmodified costs, but infinite technology levels will be modified.