#general promote mtth, same for all pops
promotion_chance = 
{
	factor = 0.25
	group = {
		modifier = {
			factor = 0.2
			consciousness = 6
		}
		modifier = {
			factor = 0.2
			consciousness = 7
		}
		modifier = {
			factor = 0.2
			consciousness = 8
		}
	}

	group = {
		modifier = {
			factor = 0.2
			literacy = 0.4
		}
		modifier = {
			factor = 0.2
			literacy = 0.5
		}
		modifier = {
			factor = 0.2
			literacy = 0.6
		}
		modifier = {
			factor = 0.2
			literacy = 0.8
		}
	}

	group = {
		modifier = {
			factor = 0.05
			NOT = {
				militancy = 5
			}
		}
		modifier = {
			factor = 0.05
			NOT = {
				militancy = 4
			}
		}
		modifier = {
			factor = 0.05
			NOT = {
				militancy = 3
			}
		}
	}


	group = {
		modifier = {
			factor = -0.2
			NOT = {
				luxury_needs = 0.9
			}
		}
		modifier = {
			factor = -0.2
			NOT = {
				luxury_needs = 0.7
			}
		}
		modifier = {
			factor = -0.2
			NOT = {
				luxury_needs = 0.5
			}
		}
	}

	group = {
		modifier = {
			factor = 0.2
			unemployment = 0.1
		}
		modifier = {
			factor = 0.2
			unemployment = 0.2
		}
		modifier = {
			factor = 0.2
			unemployment = 0.3
		}
	}
	
	group = {
		modifier = {
			factor = 0.2
			cash_reserves = 0.2
		}
		modifier = {
			factor = 0.2
			cash_reserves = 0.4
		}
		modifier = {
			factor = 0.2
			cash_reserves = 0.6
		}
		modifier = {
			factor = 0.2
			cash_reserves = 0.8
		}
	}
	
	group = {
		modifier = {
			factor = -0.2
			not = { life_needs = 0.9 }
		}
		modifier = {
			factor = -0.2
			not = { life_needs = 0.8 }
		}
		modifier = {
			factor = -0.2
			not = { life_needs = 0.7 }
		}
	}

	group = {
		modifier = {
			factor = -0.3
			not = { everyday_needs = 0.9 }
		}
		modifier = {
			factor = -0.3
			not = { everyday_needs = 0.7 }
		}
		modifier = {
			factor = -0.3
			not = { everyday_needs = 0.5 }
		}
	}
}

demotion_chance = 
{
	factor = 1
	modifier = {
		factor = 0.1
		not = { religion = this }
	}

	modifier = {
		factor = 0.1
		not = { culture = this }
	}
	modifier = {
		factor = -10
		life_needs = 1
	}
	group = {
		modifier = {
			factor = 0.3
			not = { life_needs = 0.9 }
		}
		modifier = {
			factor = 0.3
			not = { life_needs = 0.8 }
		}
		modifier = {
			factor = 0.3
			not = { life_needs = 0.7 }
		}
	}

	group = {
		modifier = {
			factor = 0.2
			not = { everyday_needs = 0.9 }
		}
		modifier = {
			factor = 0.2
			not = { everyday_needs = 0.7 }
		}
		modifier = {
			factor = 0.2
			not = { everyday_needs = 0.5 }
		}
	}
	
	group = {
		modifier = {
			factor = 0.3
			unemployment = 0.1
		}
		modifier = {
			factor = 0.3
			unemployment = 0.2
		}
		modifier = {
			factor = 1.0
			unemployment = 0.3
		}
		modifier = {
			factor = 2.0
			unemployment = 0.3
			location = { controlled_by = owner }
		}		
		modifier = {
			factor = 3.0
			unemployment = 0.4
			location = { controlled_by = owner }
		}		
		modifier = {
			factor = 5.0
			unemployment = 0.5
			location = { controlled_by = owner }
		}		
		modifier = {
			factor = 10.0
			unemployment = 0.6
			location = { controlled_by = owner }
		}		
		
	}	
}

