﻿sumptuary_law = {
	unique = yes
	law_category = military
	law_religion_group = {
		nahuatl
	} 

	potential = {
		religion = religion:nahuatl
	}

	sump_law_warrior_culture = {
		country_modifier = {
			discipline = 0.05
			peasants_estate_target_satisfaction = medium_permanent_target_satisfaction_penalty
			monthly_towards_aristocracy = societal_value_monthly_move
		}
		estate_preferences = {
			nobles_estate
		}
		years = 2
	}
	
	sump_law_tradition = {
		country_modifier = {
			peasants_estate_target_satisfaction = small_permanent_target_satisfaction
			monthly_towards_free_subjects = societal_value_monthly_move
		}
		estate_preferences = {
			peasants_estate
		}
		years = 2
	}
}

eng_order_of_the_garter_law = {
	unique = yes
	law_category = administrative

	law_country_group = ENG

	potential = {
		has_unlocked_law_trigger = { type = eng_order_of_the_garter_law }
		government_type = government_type:monarchy
	}

	eng_order_of_the_garter_nobility_policy = {
		country_modifier = {
			country_cabinet_efficiency = 0.2
			global_nobles_estate_power = 0.5
			nobles_estate_target_satisfaction = medium_permanent_target_satisfaction
		}
		estate_preferences = {
			nobles_estate
		}
		years = 2
	}
	
	eng_order_of_the_garter_foreign_policy = {
		country_modifier = {
			max_diplomats = 1
			counter_espionage = -0.2
			diplomatic_reputation = diplomatic_reputation_weak_bonus
		}
		estate_preferences = {
			clergy_estate
		}
		years = 2
	}

	eng_order_of_the_garter_clergy_policy = {
		country_modifier = {
			global_institution_growth_modifier = 0.1
			global_clergy_estate_power = 0.1
			clergy_estate_target_satisfaction = medium_permanent_target_satisfaction
		}
		estate_preferences = {
			clergy_estate
		}
		years = 2
	}
	
	eng_order_of_the_garter_arts_policy = {
		country_modifier = {
			num_possible_artists = 1
			global_burghers_estate_power = 0.1
			burghers_estate_target_satisfaction = medium_permanent_target_satisfaction
		}
		estate_preferences = {
			burghers_estate
		}
		years = 2
	}
	
	eng_order_of_the_garter_peasants_policy = {
		country_modifier = {
			global_pop_promotion_speed_modifier = 0.1
			global_peasants_estate_power = 0.1
			peasants_estate_target_satisfaction = medium_permanent_target_satisfaction
		}
		estate_preferences = {
			peasants_estate
		}
		years = 2
	}
}

fra_fouage_tax = {
	unique = yes
	law_category = estates
	potential = {
		has_variable = enabled_fouage_tax
	}

	allowed_fouage_tax = {
		country_modifier = {
			peasants_estate_target_satisfaction = medium_permanent_target_satisfaction_penalty
			peasants_estate_max_tax = 0.1
			nobles_estate_target_satisfaction = small_permanent_target_satisfaction
		}
		estate_preferences = {
			nobles_estate
		}
		years = 2
	}
	pause_on_fouage_collection = {
		country_modifier = {
			peasants_estate_target_satisfaction = small_permanent_target_satisfaction	
			country_cabinet_efficiency = -0.20
			monthly_peasants_estate_rebel_growth = -0.005
		}
		estate_preferences = {
			peasants_estate
		}
		years = 2
	}	
}

fra_taille = {
	unique = yes
	law_category = estates
	potential = {
		has_variable = enable_taille_tax
	}

	permanent_tax = {
		country_modifier = {
			monthly_towards_centralization = societal_value_tiny_monthly_move
			burghers_estate_max_tax	= 0.1
			peasants_estate_max_tax	= 0.1
			burghers_estate_target_satisfaction = medium_permanent_target_satisfaction_penalty
			peasants_estate_target_satisfaction = medium_permanent_target_satisfaction_penalty
		}
		estate_preferences = {
			nobles_estate
			clergy_estate
		}
		years = 2
	}
	exceptional_only = {
		country_modifier = {
			global_crown_estate_power = -0.05
			monthly_towards_decentralization = societal_value_tiny_monthly_move
			estate_enrichment = 0.1
			global_estate_target_satisfaction = medium_permanent_target_satisfaction					
		}
		estate_preferences = {
			burghers_estate
			peasants_estate
		}
		years = 2
	}
}

