<?xml version="1.0" encoding="utf-8" ?>
<Patch>
    <Operation Class="PatchOperationSequence">
        <success>Always</success>
        <operations>
            <!-- 1. Remove the original NMM tab from BasePawn -->
            <li Class="PatchOperationRemove">
                <xpath>Defs/ThingDef[@Name="BasePawn"]/inspectorTabs/li[text()="NudityMattersMore.ITab_Pawn_NMM"]</xpath>
            </li>

            <!-- 2. Add our new custom tab to BasePawn -->
            <li Class="PatchOperationAdd">
                <xpath>Defs/ThingDef[@Name="BasePawn"]/inspectorTabs</xpath>
                <value>
                    <li>NudityMattersMore_opinions.ITab_Pawn_NMMOpinions</li>
                </value>
            </li>
        </operations>
    </Operation>
</Patch>