#general migration chance mtth, same for all pops
migration_chance = 
{
	factor = 1
	group = {
		modifier = {
			factor = -0.3
			consciousness = 0
		}
		modifier = {
			factor = 0.3
			consciousness = 6
		}
		modifier = {
			factor = 0.3
			consciousness = 7
		}
		modifier = {
			factor = 0.3
			consciousness = 8
		}
	}


	group = {

		modifier = {
			factor = 0.2
			militancy = 5
		}
		modifier = {
			factor = 0.2
			militancy = 6
		}
		modifier = {
			factor = 0.2
			militancy = 7
		}
		modifier = {
			factor = 0.2
			militancy = 8
		}
		modifier = {
			factor = 0.2
			militancy = 9
		}
	}

	



	group = {
		modifier = {
			factor = -0.2
			life_needs = 0.99
		}
		modifier = {
			factor = 0.2
			not = { life_needs = 0.9 }
		}
		modifier = {
			factor = 0.2
			not = { life_needs = 0.8 }
		}
		modifier = {
			factor = 0.2
			not = { life_needs = 0.7 }
		}
	}
	
	group = {
		modifier = {
			factor = -1.0
			luxury_needs = 0.99
		}
		modifier = {
			factor = 0.2
			not = { luxury_needs = 0.9 }
		}
		modifier = {
			factor = 0.2
			not = { luxury_needs = 0.7 }
		}
		modifier = {
			factor = 0.2
			not = { luxury_needs = 0.5 }
		}
		modifier = {
			factor = 0.6
			not = { luxury_needs = 0.1 } 
		}		
	}	


	group = {
		modifier = {
			factor = 0.3
			unemployment = 0.1
		}
		modifier = {
			factor = 0.3
			unemployment = 0.2
		}
		modifier = {
			factor = 1.0
			unemployment = 0.3
		}
		modifier = {
			factor = 2.0
			unemployment = 0.3
			location = { controlled_by = owner }
		}		
		modifier = {
			factor = 3.0
			unemployment = 0.4
			location = { controlled_by = owner }
		}		
		modifier = {
			factor = 5.0
			unemployment = 0.5
			location = { controlled_by = owner }
		}		
		modifier = {
			factor = 10.0
			unemployment = 0.6
			location = { controlled_by = owner }
		}		
		
	}
}

#general colonial migration mtth, same for all pops
colonialmigration_chance = 
{
	factor = 1

	modifier = {
		factor = 0.5
		is_primary_culture = yes
	}
	modifier = {
		factor = -0.5
		is_primary_culture = no
	}
	group = {
		modifier = {
			factor = -0.2
			consciousness = 0
		}
		modifier = {
			factor = 0.2
			consciousness = 6
		}
		modifier = {
			factor = 0.2
			consciousness = 7
		}
		modifier = {
			factor = 0.2
			consciousness = 8
		}
	}


	group = {
		modifier = {
			factor = 0.1
			militancy = 7
		}
		modifier = {
			factor = 0.1
			militancy = 8
		}
		modifier = {
			factor = 0.1
			militancy = 9
		}
	}



	group = {
		modifier = {
			factor = -0.1
			life_needs = 0.99
		}
		modifier = {
			factor = 0.1
			not = { life_needs = 0.9 }
		}
		modifier = {
			factor = 0.1
			not = { life_needs = 0.8 }
		}
		modifier = {
			factor = 0.1
			not = { life_needs = 0.7 }
		}
	}


	group = {
		modifier = {
			factor = 0.2
			unemployment = 0.1
		}
		modifier = {
			factor = 0.2
			unemployment = 0.2
		}
		modifier = {
			factor = 0.2
			unemployment = 0.3
		}
	}
}

