law_no_home_affairs = {
	group = lawgroup_internal_security
	icon = "gfx/interface/icons/law_icons/no_home_affairs.dds"
	
	progressiveness = 0
	
	possible_political_movements = {
		law_national_guard
		law_secret_police
		law_guaranteed_liberties
	}
	
	# AI shouldn't try to abolish institutions
	ai_will_do = {
		always = no
	}
}

law_national_guard = {
	group = lawgroup_internal_security
	icon = "gfx/interface/icons/law_icons/national_guard.dds"
	
	progressiveness = 25

	unlocking_technologies = {
		law_enforcement
	}

	institution = institution_home_affairs
	institution_modifier = {
		state_conscription_rate_add = 0.005
		political_movement_radicalism_mult = -0.05
	}
	
	possible_political_movements = {
		law_secret_police
		law_guaranteed_liberties
	}
	
	# Don't return to national guard we have something more advanced
	ai_will_do = {
		NOR = {
			has_law = law_type:law_secret_police
			has_law = law_type:law_guaranteed_liberties
		}
	}
}

law_secret_police = {
	group = lawgroup_internal_security
	icon = "gfx/interface/icons/law_icons/secret_police.dds"
	
	progressiveness = 0
	
	unlocking_technologies = {
		central_archives
	}

	modifier = {
		country_institution_home_affairs_max_investment_add = 2
	}
	
	institution = institution_home_affairs
	institution_modifier = {
		country_suppression_ig_attraction_mult = -0.05
		political_movement_radicalism_mult = -0.1
	}
	
	possible_political_movements = {
		law_guaranteed_liberties
	}
}

law_guaranteed_liberties = {
	group = lawgroup_internal_security
	icon = "gfx/interface/icons/law_icons/guaranteed_liberties.dds"
	
	progressiveness = 100
	
	unlocking_laws = {
		law_right_of_assembly
		law_protected_speech
	}
	
	modifier = {
		country_institution_home_affairs_max_investment_add = 2
	}
	
	institution = institution_home_affairs
	institution_modifier = {
		state_radicals_from_sol_change_mult = -0.05
		state_loyalists_from_sol_change_mult = 0.05
	}
	
	possible_political_movements = {
		law_secret_police
	}
}
