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


<!--STEP 1-->
	<event eventID="1" countryID="2" visibleByPlayer="1" oneTimeChecking="0">
	<title>STEP 1 - Welcome to the tutorial</title>
    	<description>General, Welcome on the field training. Here you will learn how to command your troops in the battlefield. 
		Remember to obey the orders and you will be able to finish your trainig and lead your troops in the real war.
		</description>
    <beginDate day="1" month="9" year="1939"/>
	<condition>
      	<and>
        <!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is human controlled-->
		<expression>
			<leftOperand method="Country.IsAIControlled" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
        </expression>
		<!-- Berlin controlled by Germany-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="6" param1="25" param2="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!--No war with Poland-->
		<expression>
			<leftOperand method="Country.HasWarWithCountry" param0="2" param1="1"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
       	</expression>
	    <!--Flag not fired yet-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="1"/>
          	<operator value="equals"/>
          	<rightOperand constValue="0"/>
        </expression>
      	</and>
	</condition>
   	<options>
      	<option optionID="1" chanceAI="100" >
        	<description>OK</description>
        	<tooltip>Proceed to STEP 2</tooltip>
        	<effects>
				<!--Zeroing PP-->
          		<effect method="Country.SetProductionPoints" param0="1" param1="0"/>
          		<effect method="Country.SetProductionPoints" param0="2" param1="0"/>
				<!--Zeroing DP-->
          		<effect method="Country.SetDiplomaticPoints" param0="1" param1="0"/>
          		<effect method="Country.SetDiplomaticPoints" param0="2" param1="0"/>
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="1" param1="1"/>
   			</effects>
		</option>
  	</options>
  	</event>
	
	
<!--STEP 2-->
	<event eventID="2" countryID="2" visibleByPlayer="1" oneTimeChecking="0">
	<title>STEP 2 - If you got lost</title>
    	<description>General, Obeying orders might be difficult. If you got lost, try to start from the beginning.
		</description>
    <beginDate day="1" month="9" year="1939"/>
	<condition>
      	<and>
        <!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is human controlled-->
		<expression>
			<leftOperand method="Country.IsAIControlled" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
        </expression>
		<!-- Berlin controlled by Germany-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="6" param1="25" param2="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!--No war with Poland-->
		<expression>
			<leftOperand method="Country.HasWarWithCountry" param0="2" param1="1"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
       	</expression>
	    <!--STEP 1, closed-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="1"/>
          	<operator value="equals"/>
          	<rightOperand constValue="1"/>
        </expression>
	    <!--Flag not fired yet-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="2"/>
          	<operator value="equals"/>
          	<rightOperand constValue="0"/>
        </expression>
      	</and>
	</condition>
   	<options>
      	<option optionID="1" chanceAI="100" >
        	<description>OK</description>
        	<tooltip>Proceed to STEP 3</tooltip>
        	<effects>
				<!--Zeroing PP-->
          		<effect method="Country.SetProductionPoints" param0="1" param1="0"/>
          		<effect method="Country.SetProductionPoints" param0="2" param1="0"/>
				<!--Zeroing DP-->
          		<effect method="Country.SetDiplomaticPoints" param0="1" param1="0"/>
          		<effect method="Country.SetDiplomaticPoints" param0="2" param1="0"/>
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="2" param1="1"/>
   			</effects>
		</option>
  	</options>
  	</event>
	
		
<!--STEP 3-->
	<event eventID="3" countryID="2" visibleByPlayer="1" oneTimeChecking="0">
	<title>STEP 3 - Hexes</title>
    	<description>General, Take a look at the map. Use left mouse button on the hex to have most important information displayed 
		on the panel. On the right side you have got minimap, terrain information, unit information, and action buttons (do not use them now). 
		You will be informed about them later. When you finish hit End Turn button.
		</description>
    <beginDate day="8" month="9" year="1939"/>
	<condition>
      	<and>
        <!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is human controlled-->
		<expression>
			<leftOperand method="Country.IsAIControlled" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
        </expression>
		<!-- Berlin controlled by Germany-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="6" param1="25" param2="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!--No war with Poland-->
		<expression>
			<leftOperand method="Country.HasWarWithCountry" param0="2" param1="1"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
       	</expression>
	    <!--STEP 2, closed-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="2"/>
          	<operator value="equals"/>
          	<rightOperand constValue="1"/>
        </expression>
	    <!--Flag not fired yet-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="3"/>
          	<operator value="equals"/>
          	<rightOperand constValue="0"/>
        </expression>
      	</and>
	</condition>
   	<options>
      	<option optionID="1" chanceAI="100" >
        	<description>OK</description>
        	<tooltip>Proceed to STEP 4</tooltip>
        	<effects>
				<!--Zeroing PP-->
          		<effect method="Country.SetProductionPoints" param0="1" param1="0"/>
          		<effect method="Country.SetProductionPoints" param0="2" param1="0"/>
				<!--Zeroing DP-->
          		<effect method="Country.SetDiplomaticPoints" param0="1" param1="0"/>
          		<effect method="Country.SetDiplomaticPoints" param0="2" param1="0"/>
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="3" param1="1"/>
   			</effects>
		</option>
  	</options>
  	</event>
	
		
