I cannot find information about restrictive dependencies in the WIKI.

Place to get help with not working mods / modding interface.
User avatar
jamiechi1
Filter Inserter
Filter Inserter
Posts: 305
Joined: Wed Jan 03, 2018 10:12 pm

I cannot find information about restrictive dependencies in the WIKI.

Post by jamiechi1 »

I would like to see an official example of how to use restrictive dependencies somewhere.
The modding tutorial should show this.
Nidan
Filter Inserter
Filter Inserter
Posts: 390
Joined: Sat Nov 21, 2015 1:40 am
Contact:

Re: I cannot find information about restrictive dependencies in the WIKI.

Post by Nidan »

What are these "restrictive dependencies" supposed to be?
Something you declare in info.json? Non-optional dependencies could be considered a form of restriction, but why create a specific term for that?
Or something related to prototypes, entities, etc.? The modding API has a few hits each for "restrict" and "depend", but they don't appear together.
Overall, I don't think "restrictive dependencies" are a thing that exists within factorio.
User avatar
jamiechi1
Filter Inserter
Filter Inserter
Posts: 305
Joined: Wed Jan 03, 2018 10:12 pm

Re: I cannot find information about restrictive dependencies in the WIKI.

Post by jamiechi1 »

Please read the following.
"There are required dependencies, and optional dependencies. The third kind, restrictive dependencies, ... "
https://wiki.factorio.com/Tutorial:Modd ... al/Gangsir

It is something many mods use in the info.json file. And Yes, it Is a thing.
Post Reply

Return to “Modding help”