Page 1 of 1

[kovarex] [0.17.32] technology count_formula

Posted: Tue Apr 23, 2019 4:36 am
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?

Re: [kovarex] [0.17.32] technology count_formula

Posted: Tue Apr 30, 2019 1:38 pm
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.