vegapnk / RJW-Genes

Rimworld Biotech Genes related to RJW
MIT License
24 stars 28 forks source link

Issue with VE Malachai Patch #68

Closed vegapnk closed 8 months ago

vegapnk commented 8 months ago

Follow up after 1.3.1 and #65, if I add the Malachai (without VE loaded):

<li Class="PatchOperationFindMod">
  <mods>
    <li>Alpha Genes</li>
  </mods>
  <match Class="PatchOperationAdd">
     <xpath>Defs/XenotypeDef[defName="AG_Malachai"]/genes</xpath>
       <value>
      <li>rjw_genes_demonic_genitalia</li>
       </value>
  </match>
</li>

Then I get the following

[RJW Genes] Patch operation Verse.PatchOperationSequence(count=9, lastFailedOperation=Verse.PatchOperationFindMod(Alpha Genes)) failed
file: C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\rjw-genes\Common\Patches\Xenotypes\PatchAlphaGenes.xml

Likely issue is that I will need 2 mods to look for in the PatchOperation ...

Stars22223 commented 8 months ago

This is why you don't copy the code of someone who doesn't know how to mod Rimworld, lol should there also have been <li>Vanilla Races Expanded - Sanguophage</li> under <mods>? sorry for that this xenotype is added by Alpha Genes, but only if VE Sanguophage is present, I think