fra_5_percent_tax = {
	unique = yes
	law_category = administrative
	
	potential = {
		has_variable = enable_5_percent_tax
	}

	five_percent_tax = {
		country_modifier = {
			tax_income_efficiency = medium_tax_income_efficiency_bonus
			global_estate_target_satisfaction = small_permanent_target_satisfaction_penalty
		}
		estate_preferences = {
			crown_estate
		}
		months = 2
	}
	no_five_percent_tax = {
		country_modifier = {
			estate_enrichment = 0.10
			peasants_estate_max_tax	= 0.10
		}
		estate_preferences = {
			nobles_estate
			clergy_estate
			burghers_estate
		}
		months = 2
	}
}

fra_reformation_tolerance_edicts = {
	unique = yes
	law_category = religious
	law_religion_group = {
		catholic
	}
	
	potential = {
		has_variable = enable_fra_tolerance_edicts
		religion = religion:catholic
		NOT = { has_variable = nantes_revoked_by_sun_king }
	}	
	locked = {
		custom_tooltip = why_law_is_locked_fra_religious_laws
		is_locked_mechanic = {
			mechanic = law
			type = fra_reformation_tolerance_edicts
		}
	}	

	protestant_tolerance = {
		potential = {
			has_unlocked_policy_trigger = { type = protestant_tolerance }
			NOT = { has_unlocked_policy_trigger = { type = edict_of_nantes } }
		}			
		country_modifier = {
			global_estate_target_satisfaction = medium_permanent_target_satisfaction_penalty
			global_pop_conversion_speed_modifier = -0.15
			tolerance_own = -1
			tolerance_heretic = 1
			monthly_religious_influence = -0.2
		}
		estate_preferences = {
			peasants_estate
		}
		years = 2
	}
	
	reformist_tolerance = {
		potential = {
			has_unlocked_policy_trigger = { type = reformist_tolerance }
			NOT = { has_unlocked_policy_trigger = { type = edict_of_nantes } }
		}			
		country_modifier = {
			global_estate_target_satisfaction = medium_permanent_target_satisfaction_penalty
			global_pop_conversion_speed_modifier = -0.33
			tolerance_own = -1.5
			tolerance_heretic = 1
			monthly_religious_influence = -0.33
		}
		estate_preferences = {
			peasants_estate
		}
		years = 2
	}	
	
	edict_of_nantes = {
		potential = {
			has_unlocked_policy_trigger = { type = edict_of_nantes }
		}			
		country_modifier = {
			clergy_estate_target_satisfaction = medium_permanent_target_satisfaction_penalty
			stability_investment = small_stability_investment
			tolerance_heretic = 2
		}
		estate_preferences = {
			peasants_estate
		}
		years = 2
	}		
	
	edict_of_fontainebleau = {	
		potential = {
			NOT = { has_unlocked_policy_trigger = { type = edict_of_nantes } }
		}		
		country_modifier = {
			global_pop_conversion_speed_modifier = 0.05
			tolerance_own = 1
			tolerance_heretic = -1
		}
		estate_preferences = {
			clergy_estate
		}
		years = 2
	}	
	
	expanded_edict_of_fontainebleau = {
		potential = {
			has_unlocked_policy_trigger = { type = expanded_edict_of_fontainebleau }
			NOT = { has_unlocked_policy_trigger = { type = edict_of_nantes } }
		}			
		country_modifier = {
			global_pop_conversion_speed_modifier = 0.125
			tolerance_own = 1.5
			tolerance_heretic = -2
		}
		estate_preferences = {
			clergy_estate
		}
		years = 2
	}		
	
	edict_of_chateaubriant = {
		potential = {
			has_unlocked_policy_trigger = { type = edict_of_chateaubriant }
			NOT = { has_unlocked_policy_trigger = { type = edict_of_nantes } }
		}			
		country_modifier = {
			global_estate_target_satisfaction = small_permanent_target_satisfaction
			global_pop_conversion_speed_modifier = 0.175
			tolerance_own = 1
			tolerance_heretic = -3
			stability_cost_efficiency = -0.1
		}
		estate_preferences = {
			clergy_estate
		}
		years = 2
	}		
}

