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

	

	<!--Greece attacked by Italy-->
	<event eventID="2401" countryID="24" visibleByPlayer="1" oneTimeChecking="0">
	<title>ZID_2401_title</title>
    	<description>ZID_2401_desc</description>
	<condition>
      	<and>
        <!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="24"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--No war with Britain-->
		<expression>
			<leftOperand method="Country.HasWarWithCountry" param0="24" param1="9" /> 
			<operator value="equals" />
			<rightOperand constValue="0" />
		</expression>
		<!--War with Italy-->
		<expression>
			<leftOperand method="Country.HasWarWithCountry" param0="24" param1="21" /> 
			<operator value="equals" />
			<rightOperand constValue="1" />
		</expression>
	    <!--Flag not fired yet-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="2401"/>
          	<operator value="equals"/>
          	<rightOperand constValue="0"/>
        </expression>
      	</and>
	</condition>
   	<options>
      	<option optionID="1" chanceAI="90" >
        	<description>ZID_2401_op1</description>
        	<tooltip>ZID_2401_desc1</tooltip>
        	<effects>
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="2401" param1="1"/>
   			</effects>
		</option>
      	<option optionID="2" chanceAI="10" >
        	<description>ZID_2401_op2</description>
        	<tooltip>ZID_2401_desc2</tooltip>
        	<effects>
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="2401" param1="2"/>
   			</effects>
		</option>
  	</options>
  	</event>


	<!--British major help for Greece-->
	<event eventID="2402" countryID="24" visibleByPlayer="1" oneTimeChecking="0">
	<title>ZID_2402_title</title>
    	<description>ZID_2402_desc</description>
	<condition>
      	<and>
        <!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="24"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--No war with Britain-->
		<expression>
			<leftOperand method="Country.HasWarWithCountry" param0="24" param1="9" /> 
			<operator value="equals" />
			<rightOperand constValue="0" />
		</expression>
	    <!--Option 1 in event 901 - events_09_england.xml-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="901"/>
          	<operator value="equals"/>
          	<rightOperand constValue="1"/>
        </expression>
	    <!--Flag not fired yet-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="2402"/>
          	<operator value="equals"/>
          	<rightOperand constValue="0"/>
        </expression>
      	</and>
	</condition>
   	<options>
      	<option optionID="1" chanceAI="100" >
        	<description>ZID_2402_op1</description>
        	<tooltip>ZID_2402_desc1</tooltip>
        	<effects>
				<!--Production point added-->
				<effect method="Country.ChangeProductionPoints" param0="24" param1="80" />
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="2402" param1="1"/>
   			</effects>
		</option>
  	</options>
  	</event>


	<!--British moderate help for Greece-->
	<event eventID="2403" countryID="24" visibleByPlayer="1" oneTimeChecking="0">
	<title>ZID_2403_title</title>
    	<description>ZID_2403_desc</description>
	<condition>
      	<and>
        <!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="24"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--No war with Britain-->
		<expression>
			<leftOperand method="Country.HasWarWithCountry" param0="24" param1="9" /> 
			<operator value="equals" />
			<rightOperand constValue="0" />
		</expression>
	    <!--Option 2 in event 901 - events_09_england.xml-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="901"/>
          	<operator value="equals"/>
          	<rightOperand constValue="2"/>
        </expression>
	    <!--Flag not fired yet-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="2403"/>
          	<operator value="equals"/>
          	<rightOperand constValue="0"/>
        </expression>
      	</and>
	</condition>
   	<options>
      	<option optionID="1" chanceAI="100" >
        	<description>ZID_2403_op1</description>
        	<tooltip>ZID_2403_desc1</tooltip>
        	<effects>
				<!--Production point added-->
				<effect method="Country.ChangeProductionPoints" param0="24" param1="100" />
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="2403" param1="1"/>
   			</effects>
		</option>
  	</options>
  	</event>

	
	<!--Increasing War Economy - Peace-->
	<event eventID="2404" countryID="24" visibleByPlayer="1" oneTimeChecking="1"> 
		<title>ZID_2404_title</title>
		<description>ZID_2404_desc</description>
    <beginDate day="1" month="9" year="1939"/>
	<condition>
		<and>
        <!--Random check-->
        <expression>
          	<leftOperand method="System.GetRandomNumber" param0="1" param1="100"/>
          	<operator value="lessOrEqual"/>
          	<rightOperand constValue="2"/>
        </expression>
        <!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="24"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Not at war-->
		<expression>
			<leftOperand method="Country.IsAtWar" param0="24"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
       	</expression>
		<!--WE less than 50-->
		<expression>
			<leftOperand method="Country.GetWarEconomy" param0="24"/>
			<operator value="lessOrEqual"/>
			<rightOperand constValue="50"/>
       	</expression>
		</and>
	</condition>
	<options>
		<option optionID="1" chanceAI="100">
			<description>ZID_2404_op1</description>
			<tooltip>ZID_2404_desc1</tooltip>
			<effects>
				<!--WE Increased by 5-->
          		<effect method="Country.ChangeWarEconomy" param0="24" param1="5"/>
			</effects>
		</option>
	</options>
	</event>


	<!--Metaxas and Aliakmon Line-->
	<event eventID="2405" countryID="24" visibleByPlayer="1" oneTimeChecking="0">
	<title>ZID_2405_title</title>
    	<description>ZID_2405_desc</description>
    <beginDate day="1" month="2" year="1940"/>
	<condition>
      	<and>
        <!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="24"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Not at war-->
		<expression>
			<leftOperand method="Country.IsAtWar" param0="24" /> 
			<operator value="equals" />
			<rightOperand constValue="0" />
		</expression>
	    <!--Flag not fired yet-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="2405"/>
          	<operator value="equals"/>
          	<rightOperand constValue="0"/>
        </expression>
      	</and>
	</condition>
   	<options>
      	<option optionID="1" chanceAI="80" >
        	<description>ZID_2405_op1</description>
        	<tooltip>ZID_2405_desc1</tooltip>
        	<effects>
				<!--Metaxas Line-->
				<effect method="Hex.SetFortLevel" param0="165" param1="129" param2="4" />
				<effect method="Hex.SetFortLevel" param0="164" param1="128" param2="4" />
				<effect method="Hex.SetFortLevel" param0="163" param1="128" param2="4" />
				<effect method="Hex.SetFortLevel" param0="162" param1="128" param2="4" />
				<effect method="Hex.SetFortLevel" param0="161" param1="129" param2="4" />
				<effect method="Hex.SetFortLevel" param0="160" param1="129" param2="4" />
				<effect method="Hex.SetFortLevel" param0="159" param1="129" param2="4" />
				<effect method="Hex.SetFortLevel" param0="161" param1="130" param2="3" />
				<effect method="Hex.SetFortLevel" param0="162" param1="130" param2="3" />
				<!--Aliakmon Line-->
				<effect method="Hex.SetFortLevel" param0="158" param1="131" param2="3" />
				<effect method="Hex.SetFortLevel" param0="157" param1="131" param2="3" />
				<effect method="Hex.SetFortLevel" param0="156" param1="130" param2="3" />
				<effect method="Hex.SetFortLevel" param0="155" param1="130" param2="3" />
				<!--Production point decreased-->
				<effect method="Country.ChangeProductionPoints" param0="24" param1="-50" />
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="2405" param1="1"/>
   			</effects>
		</option>
      	<option optionID="2" chanceAI="20" >
        	<description>ZID_2405_op2</description>
        	<tooltip>ZID_2405_desc2</tooltip>
        	<effects>
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="2405" param1="2"/>
   			</effects>
		</option>
  	</options>
  	</event>

	
	
	



</eventSystem>