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

    <!--__________ Ghoul Genes __________-->

    <!-- Ghoul Healing -->

    <GeneDef>
        <defName>FCP_Gene_ToxicHealing</defName>
        <label>toxic metabolism</label>
        <description>Carriers have adapted to convert toxic buildup into healing energy. Their bodies use radiation and toxins as fuel for regeneration. They are completely immune to toxic damage.</description>
        <geneClass>FCP.Core.Ghouls.Gene_ToxicHealing</geneClass>
        <iconPath>UI/Icons/Genes/FCP_Gene_Ghoul_Toxic_Heal</iconPath>
        <displayCategory>Miscellaneous</displayCategory>
        <displayOrderInCategory>500</displayOrderInCategory>
        <biostatCpx>1</biostatCpx>
        <biostatMet>-2</biostatMet>
        <statOffsets>
            <ToxicResistance>1</ToxicResistance>
            <ToxicEnvironmentResistance>1</ToxicEnvironmentResistance>
        </statOffsets>
    </GeneDef>

    <!-- Ghoul Ferality -->

    <GeneDef>
        <defName>FCP_Gene_Ferality</defName>
        <label>ferality</label>
        <description>Carriers slowly lose their mind over time. Without regular chemical intervention, they will eventually go feral and become hostile. Certain drugs can temporarily reduce ferality.</description>
        <geneClass>FCP.Core.Ghouls.Gene_Ferality</geneClass>
        <iconPath>UI/Icons/Genes/FCP_Gene_Ghoul_Ferality</iconPath>
        <displayCategory>Miscellaneous</displayCategory>
        <displayOrderInCategory>501</displayOrderInCategory>
        <biostatCpx>2</biostatCpx>
        <biostatMet>2</biostatMet>
        <modExtensions>
            <li Class="FCP.Core.Ghouls.FeralityGene_ModExtension">
                <increaseIntervalTicks>60000</increaseIntervalTicks>
                <feralityIncreaseAmount>1</feralityIncreaseAmount>
                <amountReducedPerDrug>20</amountReducedPerDrug>
                <initialFerality>0</initialFerality>
                <drugs>
                    <li>GoJuice</li>
                    <li>Penoxycyline</li>
                    <li>WakeUp</li>
                </drugs>
            </li>
        </modExtensions>
    </GeneDef>

    <!-- Ghoul Longevity -->

    <GeneDef>
        <defName>FCP_Gene_Ghoul_LongLived</defName>
        <label>ghoul longevity</label>
        <description>Carriers of this gene age extremely slowly due to radiation-induced cellular changes. Ghouls can live well over 200 years.</description>
        <iconPath>UI/Icons/Genes/Gene_Ageless</iconPath>
        <displayCategory>Miscellaneous</displayCategory>
        <displayOrderInCategory>499</displayOrderInCategory>
        <biologicalAgeTickFactorFromAgeCurve>
            <points>
                <li>(0, 1)</li>
                <li>(18, 0.44)</li>
            </points>
        </biologicalAgeTickFactorFromAgeCurve>
        <biostatCpx>2</biostatCpx>
        <biostatMet>0</biostatMet>
        <selectionWeight>0</selectionWeight>
        <exclusionTags>
            <li>Aging</li>
        </exclusionTags>
    </GeneDef>

    <!-- Ghoul Glowing One -->

    <GeneDef>
        <defName>FCP_Gene_Ghoul_GlowingOne</defName>
        <label>glowing one</label>
        <description>Carriers of this gene emit a constant radioactive glow. They damage nearby non-ghouls with radiation while healing other ghouls. Glowing ones also heal from toxic buildup.</description>
        <geneClass>FCP.Core.Ghouls.Gene_Ghoul_GlowingOne</geneClass>
        <displayCategory>Miscellaneous</displayCategory>
        <biostatCpx>3</biostatCpx>
        <biostatMet>-2</biostatMet>
        <displayOrderInCategory>500</displayOrderInCategory>
        <iconPath>UI/Icons/Genes/FCP_Gene_Ghoul_GlowingOne</iconPath>
        <marketValueFactor>1.5</marketValueFactor>
        <selectionWeight>0.05</selectionWeight>
        <exclusionTags>
            <li>GlowingOne</li>
        </exclusionTags>
    </GeneDef>

    <!--_____ Ghoul Skin Color Variants _____-->

    <!-- Ghoul Skin -->

    <GeneDef Name="GhoulSkinBase" Abstract="True">
        <label>ghoul skin</label>
        <description>Carriers have the rotting, irradiated flesh characteristic of ghouls.</description>
        <geneClass>FCP.Core.Ghouls.Gene_GhoulBody</geneClass>
        <iconPath>UI/Icons/Genes/Gene_SkinColorOverride</iconPath>
        <displayCategory>Miscellaneous</displayCategory>
        <displayOrderInCategory>502</displayOrderInCategory>
        <biostatCpx>0</biostatCpx>
        <biostatMet>1</biostatMet>
        <statOffsets>
            <PawnBeauty>-2</PawnBeauty>
            <SocialImpact>-0.25</SocialImpact>
        </statOffsets>
        <exclusionTags>
            <li>HairStyle</li>
            <li>Fur</li>
            <li>GhoulSkin</li>
        </exclusionTags>
        <hairTagFilter>
            <whitelist>true</whitelist>
            <tags>
                <li>Bald</li>
            </tags>
        </hairTagFilter>
        <forcedHeadTypes>
            <li>FCP_Male_Ghoul_Average_Normal</li>
            <li>FCP_Male_Ghoul_Average_Pointy</li>
            <li>FCP_Male_Ghoul_Average_Wide</li>
            <li>FCP_Male_Ghoul_Narrow_Normal</li>
            <li>FCP_Male_Ghoul_Narrow_Pointy</li>
            <li>FCP_Male_Ghoul_Narrow_Wide</li>
            <li>FCP_Female_Ghoul_Average_Normal</li>
            <li>FCP_Female_Ghoul_Average_Pointy</li>
            <li>FCP_Female_Ghoul_Average_Wide</li>
            <li>FCP_Female_Ghoul_Narrow_Normal</li>
            <li>FCP_Female_Ghoul_Narrow_Pointy</li>
            <li>FCP_Female_Ghoul_Narrow_Wide</li>
        </forcedHeadTypes>
    </GeneDef>

    <!-- Ghoul Skin Green -->

    <GeneDef ParentName="GhoulSkinBase">
        <defName>FCP_Gene_Ghoul_Skin_Green</defName>
        <label>ghoul skin (green)</label>
        <labelShortAdj>green ghoul</labelShortAdj>
        <selectionWeight>1</selectionWeight>
        <skinColorOverride>(140, 166, 115)</skinColorOverride>
    </GeneDef>

    <!-- Ghoul Skin Peach -->

    <GeneDef ParentName="GhoulSkinBase">
        <defName>FCP_Gene_Ghoul_Skin_Peach</defName>
        <label>ghoul skin (peach)</label>
        <labelShortAdj>peach ghoul</labelShortAdj>
        <selectionWeight>1</selectionWeight>
        <skinColorOverride>(191, 153, 128)</skinColorOverride>
    </GeneDef>

    <!-- Ghoul Skin Yellow -->

    <GeneDef ParentName="GhoulSkinBase">
        <defName>FCP_Gene_Ghoul_Skin_Yellow</defName>
        <label>ghoul skin (yellow)</label>
        <labelShortAdj>yellow ghoul</labelShortAdj>
        <selectionWeight>1</selectionWeight>
        <skinColorOverride>(179, 179, 115)</skinColorOverride>
    </GeneDef>

    <!-- Ghoul Skin Pink -->

    <GeneDef ParentName="GhoulSkinBase">
        <defName>FCP_Gene_Ghoul_Skin_Pink</defName>
        <label>ghoul skin (pink)</label>
        <labelShortAdj>pink ghoul</labelShortAdj>
        <selectionWeight>1</selectionWeight>
        <skinColorOverride>(191, 140, 140)</skinColorOverride>
    </GeneDef>

    <!-- Ghoul Skin Tan -->

    <GeneDef ParentName="GhoulSkinBase">
        <defName>FCP_Gene_Ghoul_Skin</defName>
        <label>ghoul skin (tan)</label>
        <labelShortAdj>tan ghoul</labelShortAdj>
        <selectionWeight>1</selectionWeight>
        <skinColorOverride>(179, 166, 128)</skinColorOverride>
    </GeneDef>

    <!-- Feral Ghoul Skin -->

    <GeneDef>
        <defName>FCP_Gene_Ghoul_Feral_Skin</defName>
        <label>feral ghoul skin</label>
        <description>Carriers have the completely degraded flesh of a feral ghoul.</description>
        <geneClass>FCP.Core.Ghouls.Gene_GhoulBody</geneClass>
        <iconPath>UI/Icons/Genes/Gene_SkinColorOverride</iconPath>
        <displayCategory>Miscellaneous</displayCategory>
        <displayOrderInCategory>503</displayOrderInCategory>
        <biostatCpx>0</biostatCpx>
        <biostatMet>0</biostatMet>
        <skinColorOverride>(166, 153, 115)</skinColorOverride>
        <exclusionTags>
            <li>HairStyle</li>
            <li>Fur</li>
            <li>GhoulSkin</li>
        </exclusionTags>
        <hairTagFilter>
            <whitelist>true</whitelist>
            <tags>
                <li>Bald</li>
            </tags>
        </hairTagFilter>
        <forcedHeadTypes>
            <li>FCP_Feral_Ghoul_Head</li>
            <li>FCP_Feral_Ghoul_Head_Female</li>
        </forcedHeadTypes>
    </GeneDef>

    <!-- Ghoul Skin Glowing One -->

    <GeneDef>
        <defName>FCP_Gene_Ghoul_Skin_GlowingOne</defName>
        <label>glowing one skin</label>
        <description>Carriers have the intensely radioactive, glowing green flesh of a glowing one.</description>
        <geneClass>FCP.Core.Ghouls.Gene_GhoulBody</geneClass>
        <iconPath>UI/Icons/Genes/Gene_SkinColorOverride</iconPath>
        <displayCategory>Miscellaneous</displayCategory>
        <displayOrderInCategory>502</displayOrderInCategory>
        <biostatCpx>0</biostatCpx>
        <biostatMet>0</biostatMet>
        <skinColorOverride>(182, 255, 90)</skinColorOverride>
        <exclusionTags>
            <li>HairStyle</li>
            <li>Fur</li>
            <li>GhoulSkin</li>
        </exclusionTags>
        <hairTagFilter>
            <whitelist>true</whitelist>
            <tags>
                <li>Bald</li>
            </tags>
        </hairTagFilter>
        <forcedHeadTypes>
            <li>FCP_Male_Ghoul_Average_Normal</li>
            <li>FCP_Male_Ghoul_Average_Pointy</li>
            <li>FCP_Male_Ghoul_Average_Wide</li>
            <li>FCP_Male_Ghoul_Narrow_Normal</li>
            <li>FCP_Male_Ghoul_Narrow_Pointy</li>
            <li>FCP_Male_Ghoul_Narrow_Wide</li>
            <li>FCP_Female_Ghoul_Average_Normal</li>
            <li>FCP_Female_Ghoul_Average_Pointy</li>
            <li>FCP_Female_Ghoul_Average_Wide</li>
            <li>FCP_Female_Ghoul_Narrow_Normal</li>
            <li>FCP_Female_Ghoul_Narrow_Pointy</li>
            <li>FCP_Female_Ghoul_Narrow_Wide</li>
        </forcedHeadTypes>
        <selectionWeight>0</selectionWeight>
    </GeneDef>

</Defs>