CleverRaven/Cataclysm-DDA

Allow mods to define conflicting mods

Chiusa

#61.970 aperta il 28 ott 2022

 (4 commenti) (8 reazioni) (0 assegnatari)C++ (3991 fork)batch import
(P5 - Long-term)<Suggestion / Discussion>Help WantedMods

Metriche repository

Star
 (9264 stelle)
Metriche merge PR
 (Merge medio 6g 5h) (292 PR mergiate in 30 g)

Descrizione

Is your feature request related to a problem? Please describe.

Some mods would greatly benefit from being able to use conflicts. E.g dark days of the dead does not work correctly with the default mods of bionic professions and no fungal growth.

Solution you would like.

[
  {
    "type": "MOD_INFO",
    "id": "demo",
    "name": "demo",
    "authors": [ "demo" ],
    "description": "demo.",
    "category": "total_conversion",
    "dependencies": [ "dda" ],
    "conflicts": [ "aftershock" ],
  }
]

However, it might make sense to let the player override those conflicts if they really know what they are doing™. Upon manually enabling a mod, it should say "demo conflicts with aftershock. Force loading? This will probably break stuff.".

Describe alternatives you have considered.

Not offering the player a convenient method to override conflicts and force them to modify modinfo.json since they should already know about how mods work. Nonetheless, this is advanced stuff and deliberately accepting breakage is something for expert users only.

Additional context

No response

Guida contributor