﻿# rank_value = higher value rank effects take priority over lower ones in being assigned, also determines icon index
# enforce_subject_rank_check = if yes, this rank is invalid for subjects with a subject type where overlord needs to have higher rank if overlord has that rank or higher
# prestige_average_threshold = multiple of average country prestige
# prestige_relative_threshold = relative to highest prestige country
# min_generals = minimum amount of generals in the country; if below, game will auto-generate
# min_commander_rank_random / max_commander_rank_random = min/max ranks when auto-generating commander rank
# possible = {} must evaluate to true for rank to be able to be assigned
# can_colonize = whether a country of this rank can colonize
# diplo_pact_cost = Diplomatic pacts with country of this rank have their cost multiplied by 1 + this amount

################
## RECOGNIZED ##
################

great_power = {
	rank_value = 7
	icon_index = 4
	
	enforce_subject_rank_check = yes
	
	diplo_pact_cost = 3
	
	prestige_average_threshold = 5.0
	prestige_relative_threshold = 0.75
	
	infamy_aggressor_scaling = -0.1
	infamy_target_scaling = 0.1

	valid_country_types = {
		recognized
		colonial
		company
	}
	
	modifier = {
		country_influence_add = 1200
		country_diplomatic_play_maneuvers_add = 100
		country_max_declared_interests_add = 8
		country_loan_interest_rate_mult = -0.1
		country_agitator_slots_add = 2
		state_migration_pull_mult = 0.2
		country_minting_add = 10000
	}
}

major_power = {
	rank_value = 6
	icon_index = 3
	
	enforce_subject_rank_check = yes
	
	diplo_pact_cost = 2
	
	prestige_average_threshold = 2.5
	prestige_relative_threshold = 0.5
	
	infamy_aggressor_scaling = -0.05
	infamy_target_scaling = 0.05

	valid_country_types = {
		recognized
		colonial
		company
	}
	
	modifier = {
		country_influence_add = 900
		country_diplomatic_play_maneuvers_add = 80
		country_max_declared_interests_add = 6
		country_loan_interest_rate_mult = -0.05
		country_agitator_slots_add = 2
		state_migration_pull_mult = 0.1
		country_minting_add = 7500
	}
}

minor_power = {
	rank_value = 4
	icon_index = 2
	
	enforce_subject_rank_check = yes

	diplo_pact_cost = 1

	prestige_average_threshold = 0.6
	prestige_relative_threshold = 0.15
	
	valid_country_types = {
		recognized
		colonial
		company
	}
	
	modifier = {
		country_influence_add = 600
		country_diplomatic_play_maneuvers_add = 60
		country_max_declared_interests_add = 4
		country_agitator_slots_add = 1
		country_minting_add = 5000
	}
}

insignificant_power = {
	rank_value = 2
	icon_index = 1

	diplo_pact_cost = 0.5

	infamy_aggressor_scaling = 0.05
	infamy_target_scaling = -0.05
	
	valid_country_types = {
		recognized
		colonial
		company
	}
	
	modifier = {
		country_influence_add = 300
		country_diplomatic_play_maneuvers_add = 40
		country_max_declared_interests_add = 1
		country_loan_interest_rate_mult = 0.05
		state_migration_pull_mult = -0.1
		country_agitator_slots_add = 1
		country_minting_add = 1000
	}
}

##################
## UNRECOGNIZED ##
##################

unrecognized_major_power = {
	rank_value = 5
	icon_index = 3
	
	enforce_subject_rank_check = yes

	diplo_pact_cost = 2

	prestige_average_threshold = 2.5
	prestige_relative_threshold = 0.5
	
	infamy_aggressor_scaling = 0.1
	infamy_target_scaling = -0.1

	valid_country_types = {
		unrecognized
	}
	
	modifier = {
		country_influence_add = 900
		country_diplomatic_play_maneuvers_add = 80
		country_max_declared_interests_add = 4
		country_tech_spread_mult = -0.1
		country_loan_interest_rate_mult = 0.05
		country_agitator_slots_add = 2
		country_minting_add = 7500
	}
}

unrecognized_regional_power = {
	rank_value = 3
	icon_index = 2
	
	enforce_subject_rank_check = yes

	diplo_pact_cost = 1
	
	prestige_average_threshold = 0.6
	prestige_relative_threshold = 0.15
	
	infamy_aggressor_scaling = 0.15
	infamy_target_scaling = -0.15

	valid_country_types = {
		unrecognized
	}
	
	modifier = {
		country_influence_add = 600
		country_diplomatic_play_maneuvers_add = 60
		country_max_declared_interests_add = 2
		country_tech_spread_mult = -0.2
		country_loan_interest_rate_mult = 0.1
		state_migration_pull_mult = -0.1
		country_agitator_slots_add = 1
		country_minting_add = 5000
	}
}


unrecognized_power = {
	rank_value = 1
	icon_index = 1

	diplo_pact_cost = 0.5
	
	infamy_aggressor_scaling = 0.2
	infamy_target_scaling = -0.2

	valid_country_types = {
		unrecognized
	}
	
	modifier = {
		country_influence_add = 300	
		country_diplomatic_play_maneuvers_add = 40
		country_max_declared_interests_add = 1
		country_tech_spread_mult = -0.5
		country_loan_interest_rate_mult = 0.25
		country_agitator_slots_add = 1
		state_migration_pull_mult = -0.2
		country_minting_add = 1000
	}

}
###################
## DECENTRALIZED ##
###################

decentralized_power = {
	rank_value = 0
	icon_index = 1
	
	valid_country_types = {
		decentralized
	}
	
	modifier = {
		country_diplomatic_play_maneuvers_add = 20
	}
}
