<?xml version="1.0" encoding="utf-8" ?>
<Patch>
   
    <Operation Class="PatchOperationConditional">
        <xpath>/Defs/PawnKindDef[defName="Megascarab"]/alternateGraphicChance</xpath>
        <match Class="PatchOperationReplace">
            <xpath>/Defs/PawnKindDef[defName="Megascarab"]/alternateGraphicChance</xpath>
            <value>
				<alternateGraphicChance>0.6</alternateGraphicChance>
			</value>
        </match>
        <nomatch Class="PatchOperationAdd">
            <xpath>/Defs/PawnKindDef[defName="Megascarab"]</xpath>
            <value>
				<alternateGraphicChance>0.6</alternateGraphicChance>
			</value>
        </nomatch>
    </Operation>
    <Operation Class="PatchOperationConditional">
        <xpath>/Defs/PawnKindDef[defName="Megascarab"]/alternateGraphics</xpath>
        <match Class="PatchOperationReplace">
            <xpath>/Defs/PawnKindDef[defName="Megascarab"]/alternateGraphics</xpath>
            <value>
                <alternateGraphics>
                    <li><texPath>Things/Pawn/Animal/Megascarab/MegascarabA</texPath></li>
                    <li><texPath>Things/Pawn/Animal/Megascarab/MegascarabB</texPath></li>
                </alternateGraphics>
            </value>
        </match>
        <nomatch Class="PatchOperationAdd">
            <xpath>/Defs/PawnKindDef[defName="Megascarab"]</xpath>
            <value>
                <alternateGraphics>
                    <li><texPath>Things/Pawn/Animal/Megascarab/MegascarabA</texPath></li>
                    <li><texPath>Things/Pawn/Animal/Megascarab/MegascarabB</texPath></li>
                </alternateGraphics>
			</value>
        </nomatch>
    </Operation>
    
    
    <Operation Class="PatchOperationConditional">
        <xpath>/Defs/PawnKindDef[defName="Spelopede"]/alternateGraphicChance</xpath>
        <match Class="PatchOperationReplace">
            <xpath>/Defs/PawnKindDef[defName="Spelopede"]/alternateGraphicChance</xpath>
            <value>
				<alternateGraphicChance>0.7</alternateGraphicChance>
			</value>
        </match>
        <nomatch Class="PatchOperationAdd">
            <xpath>/Defs/PawnKindDef[defName="Spelopede"]</xpath>
            <value>
				<alternateGraphicChance>0.7</alternateGraphicChance>
			</value>
        </nomatch>
    </Operation>
    <Operation Class="PatchOperationConditional">
        <xpath>/Defs/PawnKindDef[defName="Spelopede"]/alternateGraphics</xpath>
        <match Class="PatchOperationReplace">
            <xpath>/Defs/PawnKindDef[defName="Spelopede"]/alternateGraphics</xpath>
            <value>
                <alternateGraphics>
                    <li><texPath>Things/Pawn/Animal/Spelopede/SpelopedeA</texPath></li>
                    <li><texPath>Things/Pawn/Animal/Spelopede/SpelopedeB</texPath></li>
                    <li><texPath>Things/Pawn/Animal/Spelopede/SpelopedeC</texPath></li>
                    <li><texPath>Things/Pawn/Animal/Spelopede/SpelopedeW</texPath></li>
                </alternateGraphics>
            </value>
        </match>
        <nomatch Class="PatchOperationAdd">
            <xpath>/Defs/PawnKindDef[defName="Spelopede"]</xpath>
            <value>
                <alternateGraphics>
                    <li><texPath>Things/Pawn/Animal/Spelopede/SpelopedeA</texPath></li>
                    <li><texPath>Things/Pawn/Animal/Spelopede/SpelopedeB</texPath></li>
                    <li><texPath>Things/Pawn/Animal/Spelopede/SpelopedeC</texPath></li>
                    <li><texPath>Things/Pawn/Animal/Spelopede/SpelopedeW</texPath></li>
                </alternateGraphics>
			</value>
        </nomatch>
    </Operation>
    
    
    <Operation Class="PatchOperationConditional">
        <xpath>/Defs/PawnKindDef[defName="Megaspider"]/alternateGraphicChance</xpath>
        <match Class="PatchOperationReplace">
            <xpath>/Defs/PawnKindDef[defName="Megaspider"]/alternateGraphicChance</xpath>
            <value>
				<alternateGraphicChance>0.7</alternateGraphicChance>
			</value>
        </match>
        <nomatch Class="PatchOperationAdd">
            <xpath>/Defs/PawnKindDef[defName="Megaspider"]</xpath>
            <value>
				<alternateGraphicChance>0.7</alternateGraphicChance>
			</value>
        </nomatch>
    </Operation>
    <Operation Class="PatchOperationConditional">
        <xpath>/Defs/PawnKindDef[defName="Megaspider"]/alternateGraphics</xpath>
        <match Class="PatchOperationReplace">
            <xpath>/Defs/PawnKindDef[defName="Megaspider"]/alternateGraphics</xpath>
            <value>
                <alternateGraphics>
                    <li><texPath>Things/Pawn/Animal/Megaspider/MegaspiderA</texPath></li>
                    <li><texPath>Things/Pawn/Animal/Megaspider/MegaspiderB</texPath></li>
                    <li><texPath>Things/Pawn/Animal/Megaspider/MegaspiderC</texPath></li>
                    <li><texPath>Things/Pawn/Animal/Megaspider/MegaspiderD</texPath></li>
                </alternateGraphics>
            </value>
        </match>
        <nomatch Class="PatchOperationAdd">
            <xpath>/Defs/PawnKindDef[defName="Megaspider"]</xpath>
            <value>
                <alternateGraphics>
                    <li><texPath>Things/Pawn/Animal/Megaspider/MegaspiderA</texPath></li>
                    <li><texPath>Things/Pawn/Animal/Megaspider/MegaspiderB</texPath></li>
                    <li><texPath>Things/Pawn/Animal/Megaspider/MegaspiderC</texPath></li>
                    <li><texPath>Things/Pawn/Animal/Megaspider/MegaspiderD</texPath></li>
                </alternateGraphics>
			</value>
        </nomatch>
    </Operation>
    
</Patch>