<?xml version="1.0" encoding="utf-8"?>
<AssetDeclaration xmlns="uri:ea.com:eala:asset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Tags></Tags>
  <Includes>
    <Include
      type="all"
      source="DATA:GlobalData/GlobalDefines.xml" />
    <Include type="all" source="ART:MGPort_01.w3x" />
    <Include type="all" source="ART:MGPort_02.w3x" />
    <Include type="all" source="ART:MGPort_03.w3x" />
    <Include type="all" source="ART:MGPort_04.w3x" />
    <Include type="all" source="ART:MGPort_05.w3x" />

    <Include type="all" source="ART:MG_Port_Unrest0.xml" />
    <Include type="all" source="ART:MG_Port_Unrest1.xml" />
    <Include type="all" source="ART:MG_Port_Unrest2.xml" />
    <Include type="all" source="ART:MG_Port_Unrest3.xml" />
    <Include type="all" source="ART:MG_Port_Unrest4.xml" />
    <Include type="all" source="ART:MG_Port_Unrest5.xml" />
    
   <!-- <Include type="all" source="ART:MGPort_04.w3x" /> -->

    <!-- Base Object -->
    <Include type="instance" source="DATA:MetaGame/MetaBaseCivilianStructure.xml" />
  </Includes>
  <GameObject
		id="ICMUMO_01"
		inheritFrom="MetaBaseCivilianStructure" 
    KindOf="STRUCTURE IMMOBILE SELECTABLE NOT_AUTOACQUIRABLE NO_COLLIDE DO_NOT_CLASSIFY META_ICMUMO META_CITY"
		EditorName="ICMUMO_01"
    EditorSorting="STRUCTURE"
		Browser="REGION METAGAME">
    <DisplayName>Name:MetaICMUMO1</DisplayName>
    <Draws>

      <ScriptedModelDraw
        id="ModuleTag_POPDraw"
        OkToChangeModelColor="true">

        <ModelConditionState
          ParseCondStateType="PARSE_DEFAULT">
           <Model Name="MGPort_01" />
        </ModelConditionState>

        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="UNREST_FULL POPULATION_FULL">
          <Texture
						Original="MG_Port_Unrest1"
						New="MG_Port_Unrest5" />
          <Model Name="MGPort_05" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="POPULATION_SLIGHTLY_LOW UNREST_FULL">
          <Texture
						Original="MG_Port_Unrest1"
						New="MG_Port_Unrest5" />
          <Model Name="MGPort_04" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="POPULATION_LOW UNREST_FULL">
          <Texture
						Original="MG_Port_Unrest1"
						New="MG_Port_Unrest5" />
          <Model Name="MGPort_03" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="POPULATION_REALLY_LOW UNREST_FULL">
          <Texture
             Original="MG_Port_Unrest1"
             New="MG_Port_Unrest5" />
          <Model Name="MGPort_02" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="POPULATION_ZERO UNREST_FULL">
          <Model Name="MGPort_01" />
        </ModelConditionState>

        <ModelConditionState
         ParseCondStateType="PARSE_NORMAL"
         ConditionsYes="UNREST_SLIGHTLY_LOW POPULATION_FULL">
          <Texture
						Original="MG_Port_Unrest1"
						New="MG_Port_Unrest4" />
          <Model Name="MGPort_05" />
        </ModelConditionState>
        <ModelConditionState
         ParseCondStateType="PARSE_NORMAL"
         ConditionsYes="POPULATION_SLIGHTLY_LOW UNREST_SLIGHTLY_LOW">
          <Texture
						Original="MG_Port_Unrest1"
						New="MG_Port_Unrest4" />
          <Model Name="MGPort_04" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="POPULATION_LOW UNREST_SLIGHTLY_LOW">
          <Texture
						Original="MG_Port_Unrest1"
						New="MG_Port_Unrest4" />
          <Model Name="MGPort_03" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="POPULATION_REALLY_LOW UNREST_SLIGHTLY_LOW">
          <Texture
           Original="MG_Port_Unrest1"
           New="MG_Port_Unrest4" />
          <Model Name="MGPort_02" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="POPULATION_ZERO UNREST_SLIGHTLY_LOW">
          <Model Name="MGPort_01" />
        </ModelConditionState>

        <ModelConditionState
         ParseCondStateType="PARSE_NORMAL"
         ConditionsYes="UNREST_LOW POPULATION_FULL">
          <Texture
						Original="MG_Port_Unrest1"
						New="MG_Port_Unrest3" />
          <Model Name="MGPort_05" />
        </ModelConditionState>
        <ModelConditionState
         ParseCondStateType="PARSE_NORMAL"
         ConditionsYes="POPULATION_SLIGHTLY_LOW UNREST_LOW">
          <Texture
             Original="MG_Port_Unrest1"
             New="MG_Port_Unrest3" />
          <Model Name="MGPort_04" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="POPULATION_LOW UNREST_LOW">
          <Texture
             Original="MG_Port_Unrest1"
             New="MG_Port_Unrest3" />
          <Model Name="MGPort_03" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="POPULATION_REALLY_LOW UNREST_LOW">
          <Texture
						Original="MG_Port_Unrest1"
						New="MG_Port_Unrest3" />
          <Model Name="MGPort_02" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="POPULATION_ZERO UNREST_LOW">
          <Model Name="MGPort_01" />
        </ModelConditionState>

        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="UNREST_REALLY_LOW POPULATION_FULL">
          <Texture
						Original="MG_Port_Unrest1"
						New="MG_Port_Unrest2" />
          <Model Name="MGPort_05" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="POPULATION_SLIGHTLY_LOW UNREST_REALLY_LOW">
          <Texture
						Original="MG_Port_Unrest1"
						New="MG_Port_Unrest2" />
          <Model Name="MGPort_04" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="POPULATION_LOW UNREST_REALLY_LOW">
          <Texture
						Original="MG_Port_Unrest1"
						New="MG_Port_Unrest2" />
          <Model Name="MGPort_03" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="POPULATION_REALLY_LOW UNREST_REALLY_LOW">
          <Texture
						Original="MG_Port_Unrest1"
						New="MG_Port_Unrest2" />
          <Model Name="MGPort_02" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="POPULATION_ZERO UNREST_REALLY_LOW">
          <Model Name="MGPort_01" />
        </ModelConditionState>

        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="UNREST_ZERO POPULATION_FULL">
          <Texture
           Original="MG_Port_Unrest1"
           New="MG_Port_Unrest0" />
          <Model Name="MGPort_05" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="POPULATION_SLIGHTLY_LOW UNREST_ZERO">
          <Texture
           Original="MG_Port_Unrest1"
           New="MG_Port_Unrest0" />
          <Model Name="MGPort_04" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="POPULATION_LOW UNREST_ZERO">
          <Texture
           Original="MG_Port_Unrest1"
           New="MG_Port_Unrest0" />
          <Model Name="MGPort_03" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="POPULATION_REALLY_LOW UNREST_ZERO">
          <Texture
           Original="MG_Port_Unrest1"
           New="MG_Port_Unrest0" />
          <Model Name="MGPort_02" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="POPULATION_ZERO UNREST_ZERO">
           <Model Name="MGPort_01" />
        </ModelConditionState>

      </ScriptedModelDraw>
    </Draws>
    <Behaviors>
    </Behaviors>
    <Body>
      <MetaCityBody
				id="ModuleTag_Body"
				MaxHealth="1000.0" 
        InitialHealth ="-1.0" 
        
        MaxUnrest="100.0" 
        InitialUnrest="-1.0" 

        MinHumanCityTiberiumBonus="250"
        MaxHumanCityTiberiumBonus="1000" 
        
        ALIENCityTiberiumBonusPop="5"
        ALIENCityTiberiumBonusPopTHRESHOLD="0%"
			/>
      <!-- 
          These are all the default values. health = pop
          if Initial = -1, the starting value is set to max 
        -->
    </Body>
	<AudioArrayVoice>
		<!-- <AudioEntry Sound="GDI_ConstructionYardSelect" AudioType="voiceSelect" /> -->
	</AudioArrayVoice>
	<AudioArraySound>
		<AudioEntry Sound="META_PortAmbienceMS" AudioType="soundAmbient" />
		<AudioEntry Sound="HumanFaction_SmallBuilding_LightDamageMS" AudioType="soundOnDamaged" />
		<AudioEntry Sound="HumanFaction_SmallBuilding_HeavyDamageMS" AudioType="soundOnReallyDamaged" />
	</AudioArraySound>
    <ProjectedBuildabilityInfo
      Radius="=$ICMUMO_Tier_1_AOE"
      BuildPlacementTypes="META_STRIKEFORCE" />
  </GameObject>
</AssetDeclaration>
