<?xml version="1.0" encoding="utf-8"?>
<eventSystem xmlns="iqsoftwaregames">

  <!-- AI France research plan 1940-->
  <!-- Paris controlled by France-->  
  <event eventID="10160" countryID="16" oneTimeChecking="0" visibleByPlayer="0">
    <title>Z3ev_7398</title>
    <description>Z3ev_7388</description>
    <beginDate day="1" month="1" year="1940"/>
    <endDate day="25" month="12" year="1940"/>
    <condition>
      <and>
		<!--Country is AI controlled-->
		<expression>
			<leftOperand method="Country.IsAIControlled" param0="16"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="16"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!-- Paris controlled by France-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="94" param1="97" param2="16"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
	    <!--Flag not fired yet-->
        <expression>
          <leftOperand method="Flag.GetValue" param0="10160"/>
          <operator value="equals"/>
          <rightOperand constValue="0"/>
        </expression>
		<!--Only if the country has got more than 100 of PP-->
        <expression>
          <leftOperand method="Country.GetProductionPoints" param0="16"/>
          <operator value="greater"/>
          <rightOperand constValue="100"/>
        </expression>
      </and>
    </condition>
    <options>
      <option optionID="1" chanceAI="100">
        <description>Z3ev_7389</description>
        <tooltip>Z3ev_7403</tooltip>
        <effects>
		  <!--Set flag on -->
          <effect method="Flag.SetValue" param0="10160" param1="1"/>
          <!--Country: Try to get level 3 infantry tech-->
          <effect method="AI.SetDesiredTechLevel" param0="16" param1="1" param2="3"/>
          <!--Country: Try to get level 2 armor tech-->
          <effect method="AI.SetDesiredTechLevel" param0="16" param1="2" param2="2"/>
          <!--Country: Try to get level 1 warfare tech-->
          <effect method="AI.SetDesiredTechLevel" param0="16" param1="3" param2="1"/>
        </effects>
      </option>
    </options>
  </event>
  
		
  <!-- AI France research plan 1941-->
  <!-- Paris controlled by France-->  
  <event eventID="10161" countryID="16" oneTimeChecking="0" visibleByPlayer="0">
    <title>Z3ev_7399</title>
    <description>Z3ev_7390</description>
    <beginDate day="1" month="1" year="1941"/>
    <endDate day="25" month="12" year="1941"/>
    <condition>
      <and>
		<!--Country is AI controlled-->
		<expression>
			<leftOperand method="Country.IsAIControlled" param0="16"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="16"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!-- Paris controlled by France-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="94" param1="97" param2="16"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
	    <!--Flag not fired yet-->
        <expression>
          <leftOperand method="Flag.GetValue" param0="10161"/>
          <operator value="equals"/>
          <rightOperand constValue="0"/>
        </expression>
		<!--Only if the country has got more than 100 of PP-->
        <expression>
          <leftOperand method="Country.GetProductionPoints" param0="16"/>
          <operator value="greater"/>
          <rightOperand constValue="100"/>
        </expression>
      </and>
    </condition>
    <options>
      <option optionID="1" chanceAI="100">
        <description>Z3ev_7391</description>
        <tooltip>Z3ev_7404</tooltip>
        <effects>
		  <!--Set flag on -->
          <effect method="Flag.SetValue" param0="10161" param1="1"/>
          <!--Country: Try to get level 4 infantry tech-->
          <effect method="AI.SetDesiredTechLevel" param0="16" param1="1" param2="4"/>
          <!--Country: Try to get level 3 armor tech-->
          <effect method="AI.SetDesiredTechLevel" param0="16" param1="2" param2="3"/>
          <!--Country: Try to get level 2 warfare tech-->
          <effect method="AI.SetDesiredTechLevel" param0="16" param1="3" param2="2"/>
        </effects>
      </option>
    </options>
  </event>
  
		
  <!-- AI France research plan 1942-->
  <!-- Paris controlled by France-->  
  <event eventID="10162" countryID="16" oneTimeChecking="0" visibleByPlayer="0">
    <title>Z3ev_7400</title>
    <description>Z3ev_7392</description>
    <beginDate day="1" month="1" year="1942"/>
    <endDate day="25" month="12" year="1943"/>
    <condition>
      <and>
		<!--Country is AI controlled-->
		<expression>
			<leftOperand method="Country.IsAIControlled" param0="16"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="16"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!-- Paris controlled by France-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="94" param1="97" param2="16"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
	    <!--Flag not fired yet-->
        <expression>
          <leftOperand method="Flag.GetValue" param0="10162"/>
          <operator value="equals"/>
          <rightOperand constValue="0"/>
        </expression>
		<!--Only if the country has got more than 100 of PP-->
        <expression>
          <leftOperand method="Country.GetProductionPoints" param0="16"/>
          <operator value="greater"/>
          <rightOperand constValue="100"/>
        </expression>
      </and>
    </condition>
    <options>
      <option optionID="1" chanceAI="100">
        <description>Z3ev_7393</description>
        <tooltip>Z3ev_7405</tooltip>
        <effects>
		  <!--Set flag on -->
          <effect method="Flag.SetValue" param0="10162" param1="1"/>
          <!--Country: Try to get level 2 planes tech-->
          <effect method="AI.SetDesiredTechLevel" param0="16" param1="4" param2="2"/>
          <!--Country: Try to get level 3 navy tech-->
          <effect method="AI.SetDesiredTechLevel" param0="16" param1="6" param2="3"/>
          <!--Country: Try to get level 3 warfare tech-->
          <effect method="AI.SetDesiredTechLevel" param0="16" param1="3" param2="3"/>
        </effects>
      </option>
    </options>
  </event>
    
  
  <!-- AI France research plan 1944-->
  <event eventID="10165" countryID="16" oneTimeChecking="0" visibleByPlayer="0">
    <title>Z3ev_7401</title>
    <description>Z3ev_7394</description>
    <beginDate day="1" month="1" year="1944"/>
    <endDate day="25" month="12" year="1945"/>
    <condition>
      <and>
		<!--Country is AI controlled-->
		<expression>
			<leftOperand method="Country.IsAIControlled" param0="16"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="16"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!-- Paris controlled by France-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="94" param1="97" param2="16"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
	    <!--Flag not fired yet-->
        <expression>
          <leftOperand method="Flag.GetValue" param0="10165"/>
          <operator value="equals"/>
          <rightOperand constValue="0"/>
        </expression>
		<!--Only if the country has got more than 100 of PP-->
        <expression>
          <leftOperand method="Country.GetProductionPoints" param0="16"/>
          <operator value="greater"/>
          <rightOperand constValue="100"/>
        </expression>
      </and>
    </condition>
    <options>
      <option optionID="1" chanceAI="100">
        <description>Z3ev_7395</description>
        <tooltip>Z3ev_7406</tooltip>
        <effects>
		  <!--Set flag on -->
          <effect method="Flag.SetValue" param0="10165" param1="1"/>
          <!--Country: Try to get level 3 planes tech-->
          <effect method="AI.SetDesiredTechLevel" param0="16" param1="4" param2="3"/>
          <!--Country: Try to get level 4 warfare tech-->
          <effect method="AI.SetDesiredTechLevel" param0="16" param1="3" param2="4"/>
          <!--Country: Try to get level 5 infantry tech-->
          <effect method="AI.SetDesiredTechLevel" param0="16" param1="1" param2="5"/>
        </effects>
      </option>
    </options>
  </event>
    
	
  <!-- AI France research plan 1946-->
  <event eventID="10168" countryID="16" oneTimeChecking="0" visibleByPlayer="0">
    <title>Z3ev_7402</title>
    <description>Z3ev_7396</description>
    <beginDate day="1" month="1" year="1946"/>
    <condition>
      <and>
		<!--Country is AI controlled-->
		<expression>
			<leftOperand method="Country.IsAIControlled" param0="16"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="16"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!-- Paris controlled by France-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="94" param1="97" param2="16"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
	    <!--Flag not fired yet-->
        <expression>
          <leftOperand method="Flag.GetValue" param0="10168"/>
          <operator value="equals"/>
          <rightOperand constValue="0"/>
        </expression>
		<!--Only if the country has got more than 100 of PP-->
        <expression>
          <leftOperand method="Country.GetProductionPoints" param0="16"/>
          <operator value="greater"/>
          <rightOperand constValue="100"/>
        </expression>
      </and>
    </condition>
    <options>
      <option optionID="1" chanceAI="100">
        <description>Z3ev_7397</description>
        <tooltip>Z3ev_7407</tooltip>
        <effects>
		  <!--Set flag on -->
          <effect method="Flag.SetValue" param0="10168" param1="1"/>
          <!--Country: Try to get level 5 infantry tech-->
          <effect method="AI.SetDesiredTechLevel" param0="16" param1="1" param2="5"/>
          <!--Country: Try to get level 5 armor tech-->
          <effect method="AI.SetDesiredTechLevel" param0="16" param1="2" param2="5"/>
          <!--Country: Try to get level 5 warfare tech-->
          <effect method="AI.SetDesiredTechLevel" param0="16" param1="3" param2="5"/>
          <!--Country: Try to get level 5 plane tech-->
          <effect method="AI.SetDesiredTechLevel" param0="16" param1="4" param2="5"/>
          <!--Country: Try to get level 5 naval tech-->
          <effect method="AI.SetDesiredTechLevel" param0="16" param1="6" param2="5"/>
          <!--Country: Try to get level 5 subs tech-->
          <effect method="AI.SetDesiredTechLevel" param0="16" param1="5" param2="5"/>
        </effects>
      </option>
    </options>
  </event>
    
		
  </eventSystem>