french_colonial_ambition_focus = {
	unique = yes

	law_category = socioeconomic
	potential = {
		has_variable = enable_fra_colonial_ambitions
	}

	french_mercantile_colonies = { # New World
		country_modifier = {
			colonial_migration_size_modifier = 0.5
			colonial_maintenance_efficiency = 0.16
			create_colonial_charter_cost_modifier = -0.2
			monthly_towards_mercantilism = societal_value_tiny_monthly_move
		}
		estate_preferences = {
			burghers_estate
		}
		years = 2
	}

	french_far_east_ambitions = {
		country_modifier = {
			global_foreign_build_buildings_efficiency = 0.4
			colonial_range_modifier = 0.25
			merchant_power_from_maritime_modifier = 0.05
			selling_efficiency = small_trade_efficiency_bonus
		}
		estate_preferences = {
			burghers_estate
		}
		years = 2
	}

	french_east_india_company = { #unlocked by flavor_fra.373
		potential = {
			has_unlocked_policy_trigger = { type = french_east_india_company }
		}
		country_modifier = {
			selling_efficiency = medium_trade_efficiency_bonus
			tolerance_heathen = 1.5
			global_foreign_build_buildings_efficiency = 0.4
			colonial_range_modifier = 0.33
			merchant_power_from_maritime_modifier = 0.10			
		}
		estate_preferences = {
			burghers_estate
		}
		years = 2
	}
	
}

fra_jansenism_legality = {
	unique = yes
	law_category = religious
	law_religion_group = {
		catholic
	}
	
	potential = {
		has_unlocked_law_trigger = { type = fra_jansenism_legality }
		religion = religion:catholic
	}	

	jansenism_no_formal_law = {			
		country_modifier = {
			global_estate_target_satisfaction = small_permanent_target_satisfaction
			monthly_religious_influence = -0.5
			parliament_base_support = 0.10
		}
		estate_preferences = {
			burghers_estate
			peasants_estate
		}
		years = 2
	}
	
	unigenitus_codified = {
		potential = {
			has_unlocked_policy_trigger = { type = unigenitus_codified }
		}			
		country_modifier = {
			peasants_estate_target_satisfaction = medium_permanent_target_satisfaction_penalty
			monthly_religious_influence = 1
			peasants_estate_max_tax = 0.05
			monthly_peasants_estate_rebel_growth = 0.002
			parliament_base_support = -0.10
		}
		estate_preferences = {
			crown_estate
			clergy_estate
		}
		years = 2
	}	
}	

guilds_of_florence = {
	unique = yes
	law_category = socioeconomic
	potential = {
		modifier:allow_guilds_of_florence_law = yes
	}

	arti_minori = {
		country_modifier = {
			global_max_rgo_size_modifier_in_non_rural = 0.1
			monthly_towards_free_subjects = societal_value_monthly_move
			peasants_estate_target_satisfaction = medium_permanent_target_satisfaction
			burghers_estate_target_satisfaction = medium_permanent_target_satisfaction_penalty
		}
		estate_preferences = {
			peasants_estate
		}
		years = 2
	}
	arti_mediane = {
		country_modifier = {
			global_burghers_city_desired_pop = 0.1
			global_build_buildings_efficiency = 0.1
			burghers_estate_target_satisfaction = medium_permanent_target_satisfaction_penalty
		}
		estate_preferences = {
			burghers_estate
		}
		years = 2
	}
	arti_maggiori = {
		country_modifier = {
			burghers_estate_target_satisfaction = small_permanent_target_satisfaction
			global_burghers_estate_power = 0.1
			global_production_efficiency = medium_production_efficiency_bonus
		}
		estate_preferences = {
			burghers_estate
		}
		years = 2
	}
}

