CleverRaven/Cataclysm-DDA

Allow mods to define conflicting mods

已关闭

#61,970 创建于 2022年10月28日

 (4 条评论) (8 个反应) (0 位负责人)C++ (3,991 个派生)batch import
(P5 - Long-term)<Suggestion / Discussion>Help WantedMods

仓库指标

星标
 (9,264 个星标)
PR 合并指标
 (平均合并 6天 5小时) (30 天内合并 292 个 PR)

描述

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

贡献者指南