边缘世界 RimWorld

边缘世界 RimWorld

ReplaceLib
70 条留言
LaviWasTaken 9 月 7 日 下午 3:24 
@ferny Right, it was Progression: Agriculture.
ferny  [作者] 9 月 7 日 上午 12:24 
@LaviWasTaken This is a code library mod. This doesn't do anything.
LaviWasTaken 9 月 6 日 下午 5:05 
I think this mod replaces wheat from MedievalOverhaul with spelt from Vanilla Expanded. Problem is the Spelt is yelding only flour and no straw, which is needed for some early game buildings and stuff.
Phonicmas 7 月 28 日 上午 4:18 
Or a DefModExtension to be able to selectively ignore certain recipes from being deleted
Phonicmas 7 月 28 日 上午 2:56 
While this might be specific to my mod, when two recipes doesnt share the same ingredients, but most of the other things, they still get caught as duplicates as neither Utils.AreRecipesDuplicate or Utils.RecipeUsersAreSame checks for this.
In my case i hide the recipe when the "newer/cheaper" one is researched. While this might be a more specific problem to what i'm doing i was
wondering if you'd implement the ingredient check aswell, its as simple as replacing "return true;" in the method AreRecipesDuplicate() with:

HashSet<IngredientCount> usersA = new HashSet<IngredientCount>(recipeA.ingredients);
HashSet<IngredientCount> usersB = new HashSet<IngredientCount>(recipeB.ingredients);
return usersA.SetEquals(usersB);

If not then i can manually harmony patch it myself just fine, just wanted to check in here first.
FelipeGames2000 7 月 14 日 下午 3:40 
So, I’ve run into a strange interaction with Expanded Materials - Metals

I noticed that a few of EM-Metals' component recipes disappear when ReplaceLib is also enabled. Due to it's nature as an "overlap patcher", I suspect ReplaceLib got confused with EM-Metals's additional component recipes and removed them

Unfortunately, my player log doesn’t seem to mention anything about either mod, so I don’t have specific error messages to share.

