Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
(part 1)
There are many players like Jackledead who only use either "Vanilla Apparel Expanded" or "Communicable Diseases" (not both). So it'd be really nice if this mod detected whether or not either of these mods are loaded and only apply the patch then...
Checking the code, I see that each patch use <match Class="PatchOperationReplace">, so this mod is already able to optionally use 1 of the 2 mods. The issue is how both mods are listed under REQUIRED ITEMS and how the "About.xml" has both mods specified under modDependencies.
Per the RimWorld wiki's tutorial on PatchOperations, under "PatchOperationFindMod":
https://rimworldwiki.com/wiki/Modding_Tutorials/PatchOperations#PatchOperationFindMod
Quote,
"PatchOperationFindMod should only be used if you are implementing optional compatibility for the target mod, i.e. if your mod can work with or without the mod in question. If you are creating a compatibility mod specifically for a target mod that would be meaningless without that mod present, then it's better to simply specify that mod in your About.xml as a dependency and forgo the use of PatchOperationFindMod and avoid the potential issues introduced by using PatchOperationSequence."