por_estudo_geral_law = {
	unique = yes
	law_category = socioeconomic

	potential = {
		has_unlocked_law_trigger = {
			type = por_estudo_geral_law
		}
		OR = {
			owns = location:coimbra
			owns = location:lisbon
		}
	}

	por_estudo_in_lisbon = {
		country_modifier = {
			monthly_towards_centralization = societal_value_minor_monthly_move
		}

		potential = {
			owns = location:lisbon
		}

		on_activate = {
			if = {
				limit = {
					NOT = {
						location:lisbon = {
							has_building = building_type:university
						}
					}
				}
				location:coimbra = {
					destroy_building = "building(building_type:university|root)"
				}
				location:lisbon = {
					change_building_level_in_location = {
						building = building_type:university
						value = 1
					}
				}
			}

			location:lisbon = {
				add_location_modifier = {
					mode = add_and_extend
					modifier = por_estudo_geral
					years = -1
				}
			}
		}

		on_deactivate = {
			if = {
				limit = {
					location:lisbon = {
						has_location_modifier = por_estudo_geral
					}
				}
				location:lisbon = {
					remove_location_modifier = por_estudo_geral
				}
			}
		}

		years = 2
	}
	por_estudo_in_coimbra = {
		country_modifier = {
			monthly_towards_decentralization = societal_value_minor_monthly_move
		}

		potential = {
			owns = location:coimbra
		}

		on_activate = {
			if = {
				limit = {
					NOT = {
						location:coimbra = {
							has_building = building_type:university
						}
					}
				}
				location:lisbon = {
					destroy_building = "building(building_type:university|root)"
				}
				location:coimbra = {
					change_building_level_in_location = {
						building = building_type:university
						value = 1
					}
				}
			}

			location:coimbra = {
				add_location_modifier = {
					mode = add_and_extend
					modifier = por_estudo_geral
					years = -1
				}
			}
		}

		on_deactivate = {
			if = {
				limit = {
					location:coimbra = {
						has_location_modifier = por_estudo_geral
					}
				}
				location:coimbra = {
					remove_location_modifier = por_estudo_geral
				}
			}
		}

		years = 2
	}
}

teu_amber_monopoly_law = {
		unique = yes
	law_category = socioeconomic

	potential = {
		has_unlocked_law_trigger = {
			type = teu_amber_monopoly_law
		}
	}

	state_controlled_amber_gathering = {
		country_modifier = {
			selling_efficiency = tiny_trade_efficiency_bonus
			monthly_towards_aristocracy = societal_value_minor_monthly_move
		}
		location_modifier = {
			potential_trigger = {
				raw_material = goods:amber
			}
			local_crown_estate_power = 2
		}
		estate_preferences = {
			crown_estate
		}
		years = 2
	}

	burghers_controlled_amber_gathering = {
		country_modifier = {
			global_merchant_capacity_modifier = 0.1
			monthly_towards_free_trade = societal_value_minor_monthly_move
		}
		location_modifier = {
			potential_trigger = {
				raw_material = goods:amber
			}
			local_burghers_estate_power = 2
		}
		estate_preferences = {
			burghers_estate
		}
		years = 2
	}

	peasant_controlled_amber_gathering = {
		country_modifier = {
			monthly_towards_free_subjects = societal_value_minor_monthly_move
			global_amber_output_modifier = 0.25
		}
		location_modifier = {
			potential_trigger = {
				raw_material = goods:amber
			}
			local_peasants_estate_power = 2
		}
		estate_preferences = {
			peasants_estate
		}
		years = 2
	}
}

