RimWorld

RimWorld

282 ratings
ReplaceLib
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5, 1.6
File Size
Posted
Updated
540.041 KB
Jan 30 @ 2:11am
Jul 14 @ 12:07am
8 Change Notes ( view )

Subscribe to download
ReplaceLib

In 2 collections by ferny
The Progression Modpack | (1.5)
913 items
The Progression Modpack | (1.6)
551 items
Description
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.

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#




[discord.gg]
81 Comments
Reestock Oct 25 @ 8:17am 
Nah, but the load folders was being kind of finnicky so I'm only like 85% sure.
ferny  [author] Oct 25 @ 7:52am 
Nah I'm just trolling cause you said that funny, you're saying that didn't work?
Reestock Oct 25 @ 7:51am 
If I'm wrong then just tell me
ferny  [author] Oct 25 @ 7:50am 
@Reestock Would I be saying pee pee poo poo if I was a fart baby?
Reestock Oct 25 @ 6:43am 
Would I be saying that didn't work if it worked when I tried it?
ferny  [author] Oct 24 @ 10:56pm 
@bradson Oh right duh
bradson Oct 24 @ 6:35pm 
@Reestock just use a normal PatchOperationRemove to remove the replacer. It's still a regular def
Reestock Oct 24 @ 6:11pm 
Apparently, pretty much nothing can stop a replacerDef. You can't get around it by removing it with a patch, or by creating a new thing of what it replaced, or by making a counter replaceDef. These things are unstoppable.
LaviWasTaken Oct 21 @ 9:11am 
@Reestock Unfortunately. I ended up spawning myself the straw with devmode.
ferny  [author] Oct 20 @ 8:48pm 
@Reestock You might be able to make a replacer that stacks onto another one? Like just replace it back? Idk I don't know if that' work