<?xml version="1.0" encoding="UTF-8"?>
<Patch>
  <Operation Class="PatchOperationFindMod">
    <mods>
      <li>Alpha Memes</li>
    </mods>
    <match Class="PatchOperationSequence">
      <operations>
        <!-- Add required precepts -->
        <li Class="PatchOperationAdd">
          <xpath>Defs/MemeDef[defName = "AM_NonViolence"]/requireOne</xpath>
          <value>
            <li>
              <li>SCE_Rape_Abhorred</li>
            </li>
          </value>
        </li>

        <li Class="PatchOperationAdd">
          <xpath>Defs/MemeDef[defName = "AM_Sadist"]/requireOne</xpath>
          <value>
            <li>
              <li>SCE_Rape_Honourable</li>
              <li>SCE_Rape_Approved</li>
            </li>
          </value>
        </li>

        <li Class="PatchOperationAdd">
          <xpath>Defs/MemeDef[defName = "AM_Monastic"]/requireOne</xpath>
          <value>
            <li>
              <li>SCE_Rape_Abhorred</li>
            </li>
            <li>
              <li>SCE_Bestiality_Abhorrent</li>
            </li>
            <li>
              <li>SCE_Incest_Banned</li>
            </li>
          </value>
        </li>

        <!-- Add exclusion tags -->
        <li Class="PatchOperationAdd">
          <xpath>Defs/MemeDef[defName = "AM_NonViolence"]/exclusionTags</xpath>
          <value>
            <li>RapeCultureVsNonViolence</li>
          </value>
        </li>

        <li Class="PatchOperationAdd">
          <xpath>Defs/MemeDef[defName = "AM_Monastic"]/exclusionTags</xpath>
          <value>
            <li>RapeCultureVsMonastic</li>
            <li>SexCultVsMonastic</li>
            <li>ZoophilicVsMonastic</li>
          </value>
        </li>
      </operations>
    </match>
  </Operation>
</Patch>