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

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
DragonMech
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Oct 25, 2024 7:54 am
Contact:

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

Post 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?
bullipatty
Inserter
Inserter
Posts: 36
Joined: Sat May 02, 2020 5:44 am
Contact:

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

Post 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:
Post Reply

Return to “Gameplay Help”