nav_adaptability = {
	unique = yes
	law_category = administrative

	law_country_group = NAV

	potential = {
		has_or_had_tag = NAV
	}

	belligerent_stance = {
		country_modifier = {
			casus_belli_creation_speed_modifier = 0.33
			diplomatic_reputation = diplomatic_reputation_severe_penalty
			spy_network_construction = 0.05
			global_war_score_efficiency = 0.1
			monthly_towards_belligerent = societal_value_monthly_move
		}
		estate_preferences = {
			nobles_estate
		}
		years = 2
	}
	conciliatory_stance = {
		country_modifier = {
			casus_belli_creation_speed_modifier = -0.33
			country_cabinet_efficiency = 0.20
			diplomatic_reputation = diplomatic_reputation_mild_bonus
			subject_loyalty = 5
			monthly_towards_conciliatory = societal_value_monthly_move
		}
		estate_preferences = {
			clergy_estate
		}
		years = 2
	}
	defensive_stance = {
		country_modifier = {
			army_movement_speed = -0.1
			combat_speed_modifier = 0.05
			fort_maintenance_efficiency = 0.2
			global_defensive = 0.25
			monthly_towards_defensive = societal_value_monthly_move
		}
		estate_preferences = {
			peasants_estate
		}
		years = 2
	}
	offensive_stance = {
		country_modifier = {
			army_movement_speed = 0.05
			assault_ability = 0.05
			global_defensive = -0.5
			siege_ability = 0.05
			monthly_towards_offensive = societal_value_monthly_move
		}
		estate_preferences = {
			nobles_estate
		}
		years = 2
	}
}

six_ministries_overseer_law = {
	unique = yes
	law_category = administrative
	potential = {
		has_reform = government_reform:three_departments_system
		has_unlocked_law_trigger = {
			type = six_ministries_overseer_law
		}
	}
	allow = {
		has_bureaucracy_of_type = bureaucracy_type:six_boards_bureaucracy
	}

	chi_grand_chancellorship = {
		country_modifier = {
			head_of_cabinet_promotion_cost_modifier = -0.1
			country_cabinet_efficiency = 0.05
		}

		years = 2
	}
	chi_grand_secretariat = {
		country_modifier = {
			monthly_towards_centralization = societal_value_tiny_monthly_move
			global_crown_estate_power = 0.1
			pure_tooltip_entry = six_boards_grand_secretariat_oversight_tt
		}

		years = 2
	}
	chi_direct_report = {
		country_modifier = {
			monthly_towards_centralization = societal_value_monthly_move
			global_crown_estate_power = 0.5
			government_size = -1
			monthly_towards_absolutism = societal_value_monthly_move
			pure_tooltip_entry = six_boards_direct_report_oversight_tt
		}

		years = 2
	}
}

ashta_pradhan_council_law = {
	unique = yes
	law_category = administrative
	potential = {
		modifier:has_ashta_pradham_council_policies = yes
	}
	apc_peshwa_focus_policy = {
		country_modifier = {
			global_integration_speed_modifier = 0.1
			legislative_efficiency = 0.1
		}
		estate_preferences = {
			clergy_estate
		}
		years = 2
	}
	apc_mazumdar_focus_policy = {
		country_modifier = {
			tax_income_efficiency = large_tax_income_efficiency_bonus
			selling_efficiency = small_trade_efficiency_bonus
		}
		estate_preferences = {
			nobles_estate
		}
		years = 2
	}
	apc_sacheev_focus_policy = {
		country_modifier = {
			global_estate_power = -0.1
			global_estate_target_satisfaction = medium_permanent_target_satisfaction
		}
		estate_preferences = {
			crown_estate
		}
		years = 2
	}
	apc_waqia_navis_focus_policy = {
		country_modifier = {
			counter_espionage = 0.33
			antagonism_received_modifier = -0.1
		}
		estate_preferences = {
			crown_estate
		}
		years = 2
	}
	apc_senapati_focus_policy = {
		country_modifier = {
			discipline = 0.05
			monthly_army_tradition = 0.03
		}
		estate_preferences = {
			nobles_estate
		}
		years = 2
	}
	apc_dabir_focus_policy = {
		country_modifier = {
			diplomatic_reputation = diplomatic_reputation_weak_bonus
			improve_relation_impact = 0.2
		}
		estate_preferences = {
			crown_estate
		}
		years = 2
	}
	apc_nyayadhish_focus_policy = {
		country_modifier = {
			global_monthly_control = 0.001
			global_estate_target_satisfaction = small_permanent_target_satisfaction
		}
		estate_preferences = {
			peasants_estate
		}
		years = 2
	}
	apc_panditrao_focus_policy = {
		country_modifier = {
			global_pop_conversion_speed_modifier = 0.1
			global_monthly_literacy = 0.01
		}
		estate_preferences = {
			clergy_estate
		}
		years = 2
	}
}

