// Management · RimWorld Mod

ReplaceLib

ReplaceLib mod preview for RimWorld

What does this do? This is a tool for modders, mainly for use in making overlap patches. Similar to Resource Dictionary , except in the hands of the modder. You can create ReplacerDefs which allow you to completely replace a thingDef with another def, which is very helpful for a

What does this do?

This is a tool for modders, mainly for use in making overlap patches. Similar to Resource Dictionary , except in the hands of the modder. You can create ReplacerDefs which allow you to completely replace a thingDef with another def, which is very helpful for a guy like me.

Example

In this example, all instances of the mentioned crops would be entirely replaced. Even in deep places like meal recipes, all instances of the crop would be replaced by their VE counterpart.

Another xml example

MedievalOverhaul_VFEMedieval2_Agriculture
  • DankPyon_Apiary VFEM2_Apiary
  • VFEM2_Honey DankPyon_Honey
  • How do I use this as a modder?

    Make this mod a dependency on your mod, then just make a ReplacerDef.

    Compatibility

    - Compatible with Resource Dictionary

    Credits

    • Taranchuk - Lots of lovely C#