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

  <!-- AI Vichy research plan 1940-->
  <event eventID="10240" countryID="76" oneTimeChecking="0" visibleByPlayer="0">
    <title>Z3ev_7878</title>
    <description>Z3ev_7868</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="76"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="76"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
	    <!--Flag not fired yet-->
        <expression>
          <leftOperand method="Flag.GetValue" param0="10240"/>
          <operator value="equals"/>
          <rightOperand constValue="0"/>
        </expression>
		<!--Only if the country has got more than 100 of PP-->
        <expression>
          <leftOperand method="Country.GetProductionPoints" param0="76"/>
          <operator value="greater"/>
          <rightOperand constValue="100"/>
        </expression>
      </and>
    </condition>
    <options>
      <option optionID="1" chanceAI="100">
        <description>Z3ev_7869</description>
        <tooltip>Z3ev_7883</tooltip>
        <effects>
		  <!--Set flag on -->
          <effect method="Flag.SetValue" param0="10240" param1="1"/>
          <!--Country: Try to get level 3 infantry tech-->
          <effect method="AI.SetDesiredTechLevel" param0="76" param1="1" param2="3"/>
          <!--Country: Try to get level 2 armor tech-->
          <effect method="AI.SetDesiredTechLevel" param0="76" param1="2" param2="2"/>
          <!--Country: Try to get level 1 warfare tech-->
          <effect method="AI.SetDesiredTechLevel" param0="76" param1="3" param2="1"/>
        </effects>
      </option>
    </options>
  </event>
  
		
  <!-- AI Vichy research plan 1941-->
  <event eventID="10241" countryID="76" oneTimeChecking="0" visibleByPlayer="0">
    <title>Z3ev_7879</title>
    <description>Z3ev_7870</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="76"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="76"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
	    <!--Flag not fired yet-->
        <expression>
          <leftOperand method="Flag.GetValue" param0="10241"/>
          <operator value="equals"/>
          <rightOperand constValue="0"/>
        </expression>
		<!--Only if the country has got more than 100 of PP-->
        <expression>
          <leftOperand method="Country.GetProductionPoints" param0="76"/>
          <operator value="greater"/>
          <rightOperand constValue="100"/>
        </expression>
      </and>
    </condition>
    <options>
      <option optionID="1" chanceAI="100">
        <description>Z3ev_7871</description>
        <tooltip>Z3ev_7884</tooltip>
        <effects>
		  <!--Set flag on -->
          <effect method="Flag.SetValue" param0="10241" param1="1"/>
          <!--Country: Try to get level 4 infantry tech-->
          <effect method="AI.SetDesiredTechLevel" param0="76" param1="1" param2="4"/>
          <!--Country: Try to get level 3 armor tech-->
          <effect method="AI.SetDesiredTechLevel" param0="76" param1="2" param2="3"/>
          <!--Country: Try to get level 2 warfare tech-->
          <effect method="AI.SetDesiredTechLevel" param0="76" param1="3" param2="2"/>
        </effects>
      </option>
    </options>
  </event>
  
		
  <!-- AI Vichy research plan 1942-->
  <event eventID="10242" countryID="76" oneTimeChecking="0" visibleByPlayer="0">
    <title>Z3ev_7880</title>
    <description>Z3ev_7872</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="76"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="76"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
	    <!--Flag not fired yet-->
        <expression>
          <leftOperand method="Flag.GetValue" param0="10242"/>
          <operator value="equals"/>
          <rightOperand constValue="0"/>
        </expression>
		<!--Only if the country has got more than 100 of PP-->
        <expression>
          <leftOperand method="Country.GetProductionPoints" param0="76"/>
          <operator value="greater"/>
          <rightOperand constValue="100"/>
        </expression>
      </and>
    </condition>
    <options>
      <option optionID="1" chanceAI="100">
        <description>Z3ev_7873</description>
        <tooltip>Z3ev_7885</tooltip>
        <effects>
		  <!--Set flag on -->
          <effect method="Flag.SetValue" param0="10242" param1="1"/>
          <!--Country: Try to get level 2 planes tech-->
          <effect method="AI.SetDesiredTechLevel" param0="76" param1="4" param2="2"/>
          <!--Country: Try to get level 3 navy tech-->
          <effect method="AI.SetDesiredTechLevel" param0="76" param1="6" param2="3"/>
          <!--Country: Try to get level 3 warfare tech-->
          <effect method="AI.SetDesiredTechLevel" param0="76" param1="3" param2="3"/>
        </effects>
      </option>
    </options>
  </event>
    
  
  <!-- AI Vichy research plan 1944-->
  <event eventID="10245" countryID="76" oneTimeChecking="0" visibleByPlayer="0">
    <title>Z3ev_7881</title>
    <description>Z3ev_7874</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="76"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="76"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
	    <!--Flag not fired yet-->
        <expression>
          <leftOperand method="Flag.GetValue" param0="10245"/>
          <operator value="equals"/>
          <rightOperand constValue="0"/>
        </expression>
		<!--Only if the country has got more than 100 of PP-->
        <expression>
          <leftOperand method="Country.GetProductionPoints" param0="76"/>
          <operator value="greater"/>
          <rightOperand constValue="100"/>
        </expression>
      </and>
    </condition>
    <options>
      <option optionID="1" chanceAI="100">
        <description>Z3ev_7875</description>
        <tooltip>Z3ev_7886</tooltip>
        <effects>
		  <!--Set flag on -->
          <effect method="Flag.SetValue" param0="10245" param1="1"/>
          <!--Country: Try to get level 3 planes tech-->
          <effect method="AI.SetDesiredTechLevel" param0="76" param1="4" param2="3"/>
          <!--Country: Try to get level 4 warfare tech-->
          <effect method="AI.SetDesiredTechLevel" param0="76" param1="3" param2="4"/>
          <!--Country: Try to get level 5 infantry tech-->
          <effect method="AI.SetDesiredTechLevel" param0="76" param1="1" param2="5"/>
        </effects>
      </option>
    </options>
  </event>
    
	
  <!-- AI Vichy research plan 1946-->
  <event eventID="10248" countryID="76" oneTimeChecking="0" visibleByPlayer="0">
    <title>Z3ev_7882</title>
    <description>Z3ev_7876</description>
    <beginDate day="1" month="1" year="1946"/>
    <condition>
      <and>
		<!--Country is AI controlled-->
		<expression>
			<leftOperand method="Country.IsAIControlled" param0="76"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="76"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
	    <!--Flag not fired yet-->
        <expression>
          <leftOperand method="Flag.GetValue" param0="10248"/>
          <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_7877</description>
        <tooltip>Z3ev_7887</tooltip>
        <effects>
		  <!--Set flag on -->
          <effect method="Flag.SetValue" param0="10248" param1="1"/>
          <!--Country: Try to get level 5 infantry tech-->
          <effect method="AI.SetDesiredTechLevel" param0="76" param1="1" param2="5"/>
          <!--Country: Try to get level 5 armor tech-->
          <effect method="AI.SetDesiredTechLevel" param0="76" param1="2" param2="5"/>
          <!--Country: Try to get level 5 warfare tech-->
          <effect method="AI.SetDesiredTechLevel" param0="76" param1="3" param2="5"/>
          <!--Country: Try to get level 5 plane tech-->
          <effect method="AI.SetDesiredTechLevel" param0="76" param1="4" param2="5"/>
          <!--Country: Try to get level 5 naval tech-->
          <effect method="AI.SetDesiredTechLevel" param0="76" param1="6" param2="5"/>
          <!--Country: Try to get level 5 subs tech-->
          <effect method="AI.SetDesiredTechLevel" param0="76" param1="5" param2="5"/>
        </effects>
      </option>
    </options>
  </event>
    
		
  </eventSystem>