#general emigration chance
emigration_chance = 
{
	factor = 1

	group = {
		modifier = {
			factor = -20
			consciousness = 0
		}
		modifier = {
			factor = 19
			consciousness = 1
		}
		modifier = {
			factor = 1
			consciousness = 4
		}
		modifier = {
			factor = 0.2
			consciousness = 6
		}
		modifier = {
			factor = 0.2
			consciousness = 7
		}
		modifier = {
			factor = 0.2
			consciousness = 8
		}
	}



	group = {
		modifier = {
			factor = 0.2
			militancy = 7
		}
		modifier = {
			factor = 0.2
			militancy = 8
		}
		modifier = {
			factor = 0.2
			militancy = 9
		}
	}


	group = {
		modifier = {
			factor = -0.1
			life_needs = 0.99
		}
		modifier = {
			factor = 0.2
			not = { life_needs = 0.9 }
		}
		modifier = {
			factor = 0.2
			not = { life_needs = 0.8 }
		}
		modifier = {
			factor = 0.2
			not = { life_needs = 0.7 }
		}
	}

	modifier = {
		factor = -0.2
		agree_with_ruling_party = 0.25
	}

	modifier = {
		factor = 0.1
		country = { religious_policy = moralism }
		not = { religion = this }
	}

	modifier = {
		factor = 0.1
		country = { citizenship_policy = residency }
		not = { culture = this }
	}

	modifier = {
		factor = -2.0
		OR = { 
			continent = north_america
			continent = south_america
		}
		government = democracy
	}
	modifier = {
		factor = -2.0
		state_scope = { is_colonial = yes }
	}


	group = {
		modifier = {
			factor = 0.2
			unemployment = 0.1
		}
		modifier = {
			factor = 0.2
			unemployment = 0.2
		}
		modifier = {
			factor = 0.2
			unemployment = 0.3
		}
	}

}

#general assimilation mtth, same for all pops
assimilation_chance = 
{
	factor = 1

	group = {
		modifier = {
			factor = 0.1
			literacy = 0.4
		}
		modifier = {
			factor = 0.1
			literacy = 0.5
		}
		modifier = {
			factor = 0.1
			literacy = 0.6
		}
	}


	group = {
		modifier = {
			factor = 0.2
			luxury_needs = 0.9
		}
		modifier = {
			factor = 0.2
			luxury_needs = 0.7
		}
		modifier = {
			factor = 0.2
			luxury_needs = 0.5
		}
	}

	group = {
		modifier = {
			factor = 0.05
			life_needs = 0.9
		}
		modifier = {
			factor = 0.05
			life_needs = 0.8
		}
		modifier = {
			factor = 0.05
			life_needs = 0.7
		}
	}

	group = {
		modifier = {
			factor = -0.2
			militancy = 7
		}
		modifier = {
			factor = -0.2
			militancy = 8
		}
		modifier = {
			factor = -0.2
			militancy = 9
		}
	}

	modifier = {
		factor = -1
		is_accepted_culture = yes
	}


	group = {
		modifier = {
			factor = 0.05
			NOT = { unemployment = 0.1 }
		}
		modifier = {
			factor = 0.05
			NOT = { unemployment = 0.05 }
		}
	}
}

#general conversion mtth, same for all pops
conversion_chance = 
{
	factor = 1

	group = {
		modifier = {
			factor = 0.05
			literacy = 0.4
		}
		modifier = {
			factor = 0.05
			literacy = 0.5
		}
		modifier = {
			factor = 0.05
			literacy = 0.6
		}
	}


	group = {
		modifier = {
			factor = 0.2
			not = { luxury_needs = 0.9 }
		}
		modifier = {
			factor = 0.2
			not = { luxury_needs = 0.7 }
		}
		modifier = {
			factor = 0.2
			not = { luxury_needs = 0.5 }
		}
	}

	group = {
		modifier = {
			factor = 0.05
			not = { life_needs = 0.9 }
		}
		modifier = {
			factor = 0.05
			not = { life_needs = 0.8 }
		}
		modifier = {
			factor = 0.05
			not = { life_needs = 0.7 }
		}
	}

	modifier = {
		factor = 0.15
		not = { culture = this }
	}

	group = {
		modifier = {
			factor = 0.05
			unemployment = 0.1
		}
		modifier = {
			factor = 0.05
			unemployment = 0.2
		}
		modifier = {
			factor = 0.05
			unemployment = 0.3
		}
	}
}
