# Rights of Women (BPM seems to be vanilla in this law group except suffrage)
REPLACE:law_no_womens_rights = {
	group = lawgroup_rights_of_women
	icon = "gfx/interface/icons/law_icons/no_womens_rights.dds"
	progressiveness = -100
	on_enact = {
		recalculate_pop_ig_support = yes
	}
	#T&R
	can_enact = {
		custom_tooltip = {
			text = ztr_un_hr_gender_equality_women_rights_tt
			OR = {
				NOT = {
					ztr_is_un_member = yes
				}
				NOT = {
					global_var:ztr_un_hr_women_rights = 1
				}
			}
		}
	}
	is_visible = {
		NOT = {
			has_law = law_type:law_women_in_the_fields
		}
	}
	modifier = {
		state_birth_rate_mult = 0.05
	}
	ai_will_do = {
		literacy_rate < 0.4
		exists = ruler
		ruler = {
			has_ideology = ideology:ideology_traditionalist
		}
	}
	ai_enact_weight_modifier = {
		#Petitions
		value = 0
		if = {
			limit = {
				ai_has_enact_weight_modifier_journal_entries = yes
			}
			add = 750
		}
	}
}

REPLACE:law_women_in_the_fields = {
	group = lawgroup_rights_of_women
	parent = law_no_womens_rights	# Inherits ideological stances from parent
	icon = "gfx/interface/icons/law_icons/women_in_the_fields.dds"
	progressiveness = -100
	is_visible = {
		c:MON ?= this
		NOR = {
			has_law = law_type:law_no_womens_rights
			has_law_or_variant = law_type:law_women_own_property
			has_law_or_variant = law_type:law_women_in_the_workplace
			has_law_or_variant = law_type:law_womens_suffrage
		}
	}
	#T&R
	can_enact = {
		custom_tooltip = {
			text = ztr_un_hr_gender_equality_women_rights_tt
			OR = {
				NOT = {
					ztr_is_un_member = yes
				}
				NOT = {
					global_var:ztr_un_hr_women_rights = 1
				}
			}
		}
	}
	modifier = {
		state_birth_rate_mult = -0.1
		state_working_adult_ratio_add = 0.3
		state_conscription_rate_add = 0.4
		building_training_rate_mult = 1
		state_middle_strata_standard_of_living_add = -8
		state_lower_strata_standard_of_living_add = -4
		state_middle_strata_expected_sol_add = -4
		state_lower_strata_expected_sol_add = -2
	}
	on_enact = {
	}
	disallowing_laws = {
	}
	ai_will_do = {
		c:MON ?= this
		exists = ruler
		ruler = {
			has_ideology = ideology:ideology_traditionalist
		}
	}
	ai_enact_weight_modifier = {
		#Petitions
		value = 0
	}
}

REPLACE:law_women_own_property = {
	group = lawgroup_rights_of_women
	icon = "gfx/interface/icons/law_icons/women_own_property.dds"
	progressiveness = -50
	on_enact = {
		recalculate_pop_ig_support = yes
	}
	#T&R
	can_enact = {
		custom_tooltip = {
			text = ztr_un_hr_gender_equality_women_rights_tt
			OR = {
				NOT = {
					ztr_is_un_member = yes
				}
				NOT = {
					global_var:ztr_un_hr_women_rights = 1
				}
			}
		}
	}
	modifier = {
		state_working_adult_ratio_add = 0.05
	}
	ai_will_do = {
		OR = {
			has_law_or_variant = law_type:law_no_womens_rights
			AND = {
				exists = ruler
				ruler = {
					has_ideology = ideology:ideology_traditionalist
				}
			}
		}
	}
	ai_enact_weight_modifier = {
		#Petitions
		value = 0
		if = {
			limit = {
				ai_has_enact_weight_modifier_journal_entries = yes
			}
			add = 750
		}
	}
}