kor_currency = {
	unique = yes
	law_category = socioeconomic
	
	potential = {
		has_unlocked_law_trigger = {
			type = kor_currency
		}	
	}
	kor_barter_economy = {
		country_modifier = {
			scale = {
				add = {
					desc = capital_economy_vs_traditional_economy
					value = societal_value:capital_economy_vs_traditional_economy
					multiply = 0.01
					min = 0
				}
			}
			trade_land_efficiency = large_trade_land_efficiency_bonus
		}
		country_modifier = {
			monthly_towards_traditional_economy = societal_value_minor_monthly_move
		}
		years = 2
	}
	kor_metal_coinage = {
		country_modifier = {
			minting_inflation_threshold = 0.01
		}
		years = 2
	}
	kor_jeohwa = {
		allow = {
			capital.market = {
				"stockpile_in_market(goods:paper)" > 20
			}
		}
		
		country_modifier = {
			# global_paper_output_modifier = 0.05
			monthly_towards_capital_economy = societal_value_monthly_move
		}
		country_modifier = {
			scale = {
				add = {
					desc = capital_economy_vs_traditional_economy
					value = societal_value:capital_economy_vs_traditional_economy
					multiply = -1
					min = 0
				}
			}
			bank_interest = -0.0001
		}

		on_activate = {
			capital.market = {
				add_goods_supply = {
					amount = -20
					goods = goods:paper
				}
			}	
		}
		years = 2
	}
	kor_chinese_currency = {
		potential = {
			country_exists = c:CHI	
		}
		country_modifier = {
			scale = {
				add = {
					desc = "kor_scale_chinese_currency"
					value = "c:CHI.opinion(root)"
					multiply = 0.01
				}
			}

			selling_efficiency = small_trade_efficiency_bonus
		}
		years = 2
	}
}

mesta_council_law = {
	unique = yes
	law_category = administrative
	potential = {
		OR = {
			has_or_had_tag = CAS
			has_or_had_tag = SPA
		}
		not = { has_variable = abolish_mesta}
	}

	quadrillas_organization = {
		country_modifier = {
			global_wool_output_modifier = 0.125
			nobles_estate_max_tax = 0.025
			tax_income_efficiency = small_tax_income_efficiency_bonus
		}
		estate_preferences = {
			nobles_estate
		}
		years = 2
	}
	right_of_possesion = {
	potential = {
		has_unlocked_policy_trigger = { type = right_of_possesion }
	}
		country_modifier = {
			global_wool_output_modifier = 0.25
			expand_rgo_farming_cost_modifier = 0.25
			nobles_estate_max_tax = 0.05
			tax_income_efficiency = medium_tax_income_efficiency_bonus
		}
		estate_preferences = {
			peasants_estate
		}
		years = 2
	}
}

