Page 1 of 1

How does the "dependencies" property in the info.json work?

Posted: Mon Feb 06, 2017 6:36 pm
by RalleYTN
I looked at the info.json from Angels Infinite Ores.

Code: Select all

"dependencies": [
	"base >= 0.14.0", 
	"? rso-mod >= 2.3.3", 
	"? angelsrefining >= 0.6.0", 
	"? angelspetrochem >= 0.4.0", 
	"? bobconfig >= 0.14.0", 
	"? bobplates >= 0.14.0", 
	"? Yuoki >= 0.4.0",
	"? UraniumPower >= 0.6.3",
	"? Nucular >= 0.2.0",
	"? dark-matter-replicators >= 0.6.1",
	"? angelstrigger-infiniteores-disableinfiniteores >= 0.1.2", 
	"? angelstrigger-infiniteores-disablersomode >= 0.1.2"
]
what I can guess is that the text on each array element is the "name" property of the required mods and that they need the specific version or a higher version as said. But what does the "?" at the beginning mean?

Re: How does the "dependencies" property in the info.json work?

Posted: Mon Feb 06, 2017 6:37 pm
by darkfrei
RalleYTN wrote:I looked at the info.json from Angels Infinite Ores.

Code: Select all

"dependencies": [
	"base >= 0.14.0", 
	"? rso-mod >= 2.3.3", 
]
what I can guess is that the text on each array element is the "name" property of the required mods and that they need the specific version or a higher version as said. But what does the "?" at the beginning mean?
Must have or it's only option.

Re: How does the "dependencies" property in the info.json work?

Posted: Mon Feb 06, 2017 6:49 pm
by RalleYTN
darkfrei wrote:
RalleYTN wrote:I looked at the info.json from Angels Infinite Ores.

Code: Select all

"dependencies": [
	"base >= 0.14.0", 
	"? rso-mod >= 2.3.3", 
]
what I can guess is that the text on each array element is the "name" property of the required mods and that they need the specific version or a higher version as said. But what does the "?" at the beginning mean?
Must have or it's only option.
Ok thanks! :)