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

    <!--QX========================= Imperial Guard - Base Story Teller ==========================QX-->

	<StorytellerDef Name="IGBaseStoryteller" Abstract="True">
		<populationIntentFromTimeCurve>
			<points>
				<li>0, 0.15</li>
				<li>3, 0.15</li>
				<li>10, 1</li>
			</points>
		</populationIntentFromTimeCurve>
	</StorytellerDef>

	<!--QX========================= Imperial Guard - Raid Focused Story Teller ==========================QX-->
	
	<StorytellerDef ParentName="IGBaseStoryteller">
		<defName>UrlockGaur</defName>
		<label>Urlock Gaur</label>
		<description>Urlock Gaur is the commander of the Blood Pact and Archon of Chaos forces in the Sabbat Worlds Crusade. One of the original founders of the Blood Pact, his emphasis on military-style discipline over the mindless fanaticism seen in other Chaos Cults allowed his forces to rise to fame in the Sabbat Worlds and gain favor with the Chaos Archon there. He will send raid after raid your way, and prioritised this over everything else. He will break you!, but will usually give you 10 days of peace to prepare, usually!  ...............................................................</description>
		<portraitLarge>Things/IGCore/StoryTeller/TGStoryTeller</portraitLarge>
		<portraitTiny>Things/IGCore/StoryTeller/TGStoryTellerTiny</portraitTiny>
		<listOrder>71</listOrder>
		<populationIntentFromPopCurve>
			<points>
				<li>0, 8</li>
				<li>1, 4</li>
				<li>5, 1</li>
				<li>9, 0.5</li>
				<li>13, 0</li>
				<li>18, -1</li>
			</points>
		</populationIntentFromPopCurve>
		<comps>
			<li Class="StorytellerCompProperties_ClassicIntro"/>
			<li Class="StorytellerCompProperties_ThreatCycle">
				<minDaysPassed>10</minDaysPassed>
				<mtbDaysThreatSmall>10</mtbDaysThreatSmall>
				<mtbDaysThreatBig>0.50</mtbDaysThreatBig>
				<threatOffDays>2.0</threatOffDays>
				<threatOnDays>2.0</threatOnDays>
				<minDaysBetweenThreatBigs>5.0</minDaysBetweenThreatBigs>
			</li>
			<li Class="StorytellerCompProperties_ThreatCycle">
				<allowedTargetTypes>
					<li>MapRaidBeacon</li>
				</allowedTargetTypes>
				<threatOffDays>0.5</threatOffDays>
				<threatOnDays>0.3</threatOnDays>
				<minDaysBetweenThreatBigs>0.05</minDaysBetweenThreatBigs>
				<minDaysBeforeNonRaidThreatBig>0</minDaysBeforeNonRaidThreatBig>
				<mtbDaysThreatSmall>1000000</mtbDaysThreatSmall>  <!-- effectively disabled -->
				<mtbDaysThreatBig>0.3</mtbDaysThreatBig>
				<threatSmallCategory>RaidBeacon</threatSmallCategory>
				<threatBigCategory>RaidBeacon</threatBigCategory>
			</li>
			<li Class="StorytellerCompProperties_CategoryMTB">
				<allowedTargetTypes>
					<li>MapPlayerHome</li>				<!-- MapPlayerHome TAG -->
				</allowedTargetTypes>
				<minDaysPassed>3</minDaysPassed>
				<category>Misc</category>
				<mtbDays>1.5</mtbDays>
			</li>
			<li Class="StorytellerCompProperties_CategoryMTB">
				<allowedTargetTypes>
					<li>World</li>				<!-- World TAG -->
				</allowedTargetTypes>
				<minDaysPassed>9</minDaysPassed>
				<category>Misc</category>
				<mtbDays>3.00</mtbDays>
			</li>
			<li Class="StorytellerCompProperties_CategoryIndividualMTBByBiome">
				<allowedTargetTypes>
					<li>Caravan</li>
					<li>MapTempIncident</li>
				</allowedTargetTypes>
				<category>Misc</category>
			</li>
			<li Class="StorytellerCompProperties_AllyInteraction">
				<minDaysPassed>5</minDaysPassed>
				<baseMtb>6</baseMtb>
				<allowedTargetTypes>
					<li>MapPlayerHome</li>
				</allowedTargetTypes>
			</li>
			<li Class="StorytellerCompProperties_AllyAssistance">
				<baseMtb>10</baseMtb>
			</li>
			<li Class="StorytellerCompProperties_SingleMTB">
				<incident>OrbitalTraderArrival</incident>
				<mtbDays>2</mtbDays>
			</li>
			<li Class="StorytellerCompProperties_ShipChunkDrop"/>
			<li Class="StorytellerCompProperties_Disease">
				<minDaysPassed>20</minDaysPassed>
			</li>
			
			<!-- NEW STUFF TO FIX HOSPITALITY -->
			
			<li Class="StorytellerCompProperties_CategoryIndividualMTBByBiome">
				<category>ThreatSmall</category>
				<allowedTargetTypes>
					<li>Caravan</li>
					<li>MapTempIncident</li>
				</allowedTargetTypes>
				<applyCaravanStealthFactor>true</applyCaravanStealthFactor>
			</li>
			<li Class="StorytellerCompProperties_CategoryIndividualMTBByBiome">
				<category>ThreatBig</category>
				<allowedTargetTypes>
					<li>Caravan</li>
					<li>MapTempIncident</li>
				</allowedTargetTypes>
				<applyCaravanStealthFactor>true</applyCaravanStealthFactor>
			</li>
			<li Class="StorytellerCompProperties_JourneyOffer"/>
			
			<!-- END OF NEW STUFF TO FIX HOSPITALITY -->
			
		</comps>
	</StorytellerDef>

	<!--QX========================= Imperial Guard - Raid Focused Story Teller ==========================QX-->
	
	<StorytellerDef ParentName="IGBaseStoryteller">
		<defName>Chaos_Undivided</defName>
		<label>Chaos Undivided</label>
		<description>Followers of Chaos Undivided venerate Chaos itself, seeing the four major Chaos Gods as a single pantheon to be worshipped equally as different emanations of the same universal force. Of all the worshippers of Chaos they follow Chaos in its purest form. They can interpret the meaning of Chaos in a variety of ways, including as a single God, worship the four major Chaos Gods equally, or favour one slightly over the others. The Chaos Lords and Daemon Princes of Chaos Undivided are at an advantage in their ability to unite any of the Forces of Chaos under their leadership, even if they would normally worship opposing Gods like Khorne and Slaanesh, so the warbands of Chaos Undivided are always the most diverse. The majority of the Traitor Legions worship Chaos Undivided, including the feared Black Legion of Abaddon the Despoiler, the greatest Champion of Chaos Undivided. The Chaos Undivided StoryTeller is just That CHAOS!  ..................................................................</description>
		<portraitLarge>Things/IGCore/StoryTeller/ChaosUndividedLrg</portraitLarge>
		<portraitTiny>Things/IGCore/StoryTeller/ChaosUndividedSml</portraitTiny>
		<listOrder>72</listOrder>
			<populationIntentFromPopCurve>
				<points>
					<li>0, 8</li>
					<li>1, 4</li>
					<li>5, 1</li>
					<li>9, 0.5</li>
					<li>13, 0</li>
					<li>50, -1</li>
				</points>
			</populationIntentFromPopCurve>
			<comps>
			<li Class="StorytellerCompProperties_RandomMain">
				<allowedTargetTypes>
					<li>MapPlayerHome</li>
				</allowedTargetTypes>
				<minDaysPassed>1</minDaysPassed>
				<mtbDays>1.13</mtbDays>
				<maxThreatBigIntervalDays>5</maxThreatBigIntervalDays>
				<minIncChancePopulationIntentFactor>0.2</minIncChancePopulationIntentFactor>
				<categoryWeights>
				<Misc>5.5</Misc>
					<OrbitalVisitor>0.8</OrbitalVisitor>
					<ThreatBig>1</ThreatBig>
					<ThreatSmall>0.9</ThreatSmall>
					<AllyArrival>0.8</AllyArrival>
					<AllyAssistance>0.5</AllyAssistance>
					<ShipChunkDrop>0.5</ShipChunkDrop>
				</categoryWeights>
			</li>
			<li Class="StorytellerCompProperties_CategoryMTB">
				<allowedTargetTypes>
				<li>World</li>
				</allowedTargetTypes>
					<minDaysPassed>1</minDaysPassed>
					<category>Misc</category>
					<mtbDays>5</mtbDays>
			</li>
			<li Class="StorytellerCompProperties_CategoryIndividualMTBByBiome">
				<allowedTargetTypes>
					<li>Caravan</li>
					<li>MapTempIncident</li>
				</allowedTargetTypes>
				<category>Misc</category>
			</li>
			<li Class="StorytellerCompProperties_Disease">
				<minDaysPassed>0.5</minDaysPassed>
			</li>
			<li Class="StorytellerCompProperties_CategoryIndividualMTBByBiome">
				<category>ThreatSmall</category>
				<allowedTargetTypes>
					<li>Caravan</li>
					<li>MapTempIncident</li>
				</allowedTargetTypes>
				<applyCaravanStealthFactor>true</applyCaravanStealthFactor>
			</li>
			<li Class="StorytellerCompProperties_CategoryIndividualMTBByBiome">
				<category>ThreatBig</category>
				<allowedTargetTypes>
					<li>Caravan</li>
					<li>MapTempIncident</li>
				</allowedTargetTypes>
				<applyCaravanStealthFactor>true</applyCaravanStealthFactor>
			</li>
			<li Class="StorytellerCompProperties_JourneyOffer"/>
			<li Class="StorytellerCompProperties_ThreatCycle">
				<allowedTargetTypes>
					<li>MapRaidBeacon</li>
				</allowedTargetTypes>
				<threatOffDays>0.8</threatOffDays>
				<threatOnDays>0.6</threatOnDays>
				<minDaysBetweenThreatBigs>0.05</minDaysBetweenThreatBigs>
				<minDaysBeforeNonRaidThreatBig>0</minDaysBeforeNonRaidThreatBig>
				<mtbDaysThreatSmall>1000000</mtbDaysThreatSmall>		<!-- effectively disabled -->
				<mtbDaysThreatBig>0.3</mtbDaysThreatBig>
				<threatSmallCategory>RaidBeacon</threatSmallCategory>
				<threatBigCategory>RaidBeacon</threatBigCategory>
			</li>
			<li Class="StorytellerCompProperties_SingleMTB">
				<incident>OrbitalTraderArrival</incident>
				<mtbDays>2</mtbDays>
			</li>
		</comps>
	</StorytellerDef>
	
</Defs>