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

	
	
	<!--Luxembourg attacked by Germany-->
	<event eventID="1901" countryID="19" visibleByPlayer="1" oneTimeChecking="0"> 
		<title>ZID_1901_title</title>
		<description>ZID_1901_desc</description>
	<condition>
		<and>
        <!--Country is active-->
		<expression>
			<leftOperand method="Country.IsActive" param0="19"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
	    <!--Option 1 in event 213 - events_02_germany.xml-->
		<expression>
			<leftOperand method="Flag.GetValue" param0="213"/>
			<operator value="equals" />
			<rightOperand constValue="1" />
			</expression>
	    <!--Flag not fired yet-->
		<expression>
			<leftOperand method="Flag.GetValue" param0="1901"/>
			<operator value="equals" />
			<rightOperand constValue="0" />
			</expression>
		</and>
		</condition>
		<options>
		<option optionID="1" chanceAI="95">
			<description>ZID_1901_op1</description>
			<tooltip>ZID_1901_desc1</tooltip>
			<effects>
				<!--Territorial changes-->
				<effect method="HexStripe.ChangeControllerAndOwner" param0="106" param1="94" param2="1" param3="2" />
				<effect method="HexStripe.ChangeControllerAndOwner" param0="107" param1="94" param2="2" param3="2" />
				<!--Bye Luxembourg :(-->
				<effect method="Country.SetActive" param0="19" param1="0" />
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="1901" param1="1"/>
			</effects>
		</option>
		<option optionID="2" chanceAI="5">
			<description>ZID_1901_op2</description>
			<tooltip>ZID_1901_desc2</tooltip>
			<effects>
				<!--Production point added-->
				<effect method="Country.ChangeProductionPoints" param0="19" param1="15" />
				<!--Set flag-->
          		<effect method="Flag.SetValue" param0="1901" param1="2"/>
			</effects>
		</option>
	</options>
	</event>
	
	
	<!--Increasing War Economy - Peace-->
	<event eventID="1902" countryID="19" visibleByPlayer="1" oneTimeChecking="1"> 
		<title>ZID_1902_title</title>
		<description>ZID_1902_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="19"/>
			<operator value="equals"/>
			<rightOperand constValue="1"/>
        </expression>
		<!--Not at war-->
		<expression>
			<leftOperand method="Country.IsAtWar" param0="19"/>
			<operator value="equals"/>
			<rightOperand constValue="0"/>
       	</expression>
		<!--WE less than 50-->
		<expression>
			<leftOperand method="Country.GetWarEconomy" param0="19"/>
			<operator value="lessOrEqual"/>
			<rightOperand constValue="50"/>
       	</expression>
		</and>
	</condition>
	<options>
		<option optionID="1" chanceAI="100">
			<description>ZID_1902_op1</description>
			<tooltip>ZID_1902_desc1</tooltip>
			<effects>
				<!--WE Increased by 5-->
          		<effect method="Country.ChangeWarEconomy" param0="19" param1="5"/>
			</effects>
		</option>
	</options>
	</event>
	
	
	

</eventSystem>