RimWorld

RimWorld

141 ratings
ReplaceLib
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5
File Size
Posted
Updated
192.906 KB
Jan 30 @ 2:11am
Feb 1 @ 1:10am
3 Change Notes ( view )

Subscribe to download
ReplaceLib

In 1 collection by ferny
The Progression Modpack | Ferny (1.5 ANOMALY)
901 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]
44 Comments
ferny  [author] Apr 10 @ 7:49am 
@Polat Alemdar My friend the removal of the rustic table is intentional, it has been ported to the new Old-World style. As for the errors, they're from recent updates to other mods, they're all harmless but will be fixed soon.
Polat Alemdar Apr 10 @ 7:40am 
ok my bad problem wasnt replaceLib but it was:
Progression: Aesthetics https://steamcommunity.com/sharedfiles/filedetails/?id=3294950875

here is a screenshot in game:
https://prnt.sc/MrZdtSbpB6wd

red lines:
https://prnt.sc/ZC-Ywi5LVYP_

logs:
https://justpaste.it/cjzu8

modlist:
https://prnt.sc/JhNVCpIZCxra
ferny  [author] Apr 10 @ 3:04am 
@Polat Alemdar Nope
Polat Alemdar Apr 9 @ 10:38pm 
There is an issue with medieval overhaul, this mod removes option to build some of furniture, for example rustic table (1x2)
bradson Mar 24 @ 9:03am 
@Ferret With A Cat Hat Patch Operation Collection has a DefNameLink operation that does include a defType field to work with all def kinds. That can achieve the same effect, wouldn't need dependencies either.
Stuffable floors simply generates more terrain defs through C#. It doesn't remove them
Ferret With A Cat Hat Mar 24 @ 5:40am 
Is there any way to make this work with terrain? I've made a mod that unifies the stone types using this but this mod can't unify anything other than things and whilst i felt removing the other stone block recipes would be fine removing the other floors would probably lead to all sorts of issues

do i just use stuffed floors or smth
ferny  [author] Mar 20 @ 1:13pm 
@Vulkandrache Probably not?
Vulkandrache Mar 20 @ 1:12pm 
Is this likely going to cause problems with mod like
https://steamcommunity.com/sharedfiles/filedetails/?id=2542931556
and
https://steamcommunity.com/sharedfiles/filedetails/?id=2591816333
that change large amounts of thingdef already?
ferny  [author] Mar 1 @ 2:32pm 
@furel87 This is for ThingDefs
furel87 Mar 1 @ 4:52am 
Does this work with memes and precepts? I did a substitution as Def and as Patch and neither of them seem to work. Precepts seems to not recognize the substitution and asks for the overridden meme