[kovarex] [0.17.32] technology count_formula

This subforum contains all the issues which we already resolved.
vinhomessmartcity
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Apr 23, 2019 4:32 am
Contact:

[kovarex] [0.17.32] technology count_formula

Post by vinhomessmartcity »

i'd put a local k in count_formula for one of my infinite techs. the game loads and i can open research tab, then crashes when i look at that technology, "the value of variable k was not specified".
feels like shouldve crashed on load, but id feel dumb reporting "game doesnt crash" as a bug.

and it got me wondering, are there variables other than L we can put in count_formula?
for example, could we make a research that reduces the cost of other infinite research?

kovarex
Factorio Staff
Factorio Staff
Posts: 8194
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [kovarex] [0.17.32] technology count_formula

Post by kovarex »

Hello, thanks for the report.
I made a check that only the l (or L) variable is used on startup.

Having different kind of variables that would be controlled somehow might be useful one day, but it would require quite some thought to make it all work nicely together.

Post Reply

Return to “Resolved Problems and Bugs”