decisions = {
	increase_crown_obligation = {
		only_rulers = yes
		
		potential = {
			OR = { # Only for Immortals
				trait = elf_race
				trait = sorcerer
			}
			crownlaw_title = {
				holder_scope = {
					character = ROOT
					is_republic = no
				}
				NOT = { has_law = crown_authority_4 }
			}
		}
		allow = {
			prestige = 100
			NOT = { has_character_modifier = edict_timer }
		}
		effect = {
			prestige = -100
			add_character_modifier = { name = edict_timer duration = 7300 } # 20 years
			crownlaw_title = {
				if = {
					limit = { has_law = crown_authority_3 }
					add_law_w_cooldown = crown_authority_4
				}
				if = {
					limit = { has_law = crown_authority_2 }
					add_law_w_cooldown = crown_authority_3
				}
				if = {
					limit = { has_law = crown_authority_1 }
					add_law_w_cooldown = crown_authority_2
				}
				if = {
					limit = { has_law = crown_authority_0 }
					add_law_w_cooldown = crown_authority_1
				}
				any_de_jure_vassal = {
					limit = {
						is_liege_or_above = ROOT
					}
					opinion = { who = ROOT modifier = opinion_increased_crown_obligation years = 10 }
				}
			}
		}
	}
	decrease_crown_obligation = {
		only_rulers = yes
		
		potential = {
			OR = { # Only for Immortals
				trait = elf_race
				trait = sorcerer
			}
			crownlaw_title = {
				holder_scope = {
					character = ROOT
					is_republic = no
				}
				NOT = { has_law = crown_authority_0 }
			}
		}
		allow = {
			prestige = 100
			NOT = { has_character_modifier = edict_timer }
		}
		effect = {
			prestige = -100
			add_character_modifier = { name = edict_timer duration = 7300 } # 20 years
			crownlaw_title = {
				if = {
					limit = { has_law = crown_authority_1 }
					add_law_w_cooldown = crown_authority_0
				}
				if = {
					limit = { has_law = crown_authority_2 }
					add_law_w_cooldown = crown_authority_1
				}
				if = {
					limit = { has_law = crown_authority_3 }
					add_law_w_cooldown = crown_authority_2
				}
				if = {
					limit = { has_law = crown_authority_4 }
					add_law_w_cooldown = crown_authority_3
				}
			}
		}
	}
	increase_crown_levy = {
		only_rulers = yes
		
		potential = {
			OR = { # Only for Immortals
				trait = elf_race
				trait = sorcerer
			}
			crownlaw_title = {
				holder_scope = {
					character = ROOT
					is_republic = no
				}
				NOT = { has_law = crown_levy_3 }
			}
		}
		allow = {
			prestige = 100
			NOT = { has_character_modifier = edict_timer }
		}
		effect = {
			prestige = -100
			add_character_modifier = { name = edict_timer  duration = 7300 } # 20 years
			crownlaw_title = {
				if = {
					limit = { has_law = crown_levy_2 }
					add_law_w_cooldown = crown_levy_3
				}
				if = {
					limit = { has_law = crown_levy_1 }
					add_law_w_cooldown = crown_levy_2
				}
				if = {
					limit = { has_law = crown_levy_0 }
					add_law_w_cooldown = crown_levy_1
				}
				any_de_jure_vassal = {
					limit = {
						is_liege_or_above = ROOT
					}
					opinion = { who = ROOT modifier = opinion_increased_crown_levy years = 10 }
				}
			}
		}
	}
	decrease_crown_levy = {
		only_rulers = yes
		
		potential = {
			OR = { # Only for Immortals
				trait = elf_race
				trait = sorcerer
			}
			crownlaw_title = {
				holder_scope = {
					character = ROOT
					is_republic = no
				}
				NOT = { has_law = crown_levy_0 }
			}
		}
		allow = {
			prestige = 100
			NOT = { has_character_modifier = edict_timer }
		}
		effect = {
			prestige = -100
			add_character_modifier = { name = edict_timer duration = 7300 } # 20 years
			crownlaw_title = {
				if = {
					limit = { has_law = crown_levy_1 }
					add_law_w_cooldown = crown_levy_0
				}
				if = {
					limit = { has_law = crown_levy_2 }
					add_law_w_cooldown = crown_levy_1
				}
				if = {
					limit = { has_law = crown_levy_3 }
					add_law_w_cooldown = crown_levy_2
				}
			}
		}
	}
	increase_tolerance = {
		only_rulers = yes
		
		potential = {
			NOT = { trait = elf_race } # Non-humans don't have tolernace Law
			trait = sorcerer
			crownlaw_title = {
				holder_scope = {
					character = ROOT
					is_republic = no
				}
				NOT = { has_law = tolerance_2 }
			}
		}
		allow = {
			prestige = 100
			NOT = { has_character_modifier = edict_timer }
		}
		effect = {
			prestige = -100
			add_character_modifier = { name = edict_timer duration = 7300 } # 20 years
			crownlaw_title = {
				if = {
					limit = { has_law = tolerance_1 }
					add_law_w_cooldown = tolerance_2
				}
				if = {
					limit = { has_law = tolerance_0 }
					add_law_w_cooldown = tolerance_1
				}
				any_de_jure_vassal = {
					limit = {
						is_liege_or_above = ROOT
						trait = racist
					}
					opinion = { who = ROOT modifier = opinion_increased_tolerance years = 10 }
				}
			}
		}
	}
	decrease_tolerance = {
		only_rulers = yes
		
		potential = {
			NOT = { trait = elf_race } # Non-humans don't have tolernace Law
			trait = sorcerer
			crownlaw_title = {
				holder_scope = {
					character = ROOT
					is_republic = no
				}
				NOT = { has_law = tolerance_0 }
			}
		}
		allow = {
			prestige = 100
			NOT = { has_character_modifier = edict_timer }
		}
		effect = {
			prestige = -100
			add_character_modifier = { name = edict_timer duration = 7300 } # 20 years
			crownlaw_title = {
				if = {
					limit = { has_law = tolerance_1 }
					add_law_w_cooldown = tolerance_0
				}
				if = {
					limit = { has_law = tolerance_2 }
					add_law_w_cooldown = tolerance_1
				}
				any_de_jure_vassal = {
					limit = {
						is_liege_or_above = ROOT
						OR = {
							trait = elf_race
							trait = dwarf_race
							trait = halfling_race
							trait = gnome_race
							trait = dryad_race
						}
					}
					opinion = { who = ROOT modifier = opinion_decreased_tolerance years = 10 }
				}
			}
		}
	}
	increase_imperial_authority = {
		only_rulers = yes
		
		potential = {
			OR = { # Only for Immortals
				trait = elf_race
				trait = sorcerer
			}
			crownlaw_title = {
				holder_scope = {
					character = ROOT
					is_republic = no
				}
				title = e_nilfgaard
				NOT = { has_law = imperial_authority_0 }
			}
		}
		allow = {
			prestige = 100
			NOT = { has_character_modifier = edict_timer }
		}
		effect = {
			prestige = -100
			add_character_modifier = { name = edict_timer duration = 7300 } # 20 years
			crownlaw_title = {
				if = {
					limit = { has_law = imperial_authority_2 }
					add_law_w_cooldown = imperial_authority_3
				}
				if = {
					limit = { has_law = imperial_authority_1 }
					add_law_w_cooldown = imperial_authority_2
				}
				if = {
					limit = { has_law = imperial_authority_0 }
					add_law_w_cooldown = imperial_authority_1
				}
			}
		}
	}
}