<!--STEP 4-->
	<event eventID="4" countryID="2" visibleByPlayer="1" oneTimeChecking="0">
	<title>STEP 4 - Map</title>
    	<description>General, Most important part of the battlefield is your map. Use mouse wheel to zoom in and zoom out. 
		You can scroll it by moving your mouse cursor to the edge. You can also jump to other location by hitting the minimap with Left Mouse Button.
		Hit F1 to check hotkeys for map display.
		When you finish hit End Turn.
		</description>
    <beginDate day="15" month="9" year="1939"/>
	<condition>
      	<and>
        <!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is human controlled-->
		<expression>
			<leftOperand method="Country.IsAIControlled" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
        </expression>
		<!-- Berlin controlled by Germany-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="6" param1="25" param2="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!--No war with Poland-->
		<expression>
			<leftOperand method="Country.HasWarWithCountry" param0="2" param1="1"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
       	</expression>
	    <!--STEP 3, closed-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="3"/>
          	<operator value="equals"/>
          	<rightOperand constValue="1"/>
        </expression>
	    <!--Flag not fired yet-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="4"/>
          	<operator value="equals"/>
          	<rightOperand constValue="0"/>
        </expression>
      	</and>
	</condition>
   	<options>
      	<option optionID="1" chanceAI="100" >
        	<description>OK</description>
        	<tooltip>Proceed to STEP 5</tooltip>
        	<effects>
				<!--Zeroing PP-->
          		<effect method="Country.SetProductionPoints" param0="1" param1="0"/>
          		<effect method="Country.SetProductionPoints" param0="2" param1="0"/>
				<!--Zeroing DP-->
          		<effect method="Country.SetDiplomaticPoints" param0="1" param1="0"/>
          		<effect method="Country.SetDiplomaticPoints" param0="2" param1="0"/>
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="4" param1="1"/>
   			</effects>
		</option>
  	</options>
  	</event>
	
		
<!--STEP 5-->
	<event eventID="5" countryID="2" visibleByPlayer="1" oneTimeChecking="0">
	<title>STEP 5 - Purchasing and deploying unit</title>
    	<description>General, It is cruicial to reinforce your destroyed units with a new ones. To do so, hit Purchase button and buy a land unit of your choice.
		After it's done, exit Purchase menu and hit Deploy Units button. First choose your unit and after that deploy it in Berlin.
		When you finish hit End Turn.
		</description>
    <beginDate day="22" month="9" year="1939"/>
	<condition>
      	<and>
        <!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is human controlled-->
		<expression>
			<leftOperand method="Country.IsAIControlled" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
        </expression>
		<!-- Berlin controlled by Germany-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="6" param1="25" param2="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!--No war with Poland-->
		<expression>
			<leftOperand method="Country.HasWarWithCountry" param0="2" param1="1"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
       	</expression>
	    <!--STEP 4, closed-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="4"/>
          	<operator value="equals"/>
          	<rightOperand constValue="1"/>
        </expression>
	    <!--Flag not fired yet-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="5"/>
          	<operator value="equals"/>
          	<rightOperand constValue="0"/>
        </expression>
      	</and>
	</condition>
   	<options>
      	<option optionID="1" chanceAI="100" >
        	<description>OK</description>
        	<tooltip>Proceed to STEP 6</tooltip>
        	<effects>
				<!--Zeroing PP-->
          		<effect method="Country.SetProductionPoints" param0="1" param1="0"/>
          		<effect method="Country.SetProductionPoints" param0="2" param1="7"/>
				<!--Zeroing DP-->
          		<effect method="Country.SetDiplomaticPoints" param0="1" param1="0"/>
          		<effect method="Country.SetDiplomaticPoints" param0="2" param1="0"/>
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="5" param1="1"/>
   			</effects>
		</option>
  	</options>
  	</event>
	
		
