CleverRaven/Cataclysm-DDA

Allow mods to define conflicting mods

Fermée

#61 970 ouverte le 28 oct. 2022

 (4 commentaires) (8 réactions) (0 personne assignée)C++ (3 991 forks)batch import
(P5 - Long-term)<Suggestion / Discussion>Help WantedMods

Métriques du dépôt

Stars
 (9 264 étoiles)
Métriques de merge PR
 (Merge moyen 6j 5h) (292 PRs mergées en 30 j)

Description

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

Guide contributeur