Depedancy requirement

Looking for a mod? Have a review on a mod you'd like to share?
Post Reply
Mobius1
Fast Inserter
Fast Inserter
Posts: 191
Joined: Thu Feb 09, 2017 12:05 am
Contact:

Depedancy requirement

Post by Mobius1 »

Hello there peepz.
I wanted to ask you about depedancies of mods, in a way that I want my mod to doesn't require modX to work but, if modX is present, then you must also have modXY installed or the game won't work. I like to call it optionally required depedancy, but I don't know how to set it up on the .json string, can anybody help? Or maybe its not possible?

Lemme give you an example:

Code: Select all

[
  "base >= 0.17.0"
, "? bobmods >= 0.16.0"
, " bobelectronics >= 0.16.0"
]
Where I want bobelectronics to be a required depedancy only if bobmods is present

Post Reply

Return to “Questions, reviews and ratings”