<!--STEP 6-->
	<event eventID="6" countryID="2" visibleByPlayer="1" oneTimeChecking="0">
	<title>STEP 6 - Moving unit</title>
    	<description>General, One of the most important things on the battlefield is to move your units. Move your unit from Berlin to Stettin.
		To do so, click left mouse button on your unit, coloured hexes and numbers informs how far your unit can move. Click LMB on Stettin.
		Your unit should move there.
		When you finish hit End Turn.
		</description>
    <beginDate day="29" month="9" year="1939"/>
	<condition>
      	<and>
        <!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is human controlled-->
		<expression>
			<leftOperand method="Country.IsAIControlled" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
        </expression>
		<!-- Berlin controlled by Germany-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="6" param1="25" param2="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!-- German unit in Berlin-->
		<expression>
			<leftOperand method="Hex.Occupied" param0="6" param1="25"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!--No war with Poland-->
		<expression>
			<leftOperand method="Country.HasWarWithCountry" param0="2" param1="1"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
       	</expression>
	    <!--STEP 5, closed-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="5"/>
          	<operator value="equals"/>
          	<rightOperand constValue="1"/>
        </expression>
	    <!--Flag not fired yet-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="6"/>
          	<operator value="equals"/>
          	<rightOperand constValue="0"/>
        </expression>
      	</and>
	</condition>
   	<options>
      	<option optionID="1" chanceAI="100" >
        	<description>OK</description>
        	<tooltip>Proceed to STEP 7</tooltip>
        	<effects>
				<!--Zeroing PP-->
          		<effect method="Country.SetProductionPoints" param0="1" param1="0"/>
          		<effect method="Country.SetProductionPoints" param0="2" param1="0"/>
				<!--Zeroing DP-->
          		<effect method="Country.SetDiplomaticPoints" param0="1" param1="0"/>
          		<effect method="Country.SetDiplomaticPoints" param0="2" param1="0"/>
				<!--Killing all units-->
          		<effect method="Country.KillAllLandUnits" param0="2"/>
          		<effect method="Country.KillAllAirUnits" param0="2"/>
				<!--Unit in Berlin-->				
				<effect method="Hex.AddLandUnit" param0="6" param1="25" param2="2" param3="5" param4="5" param5="100" paramString0="Panzer Division"/>
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="6" param1="1"/>
   			</effects>
		</option>
  	</options>
  	</event>
	
	
	<!--STEP 7-->
	<event eventID="7" countryID="2" visibleByPlayer="1" oneTimeChecking="0">
	<title>STEP 7 - Declaring War</title>
    	<description>General, Enemy forces have been seen at the border, near city of Poznan (18|26). This is clear declaration of agression.
		To prevent enemy attack, we must declare war to enemy. Hit Diplomacy button, then find Polish flag on the diplomatic screen and
		chose it. After that you should see Declare war button active, use it!
		When you finish hit End Turn.
		</description>
    <beginDate day="6" month="10" year="1939"/>
	<condition>
      	<and>
        <!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is human controlled-->
		<expression>
			<leftOperand method="Country.IsAIControlled" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
        </expression>
		<!-- Berlin controlled by Germany-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="6" param1="25" param2="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!-- German unit in Stettin-->
		<expression>
			<leftOperand method="Hex.Occupied" param0="10" param1="20"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!--No war with Poland-->
		<expression>
			<leftOperand method="Country.HasWarWithCountry" param0="2" param1="1"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
       	</expression>
	    <!--STEP 6, closed-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="6"/>
          	<operator value="equals"/>
          	<rightOperand constValue="1"/>
        </expression>
	    <!--Flag not fired yet-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="7"/>
          	<operator value="equals"/>
          	<rightOperand constValue="0"/>
        </expression>
      	</and>
	</condition>
   	<options>
      	<option optionID="1" chanceAI="100" >
        	<description>OK</description>
        	<tooltip>Proceed to STEP 8</tooltip>
        	<effects>
				<!--Zeroing PP-->
          		<effect method="Country.SetProductionPoints" param0="1" param1="0"/>
          		<effect method="Country.SetProductionPoints" param0="2" param1="0"/>
				<!--Zeroing DP-->
          		<effect method="Country.SetDiplomaticPoints" param0="1" param1="0"/>
          		<effect method="Country.SetDiplomaticPoints" param0="2" param1="0"/>
				<!--Killing all units-->
          		<effect method="Country.KillAllLandUnits" param0="2"/>
          		<effect method="Country.KillAllAirUnits" param0="2"/>
				<!--Unit near Poznan-->				
				<effect method="Hex.AddLandUnit" param0="15" param1="27" param2="1" param3="1" param4="1" param5="10" paramString0="Straż Graniczna"/>
				<effect method="Unit.Freeze" param0="15" param1="27" param2="100"/>
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="7" param1="1"/>
   			</effects>
		</option>
  	</options>
  	</event>
	
		
