Technology Cost Ramp Up Fixed

by kuviboy

Applies a technology cost multiplier that steadily increases as you get deeper in the tech tree, instead of a flat multiplier applied to all technologies equally.

Content
4 months ago
2.1
161

g Hung Start - 100k Log Entries

4 days ago
(updated 4 days ago)

I've got a K2SE pack I added this mod to, and it hangs on startup for 3/4 minutes.

   1.878 Loading mod technology-ramp-up-fixed 0.0.3 (data-updates.lua)
   1.879 Script @__technology-ramp-up-fixed__/constants.lua:5: technology-ramp-up-test
   1.879 Script @__technology-ramp-up-fixed__/data-updates.lua:20: Final technology: 'rocket-silo'
 200.169 Error ModManager.cpp:1786: Failed to load mod "technology-ramp-up-fixed": __technology-ramp-up-fixed__/data-updates.lua:29: stack overflow
stack traceback:
    __technology-ramp-up-fixed__/data-updates.lua:29: in function 'addTechnology'
    __technology-ramp-up-fixed__/data-updates.lua:30: in function 'addTechnology' ***This is line 230 to 111,335 ***
*****************
    __technology-ramp-up-fixed__/data-updates.lua:30: in function 'addTechnology'
    __technology-ramp-up-fixed__/data-updates.lua:46: in main chunk
 200.220 Loading mod core 0.0.0 (data.lua)

After it finishes loading, it then drops an error with the entire stack trace (infinite loop presumably)

New response