I’m posting this on both mod pages so either dev (or anyone else familiar with the issue) might be able to help. If anyone else has run into the same problem, I hope this helps point you to the possible cause.
ferny  [作者] 7 月 14 日 上午 12:07 
v8 - fixed seed packing spot issue in prog agriculture
ferny  [作者] 7 月 11 日 上午 3:51 
v7 - added mod icon
«PeGaS» 7 月 8 日 上午 3:56 
Hello, me again with another report.
Utils.AreRecipesDuplicate && Utils.RecipeUsersAreSame is not working properly sometimes. Example - manual and electric versions of the same recipe on different benches, but links not in the recipe users, but in the bench.recipes.
ferny  [作者] 6 月 29 日 下午 5:34 
v6 - progress towards diagnosing and fixing stuff, 1.6 version is back
ferny  [作者] 6 月 27 日 下午 2:35 
anyone reading this, ive rolled it back to just 1.5 for a bit holup im fixing it
ClothingLotus 6 月 27 日 上午 9:35 
@Tinda I AM NOT ALONE
ClothingLotus 6 月 27 日 上午 9:34 
@carni I THOUGHT I WAS GOING CRAZY
Tinda 6 月 26 日 上午 11:07 
Oh that explains it.
I've been redownloadning it like 5 times lol
ferny  [作者] 6 月 26 日 上午 5:14 
@carni Yeah working on it, had to roll back a bit
carni 6 月 26 日 上午 5:08 
After the last update the mod doesn't display compatibility with 1.6 anymore.
ferny  [作者] 6 月 23 日 下午 4:47 
@«PeGaS» Really? Oh shit, lemme look into this
«PeGaS» 6 月 23 日 下午 12:15 
Hmm, there are changes after all, I checked the dll itself and its way smaller mow, without extra harmony patches.
«PeGaS» 6 月 23 日 下午 12:09 
@ferny Thank you, I really have no idea why this is the case, as Im a modder myself (for custom project) and have no clues why this update would do such a thing, as there are no changes for 1.5, so I guessed maybe you can tell me.
ferny  [作者] 6 月 23 日 上午 10:50 
@«PeGaS» I've got thousands of folks in my server nobody's said a word on this, but I'll look into it regardless
«PeGaS» 6 月 23 日 上午 10:44 
Really dunno why though, I double-checked mod folder, tried load folder file to point to the 1.5 assembly, nothing.
«PeGaS» 6 月 23 日 上午 10:41 
I'm sure, all my patches just died the moment I started the game after 10 days off, restart didn't fix it, but the older version (from March) is working fine.
ferny  [作者] 6 月 23 日 上午 10:12 
Just double checked, haven't modified ReplaceLib.dll since February first which was last update
ferny  [作者] 6 月 23 日 上午 10:11 
@«PeGaS» Are you absolutely sure of that? Nothing has changed about the 1.5 version
«PeGaS» 6 月 23 日 上午 10:10 
After the latest update, all patches now broken on 1.5, had to download older version before update
ferny  [作者] 6 月 14 日 上午 10:24 
v4 - updated to 1.6
ferny  [作者] 4 月 10 日 上午 7:49 
@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 4 月 10 日 上午 7:40 
ok my bad problem wasnt replaceLib but it was:
Progression: Aesthetics https://psteamcommunity.yuanyoumao.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  [作者] 4 月 10 日 上午 3:04 
@Polat Alemdar Nope
Polat Alemdar 4 月 9 日 下午 10:38 
There is an issue with medieval overhaul, this mod removes option to build some of furniture, for example rustic table (1x2)
bradson 3 月 24 日 上午 9:03 
@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 3 月 24 日 上午 5:40 
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  [作者] 3 月 20 日 下午 1:13 
@Vulkandrache Probably not?
Vulkandrache 3 月 20 日 下午 1:12 
Is this likely going to cause problems with mod like
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2542931556
and
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2591816333
that change large amounts of thingdef already?
ferny  [作者] 3 月 1 日 下午 2:32 
@furel87 This is for ThingDefs
furel87 3 月 1 日 上午 4:52 
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
ferny  [作者] 2 月 9 日 下午 12:38 
@LikewiseHH Look at the patch i did for Medieval Overhaul in my mod Progression Agriculture, that's a functioning one that you can look at for example
LikewiseHH 2 月 9 日 下午 12:32 
Thanks for your help. Still could not manage to get it to work though. Is there a github repo or so with examples from which I can learn?
ferny  [作者] 2 月 8 日 下午 4:07 
@LikewiseHH You are going to want to make this a def. Put it in your defs folder, not your patches. If you want you can make it a patch by doing a patchoperationadd def, but just use the defs folder for this I think it looks simple.
LikewiseHH 2 月 8 日 下午 12:40 
Hmm still struggling @ferny. Don't wanna hijack this for troubleshooting but maybe you can quickly help out:
I have my own mod adding some armor. I declared your mod as a dependency. In my mod I added a 'patch_replace_defs.xml' file with this content:

<?xml version="1.0" encoding="UTF-8"?>
<ReplaceLib.ReplacerDef>
<defName>TestReplacy</defName>
<replacers>
<li>
<replace>Apparel_AdvancedHelmet</replace>
<with>T2_Helmet</with>
</li>
</replacers>
</ReplaceLib.ReplacerDef>

I would expect now not to find the Apparel_AdvancedHelmet def in the game at all anymore but it's still there. Or am I misunderstanding what the mod does?
Thanks!
ferny  [作者] 2 月 8 日 上午 4:02 
@LikewiseHH Defname is irrelevant, just is a codename you designate for your replacer. The only thing that matters it the "replace" field and the "with" field which you fill with the corresponding defs
LikewiseHH 2 月 8 日 上午 3:45 
I must be stupid. How can I replace defs from the core game with my custom ones? Does "Core" go into the defName at the top?
M0rr1s0n 2 月 3 日 上午 9:16 
@PeGaS release please :D
«PeGaS» 2 月 2 日 下午 2:50 
Tested with urban ruins mod to unify all my guns mods - perfect. Thank you.
TurtleShroom 2 月 1 日 下午 6:23 
I don't understand what that means, Bradson. I don't know how this works.
bradson 2 月 1 日 下午 6:20 
DefNameLink.Operation from Patch Operation Collection has a <defType> field to target other types of defs
ferny  [作者] 2 月 1 日 下午 3:31 
@TurtleShroom I'm not sure actually
TurtleShroom 2 月 1 日 下午 2:56 
That's awesome. Can I also replace things like Research Project Defs and such, or does it only work with Thing Defs?
ferny  [作者] 2 月 1 日 下午 2:51 
@TurtleShroom Removes the def as well