<!--STEP 8-->
	<event eventID="8" countryID="2" visibleByPlayer="1" oneTimeChecking="0">
	<title>STEP 8 - Attacking enemy</title>
    	<description>General, As we are already at war, enemy forces at the border, near city of Poznan (18|26),
		can be attacked by our Panzer Korps whch fortunately is nerby.
		To destroy enemy, select your unit, and then hist twice on enemy unit with your left mouse button.
		When you finish hit End Turn.
		</description>
    <beginDate day="14" month="10" year="1939"/>
	<condition>
      	<and>
        <!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is human controlled-->
		<expression>
			<leftOperand method="Country.IsAIControlled" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
        </expression>
		<!-- Berlin controlled by Germany-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="6" param1="25" param2="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!-- Hex near Poznan controlled by Poland-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="15" param1="27" param2="1"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!--War with Poland-->
		<expression>
			<leftOperand method="Country.HasWarWithCountry" param0="2" param1="1"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
       	</expression>
	    <!--STEP 7, closed-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="7"/>
          	<operator value="equals"/>
          	<rightOperand constValue="1"/>
        </expression>
	    <!--Flag not fired yet-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="8"/>
          	<operator value="equals"/>
          	<rightOperand constValue="0"/>
        </expression>
      	</and>
	</condition>
   	<options>
      	<option optionID="1" chanceAI="100" >
        	<description>OK</description>
        	<tooltip>Proceed to STEP 9</tooltip>
        	<effects>
				<!--Zeroing PP-->
          		<effect method="Country.SetProductionPoints" param0="1" param1="0"/>
          		<effect method="Country.SetProductionPoints" param0="2" param1="0"/>
				<!--Zeroing DP-->
          		<effect method="Country.SetDiplomaticPoints" param0="1" param1="0"/>
          		<effect method="Country.SetDiplomaticPoints" param0="2" param1="0"/>
				<!--Killing all units-->
          		<effect method="Country.KillAllLandUnits" param0="2"/>
          		<effect method="Country.KillAllAirUnits" param0="2"/>
          		<effect method="Country.KillAllLandUnits" param0="1"/>
				<!--Unit near Poznan-->
				<effect method="Hex.AddLandUnit" param0="15" param1="27" param2="1" param3="1" param4="1" param5="10" paramString0="Straż Graniczna"/>
				<effect method="Unit.Freeze" param0="15" param1="27" param2="100"/>				
				<effect method="Hex.AddLandUnit" param0="14" param1="27" param2="2" param3="6" param4="5" param5="100" paramString0="Panzer Korps"/>
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="8" param1="1"/>
   			</effects>
		</option>
  	</options>
  	</event>
	
		
<!--STEP 9-->
	<event eventID="9" countryID="2" visibleByPlayer="1" oneTimeChecking="0">
	<title>STEP 9 - Multiside attack</title>
    	<description>General, there is critical situation close to Breslau city (15|33). Enemy Inafntry corps is a serious threat for our resources.
		Use both units at the border to execute multiple attack. To do so, first click on enemy unit, after that click on both your units, one after another.
		You should see attack arrows on both of your units, when it's ready, click on enemy unit again.
		When you finish hit End Turn.
		</description>
    <beginDate day="20" month="10" year="1939"/>
	<condition>
      	<and>
        <!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is human controlled-->
		<expression>
			<leftOperand method="Country.IsAIControlled" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
        </expression>
		<!-- Berlin controlled by Germany-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="6" param1="25" param2="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!-- Hex near Breslau controlled by Poland-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="18" param1="31" param2="1"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!--War with Poland-->
		<expression>
			<leftOperand method="Country.HasWarWithCountry" param0="2" param1="1"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
       	</expression>
	    <!--STEP 8, closed-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="8"/>
          	<operator value="equals"/>
          	<rightOperand constValue="1"/>
        </expression>
	    <!--Flag not fired yet-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="9"/>
          	<operator value="equals"/>
          	<rightOperand constValue="0"/>
        </expression>
      	</and>
	</condition>
   	<options>
      	<option optionID="1" chanceAI="100" >
        	<description>OK</description>
        	<tooltip>Proceed to STEP 10</tooltip>
        	<effects>
				<!--Zeroing PP-->
          		<effect method="Country.SetProductionPoints" param0="1" param1="0"/>
          		<effect method="Country.SetProductionPoints" param0="2" param1="0"/>
				<!--Zeroing DP-->
          		<effect method="Country.SetDiplomaticPoints" param0="1" param1="0"/>
          		<effect method="Country.SetDiplomaticPoints" param0="2" param1="0"/>
				<!--Killing all units-->
          		<effect method="Country.KillAllLandUnits" param0="2"/>
          		<effect method="Country.KillAllAirUnits" param0="2"/>
          		<effect method="Country.KillAllLandUnits" param0="1"/>
				<!--Unit near Breslau-->
				<effect method="Hex.AddLandUnit" param0="18" param1="31" param2="1" param3="2" param4="1" param5="30" paramString0="Korpus Ochrony Pogranicza"/>
				<effect method="Unit.Freeze" param0="18" param1="31" param2="100"/>				
				<effect method="Hex.AddLandUnit" param0="19" param1="32" param2="2" param3="6" param4="5" param5="100" paramString0="I Panzer Korps"/>
				<effect method="Hex.AddLandUnit" param0="17" param1="32" param2="2" param3="6" param4="5" param5="100" paramString0="II Panzer Korps"/>
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="9" param1="1"/>
   			</effects>
		</option>
  	</options>
  	</event>
	
		
