Finding technology effects names

Place to get help with not working mods / modding interface.
DuckDuck
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Mar 29, 2025 6:26 pm
Contact:

Finding technology effects names

Post 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?
User avatar
Silari
Filter Inserter
Filter Inserter
Posts: 569
Joined: Sat Jan 27, 2018 10:04 pm
Contact:

Re: Finding technology effects names

Post 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
DuckDuck
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Mar 29, 2025 6:26 pm
Contact:

Re: Finding technology effects names

Post by DuckDuck »

Oh thanks, I had searched the API but I hadn't found the modifier page.
Post Reply

Return to “Modding help”