RimWorld

RimWorld

Not enough ratings
Gloves Patch for VAE + Communicable Diseases
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5, 1.6
File Size
Posted
Updated
136.680 KB
12 Feb, 2024 @ 4:51pm
17 Jun @ 4:42pm
5 Change Notes ( view )

Subscribe to download
Gloves Patch for VAE + Communicable Diseases

Description
Simply changes "gloves" from Vanilla Apparel Expanded to be called "mittens", and "gloves" from Communicable Diseases to be called "surgical gloves".
Note that their Def names still call them gloves, they are just labelled differently.

This can be used with both mods, or just one of them. Either one works.
Technically you could also load it with neither mod, it just wouldn't do anything. Have fun.
6 Comments
Cantaloupe The Clown  [author] 16 Apr, 2024 @ 7:54pm 
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  [author] 17 Feb, 2024 @ 12:41pm 
@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 15 Feb, 2024 @ 7:01pm 
@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 15 Feb, 2024 @ 7:00pm 
(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 14 Feb, 2024 @ 2:04pm 
if i dont have/use communicable diseases all will be okay right? i just want the mitten rename, i dont use that other mod