<!--STEP 10-->
	<event eventID="10" countryID="2" visibleByPlayer="1" oneTimeChecking="0">
	<title>STEP 10 - Air strike</title>
    	<description>General, we have got another urgent situation in Eastern Prussia. Our units located south to Koenigsberg (26|15) are to weak to attack enemy.
		Air support must be used. To execute an air attack you must choose your air unit, then select Air Strike on the menu at the right side.
		Then all possible targets will become highlighted. Choose enemy unit and it will be bombed.
		When you finish hit End Turn.
		</description>
    <beginDate day="29" month="10" year="1939"/>
	<condition>
      	<and>
        <!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is human controlled-->
		<expression>
			<leftOperand method="Country.IsAIControlled" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
        </expression>
		<!-- Berlin controlled by Germany-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="6" param1="25" param2="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!-- Hex south of Koenigsberg controlled by Poland-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="27" param1="22" param2="1"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!--War with Poland-->
		<expression>
			<leftOperand method="Country.HasWarWithCountry" param0="2" param1="1"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
       	</expression>
	    <!--STEP 9, closed-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="9"/>
          	<operator value="equals"/>
          	<rightOperand constValue="1"/>
        </expression>
	    <!--Flag not fired yet-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="10"/>
          	<operator value="equals"/>
          	<rightOperand constValue="0"/>
        </expression>
      	</and>
	</condition>
   	<options>
      	<option optionID="1" chanceAI="100" >
        	<description>OK</description>
        	<tooltip>Proceed to STEP 11</tooltip>
        	<effects>
				<!--Zeroing PP-->
          		<effect method="Country.SetProductionPoints" param0="1" param1="0"/>
          		<effect method="Country.SetProductionPoints" param0="2" param1="0"/>
				<!--Zeroing DP-->
          		<effect method="Country.SetDiplomaticPoints" param0="1" param1="0"/>
          		<effect method="Country.SetDiplomaticPoints" param0="2" param1="0"/>
				<!--Killing all units-->
          		<effect method="Country.KillAllLandUnits" param0="2"/>
          		<effect method="Country.KillAllAirUnits" param0="2"/>
          		<effect method="Country.KillAllLandUnits" param0="1"/>
				<!--Unit near Koenigsberg-->
				<effect method="Hex.AddLandUnit" param0="27" param1="22" param2="1" param3="1" param4="1" param5="10" paramString0="Straż Graniczna"/>
				<effect method="Unit.Freeze" param0="27" param1="22" param2="100"/>				
				<effect method="Hex.AddLandUnit" param0="27" param1="21" param2="2" param3="1" param4="1" param5="10" paramString0="Infanterie Division"/>
          		<effect method="Hex.AddAirUnit" param0="2" param1="27" param2="17" param3="9" param4="5" param5="10" paramString0="Luftwaffe 1"/>
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="10" param1="1"/>
   			</effects>
		</option>
  	</options>
  	</event>
	
		
