Page 1 of 1

Finding technology effects names

Posted: Sat Mar 29, 2025 7:52 pm
by DuckDuck
Hello, I've started looking modding for fun. I started by looking at other mods: the mods "Additional Cargo Landing Pads" and "More Landing pads" both increase the number of cargo landing by adding a modifier to the 'rocket-silo' technology effect: "cargo-landing-pad-count".
I understand how it works but my question is where did they find the name of this effect? I looked at the lua files (base-data-updates.lua, technology.lua, ...), the list of Concepts and other pages in the wiki.

My question is where can I fine the "cargo-landing-pad-count" effect defined? How did the modders know this was the correct name to change the property?

Re: Finding technology effects names

Posted: Sat Mar 29, 2025 9:41 pm
by Silari
For things like that you want the API docs - there's a link on the top of the page. Modifiers have their own page where they're listed an explained: https://lua-api.factorio.com/latest/types/Modifier.html

Re: Finding technology effects names

Posted: Sun Mar 30, 2025 7:58 pm
by DuckDuck
Oh thanks, I had searched the API but I hadn't found the modifier page.