imperial_examination_law = {
	unique = yes
	law_category = administrative
	potential = {
		OR = {
			culture ?= { has_culture_group = culture_group:confucian_group }
			any_international_organizations_member_of = {
				international_organization_type = international_organization_type:sect
				international_organization_has_policy = policy:confucianism_policy
			}
			custom_tooltip = {
				text = has_neo_confucianism_tt
				has_variable = has_neo_confucianism
			}
			AND = {
				exists = international_organization:middle_kingdom
				is_member_of_international_organization = international_organization:middle_kingdom
				NOT = { is_leader_of_international_organization = international_organization:middle_kingdom }
			}
		}
	}
	
	continue_the_imperial_examination = {
		on_activate = {
			if = {
				limit = {
					not = { has_variable = year_of_start_of_examination_system }
				}
				set_variable = {
					name = year_of_start_of_examination_system
					value = current_year
					days = 8000 #Giving it a expiring date to avoid shaenanigans
				}
			}
		}
		estate_preferences = {
			burghers_estate
			clergy_estate
			peasants_estate
		}
		years = 2

		country_modifier = {
			government_size = 1
			country_cabinet_efficiency = 0.05
		}
	}

	abolish_imperial_examination = {
		estate_preferences = {
			nobles_estate
		}
		years = 2

		country_modifier = {
			global_pop_promotion_speed_modifier = -0.25
			nobles_estate_target_satisfaction = large_permanent_target_satisfaction
			monthly_towards_centralization = societal_value_monthly_move
			hire_advisor_cost_modifier = -0.25
		}
	}
}

status_of_the_han_law = {
	unique = yes
	law_category = administrative
	potential = {
		is_leader_of_international_organization = international_organization:middle_kingdom
		NOT = {
			culture ?= { 
				has_culture_group = culture_group:chinese_group
			}
		}
	}

	maintain_status_quo_in_han_policies = {
		years = 2

		country_modifier = {
			monthly_towards_sinicized = societal_value_monthly_move
			change_primary_culture_cost_modifier = -0.25
			country_cabinet_efficiency = 0.05
		}
	}
	
	limit_the_han_powers = {
		years = 2

		country_modifier = {
			monthly_towards_unsinicized = societal_value_monthly_move
			cultural_influence_modifier = 0.25
			pop_join_rebel_threshold = 0.05
		}
	}
}	

sco_clan_holdings = {
	unique = yes
	law_category = administrative
	
	potential = {
		OR = {
			has_or_had_tag = SCO
			has_or_had_tag = SBL
		}
	}

	inherited_clan_holdings = {
		country_modifier = {
			parliament_base_support = 0.10
			monthly_legitimacy = 0.15
			global_tribes_estate_power = 0.10
			global_nobles_estate_power = 0.10
			global_crown_estate_power = -0.10
			global_estate_target_satisfaction = medium_permanent_target_satisfaction
			monthly_towards_decentralization = societal_value_minor_monthly_move
		}
		estate_preferences = {
			nobles_estate
			tribes_estate
		}
		months = 12
	}

	revert_to_the_crown = {
		country_modifier = {
			monthly_legitimacy = 0.10
			global_tribes_estate_power = 0.05
			global_nobles_estate_power = 0.05			
			global_crown_estate_power = -0.05
			estate_enrichment = -0.05
			global_estate_target_satisfaction = small_permanent_target_satisfaction
		}
		estate_preferences = {
			crown_estate
		}
		months = 12
	}

	dynastic_holdings_conslidated = {
		potential = {
			has_unlocked_policy_trigger = { type = dynastic_holdings_conslidated }
		}				
		country_modifier = {
			global_crown_estate_power = 0.10
			global_estate_target_satisfaction = medium_permanent_target_satisfaction_penalty
			revoke_privilege_cost_modifier = -0.15
			monthly_towards_centralization = societal_value_minor_monthly_move
			estate_enrichment = -0.10
		}
		estate_preferences = {
			crown_estate
		}
		months = 24
	}	
}

