Page 1 of 1

Is there a list of the variables and functions used in blueprint parameter formulas

Posted: Mon Oct 28, 2024 7:16 am
by DragonMech
As the title says. I've been spending a fair amount of time working through the different possibilities with parameterised blueprints but I'm hampered by not knowing what is possible. I found out a lot from following this youtube tutorial on creating a bot mall, but they didn't say where they got their information from. For example, I already knew about the stack size parameter (p0_s) from the in-game tooltip but didn't know that the ingredient of parameter checkbox only works when the parameter is in a crafting machine, or about the min function - I inferred the max function from that but I don't know what else is possible.

I've tried searching the forum, google, the wiki but without luck. Maybe I'm just having a brain fart and have overlooked something incredibly obvious, but I've just had no luck.

Is there a cheat-sheet, wiki page, man page etc that covers this somewhere, or do I just have to wait for the Factorio wiki to be updated?

Re: Is there a list of the variables and functions used in blueprint parameter formulas

Posted: Mon Oct 28, 2024 10:49 pm
by seniorfiance
Here you go! It definitely could be easier to find.

https://lua-api.factorio.com/latest/con ... ssion.html

Re: Is there a list of the variables and functions used in blueprint parameter formulas

Posted: Tue Nov 12, 2024 9:56 pm
by bullipatty
seniorfiance wrote: Mon Oct 28, 2024 10:49 pm Here you go! It definitely could be easier to find.

https://lua-api.factorio.com/latest/con ... ssion.html
thank you so much :mrgreen: