#namespace = est_justice
#
#Justice Finish, increased unity to countries with stored influence.
#country_event = {
#	id = est_justice.1
#	hide_window = yes
#	is_triggered_only = yes
#	
#	trigger = {	
#		has_active_tradition = tr_est_justice_finish
#	}
#	
#	immediate = {
#		if = {
#			limit = {
#				has_resource = {
#					type = influence 
#					amount > 749
#				}
#			}
#			if = {
#				limit = {
#					has_resource = {
#						type = influence 
#						amount > 999
#					}
#				}
#				if = {
#					limit = {
#						Not = {
#							has_modifier = mod_est_justice_finish_2
#						}
#					}
#					add_modifier = {
#						modifier = "mod_est_justice_finish_2"
#						days = -1
#					}
#				}
#				if = {
#					limit = {
#						has_modifier = mod_est_justice_finish_1
#					}
#					remove_modifier = "mod_est_justice_finish_1"
#				}
#			}
#			else = {
#				if = {
#					limit = {
#						Not = {
#							has_modifier = mod_est_justice_finish_1
#						}
#					}
#					add_modifier = {
#						modifier = "mod_est_justice_finish_1"
#						days = -1
#					}
#				}
#				if = {
#					limit = {
#						has_modifier = mod_est_justice_finish_2
#					}
#					remove_modifier = "mod_est_justice_finish_2"
#				}
#
#			}
#		}
#		else = {
#			if = {
#				limit = {
#					has_modifier = mod_est_justice_finish_1
#				}
#				remove_modifier = "mod_est_justice_finish_1"
#			}
#			if = {
#				limit = {
#					has_modifier = mod_est_justice_finish_1
#				}
#				remove_modifier = "mod_est_justice_finish_1"
#			}
#		}
#	}
#}

