law_groups = {
	tax_levy_law_feudal = {
		law_type = obligations
		left_value = TAX
		right_value = LEVY
		slider_sprite = GFX_tax_levy_slider
		allowed_for_councillors = yes
	}

	tax_levy_law_iqta = {
		law_type = obligations
		left_value = TAX
		right_value = LEVY
		slider_sprite = GFX_tax_levy_slider
		allowed_for_councillors = yes
	}

	tax_levy_law_republic = {
		law_type = obligations
		left_value = TAX
		right_value = LEVY
		slider_sprite = GFX_tax_levy_slider
		allowed_for_councillors = yes
	}

	tax_levy_law_theocracy = {
		law_type = obligations
		left_value = TAX
		right_value = LEVY
		slider_sprite = GFX_tax_levy_slider
		allowed_for_councillors = yes
	}

	tax_levy_law_tribal = {
		law_type = obligations
		left_value = TAX
		right_value = LEVY
		slider_sprite = GFX_tax_levy_slider
		allowed_for_councillors = yes
	}
}

laws = {
	tax_levy_law_feudal_0 = {
		group = tax_levy_law_feudal

		castle_vassal_max_levy = -0.80
		castle_vassal_tax_modifier = 0.40

		potential = {
			has_dlc = "Conclave"

			has_game_rule = {
				name = vassal_obligation
				value = vanilla
			}

			holder_scope = {
				is_playable = yes
				NOT = { government = muslim_government }
			}
		}

		allow = {
			has_law = tax_levy_law_feudal_1
		}

		pass_effect = {
			# log = "tax_levy_law_feudal_0 pass ([This.GetFullBaseName])"
			decreased_feudal_obligation_laws_effect = yes
		}

		effect = {
			# log = "tax_levy_law_feudal_0 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_feudal_1
			revoke_law = tax_levy_law_feudal_2
			revoke_law = tax_levy_law_feudal_3
			revoke_law = tax_levy_law_feudal_4
			revoke_law = tax_levy_law_feudal_5
			revoke_law = tax_levy_law_feudal_6
			revoke_law = tax_levy_law_feudal_7
			revoke_law = tax_levy_law_feudal_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				holder_scope = {
					OR = {
						is_republic = yes
						is_nomadic = yes
					}
				}
			}
		}
	}

	tax_levy_law_feudal_1 = {
		group = tax_levy_law_feudal

		castle_vassal_min_levy = 0.10
		castle_vassal_max_levy = -0.70
		castle_vassal_tax_modifier = 0.35

		potential = {
			is_law_potential = tax_levy_law_feudal_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_feudal_0
				has_law = tax_levy_law_feudal_2
			}
		}

		pass_effect = {
			# log = "tax_levy_law_feudal_1 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_feudal_0 }
				increased_feudal_obligation_laws_effect = yes
			}
			else = {
				decreased_feudal_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_feudal_1 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_feudal_0
			revoke_law = tax_levy_law_feudal_2
			revoke_law = tax_levy_law_feudal_3
			revoke_law = tax_levy_law_feudal_4
			revoke_law = tax_levy_law_feudal_5
			revoke_law = tax_levy_law_feudal_6
			revoke_law = tax_levy_law_feudal_7
			revoke_law = tax_levy_law_feudal_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				trigger_if = {
					limit = { has_law = tax_levy_law_feudal_0 }

					holder_scope = {
						is_feudal = yes
					}
				}
				trigger_else = {
					holder_scope = {
						OR = {
							is_nomadic = yes
							is_republic = yes
						}
					}
				}
			}
		}
	}

	tax_levy_law_feudal_2 = {
		group = tax_levy_law_feudal

		castle_vassal_min_levy = 0.20
		castle_vassal_max_levy = -0.60
		castle_vassal_tax_modifier = 0.30

		potential = {
			is_law_potential = tax_levy_law_feudal_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_feudal_1
				has_law = tax_levy_law_feudal_3
			}
		}

		pass_effect = {
			# log = "tax_levy_law_feudal_2 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_feudal_1 }
				increased_feudal_obligation_laws_effect = yes
			}
			else = {
				decreased_feudal_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_feudal_2 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_feudal_0
			revoke_law = tax_levy_law_feudal_1
			revoke_law = tax_levy_law_feudal_3
			revoke_law = tax_levy_law_feudal_4
			revoke_law = tax_levy_law_feudal_5
			revoke_law = tax_levy_law_feudal_6
			revoke_law = tax_levy_law_feudal_7
			revoke_law = tax_levy_law_feudal_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				trigger_if = {
					limit = { has_law = tax_levy_law_feudal_1 }

					holder_scope = {
						is_feudal = yes
					}
				}
				trigger_else = {
					holder_scope = {
						OR = {
							is_nomadic = yes
							is_republic = yes
						}
					}
				}
			}
		}
	}

	tax_levy_law_feudal_3 = {
		group = tax_levy_law_feudal

		castle_vassal_min_levy = 0.30
		castle_vassal_max_levy = -0.50
		castle_vassal_tax_modifier = 0.25

		potential = {
			is_law_potential = tax_levy_law_feudal_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_feudal_2
				has_law = tax_levy_law_feudal_4
			}
		}

		pass_effect = {
			# log = "tax_levy_law_feudal_3 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_feudal_2 }
				increased_feudal_obligation_laws_effect = yes
			}
			else = {
				decreased_feudal_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_feudal_3 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_feudal_0
			revoke_law = tax_levy_law_feudal_1
			revoke_law = tax_levy_law_feudal_2
			revoke_law = tax_levy_law_feudal_4
			revoke_law = tax_levy_law_feudal_5
			revoke_law = tax_levy_law_feudal_6
			revoke_law = tax_levy_law_feudal_7
			revoke_law = tax_levy_law_feudal_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				trigger_if = {
					limit = { has_law = tax_levy_law_feudal_2 }

					holder_scope = {
						is_feudal = yes
					}
				}
				trigger_else = {
					holder_scope = {
						OR = {
							is_nomadic = yes
							is_republic = yes
						}
					}
				}
			}
		}
	}

	tax_levy_law_feudal_4 = {
		group = tax_levy_law_feudal
		default = yes

		castle_vassal_min_levy = 0.40
		castle_vassal_max_levy = -0.40
		castle_vassal_tax_modifier = 0.20

		potential = {
			is_law_potential = tax_levy_law_feudal_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_feudal_3
				has_law = tax_levy_law_feudal_5
			}
		}

		pass_effect = {
			# log = "tax_levy_law_feudal_4 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_feudal_3 }
				increased_feudal_obligation_laws_effect = yes
			}
			else = {
				decreased_feudal_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_feudal_4 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_feudal_0
			revoke_law = tax_levy_law_feudal_1
			revoke_law = tax_levy_law_feudal_2
			revoke_law = tax_levy_law_feudal_3
			revoke_law = tax_levy_law_feudal_5
			revoke_law = tax_levy_law_feudal_6
			revoke_law = tax_levy_law_feudal_7
			revoke_law = tax_levy_law_feudal_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				trigger_if = {
					limit = { has_law = tax_levy_law_feudal_3 }

					holder_scope = {
						is_feudal = yes
					}
				}
				trigger_else = {
					holder_scope = {
						OR = {
							is_nomadic = yes
							is_republic = yes
						}
					}
				}
			}
		}
	}

	tax_levy_law_feudal_5 = {
		group = tax_levy_law_feudal

		castle_vassal_min_levy = 0.50
		castle_vassal_max_levy = -0.30
		castle_vassal_tax_modifier = 0.15

		potential = {
			is_law_potential = tax_levy_law_feudal_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_feudal_4
				has_law = tax_levy_law_feudal_6
			}
		}

		pass_effect = {
			# log = "tax_levy_law_feudal_5 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_feudal_4 }
				increased_feudal_obligation_laws_effect = yes
			}
			else = {
				decreased_feudal_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_feudal_5 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_feudal_0
			revoke_law = tax_levy_law_feudal_1
			revoke_law = tax_levy_law_feudal_2
			revoke_law = tax_levy_law_feudal_3
			revoke_law = tax_levy_law_feudal_4
			revoke_law = tax_levy_law_feudal_6
			revoke_law = tax_levy_law_feudal_7
			revoke_law = tax_levy_law_feudal_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				trigger_if = {
					limit = { has_law = tax_levy_law_feudal_4 }

					holder_scope = {
						is_feudal = yes
					}
				}
				trigger_else = {
					holder_scope = {
						OR = {
							is_nomadic = yes
							is_republic = yes
						}
					}
				}
			}
		}
	}

	tax_levy_law_feudal_6 = {
		group = tax_levy_law_feudal

		castle_vassal_min_levy = 0.60
		castle_vassal_max_levy = -0.20
		castle_vassal_tax_modifier = 0.10

		potential = {
			is_law_potential = tax_levy_law_feudal_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_feudal_5
				has_law = tax_levy_law_feudal_7
			}
		}

		pass_effect = {
			# log = "tax_levy_law_feudal_6 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_feudal_5 }
				increased_feudal_obligation_laws_effect = yes
			}
			else = {
				decreased_feudal_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_feudal_6 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_feudal_0
			revoke_law = tax_levy_law_feudal_1
			revoke_law = tax_levy_law_feudal_2
			revoke_law = tax_levy_law_feudal_3
			revoke_law = tax_levy_law_feudal_4
			revoke_law = tax_levy_law_feudal_5
			revoke_law = tax_levy_law_feudal_7
			revoke_law = tax_levy_law_feudal_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				trigger_if = {
					limit = { has_law = tax_levy_law_feudal_5 }

					holder_scope = {
						is_feudal = yes
					}
				}
				trigger_else = {
					holder_scope = {
						OR = {
							is_nomadic = yes
							is_republic = yes
						}
					}
				}
			}
		}
	}

	tax_levy_law_feudal_7 = {
		group = tax_levy_law_feudal

		castle_vassal_min_levy = 0.70
		castle_vassal_max_levy = -0.10
		castle_vassal_tax_modifier = 0.05

		potential = {
			is_law_potential = tax_levy_law_feudal_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_feudal_6
				has_law = tax_levy_law_feudal_8
			}
		}

		pass_effect = {
			# log = "tax_levy_law_feudal_7 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_feudal_6 }
				increased_feudal_obligation_laws_effect = yes
			}
			else = {
				decreased_feudal_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_feudal_7 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_feudal_0
			revoke_law = tax_levy_law_feudal_1
			revoke_law = tax_levy_law_feudal_2
			revoke_law = tax_levy_law_feudal_3
			revoke_law = tax_levy_law_feudal_4
			revoke_law = tax_levy_law_feudal_5
			revoke_law = tax_levy_law_feudal_6
			revoke_law = tax_levy_law_feudal_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				trigger_if = {
					limit = { has_law = tax_levy_law_feudal_6 }

					holder_scope = {
						is_feudal = yes
					}
				}
				trigger_else = {
					holder_scope = {
						OR = {
							is_nomadic = yes
							is_republic = yes
						}
					}
				}
			}
		}
	}

	tax_levy_law_feudal_8 = {
		group = tax_levy_law_feudal

		castle_vassal_min_levy = 0.80

		potential = {
			is_law_potential = tax_levy_law_feudal_0
		}

		allow = {
			has_law = tax_levy_law_feudal_7
		}

		pass_effect = {
			# log = "tax_levy_law_feudal_8 pass ([This.GetFullBaseName])"
			increased_feudal_obligation_laws_effect = yes
		}

		effect = {
			# log = "tax_levy_law_feudal_8 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_feudal_0
			revoke_law = tax_levy_law_feudal_1
			revoke_law = tax_levy_law_feudal_2
			revoke_law = tax_levy_law_feudal_3
			revoke_law = tax_levy_law_feudal_4
			revoke_law = tax_levy_law_feudal_5
			revoke_law = tax_levy_law_feudal_6
			revoke_law = tax_levy_law_feudal_7
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				holder_scope = {
					is_feudal = yes
				}
			}
		}
	}

	tax_levy_law_iqta_0 = {
		group = tax_levy_law_iqta

		castle_vassal_max_levy = -0.85
		castle_vassal_tax_modifier = 0.45

		potential = {
			has_dlc = "Conclave"

			has_game_rule = {
				name = vassal_obligation
				value = vanilla
			}

			holder_scope = {
				government = muslim_government
				is_playable = yes
			}
		}

		allow = {
			has_law = tax_levy_law_iqta_1
		}

		pass_effect = {
			# log = "tax_levy_law_iqta_0 pass ([This.GetFullBaseName])"
			decreased_feudal_obligation_laws_effect = yes
		}

		effect = {
			# log = "tax_levy_law_iqta_0 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_iqta_1
			revoke_law = tax_levy_law_iqta_2
			revoke_law = tax_levy_law_iqta_3
			revoke_law = tax_levy_law_iqta_4
			revoke_law = tax_levy_law_iqta_5
			revoke_law = tax_levy_law_iqta_6
			revoke_law = tax_levy_law_iqta_7
			revoke_law = tax_levy_law_iqta_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				holder_scope = {
					OR = {
						is_nomadic = yes
						is_republic = yes
					}
				}
			}
		}
	}

	tax_levy_law_iqta_1 = {
		group = tax_levy_law_iqta

		castle_vassal_min_levy = 0.05
		castle_vassal_max_levy = -0.75
		castle_vassal_tax_modifier = 0.40

		potential = {
			is_law_potential = tax_levy_law_iqta_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_iqta_0
				has_law = tax_levy_law_iqta_2
			}
		}

		pass_effect = {
			# log = "tax_levy_law_iqta_1 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_iqta_0 }
				increased_feudal_obligation_laws_effect = yes
			}
			else = {
				decreased_feudal_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_iqta_1 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_iqta_0
			revoke_law = tax_levy_law_iqta_2
			revoke_law = tax_levy_law_iqta_3
			revoke_law = tax_levy_law_iqta_4
			revoke_law = tax_levy_law_iqta_5
			revoke_law = tax_levy_law_iqta_6
			revoke_law = tax_levy_law_iqta_7
			revoke_law = tax_levy_law_iqta_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				trigger_if = {
					limit = { has_law = tax_levy_law_iqta_0 }

					holder_scope = {
						is_feudal = yes
					}
				}
				trigger_else = {
					holder_scope = {
						OR = {
							is_nomadic = yes
							is_republic = yes
						}
					}
				}
			}
		}
	}

	tax_levy_law_iqta_2 = {
		group = tax_levy_law_iqta

		castle_vassal_min_levy = 0.15
		castle_vassal_max_levy = -0.65
		castle_vassal_tax_modifier = 0.35

		potential = {
			is_law_potential = tax_levy_law_iqta_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_iqta_1
				has_law = tax_levy_law_iqta_3
			}
		}

		pass_effect = {
			# log = "tax_levy_law_iqta_2 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_iqta_1 }
				increased_feudal_obligation_laws_effect = yes
			}
			else = {
				decreased_feudal_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_iqta_2 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_iqta_0
			revoke_law = tax_levy_law_iqta_1
			revoke_law = tax_levy_law_iqta_3
			revoke_law = tax_levy_law_iqta_4
			revoke_law = tax_levy_law_iqta_5
			revoke_law = tax_levy_law_iqta_6
			revoke_law = tax_levy_law_iqta_7
			revoke_law = tax_levy_law_iqta_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				trigger_if = {
					limit = { has_law = tax_levy_law_iqta_1 }

					holder_scope = {
						is_feudal = yes
					}
				}
				trigger_else = {
					holder_scope = {
						OR = {
							is_nomadic = yes
							is_republic = yes
						}
					}
				}
			}
		}
	}

	tax_levy_law_iqta_3 = {
		group = tax_levy_law_iqta

		castle_vassal_min_levy = 0.25
		castle_vassal_max_levy = -0.55
		castle_vassal_tax_modifier = 0.30

		potential = {
			is_law_potential = tax_levy_law_iqta_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_iqta_2
				has_law = tax_levy_law_iqta_4
			}
		}

		pass_effect = {
			# log = "tax_levy_law_iqta_3 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_iqta_2 }
				increased_feudal_obligation_laws_effect = yes
			}
			else = {
				decreased_feudal_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_iqta_3 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_iqta_0
			revoke_law = tax_levy_law_iqta_1
			revoke_law = tax_levy_law_iqta_2
			revoke_law = tax_levy_law_iqta_4
			revoke_law = tax_levy_law_iqta_5
			revoke_law = tax_levy_law_iqta_6
			revoke_law = tax_levy_law_iqta_7
			revoke_law = tax_levy_law_iqta_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				trigger_if = {
					limit = { has_law = tax_levy_law_iqta_2 }

					holder_scope = {
						is_feudal = yes
					}
				}
				trigger_else = {
					holder_scope = {
						OR = {
							is_nomadic = yes
							is_republic = yes
						}
					}
				}
			}
		}
	}

	tax_levy_law_iqta_4 = {
		group = tax_levy_law_iqta
		default = yes

		castle_vassal_min_levy = 0.35
		castle_vassal_max_levy = -0.45
		castle_vassal_tax_modifier = 0.25

		potential = {
			is_law_potential = tax_levy_law_iqta_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_iqta_3
				has_law = tax_levy_law_iqta_5
			}
		}

		pass_effect = {
			# log = "tax_levy_law_iqta_4 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_iqta_3 }
				increased_feudal_obligation_laws_effect = yes
			}
			else = {
				decreased_feudal_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_iqta_4 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_iqta_0
			revoke_law = tax_levy_law_iqta_1
			revoke_law = tax_levy_law_iqta_2
			revoke_law = tax_levy_law_iqta_3
			revoke_law = tax_levy_law_iqta_5
			revoke_law = tax_levy_law_iqta_6
			revoke_law = tax_levy_law_iqta_7
			revoke_law = tax_levy_law_iqta_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				trigger_if = {
					limit = { has_law = tax_levy_law_iqta_3 }

					holder_scope = {
						is_feudal = yes
					}
				}
				trigger_else = {
					holder_scope = {
						OR = {
							is_nomadic = yes
							is_republic = yes
						}
					}
				}
			}
		}
	}

	tax_levy_law_iqta_5 = {
		group = tax_levy_law_iqta

		castle_vassal_min_levy = 0.45
		castle_vassal_max_levy = -0.35
		castle_vassal_tax_modifier = 0.20

		potential = {
			is_law_potential = tax_levy_law_iqta_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_iqta_4
				has_law = tax_levy_law_iqta_6
			}
		}

		pass_effect = {
			# log = "tax_levy_law_iqta_5 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_iqta_4 }
				increased_feudal_obligation_laws_effect = yes
			}
			else = {
				decreased_feudal_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_iqta_5 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_iqta_0
			revoke_law = tax_levy_law_iqta_1
			revoke_law = tax_levy_law_iqta_2
			revoke_law = tax_levy_law_iqta_3
			revoke_law = tax_levy_law_iqta_4
			revoke_law = tax_levy_law_iqta_6
			revoke_law = tax_levy_law_iqta_7
			revoke_law = tax_levy_law_iqta_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				trigger_if = {
					limit = { has_law = tax_levy_law_iqta_4 }

					holder_scope = {
						is_feudal = yes
					}
				}
				trigger_else = {
					holder_scope = {
						OR = {
							is_nomadic = yes
							is_republic = yes
						}
					}
				}
			}
		}
	}

	tax_levy_law_iqta_6 = {
		group = tax_levy_law_iqta

		castle_vassal_min_levy = 0.55
		castle_vassal_max_levy = -0.25
		castle_vassal_tax_modifier = 0.15

		potential = {
			is_law_potential = tax_levy_law_iqta_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_iqta_5
				has_law = tax_levy_law_iqta_7
			}
		}

		pass_effect = {
			# log = "tax_levy_law_iqta_6 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_iqta_5 }
				increased_feudal_obligation_laws_effect = yes
			}
			else = {
				decreased_feudal_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_iqta_6 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_iqta_0
			revoke_law = tax_levy_law_iqta_1
			revoke_law = tax_levy_law_iqta_2
			revoke_law = tax_levy_law_iqta_3
			revoke_law = tax_levy_law_iqta_4
			revoke_law = tax_levy_law_iqta_5
			revoke_law = tax_levy_law_iqta_7
			revoke_law = tax_levy_law_iqta_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				trigger_if = {
					limit = { has_law = tax_levy_law_iqta_5 }

					holder_scope = {
						is_feudal = yes
					}
				}
				trigger_else = {
					holder_scope = {
						OR = {
							is_nomadic = yes
							is_republic = yes
						}
					}
				}
			}
		}
	}

	tax_levy_law_iqta_7 = {
		group = tax_levy_law_iqta

		castle_vassal_min_levy = 0.65
		castle_vassal_max_levy = -0.15
		castle_vassal_tax_modifier = 0.10

		potential = {
			is_law_potential = tax_levy_law_iqta_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_iqta_6
				has_law = tax_levy_law_iqta_8
			}
		}

		pass_effect = {
			# log = "tax_levy_law_iqta_7 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_iqta_6 }
				increased_feudal_obligation_laws_effect = yes
			}
			else = {
				decreased_feudal_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_iqta_7 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_iqta_0
			revoke_law = tax_levy_law_iqta_1
			revoke_law = tax_levy_law_iqta_2
			revoke_law = tax_levy_law_iqta_3
			revoke_law = tax_levy_law_iqta_4
			revoke_law = tax_levy_law_iqta_5
			revoke_law = tax_levy_law_iqta_6
			revoke_law = tax_levy_law_iqta_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				trigger_if = {
					limit = { has_law = tax_levy_law_iqta_6 }

					holder_scope = {
						is_feudal = yes
					}
				}
				trigger_else = {
					holder_scope = {
						OR = {
							is_nomadic = yes
							is_republic = yes
						}
					}
				}
			}
		}
	}

	tax_levy_law_iqta_8 = {
		group = tax_levy_law_iqta

		castle_vassal_min_levy = 0.75
		castle_vassal_max_levy = -0.05
		castle_vassal_tax_modifier = 0.05

		potential = {
			is_law_potential = tax_levy_law_iqta_0
		}

		allow = {
			has_law = tax_levy_law_iqta_7
		}

		pass_effect = {
			# log = "tax_levy_law_iqta_8 pass ([This.GetFullBaseName])"
			increased_feudal_obligation_laws_effect = yes
		}

		effect = {
			# log = "tax_levy_law_iqta_8 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_iqta_0
			revoke_law = tax_levy_law_iqta_1
			revoke_law = tax_levy_law_iqta_2
			revoke_law = tax_levy_law_iqta_3
			revoke_law = tax_levy_law_iqta_4
			revoke_law = tax_levy_law_iqta_5
			revoke_law = tax_levy_law_iqta_6
			revoke_law = tax_levy_law_iqta_7
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				holder_scope = {
					is_feudal = yes
				}
			}
		}
	}

	tax_levy_law_republic_0 = {
		group = tax_levy_law_republic

		city_vassal_max_levy = -1.00
		city_vassal_tax_modifier = 0.50

		potential = {
			has_dlc = "Conclave"

			has_game_rule = {
				name = vassal_obligation
				value = vanilla
			}

			holder_scope = {
				is_playable = yes
			}
		}

		allow = {
			has_law = tax_levy_law_republic_1
		}

		pass_effect = {
			# log = "tax_levy_law_republic_0 pass ([This.GetFullBaseName])"
			increased_republic_obligation_laws_effect = yes
		}

		effect = {
			# log = "tax_levy_law_republic_0 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_republic_1
			revoke_law = tax_levy_law_republic_2
			revoke_law = tax_levy_law_republic_3
			revoke_law = tax_levy_law_republic_4
			revoke_law = tax_levy_law_republic_5
			revoke_law = tax_levy_law_republic_6
			revoke_law = tax_levy_law_republic_7
			revoke_law = tax_levy_law_republic_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				holder_scope = {
					is_feudal = no
					is_nomadic = no

				}
			}
		}
	}

	tax_levy_law_republic_1 = {
		group = tax_levy_law_republic

		city_vassal_max_levy = -0.80
		city_vassal_tax_modifier = 0.45

		potential = {
			is_law_potential = tax_levy_law_republic_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_republic_0
				has_law = tax_levy_law_republic_2
			}
		}

		pass_effect = {
			# log = "tax_levy_law_republic_1 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_republic_0 }
				decreased_republic_obligation_laws_effect = yes
			}
			else = {
				increased_republic_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_republic_1 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_republic_0
			revoke_law = tax_levy_law_republic_2
			revoke_law = tax_levy_law_republic_3
			revoke_law = tax_levy_law_republic_4
			revoke_law = tax_levy_law_republic_5
			revoke_law = tax_levy_law_republic_6
			revoke_law = tax_levy_law_republic_7
			revoke_law = tax_levy_law_republic_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				trigger_if = {
					limit = { has_law = tax_levy_law_republic_0 }

					holder_scope = {
						is_republic = yes
					}
				}
				trigger_else = {
					holder_scope = {
						OR = {
							is_feudal = yes
							is_nomadic = yes
						}
					}
				}
			}
		}
	}

	tax_levy_law_republic_2 = {
		group = tax_levy_law_republic

		city_vassal_min_levy = 0.10
		city_vassal_max_levy = -0.70
		city_vassal_tax_modifier = 0.40

		potential = {
			is_law_potential = tax_levy_law_republic_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_republic_1
				has_law = tax_levy_law_republic_3
			}
		}

		pass_effect = {
			# log = "tax_levy_law_republic_2 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_republic_1 }
				decreased_republic_obligation_laws_effect = yes
			}
			else = {
				increased_republic_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_republic_2 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_republic_0
			revoke_law = tax_levy_law_republic_1
			revoke_law = tax_levy_law_republic_3
			revoke_law = tax_levy_law_republic_4
			revoke_law = tax_levy_law_republic_5
			revoke_law = tax_levy_law_republic_6
			revoke_law = tax_levy_law_republic_7
			revoke_law = tax_levy_law_republic_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				trigger_if = {
					limit = { has_law = tax_levy_law_republic_1 }

					holder_scope = {
						is_republic = yes
					}
				}
				trigger_else = {
					holder_scope = {
						OR = {
							is_feudal = yes
							is_nomadic = yes
						}
					}
				}
			}
		}
	}

	tax_levy_law_republic_3 = {
		group = tax_levy_law_republic

		city_vassal_min_levy = 0.20
		city_vassal_max_levy = -0.60
		city_vassal_tax_modifier = 0.35

		potential = {
			is_law_potential = tax_levy_law_republic_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_republic_2
				has_law = tax_levy_law_republic_4
			}
		}

		pass_effect = {
			# log = "tax_levy_law_republic_3 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_republic_2 }
				decreased_republic_obligation_laws_effect = yes
			}
			else = {
				increased_republic_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_republic_3 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_republic_0
			revoke_law = tax_levy_law_republic_1
			revoke_law = tax_levy_law_republic_2
			revoke_law = tax_levy_law_republic_4
			revoke_law = tax_levy_law_republic_5
			revoke_law = tax_levy_law_republic_6
			revoke_law = tax_levy_law_republic_7
			revoke_law = tax_levy_law_republic_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				trigger_if = {
					limit = { has_law = tax_levy_law_republic_2 }

					holder_scope = {
						is_republic = yes
					}
				}
				trigger_else = {
					holder_scope = {
						OR = {
							is_feudal = yes
							is_nomadic = yes
						}
					}
				}
			}
		}
	}

	tax_levy_law_republic_4 = {
		group = tax_levy_law_republic
		default = yes

		city_vassal_min_levy = 0.30
		city_vassal_max_levy = -0.50
		city_vassal_tax_modifier = 0.30

		potential = {
			is_law_potential = tax_levy_law_republic_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_republic_3
				has_law = tax_levy_law_republic_5
			}
		}

		pass_effect = {
			# log = "tax_levy_law_republic_4 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_republic_3 }
				decreased_republic_obligation_laws_effect = yes
			}
			else = {
				increased_republic_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_republic_4 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_republic_0
			revoke_law = tax_levy_law_republic_1
			revoke_law = tax_levy_law_republic_2
			revoke_law = tax_levy_law_republic_3
			revoke_law = tax_levy_law_republic_5
			revoke_law = tax_levy_law_republic_6
			revoke_law = tax_levy_law_republic_7
			revoke_law = tax_levy_law_republic_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				trigger_if = {
					limit = { has_law = tax_levy_law_republic_3 }

					holder_scope = {
						is_republic = yes
					}
				}
				trigger_else = {
					holder_scope = {
						OR = {
							is_feudal = yes
							is_nomadic = yes
						}
					}
				}
			}
		}
	}

	tax_levy_law_republic_5 = {
		group = tax_levy_law_republic

		city_vassal_min_levy = 0.40
		city_vassal_max_levy = -0.40
		city_vassal_tax_modifier = 0.25

		potential = {
			is_law_potential = tax_levy_law_republic_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_republic_4
				has_law = tax_levy_law_republic_6
			}
		}

		pass_effect = {
			# log = "tax_levy_law_republic_5 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_republic_4 }
				decreased_republic_obligation_laws_effect = yes
			}
			else = {
				increased_republic_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_republic_5 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_republic_0
			revoke_law = tax_levy_law_republic_1
			revoke_law = tax_levy_law_republic_2
			revoke_law = tax_levy_law_republic_3
			revoke_law = tax_levy_law_republic_4
			revoke_law = tax_levy_law_republic_6
			revoke_law = tax_levy_law_republic_7
			revoke_law = tax_levy_law_republic_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				trigger_if = {
					limit = { has_law = tax_levy_law_republic_4 }

					holder_scope = {
						is_republic = yes
					}
				}
				trigger_else = {
					holder_scope = {
						OR = {
							is_feudal = yes
							is_nomadic = yes
						}
					}
				}
			}
		}
	}

	tax_levy_law_republic_6 = {
		group = tax_levy_law_republic

		city_vassal_min_levy = 0.50
		city_vassal_max_levy = -0.30
		city_vassal_tax_modifier = 0.20

		potential = {
			is_law_potential = tax_levy_law_republic_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_republic_5
				has_law = tax_levy_law_republic_7
			}
		}

		pass_effect = {
			# log = "tax_levy_law_republic_6 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_republic_5 }
				decreased_republic_obligation_laws_effect = yes
			}
			else = {
				increased_republic_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_republic_6 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_republic_0
			revoke_law = tax_levy_law_republic_1
			revoke_law = tax_levy_law_republic_2
			revoke_law = tax_levy_law_republic_3
			revoke_law = tax_levy_law_republic_4
			revoke_law = tax_levy_law_republic_5
			revoke_law = tax_levy_law_republic_7
			revoke_law = tax_levy_law_republic_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				trigger_if = {
					limit = { has_law = tax_levy_law_republic_5 }

					holder_scope = {
						is_republic = yes
					}
				}
				trigger_else = {
					holder_scope = {
						OR = {
							is_feudal = yes
							is_nomadic = yes
						}
					}
				}
			}
		}
	}

	tax_levy_law_republic_7 = {
		group = tax_levy_law_republic

		city_vassal_min_levy = 0.60
		city_vassal_max_levy = -0.20
		city_vassal_tax_modifier = 0.15

		potential = {
			is_law_potential = tax_levy_law_republic_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_republic_6
				has_law = tax_levy_law_republic_8
			}
		}

		pass_effect = {
			# log = "tax_levy_law_republic_7 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_republic_6 }
				decreased_republic_obligation_laws_effect = yes
			}
			else = {
				increased_republic_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_republic_7 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_republic_0
			revoke_law = tax_levy_law_republic_1
			revoke_law = tax_levy_law_republic_2
			revoke_law = tax_levy_law_republic_3
			revoke_law = tax_levy_law_republic_4
			revoke_law = tax_levy_law_republic_5
			revoke_law = tax_levy_law_republic_6
			revoke_law = tax_levy_law_republic_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				trigger_if = {
					limit = { has_law = tax_levy_law_republic_6 }

					holder_scope = {
						is_republic = yes
					}
				}
				trigger_else = {
					holder_scope = {
						OR = {
							is_feudal = yes
							is_nomadic = yes
						}
					}
				}
			}
		}
	}

	tax_levy_law_republic_8 = {
		group = tax_levy_law_republic

		city_vassal_min_levy = 0.70
		city_vassal_max_levy = -0.10
		city_vassal_tax_modifier = 0.10

		potential = {
			is_law_potential = tax_levy_law_republic_0
		}

		allow = {
			has_law = tax_levy_law_republic_7
		}

		pass_effect = {
			# log = "tax_levy_law_republic_8 pass ([This.GetFullBaseName])"
			decreased_republic_obligation_laws_effect = yes
		}

		effect = {
			# log = "tax_levy_law_republic_8 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_republic_0
			revoke_law = tax_levy_law_republic_1
			revoke_law = tax_levy_law_republic_2
			revoke_law = tax_levy_law_republic_3
			revoke_law = tax_levy_law_republic_4
			revoke_law = tax_levy_law_republic_5
			revoke_law = tax_levy_law_republic_6
			revoke_law = tax_levy_law_republic_7
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				holder_scope = {
					is_republic = yes
				}
			}
		}
	}

	tax_levy_law_theocracy_0 = {
		group = tax_levy_law_theocracy

		temple_vassal_max_levy = -1.00
		temple_vassal_tax_modifier = 0.70

		potential = {
			has_dlc = "Conclave"

			has_game_rule = {
				name = vassal_obligation
				value = vanilla
			}

			holder_scope = {
				is_playable = yes
			}
		}

		allow = {
			has_law = tax_levy_law_theocracy_1

			holder_scope = {
				show_scope_change = no

				trigger_if = {
					limit = { religion_group = muslim }

					any_vassal = {
						is_theocracy = yes
					}
				}
			}
		}

		pass_effect = {
			# log = "tax_levy_law_theocracy_0 pass ([This.GetFullBaseName])"
			increased_theocratic_obligation_laws_effect = yes
		}

		effect = {
			# log = "tax_levy_law_theocracy_0 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_theocracy_1
			revoke_law = tax_levy_law_theocracy_2
			revoke_law = tax_levy_law_theocracy_3
			revoke_law = tax_levy_law_theocracy_4
			revoke_law = tax_levy_law_theocracy_5
			revoke_law = tax_levy_law_theocracy_6
			revoke_law = tax_levy_law_theocracy_7
			revoke_law = tax_levy_law_theocracy_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				holder_scope = {
					OR = {
						is_nomadic = yes
						is_republic = yes
					}
				}
			}
		}
	}

	tax_levy_law_theocracy_1 = {
		group = tax_levy_law_theocracy

		temple_vassal_max_levy = -0.90
		temple_vassal_tax_modifier = 0.60

		potential = {
			is_law_potential = tax_levy_law_theocracy_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_theocracy_0
				has_law = tax_levy_law_theocracy_2
			}

			holder_scope = {
				show_scope_change = no

				trigger_if = {
					limit = { religion_group = muslim }

					any_vassal = {
						is_theocracy = yes
					}
				}
			}
		}

		pass_effect = {
			# log = "tax_levy_law_theocracy_1 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_theocracy_0 }
				decreased_theocratic_obligation_laws_effect = yes
			}
			else = {
				increased_theocratic_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_theocracy_1 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_theocracy_0
			revoke_law = tax_levy_law_theocracy_2
			revoke_law = tax_levy_law_theocracy_3
			revoke_law = tax_levy_law_theocracy_4
			revoke_law = tax_levy_law_theocracy_5
			revoke_law = tax_levy_law_theocracy_6
			revoke_law = tax_levy_law_theocracy_7
			revoke_law = tax_levy_law_theocracy_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				has_law = tax_levy_law_theocracy_2

				holder_scope = {
					OR = {
						is_nomadic = yes
						is_republic = yes
					}
				}
			}
		}
	}

	tax_levy_law_theocracy_2 = {
		group = tax_levy_law_theocracy

		temple_vassal_max_levy = -0.80
		temple_vassal_tax_modifier = 0.50

		potential = { is_law_potential = tax_levy_law_theocracy_0 }

		allow = {
			OR = {
				has_law = tax_levy_law_theocracy_1
				has_law = tax_levy_law_theocracy_3
			}

			holder_scope = {
				show_scope_change = no

				trigger_if = {
					limit = { religion_group = muslim }

					any_vassal = {
						is_theocracy = yes
					}
				}
			}
		}

		pass_effect = {
			# log = "tax_levy_law_theocracy_2 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_theocracy_1 }
				decreased_theocratic_obligation_laws_effect = yes
			}
			else = {
				increased_theocratic_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_theocracy_2 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_theocracy_0
			revoke_law = tax_levy_law_theocracy_1
			revoke_law = tax_levy_law_theocracy_3
			revoke_law = tax_levy_law_theocracy_4
			revoke_law = tax_levy_law_theocracy_5
			revoke_law = tax_levy_law_theocracy_6
			revoke_law = tax_levy_law_theocracy_7
			revoke_law = tax_levy_law_theocracy_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				has_law = tax_levy_law_theocracy_3

				holder_scope = {
					OR = {
						is_nomadic = yes
						is_republic = yes
					}
				}
			}
		}
	}

	tax_levy_law_theocracy_3 = {
		group = tax_levy_law_theocracy

		temple_vassal_min_levy = 0.10
		temple_vassal_max_levy = -0.70
		temple_vassal_tax_modifier = 0.40

		potential = {
			is_law_potential = tax_levy_law_theocracy_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_theocracy_2
				has_law = tax_levy_law_theocracy_4
			}

			holder_scope = {
				show_scope_change = no

				trigger_if = {
					limit = { religion_group = muslim }

					any_vassal = {
						is_theocracy = yes
					}
				}
			}
		}

		pass_effect = {
			# log = "tax_levy_law_theocracy_3 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_theocracy_2 }
				decreased_theocratic_obligation_laws_effect = yes
			}
			else = {
				increased_theocratic_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_theocracy_3 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_theocracy_0
			revoke_law = tax_levy_law_theocracy_1
			revoke_law = tax_levy_law_theocracy_2
			revoke_law = tax_levy_law_theocracy_4
			revoke_law = tax_levy_law_theocracy_5
			revoke_law = tax_levy_law_theocracy_6
			revoke_law = tax_levy_law_theocracy_7
			revoke_law = tax_levy_law_theocracy_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				has_law = tax_levy_law_theocracy_4

				holder_scope = {
					OR = {
						is_nomadic = yes
						is_republic = yes
					}
				}
			}
		}
	}

	tax_levy_law_theocracy_4 = {
		group = tax_levy_law_theocracy
		default = yes

		temple_vassal_min_levy = 0.20
		temple_vassal_max_levy = -0.60
		temple_vassal_tax_modifier = 0.30

		potential = {
			is_law_potential = tax_levy_law_theocracy_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_theocracy_3
				has_law = tax_levy_law_theocracy_5
			}

			holder_scope = {
				show_scope_change = no

				trigger_if = {
					limit = { religion_group = muslim }

					any_vassal = {
						is_theocracy = yes
					}
				}
			}
		}

		pass_effect = {
			# log = "tax_levy_law_theocracy_4 pass ([This.GetFullBaseName])"
			decreased_theocratic_obligation_laws_effect = yes
		}

		effect = {
			# log = "tax_levy_law_theocracy_4 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_theocracy_0
			revoke_law = tax_levy_law_theocracy_1
			revoke_law = tax_levy_law_theocracy_2
			revoke_law = tax_levy_law_theocracy_3
			revoke_law = tax_levy_law_theocracy_5
			revoke_law = tax_levy_law_theocracy_6
			revoke_law = tax_levy_law_theocracy_7
			revoke_law = tax_levy_law_theocracy_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				has_law = tax_levy_law_theocracy_5

				holder_scope = {
					OR = {
						is_nomadic = yes
						is_republic = yes
					}
				}
			}
		}
	}

	tax_levy_law_theocracy_5 = {
		group = tax_levy_law_theocracy

		temple_vassal_min_levy = 0.30
		temple_vassal_max_levy = -0.50
		temple_vassal_tax_modifier = 0.20

		potential = {
			is_law_potential = tax_levy_law_theocracy_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_theocracy_4
				has_law = tax_levy_law_theocracy_6
			}

			holder_scope = {
				show_scope_change = no

				trigger_if = {
					limit = { religion_group = muslim }

					any_vassal = {
						is_theocracy = yes
					}
				}
			}
		}

		pass_effect = {
			# log = "tax_levy_law_theocracy_5 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_theocracy_4 }
				increased_theocratic_obligation_laws_effect = yes
			}
			else = {
				decreased_theocratic_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_theocracy_5 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_theocracy_0
			revoke_law = tax_levy_law_theocracy_1
			revoke_law = tax_levy_law_theocracy_2
			revoke_law = tax_levy_law_theocracy_3
			revoke_law = tax_levy_law_theocracy_4
			revoke_law = tax_levy_law_theocracy_6
			revoke_law = tax_levy_law_theocracy_7
			revoke_law = tax_levy_law_theocracy_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				has_law = tax_levy_law_theocracy_6

				holder_scope = {
					OR = {
						is_nomadic = yes
						is_republic = yes
					}
				}
			}
		}
	}

	tax_levy_law_theocracy_6 = {
		group = tax_levy_law_theocracy

		temple_vassal_min_levy = 0.40
		temple_vassal_max_levy = -0.40
		temple_vassal_tax_modifier = 0.10

		potential = {
			is_law_potential = tax_levy_law_theocracy_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_theocracy_5
				has_law = tax_levy_law_theocracy_7
			}

			holder_scope = {
				show_scope_change = no

				trigger_if = {
					limit = { religion_group = muslim }

					any_vassal = {
						is_theocracy = yes
					}
				}
			}
		}

		pass_effect = {
			# log = "tax_levy_law_theocracy_6 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_theocracy_5 }
				increased_theocratic_obligation_laws_effect = yes
			}
			else = {
				decreased_theocratic_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_theocracy_6 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_theocracy_0
			revoke_law = tax_levy_law_theocracy_1
			revoke_law = tax_levy_law_theocracy_2
			revoke_law = tax_levy_law_theocracy_3
			revoke_law = tax_levy_law_theocracy_4
			revoke_law = tax_levy_law_theocracy_5
			revoke_law = tax_levy_law_theocracy_7
			revoke_law = tax_levy_law_theocracy_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				has_law = tax_levy_law_theocracy_7

				holder_scope = {
					OR = {
						is_nomadic = yes
						is_republic = yes
					}
				}
			}
		}
	}

	tax_levy_law_theocracy_7 = {
		group = tax_levy_law_theocracy

		temple_vassal_min_levy = 0.50
		temple_vassal_max_levy = -0.30

		potential = {
			is_law_potential = tax_levy_law_theocracy_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_theocracy_6
				has_law = tax_levy_law_theocracy_8
			}

			holder_scope = {
				show_scope_change = no

				trigger_if = {
					limit = { religion_group = muslim }

					any_vassal = {
						is_theocracy = yes
					}
				}
			}
		}

		pass_effect = {
			# log = "tax_levy_law_theocracy_7 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_theocracy_6 }
				increased_theocratic_obligation_laws_effect = yes
			}
			else = {
				decreased_theocratic_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_theocracy_7 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_theocracy_0
			revoke_law = tax_levy_law_theocracy_1
			revoke_law = tax_levy_law_theocracy_2
			revoke_law = tax_levy_law_theocracy_3
			revoke_law = tax_levy_law_theocracy_4
			revoke_law = tax_levy_law_theocracy_5
			revoke_law = tax_levy_law_theocracy_6
			revoke_law = tax_levy_law_theocracy_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				has_law = tax_levy_law_theocracy_8

				holder_scope = {
					OR = {
						is_nomadic = yes
						is_republic = yes
					}
				}
			}
		}
	}

	tax_levy_law_theocracy_8 = {
		group = tax_levy_law_theocracy

		temple_vassal_min_levy = 0.60
		temple_vassal_max_levy = -0.20

		potential = {
			is_law_potential = tax_levy_law_theocracy_0
		}

		allow = {
			has_law = tax_levy_law_theocracy_7

			holder_scope = {
				show_scope_change = no

				trigger_if = {
					limit = { religion_group = muslim }

					any_vassal = {
						is_theocracy = yes
					}
				}
			}
		}

		pass_effect = {
			# log = "tax_levy_law_theocracy_8 pass ([This.GetFullBaseName])"
			increased_theocratic_obligation_laws_effect = yes
		}

		effect = {
			# log = "tax_levy_law_theocracy_8 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_theocracy_0
			revoke_law = tax_levy_law_theocracy_1
			revoke_law = tax_levy_law_theocracy_2
			revoke_law = tax_levy_law_theocracy_3
			revoke_law = tax_levy_law_theocracy_4
			revoke_law = tax_levy_law_theocracy_5
			revoke_law = tax_levy_law_theocracy_6
			revoke_law = tax_levy_law_theocracy_7
		}

		ai_will_do = {
			factor = 0
		}
	}

	tax_levy_law_tribal_0 = {
		group = tax_levy_law_tribal

		tribal_vassal_max_levy = -1.00
		tribal_vassal_tax_modifier = 0.40

		potential = {
			has_dlc = "Conclave"

			has_game_rule = {
				name = vassal_obligation
				value = vanilla
			}

			holder_scope = {
				is_playable = yes
			}
		}

		allow = {
			has_law = tax_levy_law_tribal_1
		}

		pass_effect = {
			# log = "tax_levy_law_tribal_0 pass ([This.GetFullBaseName])"
			increased_tribal_obligation_laws_effect = yes
		}

		effect = {
			# log = "tax_levy_law_tribal_0 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_tribal_1
			revoke_law = tax_levy_law_tribal_2
			revoke_law = tax_levy_law_tribal_3
			revoke_law = tax_levy_law_tribal_4
			revoke_law = tax_levy_law_tribal_5
			revoke_law = tax_levy_law_tribal_6
			revoke_law = tax_levy_law_tribal_7
			revoke_law = tax_levy_law_tribal_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				holder_scope = {
					OR = {
						is_nomadic = yes
						is_republic = yes
					}
				}
			}
		}
	}

	tax_levy_law_tribal_1 = {
		group = tax_levy_law_tribal

		tribal_vassal_max_levy = -0.90
		tribal_vassal_tax_modifier = 0.35

		potential = {
			is_law_potential = tax_levy_law_tribal_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_tribal_0
				has_law = tax_levy_law_tribal_2
			}
		}

		pass_effect = {
			# log = "tax_levy_law_tribal_1 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_tribal_0 }
				decreased_tribal_obligation_laws_effect = yes
			}
			else = {
				increased_tribal_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_tribal_1 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_tribal_0
			revoke_law = tax_levy_law_tribal_2
			revoke_law = tax_levy_law_tribal_3
			revoke_law = tax_levy_law_tribal_4
			revoke_law = tax_levy_law_tribal_5
			revoke_law = tax_levy_law_tribal_6
			revoke_law = tax_levy_law_tribal_7
			revoke_law = tax_levy_law_tribal_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				has_law = tax_levy_law_tribal_2

				holder_scope = {
					OR = {
						is_nomadic = yes
						is_republic = yes
					}
				}
			}
		}
	}

	tax_levy_law_tribal_2 = {
		group = tax_levy_law_tribal

		tribal_vassal_max_levy = -0.80
		tribal_vassal_tax_modifier = 0.30

		potential = {
			is_law_potential = tax_levy_law_tribal_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_tribal_1
				has_law = tax_levy_law_tribal_3
			}
		}

		pass_effect = {
			# log = "tax_levy_law_tribal_2 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_tribal_1 }
				decreased_tribal_obligation_laws_effect = yes
			}
			else = {
				increased_tribal_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_tribal_2 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_tribal_0
			revoke_law = tax_levy_law_tribal_1
			revoke_law = tax_levy_law_tribal_3
			revoke_law = tax_levy_law_tribal_4
			revoke_law = tax_levy_law_tribal_5
			revoke_law = tax_levy_law_tribal_6
			revoke_law = tax_levy_law_tribal_7
			revoke_law = tax_levy_law_tribal_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				has_law = tax_levy_law_tribal_3

				holder_scope = {
					OR = {
						is_nomadic = yes
						is_republic = yes
					}
				}
			}
		}
	}

	tax_levy_law_tribal_3 = {
		group = tax_levy_law_tribal

		tribal_vassal_min_levy = 0.10
		tribal_vassal_max_levy = -0.70
		tribal_vassal_tax_modifier = 0.25

		potential = {
			is_law_potential = tax_levy_law_tribal_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_tribal_2
				has_law = tax_levy_law_tribal_4
			}
		}

		pass_effect = {
			# log = "tax_levy_law_tribal_3 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_tribal_2 }
				decreased_tribal_obligation_laws_effect = yes
			}
			else = {
				increased_tribal_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_tribal_3 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_tribal_0
			revoke_law = tax_levy_law_tribal_1
			revoke_law = tax_levy_law_tribal_2
			revoke_law = tax_levy_law_tribal_4
			revoke_law = tax_levy_law_tribal_5
			revoke_law = tax_levy_law_tribal_6
			revoke_law = tax_levy_law_tribal_7
			revoke_law = tax_levy_law_tribal_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				has_law = tax_levy_law_tribal_4

				holder_scope = {
					OR = {
						is_nomadic = yes
						is_republic = yes
					}
				}
			}
		}
	}

	tax_levy_law_tribal_4 = {
		group = tax_levy_law_tribal
		default = yes

		tribal_vassal_min_levy = 0.20
		tribal_vassal_max_levy = -0.60
		tribal_vassal_tax_modifier = 0.20

		potential = {
			is_law_potential = tax_levy_law_tribal_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_tribal_3
				has_law = tax_levy_law_tribal_5
			}
		}

		pass_effect = {
			# log = "tax_levy_law_tribal_4 pass ([This.GetFullBaseName])"
			decreased_tribal_obligation_laws_effect = yes
		}

		effect = {
			# log = "tax_levy_law_tribal_4 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_tribal_0
			revoke_law = tax_levy_law_tribal_1
			revoke_law = tax_levy_law_tribal_2
			revoke_law = tax_levy_law_tribal_3
			revoke_law = tax_levy_law_tribal_5
			revoke_law = tax_levy_law_tribal_6
			revoke_law = tax_levy_law_tribal_7
			revoke_law = tax_levy_law_tribal_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				has_law = tax_levy_law_tribal_5

				holder_scope = {
					OR = {
						is_nomadic = yes
						is_republic = yes
					}
				}
			}
		}
	}

	tax_levy_law_tribal_5 = {
		group = tax_levy_law_tribal

		tribal_vassal_min_levy = 0.30
		tribal_vassal_max_levy = -0.50
		tribal_vassal_tax_modifier = 0.15

		potential = {
			is_law_potential = tax_levy_law_tribal_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_tribal_4
				has_law = tax_levy_law_tribal_6
			}
		}

		pass_effect = {
			# log = "tax_levy_law_tribal_5 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_tribal_4 }
				increased_tribal_obligation_laws_effect = yes
			}
			else = {
				decreased_tribal_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_tribal_5 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_tribal_0
			revoke_law = tax_levy_law_tribal_1
			revoke_law = tax_levy_law_tribal_2
			revoke_law = tax_levy_law_tribal_3
			revoke_law = tax_levy_law_tribal_4
			revoke_law = tax_levy_law_tribal_6
			revoke_law = tax_levy_law_tribal_7
			revoke_law = tax_levy_law_tribal_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				has_law = tax_levy_law_tribal_6

				holder_scope = {
					OR = {
						is_nomadic = yes
						is_republic = yes
					}
				}
			}
		}
	}

	tax_levy_law_tribal_6 = {
		group = tax_levy_law_tribal

		tribal_vassal_min_levy = 0.40
		tribal_vassal_max_levy = -0.40
		tribal_vassal_tax_modifier = 0.10

		potential = {
			is_law_potential = tax_levy_law_tribal_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_tribal_5
				has_law = tax_levy_law_tribal_7
			}
		}

		pass_effect = {
			# log = "tax_levy_law_tribal_6 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_tribal_5 }
				increased_tribal_obligation_laws_effect = yes
			}
			else = {
				decreased_tribal_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_tribal_6 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_tribal_0
			revoke_law = tax_levy_law_tribal_1
			revoke_law = tax_levy_law_tribal_2
			revoke_law = tax_levy_law_tribal_3
			revoke_law = tax_levy_law_tribal_4
			revoke_law = tax_levy_law_tribal_5
			revoke_law = tax_levy_law_tribal_7
			revoke_law = tax_levy_law_tribal_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				has_law = tax_levy_law_tribal_7

				holder_scope = {
					OR = {
						is_nomadic = yes
						is_republic = yes
					}
				}
			}
		}
	}

	tax_levy_law_tribal_7 = {
		group = tax_levy_law_tribal

		tribal_vassal_min_levy = 0.50
		tribal_vassal_max_levy = -0.30
		tribal_vassal_tax_modifier = 0.05

		potential = {
			is_law_potential = tax_levy_law_tribal_0
		}

		allow = {
			OR = {
				has_law = tax_levy_law_tribal_6
				has_law = tax_levy_law_tribal_8
			}
		}

		pass_effect = {
			# log = "tax_levy_law_tribal_7 pass ([This.GetFullBaseName])"

			if = {
				limit = { has_law = tax_levy_law_tribal_6 }
				increased_tribal_obligation_laws_effect = yes
			}
			else = {
				decreased_tribal_obligation_laws_effect = yes
			}
		}

		effect = {
			# log = "tax_levy_law_tribal_7 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_tribal_0
			revoke_law = tax_levy_law_tribal_1
			revoke_law = tax_levy_law_tribal_2
			revoke_law = tax_levy_law_tribal_3
			revoke_law = tax_levy_law_tribal_4
			revoke_law = tax_levy_law_tribal_5
			revoke_law = tax_levy_law_tribal_6
			revoke_law = tax_levy_law_tribal_8
		}

		ai_will_do = {
			factor = 0.01

			trigger = {
				has_law = tax_levy_law_tribal_8

				holder_scope = {
					OR = {
						is_nomadic = yes
						is_republic = yes
					}
				}
			}
		}
	}

	tax_levy_law_tribal_8 = {
		group = tax_levy_law_tribal

		tribal_vassal_min_levy = 0.60
		tribal_vassal_max_levy = -0.20

		potential = {
			is_law_potential = tax_levy_law_tribal_0
		}

		allow = {
			has_law = tax_levy_law_tribal_7
		}

		pass_effect = {
			# log = "tax_levy_law_tribal_8 pass ([This.GetFullBaseName])"
			increased_tribal_obligation_laws_effect = yes
		}

		effect = {
			# log = "tax_levy_law_tribal_8 ([This.GetFullBaseName])"
			revoke_law = tax_levy_law_tribal_0
			revoke_law = tax_levy_law_tribal_1
			revoke_law = tax_levy_law_tribal_2
			revoke_law = tax_levy_law_tribal_3
			revoke_law = tax_levy_law_tribal_4
			revoke_law = tax_levy_law_tribal_5
			revoke_law = tax_levy_law_tribal_6
			revoke_law = tax_levy_law_tribal_7
		}

		ai_will_do = {
			factor = 0
		}
	}
}