add incompatible field to info.json

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2920
Joined: Sat Jun 11, 2016 6:41 am
Contact:

add incompatible field to info.json

Post by Optera »

Currently there's no clean way to tell users other mods are incompatible.
We can throw an error or set the optional requirement to ludicrous version numbers. Both options are very confusing to players.

Having a field incompatibilities working like dependencies would resolve this.
Unlike dependencies it should take version < and version >= to exclude versions too far behind and ahead.
Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: add incompatible field to info.json

Post by Nexela »

Another option would be an expansion to the settings/data stage to throw a custom error message

if mods["incompatible-mod"] then disable_mods_error("incompatible-mod", "string reason") end

When the loader gets to this stage it would throw the typical disable error window however there would be an additional button

[disable my-mod (ie the mod that raised the error)] [disable incompatible-mod] [disable all-mods] [quit] [restart]
Post Reply

Return to “Implemented mod requests”