RimWorld

RimWorld

Ancient Rim - core
PartyCowboy 12 Nov, 2019 @ 8:26am
Research Fix
Hi, I've also posted this request on the latest installment of this mod series, but for some better coverage I'll also post it here: could you please implement a PatchOperation to remove the researches from the Core module that aren't used. Thanks!

To make it easier: here is what I wrote:

<?xml version="1.0" encoding="utf-8" ?>

<Patch>
<!--This first operation exists because I added this to my own mod, you could leave this out and redo the brackets-->
<Operation Class="PatchOperationFindMod">
<mods>
<li>Ancient Rim - core</li>
</mods>

<!--This is the one for the Oriental edition, adapted for a couple of future name changements. The FindMod Operation is an OR-statement. To make it an AND-statement you have to put them after each other, like I have done.-->

<match Class="PatchOperationFindMod">
<mods>
<li>Ancient Rim - Oriental/Desert Edition (unfinished)</li>
<li>Ancient Rim - Oriental/Desert Edition</li>
<li>Ancient Rim - Oriental/Desert</li>
</mods>
<nomatch Class="PatchOperationRemove">
<xpath>/Defs/ResearchProjectDef[defName = "AR_Project_Oriental_Culture"]</xpath>
</nomatch>
</match>
</Operation>



<Operation Class="PatchOperationFindMod">
<mods>
<li>Ancient Rim - core</li>
</mods>

<!--This is the one for the SPQRim module, again in an AND-statement,-->

<match Class="PatchOperationFindMod">
<mods>
<li>Ancient Rim - SPQRim</li>
</mods>
<nomatch Class="PatchOperationRemove">
<xpath>/Defs/ResearchProjectDef[defName = "AR_Project_Mediterranean_Culture"]</xpath>
</nomatch>
</match>
</Operation>

</Patch>
< >
Showing 1-1 of 1 comments
PartyCowboy 12 Nov, 2019 @ 8:27am 
Oh, the indentations have gone. Joy... Anyway, if you use notepad++ and copy it over or make your own version of this the indentation will, if I'm right, automatically be added.
< >
Showing 1-1 of 1 comments
Per page: 1530 50