namespace = Loi-royaume-Orthodox
######################################
####### orthodox			   #######
######################################
character_event = {
	id = Loi-royaume-Orthodox.1
	hide_window = yes
	only_rulers = yes
	mean_time_to_happen = { 
		days = 1
	}
	trigger = {
		has_landed_title = k_orthodox
		is_alive = yes
		OR = {
		#	NOT = {
		#		k_orthodox = {
		#			has_law = investiture_law_0
		#		}
		#	}
			NOT = {
				k_orthodox = {
					has_law = out_of_realm_inheritance_law_1
				}
			}
			NOT = {
				k_orthodox = {
					has_law = vassal_wars_law_2
				}
			}
			NOT = {
				k_orthodox = {
					has_law = centralization_4
				}
			}
			NOT = {
				k_orthodox = {
					has_law = status_of_women_4
				}
			}
			NOT = {
				k_orthodox = {
					has_law = revoke_title_law_2
				}
			}
			NOT = {
				k_orthodox = {
					has_law = ze_administration_laws_2
				}
			}
			NOT = {
				k_orthodox = {
					has_law = succ_papal_demesne_orthodox
				}	
			}		
			NOT = {
				government = Gouvernement_Orthodox
			}
		}
	}	
	immediate = {
	#	k_orthodox = {
	#		add_law = {
	#			law = investiture_law_0
	#			opinion_effect = no
	#		}
	#	}
		k_orthodox = {
			add_law = {
				law = out_of_realm_inheritance_law_1
				opinion_effect = no
			}
		}
		k_orthodox = {
			add_law = {
				law = vassal_wars_law_2
				opinion_effect = no
			}
		}
		k_orthodox = {
			add_law = {
				law = centralization_4
				opinion_effect = no
			}
		}
		k_orthodox = {
			add_law = {
				law = status_of_women_4
				opinion_effect = no
			}
		}
		k_orthodox = {
			add_law = {
				law = revoke_title_law_2
				opinion_effect = no
			}
		}
		k_orthodox = {
			add_law = {
				law = ze_administration_laws_2
				opinion_effect = no
			}
		}
		k_orthodox = {
			add_law = {
				law = succ_papal_demesne_orthodox
				opinion_effect = no
			}
		}
		set_government_type = Gouvernement_Orthodox
	}
}

character_event = {
	id = Loi-royaume-Orthodox.2
	hide_window = yes
	is_triggered_only = yes	
	only_rulers = yes
	trigger = {
		has_landed_title = k_orthodox
		is_alive = yes
		OR = {
		#	NOT = {
		#		k_orthodox = {
		#			has_law = investiture_law_0
		#		}
		#	}
			NOT = {
				k_orthodox = {
					has_law = out_of_realm_inheritance_law_1
				}
			}
			NOT = {
				k_orthodox = {
					has_law = vassal_wars_law_2
				}
			}
			NOT = {
				k_orthodox = {
					has_law = centralization_4
				}
			}
			NOT = {
				k_orthodox = {
					has_law = status_of_women_4
				}
			}
			NOT = {
				k_orthodox = {
					has_law = revoke_title_law_2
				}
			}
			NOT = {
				k_orthodox = {
					has_law = ze_administration_laws_2
				}
			}
			NOT = {
				k_orthodox = {
					has_law = succ_papal_demesne_orthodox
				}	
			}
			NOT = {
				government = Gouvernement_Orthodox
			}
		}
	}	
	immediate = {
	#	k_orthodox = {
	#		add_law = {
	#			law = investiture_law_0
	#			opinion_effect = no
	#		}
	#	}
		k_orthodox = {
			add_law = {
				law = out_of_realm_inheritance_law_1
				opinion_effect = no
			}
		}
		k_orthodox = {
			add_law = {
				law = vassal_wars_law_2
				opinion_effect = no
			}
		}
		k_orthodox = {
			add_law = {
				law = centralization_4
				opinion_effect = no
			}
		}
		k_orthodox = {
			add_law = {
				law = status_of_women_4
				opinion_effect = no
			}
		}
		k_orthodox = {
			add_law = {
				law = revoke_title_law_2
				opinion_effect = no
			}
		}
		k_orthodox = {
			add_law = {
				law = ze_administration_laws_2
				opinion_effect = no
			}
		}
		k_orthodox = {
			add_law = {
				law = succ_papal_demesne_orthodox
				opinion_effect = no
			}
		}
		set_government_type = Gouvernement_Orthodox
	}
}

character_event = {
	id = Loi-royaume-Orthodox.3
	hide_window = yes
	mean_time_to_happen = { 
		days = 1
	}
	trigger = {
		NOT = {
			has_landed_title = k_orthodox
		}
		is_alive = yes
		government = Gouvernement_Orthodox
	}	
	immediate = {
		set_government_type = feudal_government
	}
}

character_event = {
	id = Loi-royaume-Orthodox.4
	hide_window = yes
	is_triggered_only = yes	
	trigger = {
		NOT = {
			has_landed_title = k_orthodox
		}
		is_alive = yes
		government = Gouvernement_Orthodox
	}	
	immediate = {
		set_government_type = feudal_government
	}
}



