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

	<!--
<HediffDef>
    <defName>DRM_FearGasExposure</defName>
    <label>Fear gas</label>
    <description>Aftereffects of exposure to tox gas, a poisonous chemical gas. It burns the lungs and eyes, causing a temporary shortness of breath and reduction in sight. Continued exposure to tox gas results in toxic buildup and eventually death.</description>
    <hediffClass>HediffWithComps</hediffClass>
    <maxSeverity>3</maxSeverity>
    <initialSeverity>1</initialSeverity>
    <canApplyDodChanceForCapacityChanges>true</canApplyDodChanceForCapacityChanges>
    <defaultLabelColor>(0.6, 0, 1)</defaultLabelColor>
    <stages>
      <li>
        <label>mild</label>
        <minSeverity>1</minSeverity>
        <painOffset>0.1</painOffset>
        <capMods>
          <li>
            <capacity>Sight</capacity>
            <offset>-0.1</offset>
          </li>
          <li>
            <capacity>Breathing</capacity>
            <offset>-0.15</offset>
          </li>
        </capMods>
      </li>
      <li>
        <label>moderate</label>
        <minSeverity>2</minSeverity>
        <painOffset>0.15</painOffset>
        <capMods>
          <li>
            <capacity>Sight</capacity>
            <offset>-0.25</offset>
          </li>
          <li>
            <capacity>Breathing</capacity>
            <offset>-0.30</offset>
          </li>
        </capMods>
      </li>
      <li>
        <label>severe</label>
        <minSeverity>3</minSeverity>
        <painOffset>0.25</painOffset>
        <capMods>
          <li>
            <capacity>Sight</capacity>
            <offset>-0.40</offset>
          </li>
          <li>
            <capacity>Breathing</capacity>
            <offset>-0.60</offset>
          </li>
        </capMods>
      </li>
    </stages>
    <comps>
      <li Class="HediffCompProperties_SeverityFromGasDensityDirect">
        <gasType>ToxGas</gasType>
        <densityStages>
          <li>0.2</li>
          <li>0.5</li>
          <li>1</li>
        </densityStages>
      </li>
    </comps>
  </HediffDef>
  -->

	<HediffDef ParentName="AddedBodyPartBase">
		<defName>ToxicDragonianOrb</defName>
		<label>Toxic DragonianOrb</label>
		<labelNoun>a Toxic DragonianOrb.</labelNoun>
		<description>An installed Toxic DragonianOrb. Allow owner to spray Toxgas.</description>
		<priceImpact>false</priceImpact>
		<abilities MayRequire="Ludeon.RimWorld.Biotech">
			<li>DRM_Toxgaspop</li>
		</abilities>
		<comps>
			<li Class="DragonianMix.HediffCompProperties_DRMExplodeOnDeath">
				<damageDef>Smoke</damageDef>
				<soundDef>Explosion_Stun</soundDef>
				<explosionRadius>6</explosionRadius>
				<gasType>ToxGas</gasType>
				<destroyGear>false</destroyGear>
				<destroyBody>false</destroyBody>
			</li>
		</comps>
		<addedPartProps>
			<solid>true</solid>
		</addedPartProps>
		<modExtensions>
			<li Class="DragonianMix.ProphecyGearEffect">
				<enableHediffEffect>false</enableHediffEffect>

				<extraDamageFactor>0.2</extraDamageFactor>
				<extraDamageType>ScratchToxic</extraDamageType>
				<armorPenetration>0.1</armorPenetration>
			</li>
		</modExtensions>
		<spawnThingOnRemoved>ToxicDragonianOrb</spawnThingOnRemoved>
	</HediffDef>

	<RecipeDef ParentName="SurgeryInstallBodyPartArtificialBase">
		<defName>InstallToxicDragonianOrb</defName>
		<label>install Toxic DragonianOrb</label>
		<description>Install Toxic DragonianOrb.</description>
		<descriptionHyperlinks>
			<ThingDef>ToxicDragonianOrb</ThingDef>
			<HediffDef>ToxicDragonianOrb</HediffDef>
		</descriptionHyperlinks>
		<jobString>Installing Toxic DragonianOrb.</jobString>
		<surgeryOutcomeEffect IsNull="True" />
		<!-- Always succeeds -->
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>ToxicDragonianOrb</li>
					</thingDefs>
				</filter>
				<count>1</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>ToxicDragonianOrb</li>
			</thingDefs>
		</fixedIngredientFilter>
		<appliedOnFixedBodyParts>
			<li>DragonianOrb</li>
		</appliedOnFixedBodyParts>
		<addsHediff>ToxicDragonianOrb</addsHediff>
	</RecipeDef>

	<ThingDef ParentName="BodyPartDROrbsBase">
		<defName>ToxicDragonianOrb</defName>
		<label>Toxic DragonianOrb</label>
		<description>An Toxic DragonianOrb. Allow owner to spray Toxgas.</description>
		<graphicData>
			<texPath>Dragonian/Things/Item/Resource/Dorb_heal</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<techHediffsTags>
			<li>ToxicDragonianOrb</li>
			<li>DragonianOrbAdvanced</li>
		</techHediffsTags>
		<statBases>
			<MarketValue>1000</MarketValue>
			<Mass>0.3</Mass>
		</statBases>
		<modExtensions>
			<li Class="DragonianMix.ProphecyGearEffect">
				<enableHediffEffect>false</enableHediffEffect>

				<extraDamageFactor>0.2</extraDamageFactor>
				<extraDamageType>ScratchToxic</extraDamageType>
				<armorPenetration>0.1</armorPenetration>
			</li>
		</modExtensions>
		<thingSetMakerTags>
			<li>RewardStandardCore</li>
		</thingSetMakerTags>
	</ThingDef>

</Defs>