technology count_formula

Place to post guides, observations, things related to modding that are not mods themselves.
Post Reply
davemcdave
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sun Jun 10, 2018 1:24 pm
Contact:

technology count_formula

Post by davemcdave »

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?

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: technology count_formula

Post by bobingabout »

As far as I know, the only variable you're allowed to include is L.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

Post Reply

Return to “Modding discussion”