<?xml version="1.0" encoding="utf-8" ?>
<Defs>
	<FactionDef>
		<defName>CrystalFaction</defName><!-- TribeCrystal-->
		<label>Cave of the Crystals</label>
		<description>Orderly repeating pattern arranged constituent matters.</description>
		<pawnsPlural>Crystallines</pawnsPlural>
		
		<baseSelectionWeight>.13</baseSelectionWeight>
		<requiredCountAtGameStart>1</requiredCountAtGameStart>
		
		<homeIconPath>Crystal/npcZoom</homeIconPath>
		<expandingIconTexture>Crystal/npc</expandingIconTexture>
		
		<canSiege>true</canSiege>
		<canMakeRandomly>true</canMakeRandomly>
		<canStageAttacks>true</canStageAttacks>

		<factionNameMaker>NamerFactionCrystalVillage</factionNameMaker>
		<baseNameMaker>NamerBaseCrystalVillage</baseNameMaker>
		<techLevel>Industrial</techLevel>
		
		<backstoryCategory>CrystalBackstory</backstoryCategory>
		
		<hairTags>
			<!-- <li>Crystal</li> -->
			<li>Tribal</li>
			<li>Punk</li>
			<li>Empty</li>
		</hairTags>
		
		<startingGoodwill>
			<min>-25</min>
			<max>-15</max>
		</startingGoodwill>
		<naturalColonyGoodwill>
			<min>-15</min>
			<max>-10</max>
		</naturalColonyGoodwill>

		<visitorTraderKinds>
			<li>Visitor_Neolithic_Standard</li>
			<li>Visitor_Outlander_Standard</li>
		</visitorTraderKinds>
		
		<caravanTraderKinds>
			<li>Caravan_Outlander_Exotic</li>
			<li>Caravan_Outlander_BulkGoods</li>
			<li>Caravan_Neolithic_BulkGoods</li>
			<li>Caravan_Neolithic_WarMerchant</li>
		</caravanTraderKinds>
		
		<baseTraderKinds>
			<li>Base_Outlander_Standard</li>
			<li>Base_Neolithic_Standard</li>
		</baseTraderKinds>
		
		<colorSpectrum>
				<!-- blue -->
				<li>(120,120,255)</li>
				<!-- cyan -->
				<li>(160,255,255)</li>
				<!-- redish blue -->
				<li>(180,160,255)</li>
		</colorSpectrum>

		<mustStartOneEnemy>false</mustStartOneEnemy>
		<leaderTitle>Quartzalcoatl</leaderTitle>

		<allowedArrivalTemperatureRange>
			<min>-15</min>
			<max>80</max>
		</allowedArrivalTemperatureRange>
		
    <pawnGroupMakers>
      <li>
        <kindDef>Normal</kindDef>
        <options>
          <CrystalColonist>50</CrystalColonist>
		  <CrystalExperiment>1</CrystalExperiment>
		  <CrystalHistSpeaker>3</CrystalHistSpeaker>
		  <CrystalArmlessTrader>5</CrystalArmlessTrader>
		  <CrystalGrenadier>50</CrystalGrenadier>
          <CrystalGuard>90</CrystalGuard>
          <CrystalHistSpeaker>100</CrystalHistSpeaker>
          <CrystalFighter>100</CrystalFighter>
          <CrystalHunter>130</CrystalHunter>
          <CrystalHistGuard>50</CrystalHistGuard>
          <CrystalShadowscale>170</CrystalShadowscale>
		  <CrystalAddicted>3</CrystalAddicted>
        </options>
      </li>
	  <li>
		<kindDef>Trader</kindDef>
		<traders>
			<CrystalTrader>5</CrystalTrader>
			<CrystalArmlessTrader>2</CrystalArmlessTrader>
			<CrystalAddicted>1</CrystalAddicted>
		</traders>
		<carriers>
			<Muffalo>3</Muffalo>
			<Alpaca>2</Alpaca>
			<Elephant>1</Elephant>
		</carriers>
		<guards>
			<CrystalAddicted>1</CrystalAddicted>
			<CrystalArmlessTrader>5</CrystalArmlessTrader>
			<CrystalGrenadier>10</CrystalGrenadier>
			<CrystalHistSpeaker>30</CrystalHistSpeaker>
			<CrystalColonist>50</CrystalColonist>
			<CrystalGuard>90</CrystalGuard>
			<CrystalFighter>100</CrystalFighter>
			<CrystalHunter>130</CrystalHunter>
			<CrystalHistGuard>130</CrystalHistGuard>
		</guards>
		
      </li>
	  <li>
        <kindDef>FactionBase</kindDef>
        <options>
          <CrystalColonist>50</CrystalColonist>
          <CrystalGuard>90</CrystalGuard>
		  <CrystalGrenadier>50</CrystalGrenadier>
          <CrystalHistSpeaker>100</CrystalHistSpeaker>
          <CrystalFighter>100</CrystalFighter>
          <CrystalHunter>130</CrystalHunter>
          <CrystalHistGuard>130</CrystalHistGuard>
          <CrystalShadowscale>70</CrystalShadowscale>
        </options>
      </li>
    </pawnGroupMakers>
	</FactionDef>
	  
	
</Defs>