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

  <ScenarioDef>
    <defName>LostBrothers</defName>
    <label>Lost Brothers</label>
    <description>Three of you awake in your escape pods. A GDI Spaceship has destroyed your transporter and now you're lost in the midst of an unknown RimWorld.</description>
    <scenario>
      <summary>Three members of the Brotherhood of Nod survive an attack.</summary>
      <playerFaction>
        <def>PlayerFaction</def>
        <factionDef>PlayerColony</factionDef>
      </playerFaction>
      <parts>

        <!-- Config pages -->
        <li Class="ScenPart_ConfigPage_ConfigureStartingPawns">
          <def>ConfigPage_ConfigureStartingPawns</def>
          <pawnCount>3</pawnCount>
        </li>

        <!-- Player starting stuff spawn method-->
        <li Class="ScenPart_PlayerPawnsArriveMethod">
          <def>PlayerPawnsArriveMethod</def>
          <method>DropPods</method>
          <visible>false</visible>
        </li>

        <!-- Player pawns modifiers -->
        <li Class="ScenPart_ForcedHediff">
          <def>ForcedHediff</def>
          <visible>false</visible>
          <context>PlayerStarter</context>
          <chance>0.5</chance>
          <hediff>CryptosleepSickness</hediff>
          <hideOffMap>true</hideOffMap>
          <severityRange>
            <min>1</min>
            <max>2</max>
          </severityRange>
        </li>
        
        <!-- Player starting things -->
		
		<li Class="ScenPart_StartingResearch">
			<def>StartingResearch</def>
			<project>NodResearch</project>
		</li>
		<li Class="ScenPart_StartingResearch">
			<def>StartingResearch</def>
			<project>NodResearch_Buildings</project>
		</li>
		<li Class="ScenPart_StartingResearch">
			<def>StartingResearch</def>
			<project>NodResearch_Production</project>
		</li>
		
        <li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>Silver</thingDef>
          <count>350</count>
        </li>
		<li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>Uranium</thingDef>
          <count>50</count>
        </li>
        <li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>MealSurvivalPack</thingDef>
          <count>45</count>
        </li>
        <li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>Medicine</thingDef>
          <count>30</count>
        </li>
        <li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>Component</thingDef>
          <count>50</count>
        </li>
        <li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>Gun_NodRifle</thingDef>
		  <count>2</count>
        </li>
        <li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>Gun_NodLaserRifleSmall</thingDef>
        </li>
		<li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>NodMilitiaMask</thingDef>
		  <count>2</count>
        </li>
		<li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>Apparel_NodMilitiaSuit</thingDef>
		  <count>2</count>
        </li>
		<li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>Apparel_NodBlackHandHelmet</thingDef>
        </li>
		<li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>Apparel_NodBlackHand</thingDef>
        </li>
		<li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>GroundFreezer</thingDef>
          <count>4</count>
        </li>
			<li Class="ScenPart_StartingThing_Defined">
			<def>StartingThing_Defined</def>
			<thingDef>TiberiumInfusion</thingDef>
			<count>3</count>
		</li>
        <li Class="ScenPart_StartingAnimal">
          <def>StartingAnimal</def>
          <count>1</count>
          <bondToRandomPlayerPawnChance>1.0</bondToRandomPlayerPawnChance>
        </li>

        <!-- Scatter some things near player start -->
        <li Class="ScenPart_ScatterThingsNearPlayerStart">
          <def>ScatterThingsNearPlayerStart</def>
          <thingDef>Nod_CarbonPlate</thingDef>
          <count>175</count>
        </li>
        <li Class="ScenPart_ScatterThingsNearPlayerStart">
          <def>ScatterThingsNearPlayerStart</def>
          <thingDef>WoodLog</thingDef>
          <count>350</count>
        </li>     
      	<li Class="ScenPart_ScatterThingsNearPlayerStart">
          <def>ScatterThingsNearPlayerStart</def>
          <thingDef>Component</thingDef>
          <count>25</count>
        </li>  

        <!-- Scatter some things anywhere -->
        <li Class="ScenPart_ScatterThingsAnywhere">
          <def>ScatterThingsAnywhere</def>
          <thingDef>ShipChunk</thingDef>
          <count>10</count>
        </li>
        <li Class="ScenPart_ScatterThingsAnywhere">
          <def>ScatterThingsAnywhere</def>
          <thingDef>Steel</thingDef>
          <count>750</count>
        </li>
        <li Class="ScenPart_ScatterThingsAnywhere">
          <def>ScatterThingsAnywhere</def>
          <thingDef>MealSurvivalPack</thingDef>
          <count>17</count>
        </li>
		<li Class="ScenPart_ScatterThingsAnywhere">
          <def>ScatterThingsAnywhere</def>
          <thingDef>BlossomTree_TBNS</thingDef>
          <count>1</count>
        </li>
	<!-- Abandoned thing -->
		<li Class="ScenPart_ScatterThingsAnywhere">
          <def>ScatterThingsAnywhere</def>
          <thingDef>Nod_TiberiumSuppressor</thingDef>
          <count>1</count>
        </li>  
      </parts>
    </scenario>
  </ScenarioDef>
  
	<ScenarioDef>
    <defName>GDIExpedition</defName>
    <label>GDI Expedition</label>
    <description>Commander, your troops were sent on a dangerous mission, your goal is to evaluate the situation and accomplish your mission objectives:\n\n-Set up a base of operations with the given resources asap, protect yourself from any incoming dangers and make your next move when ready.\n\n-Secure the blue Tiberium field with the given Inhibitor.\n\n-Destroy the nearby Veinhole.\n\n-Multiple Tiberium towers have been reported in this area, destroy them.\n\n-Leave the area when all Tiberium threats have been eliminated.</description>
    <scenario>
      <summary>Four GDI soldiers explore a Tiberium infested world.</summary>
      <playerFaction>
        <def>PlayerFaction</def>
        <factionDef>PlayerColony</factionDef>
      </playerFaction>
      <parts>

        <!-- Config pages -->
        <li Class="ScenPart_ConfigPage_ConfigureStartingPawns">
          <def>ConfigPage_ConfigureStartingPawns</def>
          <pawnCount>4</pawnCount>
        </li>

        <!-- Player starting stuff spawn method-->
        <li Class="ScenPart_PlayerPawnsArriveMethod">
          <def>PlayerPawnsArriveMethod</def>
          <method>DropPods</method>
          <visible>false</visible>
        </li>
        
        <!-- Player starting things -->
		
		<li Class="ScenPart_StartingResearch">
			<def>StartingResearch</def>
			<project>GDIResearch</project>
		</li>
		<li Class="ScenPart_StartingResearch">
			<def>StartingResearch</def>
			<project>GDIResearch_Buildings</project>
		</li>
		<li Class="ScenPart_StartingResearch">
			<def>StartingResearch</def>
			<project>GDIResearch_Production</project>
		</li>
		
        <li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>Silver</thingDef>
          <count>350</count>
        </li>
        <li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>MealSurvivalPack</thingDef>
          <count>60</count>
        </li>
        <li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>Medicine</thingDef>
          <count>30</count>
        </li>
        <li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>Component</thingDef>
          <count>50</count>
        </li>
        <li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>Gun_GDIRifle</thingDef>
		  <count>2</count>
        </li>
        <li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>Gun_GDIRailgun</thingDef>
        </li>
		<li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>Apparel_GDISoldierHelmet_TBP</thingDef>
		  <count>3</count>
        </li>
		<li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>Apparel_GDISoldierSuit_TBP</thingDef>
		  <count>3</count>
        </li>
		<li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>Tiberblock</thingDef>
		  <count>8</count>
        </li>
		<li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>Apparel_GDIEngineerMask</thingDef>
        </li>
		<li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>Apparel_GDIEngineerSuit</thingDef>
        </li>
		<li Class="ScenPart_StartingThing_Defined">
          <def>StartingThing_Defined</def>
          <thingDef>SonicInhibitorTall</thingDef>
          <count>1</count>
        </li>


        <!-- Scatter some things near player start -->
        <li Class="ScenPart_ScatterThingsNearPlayerStart">
          <def>ScatterThingsNearPlayerStart</def>
          <thingDef>GDI_ReinforcedPlate</thingDef>
          <count>150</count>
        </li>
        <li Class="ScenPart_ScatterThingsNearPlayerStart">
          <def>ScatterThingsNearPlayerStart</def>
          <thingDef>WoodLog</thingDef>
          <count>350</count>
        </li>     
      	<li Class="ScenPart_ScatterThingsNearPlayerStart">
          <def>ScatterThingsNearPlayerStart</def>
          <thingDef>Component</thingDef>
          <count>25</count>
        </li>  

        <!-- Scatter some things anywhere -->
        <li Class="ScenPart_ScatterThingsAnywhere">
          <def>ScatterThingsAnywhere</def>
          <thingDef>ShipChunk</thingDef>
          <count>10</count>
        </li>
		<li Class="ScenPart_ScatterThingsAnywhere">
          <def>ScatterThingsAnywhere</def>
          <thingDef>JuggernautShell</thingDef>
          <count>4</count>
        </li>
        <li Class="ScenPart_ScatterThingsAnywhere">
          <def>ScatterThingsAnywhere</def>
          <thingDef>Steel</thingDef>
          <count>750</count>
        </li>
        <li Class="ScenPart_ScatterThingsAnywhere">
          <def>ScatterThingsAnywhere</def>
          <thingDef>MealSurvivalPack</thingDef>
          <count>17</count>
        </li>
		<li Class="ScenPart_ScatterThingsAnywhere">
          <def>ScatterThingsAnywhere</def>
          <thingDef>TiberiumCraterBlue_TBNS</thingDef>
          <count>1</count>
        </li>
		<li Class="ScenPart_ScatterThingsAnywhere">
          <def>ScatterThingsAnywhere</def>
          <thingDef>Veinhole_TBNS</thingDef>
          <count>1</count>
        </li>
		<li Class="ScenPart_ScatterThingsAnywhere">
          <def>ScatterThingsAnywhere</def>
          <thingDef>TiberiumTower_TBNS</thingDef>
          <count>12</count>
        </li>
	<!-- Abandoned thing -->
		<li Class="ScenPart_ScatterThingsAnywhere">
          <def>ScatterThingsAnywhere</def>
          <thingDef>GDISecurity_Juggernaut</thingDef>
          <count>1</count>
        </li>  
      </parts>
    </scenario>
  </ScenarioDef>
 
</Defs>