ideas = {
	mr_mercenaries = { 
		law = yes

		banned_mercenaries = {
			removal_cost = -1
			level = 2

			available = {
			}

			ai_will_do = {
				factor = 1

				modifier = {
					has_manpower > 500000
					factor = 80
				}
			}

			modifier = {
				army_org_factor = 0.05
			}

			on_add = {
				BG_mercenary_banned = yes
			}

			cancel_if_invalid = no
			default = yes
		}
		limited_foreign_mercenaries = {
			removal_cost = -1
			level = 2
			
			available = {
				NOT = { has_idea = extensive_foreign_mercenaries }
			}

			modifier = {
				political_power_factor = -0.05
			}

			on_add = {
				BG_mercenary_limited_contract = yes
			}
			
			ai_will_do = {
				factor = 1

				modifier = {
					NOT = { has_idea = disarmed_nation }
					NOT = { has_idea = volunteer_only }
					has_manpower < 150000
					factor = 80
				}
			}
			
			cancel_if_invalid = no
			default = no
		}
		extensive_foreign_mercenaries = {
			removal_cost = -1
			level = 1
			
			available = {
				OR = {
					has_idea = limited_foreign_mercenaries
					has_idea = extensive_foreign_mercenaries
				}
			}

			modifier = {
				political_power_factor = -0.10
			}

			on_add = {
				BG_mercenary_extensive_contract = yes
			}
			
			ai_will_do = {
				factor = 1

				modifier = {
					NOT = { has_idea = disarmed_nation }
					NOT = { has_idea = volunteer_only }
					NOT = { has_idea = limited_conscription }
					has_manpower < 50000
					factor = 80
				}
			}
			
			cancel_if_invalid = no
			default = no
		}
	}
}