RimWorld
Gloves Patch for VAE + Communicable Diseases
6 件のコメント
Cantaloupe The Clown  [作成者] 2024年4月16日 19時54分 
updated for 1.5, though I don't think Communicable Diseases works with 1.5 (as of writing), so for now it's just for Vanilla Apparel Expanded :steamthumbsup:
Cantaloupe The Clown  [作成者] 2024年2月17日 12時41分 
@Thundercraft oh true, idk why I didn't consider that some might use one or the other. I've updated the mod to remove the dependencies from About.xml, though I'm still gonna leave the "required items" for easy links, and just clarify in the description that they're optional. thanks for pointin this out :)
Thundercraft 2024年2月15日 19時01分 
@Cantaloupe The Clown [author]
(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...
Thundercraft 2024年2月15日 19時00分 
(part 2)
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."
Jackledead 2024年2月14日 14時04分 
if i dont have/use communicable diseases all will be okay right? i just want the mitten rename, i dont use that other mod