Author Topic: A note about old modinfo.json  (Read 341 times)

Offline BorkBorkGoesTheCode

  • Survivor
  • ***
  • Posts: 794
  • What could possibly go wrong....
    • View Profile
A note about old modinfo.json
« on: June 01, 2017, 07:42:00 PM »
The JSON for dependencies was changed in the experimentals during the last few months, causing some mods using some features to behave badly. This is what the modinfo should look like:

[
  {
    "type": "MOD_INFO",
    "ident": "",
    "name": "",
    "authors": [ "" ],
    "description": "",
    "category": "",
    "dependencies": [ "dda" ]
  }
]

Fill in the "" blanks with whatever names and descriptions are needed. You can specify multiple dependencies by adding the "ident": to the "dependencies": section like this:

    "dependencies": [ "dda", "foo" ]

Where "foo" is the name of the ident being depended on.

Edited for clarity.
« Last Edit: June 02, 2017, 03:13:28 AM by BorkBorkGoesTheCode »
The hollow earth and the Dyson sphere share an origin? Do some research