<!--STEP 11-->
	<event eventID="11" countryID="2" visibleByPlayer="1" oneTimeChecking="0">
	<title>STEP 11 - Dogfight</title>
    	<description>General, Our bombers are in real danger. Enemy fighters are in range. We must send our interceptors to destroy them.
		To do so, choose your fighters unit near enemy border in Eastern Prussia. Choose Air Combat and select enemy planes. 
		Be carefull not to redeploy your units.
		When you finish hit End Turn.
		</description>
    <beginDate day="7" month="11" year="1939"/>
	<condition>
      	<and>
        <!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is human controlled-->
		<expression>
			<leftOperand method="Country.IsAIControlled" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
        </expression>
		<!-- Berlin controlled by Germany-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="6" param1="25" param2="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!-- Hex south of Koenigsberg controlled by Poland-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="29" param1="24" param2="1"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!--War with Poland-->
		<expression>
			<leftOperand method="Country.HasWarWithCountry" param0="2" param1="1"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
       	</expression>
	    <!--STEP 10, closed-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="10"/>
          	<operator value="equals"/>
          	<rightOperand constValue="1"/>
        </expression>
	    <!--Flag not fired yet-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="11"/>
          	<operator value="equals"/>
          	<rightOperand constValue="0"/>
        </expression>
      	</and>
	</condition>
   	<options>
      	<option optionID="1" chanceAI="100" >
        	<description>OK</description>
        	<tooltip>Proceed to STEP 12</tooltip>
        	<effects>
				<!--Zeroing PP-->
          		<effect method="Country.SetProductionPoints" param0="1" param1="0"/>
          		<effect method="Country.SetProductionPoints" param0="2" param1="0"/>
				<!--Zeroing DP-->
          		<effect method="Country.SetDiplomaticPoints" param0="1" param1="0"/>
          		<effect method="Country.SetDiplomaticPoints" param0="2" param1="0"/>
				<!--Killing all units-->
          		<effect method="Country.KillAllLandUnits" param0="2"/>
          		<effect method="Country.KillAllAirUnits" param0="2"/>
          		<effect method="Country.KillAllLandUnits" param0="1"/>
          		<effect method="Country.KillAllAirUnits" param0="1"/>
				<!--Unit near Koenigsberg-->
          		<effect method="Hex.AddAirUnit" param0="1" param1="29" param2="24" param3="8" param4="1" param5="1" paramString0="Brygada Pościgowa"/>
				<effect method="Hex.AddLandUnit" param0="28" param1="21" param2="2" param3="1" param4="1" param5="10" paramString0="Infanterie Division"/>
				<effect method="Unit.Freeze" param0="28" param1="21" param2="100"/>
          		<effect method="Hex.AddAirUnit" param0="2" param1="29" param2="20" param3="8" param4="5" param5="10" paramString0="Luftflotte 1"/>
          		<effect method="Hex.AddAirUnit" param0="2" param1="27" param2="16" param3="9" param4="5" param5="10" paramString0="Luftwaffe 1"/>
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="11" param1="1"/>
   			</effects>
		</option>
  	</options>
  	</event>
	
		
<!--STEP 12-->
	<event eventID="12" countryID="2" visibleByPlayer="1" oneTimeChecking="0">
	<title>STEP 12 - Air Recon</title>
    	<description>General, We suspect that enemy has concentrated large forces near Warsaw. It is cruicial to send an air recon mission there.
		To do so, choose your air forces and use Air Recon icon. Then click on Warsaw. All surrounding area should reveal.
		When you finish hit End Turn.
		</description>
    <beginDate day="14" month="11" year="1939"/>
	<condition>
      	<and>
        <!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is human controlled-->
		<expression>
			<leftOperand method="Country.IsAIControlled" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
        </expression>
		<!-- Berlin controlled by Germany-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="6" param1="25" param2="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!-- Hex south of Koenigsberg controlled by Poland-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="29" param1="24" param2="1"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!--War with Poland-->
		<expression>
			<leftOperand method="Country.HasWarWithCountry" param0="2" param1="1"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
       	</expression>
	    <!--STEP 11, closed-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="11"/>
          	<operator value="equals"/>
          	<rightOperand constValue="1"/>
        </expression>
	    <!--Flag not fired yet-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="12"/>
          	<operator value="equals"/>
          	<rightOperand constValue="0"/>
        </expression>
      	</and>
	</condition>
   	<options>
      	<option optionID="1" chanceAI="100" >
        	<description>OK</description>
        	<tooltip>Proceed to STEP 13</tooltip>
        	<effects>
				<!--Zeroing PP-->
          		<effect method="Country.SetProductionPoints" param0="1" param1="0"/>
          		<effect method="Country.SetProductionPoints" param0="2" param1="0"/>
				<!--Zeroing DP-->
          		<effect method="Country.SetDiplomaticPoints" param0="1" param1="0"/>
          		<effect method="Country.SetDiplomaticPoints" param0="2" param1="0"/>
				<!--Killing all units-->
          		<effect method="Country.KillAllLandUnits" param0="2"/>
          		<effect method="Country.KillAllAirUnits" param0="2"/>
          		<effect method="Country.KillAllLandUnits" param0="1"/>
          		<effect method="Country.KillAllAirUnits" param0="1"/>
				<!--Unit near Koenigsberg-->
				<effect method="Hex.AddLandUnit" param0="30" param1="27" param2="1" param3="1" param4="1" param5="10" paramString0="Dywizja Piechoty"/>
				<effect method="Unit.Freeze" param0="30" param1="27" param2="100"/>
				<effect method="Hex.AddLandUnit" param0="31" param1="28" param2="1" param3="5" param4="1" param5="10" paramString0="Dywizja Pancerna"/>
				<effect method="Unit.Freeze" param0="31" param1="28" param2="100"/>
          		<effect method="Hex.AddAirUnit" param0="2" param1="29" param2="20" param3="8" param4="5" param5="10" paramString0="Luftflotte 1"/>
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="12" param1="1"/>
   			</effects>
		</option>
  	</options>
  	</event>
	
		
