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

	<!--=====================================================================-->
	<!--=============================== Misc ================================-->
	<!--=====================================================================-->

<!--
	<ThingDef ParentName="OrganicProductBase">
		<defName>Milk</defName>
		<label>milk</label>
		<description>Milk.</description>
		<graphicData>
			<texPath>Things/Item/Resource/Milk</texPath>
		</graphicData>
		<socialPropernessMatters>true</socialPropernessMatters>
		<statBases>
			<MarketValue>3.1</MarketValue>
			<Mass>0.045</Mass>
			<MaxHitPoints>60</MaxHitPoints>
			<Flammability>0.2</Flammability>
			<Nutrition>0.05</Nutrition>
			<FoodPoisonChanceFixedHuman>0.02</FoodPoisonChanceFixedHuman>
		</statBases>
		<comps>
			<li Class="CompProperties_Rottable">
				<daysToRotStart>14</daysToRotStart>
				<rotDestroys>true</rotDestroys>
			</li>
		</comps>
		<ingestible>
			<preferability>RawTasty</preferability>
			<foodType>AnimalProduct, Fluid</foodType>
		</ingestible>
		<thingCategories>
			<li>AnimalProductRaw</li>
		</thingCategories>
	</ThingDef>
-->

	<!--=====================================================================-->
	<!--=============================== Eggs ================================-->
	<!--=====================================================================-->

<!--
	<ThingDef Abstract="True" Name="EggFertBase" ParentName="EggBase" >
		<tickerType>Normal</tickerType>
		<ingestible>
			<preferability>DesperateOnly</preferability>
		</ingestible>
		<thingCategories>
			<li>EggsFertilized</li>
		</thingCategories>
		<comps>
			<li Class="CompProperties_TemperatureRuinable">
				<minSafeTemperature>0</minSafeTemperature>
				<maxSafeTemperature>50</maxSafeTemperature>
				<progressPerDegreePerTick>0.00003</progressPerDegreePerTick>
			</li>
		</comps>
	</ThingDef>
-->

	<!-- generic/normal/fallback eggs -->
	<!-- left for save compatibility(for now), use glowy ones -->
		<ThingDef ParentName="EggUnfertBase">
			<defName>RJW_EggUnfertilized</defName>
			<label>egg (unfert.)</label>
			<description>An unfertilized egg.</description>
			<graphicData>
				<color>(228,185,135)</color>
			</graphicData>
			<statBases>
				<MarketValue>1.0</MarketValue>
			</statBases>
		</ThingDef>

		<ThingDef ParentName="EggFertBase">
			<defName>RJW_EggFertilized</defName>
			<label>egg (fert.)</label>
			<description>A fertilized egg.</description>
			<graphicData>
				<color>(245,245,245)</color>
			</graphicData>
			<statBases>
				<MarketValue>7.0</MarketValue>
			</statBases>
			<comps>
				<li Class="CompProperties_Hatcher">
					<hatcherDaystoHatch>0.05</hatcherDaystoHatch>
					<hatcherPawn>Chicken</hatcherPawn>	<!-- if implanted as enemy implant via ovi, redefined to childrenDef/implanter/father -->
				</li>
			</comps>
		</ThingDef>
	
	<!-- glowy eggs -->
	<!-- Insect eggs / enemy implant  -->
	<ThingDef Abstract="True" Name="EggImplantBase" ParentName="OrganicProductBase" >
		<graphicData>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ingestible>
			<foodType>AnimalProduct</foodType>
			<ingestEffect>EatMeat</ingestEffect>
			<ingestSound>RawMeat_Eat</ingestSound>
			<tasteThought>AteRawFood</tasteThought>
		</ingestible>
		<socialPropernessMatters>true</socialPropernessMatters>
		<statBases>
			<Mass>0.15</Mass>
			<MaxHitPoints>20</MaxHitPoints>
			<DeteriorationRate>2</DeteriorationRate>
			<Flammability>0.7</Flammability>
			<Nutrition>0.25</Nutrition>
			<FoodPoisonChanceFixedHuman>0.02</FoodPoisonChanceFixedHuman>
		</statBases>
		<comps>
			<li Class="CompProperties_Rottable">
				<daysToRotStart>15</daysToRotStart>
				<rotDestroys>true</rotDestroys>
				<disableIfHatcher>true</disableIfHatcher>
			</li>
		</comps>
	</ThingDef>

	<ThingDef Abstract="True" Name="EggImplantUnfertBase" ParentName="EggImplantBase" >
		<graphicData>
			<texPath>Things/Item/Resource/AnimalProductRaw/EggImplantUnfert</texPath>
		</graphicData>
		<ingestible>
			<preferability>RawBad</preferability>
		</ingestible>
		<thingCategories>
			<li>EggsUnfertilized</li>
		</thingCategories>
	</ThingDef>

	<ThingDef Abstract="True" Name="EggImplantFertBase" ParentName="EggImplantBase" >
		<graphicData>
			<texPath>Things/Item/Resource/AnimalProductRaw/EggImplantFert</texPath>
		</graphicData>
		<tickerType>Normal</tickerType>
		<ingestible>
			<preferability>DesperateOnly</preferability>
		</ingestible>
		<thingCategories>
			<li>EggsFertilized</li>
		</thingCategories>
		<comps>
			<li Class="CompProperties_TemperatureRuinable">
				<minSafeTemperature>0</minSafeTemperature>
				<maxSafeTemperature>50</maxSafeTemperature>
				<progressPerDegreePerTick>0.00003</progressPerDegreePerTick>
			</li>
		</comps>
	</ThingDef>
	
	<ThingDef ParentName="EggImplantUnfertBase">
		<defName>RJW_EggInsectUnfertilized</defName>
		<label>egg (unfert.)</label>
		<description>An unfertilized insect egg.</description>
		<graphicData>
			<color>(100,200,50)</color>
		</graphicData>
		<statBases>
			<MarketValue>1.0</MarketValue>
		</statBases>
		<comps>
			<li Class="CompProperties_Glower">
				<glowRadius>2</glowRadius>
				<glowColor>(100,200,50,0)</glowColor>
			</li>
		</comps>
	</ThingDef>
	
	<ThingDef ParentName="EggImplantFertBase">
		<defName>RJW_EggInsectFertilized</defName>
		<label>egg (fert.)</label>
		<description>A fertilized insect egg.</description>
		<graphicData>
			<color>(100,200,50)</color>
		</graphicData>
		<statBases>
			<MarketValue>7.0</MarketValue>
		</statBases>
		<comps>
			<li Class="CompProperties_Hatcher">
				<hatcherDaystoHatch>0.05</hatcherDaystoHatch>
				<hatcherPawn>Chicken</hatcherPawn>
			</li>
			<li Class="CompProperties_Glower">
				<glowRadius>5</glowRadius>
				<glowColor>(100,200,50,0)</glowColor>
			</li>
		</comps>
	</ThingDef>	
</Defs>
