﻿law_no_tax = {
	group = lawgroup_religious_tax
	
	icon = "gfx/interface/icons/law_icons/no_schools.dds"
	
	progressiveness = 50

	disallowing_laws = {
		law_state_religion
	}
	
	
	
	pop_support = {
		value = 0
		
		# Muslims will not support this
		add = {
			desc = "POP_MUSLIMS"
			if = {
				limit = {
				OR = {
					has_pop_religion = sunni
					has_pop_religion = shiite
					}
				}
				value = -0.25
			}
		}
		
		add = {
			desc = "POP_DISCRIMINATED"
			if = {
				limit = { 
					religion_accepted = no
					owner = { NOT = { has_law = law_type:law_no_tax } }
				}
				add = 0.5
				
				if = {
					limit = { 
						standard_of_living <= 10
					}
					add = 0.5
				}
			}			
		}
		
		add = {
			desc = "POP_ACADEMICS"
			# Academics generally against religious perseecution
			if = {
				limit = {
					is_pop_type = academics
				}
				value = 0.25
			}
		}
		
	}
	ai_enact_weight_modifier = { #Petitions
		value = 0
		
		if = {
			limit = { 
				has_journal_entry = je_government_petition
				has_variable = desired_law_var
                scope:law = var:desired_law_var
			}
			add = 750
		}
	}

}

law_jizya_tax = {
	group = lawgroup_religious_tax
	
	icon = "gfx/interface/icons/law_icons/religious_schools.dds"
	
	progressiveness = 0
	
	#unlocking_technologies = {
	#	rationalism
	#}

	disallowing_laws = {
		law_total_separation
	}

	modifier = {
		tax_heathen_add = 0.5
		state_conscription_rate_mult = -0.1
		interest_group_ig_devout_pol_str_mult = 0.15
	}
	
	possible_political_movements = {
		law_no_tax
	}	
	
	pop_support = {
		value = 0	
		
		# Muslims will support this
		add = {
			desc = "POP_MUSLIMS"
			if = {
				limit = {
				owner = {
						NOT = {
						has_law = law_type:law_total_separation
						has_law = law_type:law_state_atheism
						}
					}
				OR = {
					has_pop_religion = sunni
					has_pop_religion = shiite
					}
				}
				value = 0.25
			}
		}
		
		add = {
			desc = "POP_ACADEMICS"
			# Academics generally against religious perseecution
			if = {
				limit = {
					
					is_pop_type = academics
				}
				value = 0.25
			}
		}
		
		add = {
			desc = "POP_CLERGYMEN"			
			if = {
				limit = {
					is_pop_type = clergymen
				}
				value = 0.25
			}
		}
	}	
	ai_enact_weight_modifier = { #Petitions
		value = 0
		
		if = {
			limit = { 
				has_journal_entry = je_government_petition
				has_variable = desired_law_var
                scope:law = var:desired_law_var
			}
			add = 750
		}
	}
}