<!--STEP 13-->
	<event eventID="13" countryID="2" visibleByPlayer="1" oneTimeChecking="0">
	<title>STEP 13 - Capturing enemy city</title>
    	<description>General, Enemy city of Cracow (25|36) is a very important strategic location. We must do everything to capture it.
		Fortunately we have a motorised division nerby.
		When you finish hit End Turn.
		</description>
    <beginDate day="20" month="11" year="1939"/>
	<condition>
      	<and>
        <!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is human controlled-->
		<expression>
			<leftOperand method="Country.IsAIControlled" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
        </expression>
		<!-- Berlin controlled by Germany-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="6" param1="25" param2="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!-- Cracow controlled by Poland-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="25" param1="36" param2="1"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!--War with Poland-->
		<expression>
			<leftOperand method="Country.HasWarWithCountry" param0="2" param1="1"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
       	</expression>
	    <!--STEP 12, closed-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="12"/>
          	<operator value="equals"/>
          	<rightOperand constValue="1"/>
        </expression>
	    <!--Flag not fired yet-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="13"/>
          	<operator value="equals"/>
          	<rightOperand constValue="0"/>
        </expression>
      	</and>
	</condition>
   	<options>
      	<option optionID="1" chanceAI="100" >
        	<description>OK</description>
        	<tooltip>Proceed to STEP 14</tooltip>
        	<effects>
				<!--Zeroing PP-->
          		<effect method="Country.SetProductionPoints" param0="1" param1="0"/>
          		<effect method="Country.SetProductionPoints" param0="2" param1="0"/>
				<!--Zeroing DP-->
          		<effect method="Country.SetDiplomaticPoints" param0="1" param1="0"/>
          		<effect method="Country.SetDiplomaticPoints" param0="2" param1="0"/>
				<!--Killing all units-->
          		<effect method="Country.KillAllLandUnits" param0="2"/>
          		<effect method="Country.KillAllAirUnits" param0="2"/>
          		<effect method="Country.KillAllLandUnits" param0="1"/>
          		<effect method="Country.KillAllAirUnits" param0="1"/>
				<!--Unit near Cracow-->
				<effect method="Hex.AddLandUnit" param0="21" param1="35" param2="2" param3="3" param4="5" param5="100" paramString0="Motorisierte Division"/>
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="13" param1="1"/>
   			</effects>
		</option>
  	</options>
  	</event>
	
		
<!--STEP 14-->
	<event eventID="14" countryID="2" visibleByPlayer="1" oneTimeChecking="0">
	<title>STEP 14 - Research</title>
    	<description>General, Before we will proceed to ultimate conquer you mst know that in longer war it is very important to have modern units.
		Use Reserch button and invest some funds in developing Artillery and Tanks. Thanks to that you will be able to purchase more powerfull
		units in ongoing wars.
		When you finish hit End Turn.
		</description>
    <beginDate day="27" month="11" year="1939"/>
	<condition>
      	<and>
        <!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is human controlled-->
		<expression>
			<leftOperand method="Country.IsAIControlled" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
        </expression>
		<!-- Berlin controlled by Germany-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="6" param1="25" param2="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!-- Cracow controlled by Germany-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="25" param1="36" param2="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!--War with Poland-->
		<expression>
			<leftOperand method="Country.HasWarWithCountry" param0="2" param1="1"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
       	</expression>
	    <!--STEP 13, closed-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="13"/>
          	<operator value="equals"/>
          	<rightOperand constValue="1"/>
        </expression>
	    <!--Flag not fired yet-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="14"/>
          	<operator value="equals"/>
          	<rightOperand constValue="0"/>
        </expression>
      	</and>
	</condition>
   	<options>
      	<option optionID="1" chanceAI="100" >
        	<description>OK</description>
        	<tooltip>Proceed to STEP 15</tooltip>
        	<effects>
				<!--Zeroing PP-->
          		<effect method="Country.SetProductionPoints" param0="1" param1="0"/>
          		<effect method="Country.SetProductionPoints" param0="2" param1="130"/>
				<!--Zeroing DP-->
          		<effect method="Country.SetDiplomaticPoints" param0="1" param1="0"/>
          		<effect method="Country.SetDiplomaticPoints" param0="2" param1="0"/>
				<!--Killing all units-->
          		<effect method="Country.KillAllLandUnits" param0="2"/>
          		<effect method="Country.KillAllAirUnits" param0="2"/>
          		<effect method="Country.KillAllLandUnits" param0="1"/>
          		<effect method="Country.KillAllAirUnits" param0="1"/>
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="14" param1="1"/>
   			</effects>
		</option>
  	</options>
  	</event>
	
		
