边缘世界 RimWorld

边缘世界 RimWorld

SeedsPlease: Lite Adjusted
Monkey Magic  [开发者] 5 月 29 日 下午 3:30
Medieval Overhaul - and Overhaul Mods in general
The problem with Overhaul mods is, well - they overhaul the game. That means they usually break a ton of vanilla files, which makes them pretty much incompatible - often by design - with other mods.

This is also the case with the mod Medieval Overhaul

For example:

I use a mod called Cloth Production Expanded where cotton plants produce fibres, which are spun into thread on a spinning wheel , and then turned into cloth on a loom.

SeedsPlease: Lite, Adjusted changes those fibres to simply RawCotton, but there's no issue between these mods coz both mods have the defName set as "RawCotton". FTR, SP:L's default method is directly spinning rawcotton into cloth on the tailoring bench.

I looked into the specifics of MO, and the author prefixes pretty much everything therein with "DankPyon_" This effectively breaks compatibility with mods that seek vanilla defNames. Specific to your issue with cloth production, the author's spinning wheel (and likely all their workstations) request "DankPyon_RawCotton"

TBH, I'm surpised you even got this mod to work together with Seeds Please Lite

Regardless of which mod is loaded first, you'll get a bunch of red errors on load (likely the stuff that gets broken in in one mod by the other) but the plants will still grow, and yield RawCotton. And yes SPLA's recipe to weave cotton is still on the vanilla tailor's bench, but none of MO recipes will work coz there is no DarkPyon_RawCotton available.

The easiest fix would be to a patch to replace all reference to "DarkPyon_RawCotton" in MO to RawCotton. One would also have to patch out the vanilla tailoring benches' recipes added by SPLA, since these skip MOs intended processing system.

The latter is simple enough, just make a patch as follows:

<Patch>

<Operation Class="PatchOperationConditional">
<xpath>Defs/JobDef[defName="SowWithSeeds"]</xpath>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationRemove">
<xpath>Defs/RecipeDef[defName="ProcessRawCotton"]</xpath>
</li>
<li Class="PatchOperationRemove">
<xpath>Defs/RecipeDef[defName="ProcessRawDevilstrand"]</xpath>
</li>
</operations>
</match>
</Operation>

</Patch>

I only poked at MO, so I'm not sure if it also has it's own processing for Devilstrand, but in case it does, I also removed SPLA's recipe in the patch above.

As for patching MO's references to "DarkPyon_RawCotton", best to ask the author since they know their mod better than I. The problem there is, given that MO is an overhaul mod, and therefore likely intended as a standalone system not meant to be integrated with other mods, they probably won't wanna do that.