sco_authority_over_the_clergy = {
	unique = yes
	law_category = religious
	law_religion_group = {
		catholic
	}
	
	potential = {
		has_unlocked_law_trigger = {
			type = sco_authority_over_the_clergy
		}
		religion = religion:catholic	
	}

	crown_religious_jurisdiction = {
		country_modifier = {
			global_crown_estate_power = 0.1
			monthly_religious_influence = -1
			cultural_tradition = 0.2
			court_spending_efficiency = 0.1
			global_clergy_estate_power = -0.15
			clergy_estate_target_satisfaction = medium_permanent_target_satisfaction_penalty
			clergy_estate_min_tax = 0.05
			papal_relations = -50
		}
		estate_preferences = {
			crown_estate
			nobles_estate
		}
		months = 12
	}

	limited_curia_oversight = {
		country_modifier = {
			global_crown_estate_power = 0.05
			monthly_religious_influence = -0.33
			global_clergy_estate_power = -0.10
			clergy_estate_target_satisfaction = medium_permanent_target_satisfaction
			stability_cost_efficiency = 0.3
			clergy_estate_min_tax = 0.025
			papal_relations = -20
		}
		estate_preferences = {
			clergy_estate
		}
		months = 12
	}	
}

sco_colonial_affairs_law = {
	unique = yes
	law_category = socioeconomic
	
	potential = {
		has_unlocked_law_trigger = {
			type = sco_colonial_affairs_law
		}	
	}

	sco_no_colonial_affairs = {
		country_modifier = {
			colonial_migration_size_modifier = -0.5
			stability_investment = small_stability_investment
			global_monthly_development = 0.001
		}
		estate_preferences = {
			crown_estate
		}
		months = 12
	}

	sco_limited_colonial_ventures = {
		country_modifier = {
			colonial_migration_size_modifier = 0.10
			colonial_maintenance_efficiency = 0.06
			create_colonial_charter_cost_modifier = -0.05
			change_policy_cost_modifier = 0.15
			tax_income_efficiency = medium_tax_income_efficiency_penalty
		}
		estate_preferences = {
			crown_estate
		}
		months = 12
	}

	sco_colonial_administration = {
		allow = {
			any_subject = {
				is_subject_type = colonial_nation
				count > 2
			}	
		}		
		country_modifier = {
			colonial_maintenance_efficiency = 0.30
			create_colonial_charter_cost_modifier = -0.20
		}
		estate_preferences = {
			crown_estate
		}
		months = 12
	}	
}

lat_orthodox_status_with_the_empire = {
	unique = yes
	law_category = religious
	law_religion_group = {
		catholic
	}
	
	potential = {
		has_unlocked_law_trigger = {
			type = lat_orthodox_status_with_the_empire
		}
		AND = {
			has_or_had_tag = LAT
			religion = religion:catholic
		}
	}

	lat_tolerance_orthodox_faith = {
		country_modifier = {
			research_speed_modifier = 0.10
			tolerance_heretic = 2
			peasants_estate_target_satisfaction = medium_permanent_target_satisfaction
			clergy_estate_target_satisfaction = medium_permanent_target_satisfaction_penalty
			monthly_towards_humanist = societal_value_monthly_move
			papal_relations = -25
			global_pop_conversion_speed_modifier = -0.25
		}
		estate_preferences = {
			burghers_estate
			peasants_estate
		}
		months = 12
	}

	lat_limited_conversion_efforts = {
		country_modifier = {
			tolerance_heretic = 0.5
			global_clergy_estate_power = 0.10
			global_pop_conversion_speed_modifier = 0.10
			stability_cost_efficiency = -0.05
		}
		estate_preferences = {
			crown_estate
			nobles_estate
		}
		months = 12
	}

	lat_papal_sanctioned_conversion_efforts = {
		country_modifier = {
			tolerance_heretic = -1
			monthly_religious_influence = 0.10
			global_clergy_estate_power = 0.25
			clergy_estate_target_satisfaction = medium_permanent_target_satisfaction
			stability_cost_efficiency = 0.2
			tithe_cost_modifier = -0.1
			papal_relations = 25
			global_pop_conversion_speed_modifier = 0.25
		}
		estate_preferences = {
			clergy_estate
		}
		months = 12
	}	
}