<!--STEP 15-->
	<event eventID="15" countryID="2" visibleByPlayer="1" oneTimeChecking="0">
	<title>STEP 15 - Weather Effects</title>
    	<description>General, As you might see, winter already has come. Please note that snow and mud affects units movement and combat abilities.
		Winter is a very dangerous enemy. 
		When you finish hit End Turn.
		</description>
    <beginDate day="7" month="12" year="1939"/>
	<condition>
      	<and>
        <!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is human controlled-->
		<expression>
			<leftOperand method="Country.IsAIControlled" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
        </expression>
		<!-- Berlin controlled by Germany-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="6" param1="25" param2="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!-- Cracow controlled by Germany-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="25" param1="36" param2="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!--War with Poland-->
		<expression>
			<leftOperand method="Country.HasWarWithCountry" param0="2" param1="1"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
       	</expression>
	    <!--STEP 14, closed-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="14"/>
          	<operator value="equals"/>
          	<rightOperand constValue="1"/>
        </expression>
	    <!--Flag not fired yet-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="15"/>
          	<operator value="equals"/>
          	<rightOperand constValue="0"/>
        </expression>
      	</and>
	</condition>
   	<options>
      	<option optionID="1" chanceAI="100" >
        	<description>OK</description>
        	<tooltip>Proceed to STEP 16</tooltip>
        	<effects>
				<!--Zeroing PP-->
          		<effect method="Country.SetProductionPoints" param0="1" param1="0"/>
          		<effect method="Country.SetProductionPoints" param0="2" param1="0"/>
				<!--Zeroing DP-->
          		<effect method="Country.SetDiplomaticPoints" param0="1" param1="0"/>
          		<effect method="Country.SetDiplomaticPoints" param0="2" param1="0"/>
				<!--Killing all units-->
          		<effect method="Country.KillAllLandUnits" param0="2"/>
          		<effect method="Country.KillAllAirUnits" param0="2"/>
          		<effect method="Country.KillAllLandUnits" param0="1"/>
          		<effect method="Country.KillAllAirUnits" param0="1"/>
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="15" param1="1"/>
   			</effects>
		</option>
  	</options>
  	</event>
	
		
<!--STEP 16-->
	<event eventID="16" countryID="2" visibleByPlayer="1" oneTimeChecking="0">
	<title>STEP 16 - Victory</title>
    	<description>General, Ultimate victory over enemy can be only achieved by capturing all enemy cities with Victory Points.
		All of them are marked with green VP letters and a digit equal to the VP value.
		Move your unit from Cracow to Warsaw
		When you finish hit End Turn.
		</description>
    <beginDate day="14" month="12" year="1939"/>
	<condition>
      	<and>
        <!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Country is human controlled-->
		<expression>
			<leftOperand method="Country.IsAIControlled" param0="2"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
        </expression>
		<!-- Berlin controlled by Germany-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="6" param1="25" param2="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!-- Cracow controlled by Germany-->
		<expression>
			<leftOperand method="Hex.ControlledByCountry" param0="25" param1="36" param2="2"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
		</expression>
		<!--War with Poland-->
		<expression>
			<leftOperand method="Country.HasWarWithCountry" param0="2" param1="1"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
       	</expression>
	    <!--STEP 15, closed-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="15"/>
          	<operator value="equals"/>
          	<rightOperand constValue="1"/>
        </expression>
	    <!--Flag not fired yet-->
        <expression>
          	<leftOperand method="Flag.GetValue" param0="16"/>
          	<operator value="equals"/>
          	<rightOperand constValue="0"/>
        </expression>
      	</and>
	</condition>
   	<options>
      	<option optionID="1" chanceAI="100" >
        	<description>OK</description>
        	<tooltip>Move your unit to Warsaw</tooltip>
        	<effects>
				<!--Zeroing PP-->
          		<effect method="Country.SetProductionPoints" param0="1" param1="0"/>
          		<effect method="Country.SetProductionPoints" param0="2" param1="0"/>
				<!--Zeroing DP-->
          		<effect method="Country.SetDiplomaticPoints" param0="1" param1="0"/>
          		<effect method="Country.SetDiplomaticPoints" param0="2" param1="0"/>
				<!--Killing all units-->
          		<effect method="Country.KillAllLandUnits" param0="1"/>
          		<effect method="Country.KillAllAirUnits" param0="1"/>
				<!--Unit near Cracow-->
				<effect method="Hex.AddLandUnit" param0="25" param1="36" param2="2" param3="3" param4="5" param5="100" paramString0="Motorisierte Division"/>
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="16" param1="1"/>
   			</effects>
		</option>
  	</options>
  	</event>
	
	
	

	
	
	

	
	
	

	
	
	

	
	

	

	
	

	
	

	

</eventSystem>