<?xml version="1.0"?>
<root>
	<!-- gracul mechanics updated for SS7.0 10-01-2009 -->
   <factor_modifiers>
	<factor name="SPF_FARMING_LEVEL">
	  <pip_modifier value="0.80"/>
	  <castle_modifier value="0.70"/>
	</factor>
	 <factor name="SPF_FARMS_BUILT">
	 <pip_modifier value="0.5"/>
	 <pip_min value="0"/>
	 <pip_max value="20"/>
	 </factor>
	<factor name="SPF_HEALTH">
	 <pip_modifier value="1.0"/>
	 <pip_min value="0"/>
	 <pip_max value="25"/>
	</factor>
	<factor name="SPF_BUILDINGS">
	 <pip_modifier value="1.0"/>
	</factor>
	<factor name="SPF_TAX_RATE_BONUS">
	 <pip_modifier value="1.0"/>
	</factor>
	<factor name="SPF_BUILDINGS_FUN">
	 <pip_modifier value="0.5"/>
	 <pip_min value="0"/>
	 <pip_max value="25"/>
	</factor>
	<factor name="SPF_GOVERNORS_INFLUENCE">
	 <pip_modifier value="1.0"/>
	 <castle_modifier value="1.3"/>
	 <pip_min value="0"/>
	 <pip_max value="8"/>
	</factor>
	<factor name="SPF_TRADE">
 	 <pip_modifier value="0.2"/>
	 <castle_modifier value="0.75"/>
	 <city_modifier value="1.0"/>
	 <pip_min value="0"/>
	 <pip_max value="20"/>
	</factor>
	<factor name="SPF_SQUALOUR">
	 <pip_modifier value="1.0"/>  
	 <castle_modifier value="0.7"/>
	 <pip_min value="0"/>
	 <pip_max value="32"/>
	</factor>
	<factor name="SPF_PLAGUE">
	 <pip_modifier value="1.5"/>
	</factor>
	<factor name="SPF_TAX_RATE_PENALTY">
	 <pip_modifier value="1.5"/>
	</factor>
	<factor name="SOF_GARRISON">
	 <pip_modifier value="0.75"/>
	</factor>
	 <factor name="SOF_BUILDINGS_LAW">
	 <pip_modifier value="1.0"/>
	 <pip_min value="0"/>
	 <pip_max value="25"/>
	</factor>
	 <factor name="SOF_BUILDINGS_FUN">
	 <pip_modifier value="1.0"/>
	 <pip_min value="0"/>
	 <pip_max value="25"/>
	</factor>
	 <factor name="SOF_GOVERNORS_INFLUENCE">
	 <pip_modifier value="1.0"/>
	 <pip_min value="0"/>
	 <pip_max value="20"/>
	</factor>
	 <factor name="SOF_TAX_BONUS">
	 <pip_modifier value="1.0"/>
	</factor>
	<factor name="SOF_TRIUMPH">
	 <pip_modifier value="1.0"/>
	</factor>
	<factor name="SOF_BOOM">
	 <pip_modifier value="1.0"/>
	 <castle_modifier value="0.5"/>
	</factor>
	<factor name="SOF_ENTERTAINED">
	 <pip_modifier value="1.0"/>
	 <castle_modifier value="0.5"/>
	</factor>
	<factor name="SOF_HEALTH">
	 <pip_modifier value="1.0"/>
	 <castle_modifier value="1.0"/>
	 <pip_min value="0"/>
	 <pip_max value="25"/>
	</factor>
	<factor name="SOF_FEAR">
	 <pip_modifier value="1.0"/>
	</factor>
	<factor name="SOF_GLORY">
	 <pip_modifier value="1.0"/>
	</factor>
	<factor name="SOF_SQUALOUR">
	 <pip_modifier value="0.2"/> ;vanilla
	 <pip_min value="0"/>
	 <pip_max value="16"/>
	</factor>
	<factor name="SOF_DISTANCE_TO_CAPITAL">
	 <pip_modifier value="0.5"/>
	 <castle_modifier value="0.4"/>
	 <city_modifier value="0.5"/>
	 <pip_min value="0"/>
	 <pip_max value="16"/>
	</factor>
	<factor name="SOF_NO_GOVERNANCE">
	 <pip_modifier value="1.0"/>
	</factor>
	<factor name="SOF_TAX_PENALTY">
	 <pip_modifier value="1.75"/>
	</factor>
	<factor name="SOF_TURMOIL">
	 <pip_modifier value="1.0"/>
	 <castle_modifier value="0.5"/>
	 <pip_min value="0"/>
	 <pip_max value="16"/>
	</factor>
	<factor name="SOF_BESIEGED">
	 <pip_modifier value="1.0"/>
	</factor>
	<factor name="SOF_BLOCKADED">
	 <pip_modifier value="1.0"/>
	</factor>
	<factor name="SOF_RELIGIOUS_UNREST">
	 <pip_modifier value="1.25"/>
	 <castle_modifier value="0.5"/>
	 <pip_max value="16"/>
	</factor>
	<factor name="SOF_EXCOMMUNICATION">
	 <pip_modifier value="2.0"/>
	  <castle_modifier value="0.5"/>
	 <city_modifier value="1.2"/>
	</factor>
	<factor name="SIF_FARMS">
	 <pip_modifier value="1.0"/>
	</factor>
	<factor name="SIF_TAXES">
	 <pip_modifier value="0.8"/>
	 <castle_modifier value="0.75"/>
	</factor>
	<factor name="SIF_MINING">
	 <pip_modifier value="1.25"/>
	</factor>
	<factor name="SIF_TRADE">
	 <pip_modifier value="1.2"/>
	 <castle_modifier value="0.8"/>
	</factor>
	<factor name="SIF_BUILDINGS">
	 <pip_modifier value="1.0"/>
	</factor>
	<factor name="SIF_ADMIN">
	 <pip_modifier value="1.0"/>
	</factor>
	<factor name="SIF_WAGES">
	 <pip_modifier value="1.0"/>
	</factor>
	<factor name="SIF_UPKEEP">
	 <pip_modifier value="1.0"/>
	</factor>
	<factor name="SIF_CORRUPTION">
	 <pip_modifier value="1.0"/>
	</factor>
	<factor name="SIF_ENTERTAINMENT">
	 <pip_modifier value="1.0"/>
	</factor>
	<factor name="SIF_DEVASTATION">
	 <pip_modifier value="1.5"/>
	</factor>
   </factor_modifiers>
   <population_levels>
	<!-- city -->
	<level name="village" base="500" upgrade="1000" min="500" max="1500"/>
	<level name="town" base="1000" upgrade="3000" min="500" max="5000"/>
	<level name="large_town" base="3000" upgrade="9000" min="500" max="12000"/>
	<level name="city" base="9000" upgrade="17000" min="500" max="25000"/>
	<level name="large_city" base="17000" upgrade="34000" min="500" max="60000"/>
	<level name="huge_city" base="34000" min="500" max="500000"/>
	<!-- castle -->
	<level name="moot_and_bailey" base="500" upgrade="1000" min="500" max="1500"/>
	<level name="wooden_castle" base="1000" upgrade="3000" min="500" max="5000"/>
	<level name="castle" base="3000" upgrade="8500" min="500" max="10000"/>
	<level name="fortress" base="8500" upgrade="17000" min="500" max="21000"/>
	<level name="citadel" base="17000" min="500" max="30000"/>
   </population_levels>
</root>