american_government = {
	icon = "parliament"
	allow_normal_conversion = yes
	potential = {
		OR = {
			have_had_reform = american_government
			tag = USA
		}
	}
	valid_for_nation_designer = yes
	nation_designer_cost = 400
	modifiers = {
		yearly_corruption = -0.05
		global_unrest = -1
	}

	custom_attributes = {
		enables_plutocratic_idea_group = yes
		enables_aristocratic_idea_group = no
	}
	conditional = {
		allow = {
			OR = {
				has_dlc = "Common Sense"
				has_dlc = "Domination"
			}
		}
		has_parliament = yes
	}
	factions = {
		GE_federalists
		GE_republicans
	}
	duration = 4
}


russian_republic_republic = {
	icon = "merchant"
	allow_normal_conversion = yes
	potential = {
		has_reform = russian_republic_republic
	}
	legacy_equivalent = veche_republic_legacy
	modifiers = {
		governing_capacity = 250
		global_manpower_modifier = 0.20
		max_absolutism = -30
	}
	valid_for_nation_designer = yes
	nation_designer_cost = 0

	fixed_rank = 3

	custom_attributes = {
		enables_plutocratic_idea_group = yes
		enables_aristocratic_idea_group = no
		enables_veche_parties = yes
	}
	conditional = {
		allow = {
			has_dlc = "Res Publica"
			NOT = { has_dlc = "Mare Nostrum" }
			NOT = { has_dlc = "Third Rome" }
		}
		can_use_trade_post = yes
	}
	conditional = {
		allow = {
			has_dlc = "Mare Nostrum"
			NOT = { has_dlc = "Res Publica" }
			NOT = { has_dlc = "Third Rome" }
		}
		can_form_trade_league = yes
		trade_city_reform = trading_city
	}
	conditional = {
		allow = {
			has_dlc = "Res Publica"
			has_dlc = "Mare Nostrum"
			NOT = { has_dlc = "Third Rome" }
		}
		can_use_trade_post = yes
		can_form_trade_league = yes
		trade_city_reform = trading_city
	}
	conditional = {
		allow = {
			has_dlc = "Third Rome"
			NOT = { has_dlc = "Mare Nostrum" }
			NOT = { has_dlc = "Res Publica" }
		}
		government_abilities = {
			russian_mechanic
		}
	}
	conditional = {
		allow = {
			has_dlc = "Third Rome"
			has_dlc = "Mare Nostrum"
			NOT = { has_dlc = "Res Publica" }
		}
		government_abilities = {
			russian_mechanic
		}
		can_form_trade_league = yes
		trade_city_reform = trading_city
	}
	conditional = {
		allow = {
			has_dlc = "Third Rome"
			NOT = { has_dlc = "Mare Nostrum" }
			has_dlc = "Res Publica"
		}
		government_abilities = {
			russian_mechanic
		}
		can_use_trade_post = yes
	}
	conditional = {
		allow = {
			has_dlc = "Third Rome"
			has_dlc = "Mare Nostrum"
			has_dlc = "Res Publica"
		}
		government_abilities = {
			russian_mechanic
		}
		can_use_trade_post = yes
		can_form_trade_league = yes
		trade_city_reform = trading_city
	}
	duration = 10
}

old_swiss_confederation_reform = {
	icon = old_confederacy
	allow_normal_conversion = yes
	potential = {
		OR = {
			has_reform = old_swiss_confederation_reform
			primary_culture = swiss
		}
	}
	valid_for_nation_designer = yes
	nation_designer_cost = 50
	modifiers = {
		republican_tradition = 0.10
		infantry_cost = -0.10
		min_autonomy = 10
		max_absolutism = -50
	}
	custom_attributes = {
		enables_plutocratic_idea_group = yes
		enables_aristocratic_idea_group = no
	}
	duration = 4
	ai = {
		factor = 100
	}
}

caucasian_republic = {
	allow_normal_conversion = yes
	icon = "peasant_republic"
	potential = {
		OR = {
			culture_group = caucasian
			has_reform = caucasian_republic
		}
	}
	valid_for_nation_designer = yes
	nation_designer_cost = 50
	legacy_equivalent = peasants_republic_legacy
	modifiers = {
		num_accepted_cultures = 2
		tolerance_heretic = 1
		max_absolutism = -30
	}
	custom_attributes = {
		enables_plutocratic_idea_group = yes
		enables_aristocratic_idea_group = no
		enables_caucasus_candidates = yes
	}
	factions = {
		GE_orthodox
		GE_coptic
		GE_sunni
	}
	duration = 7
}

common_republic_reform = {
	icon = peasants
	allow_normal_conversion = yes
	potential = {
	}
	valid_for_nation_designer = yes
	nation_designer_cost = 0
	modifiers = {
		max_absolutism = -40
		reelection_cost = 0.15
	}
	custom_attributes = {
		enables_plutocratic_idea_group = yes
		enables_aristocratic_idea_group = no
		enables_peasant_estate = yes
	}
	duration = 4
}

#T2

independence_reform = {
	icon = swiss_army
	allow_normal_conversion = yes
	potential = {
		OR = {
			has_reform = independence_reform
			primary_culture = swiss
		}
	}
	effect = {
		change_variable = {
			which = Populist_Influence
			value = 1
		}
	}
	removed_effect = {
		change_variable = {
			which = Populist_Influence
			value = -1
		}
	}
	modifiers = {
		war_exhaustion = -0.025
		manpower_recovery_speed = 0.10
		infantry_power = 0.05
	}
	ai = {
		factor = 100
	}
}

sovereignity_reform = {
	icon = peasant_republic
	allow_normal_conversion = yes
	potential = {
		OR = {
			has_reform = sovereignity_reform
			has_reform = peasants_republic
		}
	}
	effect = {
		change_variable = {
			which = Populist_Influence
			value = 1
		}
		hidden_effect = {
			ge_country_no_crown_update = yes 
		}
	}
	removed_effect = {
		change_variable = {
			which = Populist_Influence
			value = -1
		}
		hidden_effect = {
			remove_country_modifier = Recognize_No_Crown
		}
	}
	modifiers = {
		hostile_attrition = 1
		defensiveness = 0.1
	}
	custom_attributes = {
		enables_no_crown = yes
	}
	ai = {
		factor = 100
	}
}

hanseatic_ties_reform = {
	icon = merchant
	allow_normal_conversion = yes
	potential = {
		OR = {
			has_reform = hanseatic_ties_reform
			culture_group = east_slavic
		}
		NOT = { has_reform = pirate_republic_reform }
	}
	effect = {
		change_variable = {
			which = Plutocrat_Influence
			value = 1
		}
		hidden_effect = {
			ge_country_hansa_ties_update = yes
		}
	}
	removed_effect = {
		change_variable = {
			which = Plutocrat_Influence
			value = -1
		}
		hidden_effect = {
			remove_country_modifier = Hansa_Ties_5
			remove_country_modifier = Hansa_Ties_4
			remove_country_modifier = Hansa_Ties_3
			remove_country_modifier = Hansa_Ties_2
			remove_country_modifier = Hansa_Ties_1
		}
	}
	modifiers = {
		trade_steering = 0.1
	}
	custom_attributes = {
		enables_hansa_ties = yes #0.10 RT per republic ally or vassal, cap at 5
	}
	ai = {
		factor = 100
	}
}

mixed_republic_reform = {
	icon = peasants
	allow_normal_conversion = yes
	potential = {
		NOT = { has_reform = pirate_republic_reform }
	}
	effect = {
		change_variable = {
			which = Plutocrat_Influence
			value = 1
		}
	}
	removed_effect = {
		change_variable = {
			which = Plutocrat_Influence
			value = -1
		}
	}
	modifiers = {
		reform_progress_growth = 0.30
		monthly_liberalism = 0.1
	}
	government_abilities = {
		liberalism_mechanic
	}
	ai = {
		factor = 1
	}
}

moedernegotie_reform = {
	icon = hansa_trade
	allow_normal_conversion = yes
	potential = {
		OR = {
			primary_culture = dutch
			primary_culture = flemish
			has_reform = moedernegotie_reform
		}
	}
	effect = {
		change_variable = {
			which = Plutocrat_Influence
			value = 1
		}
	}
	removed_effect = {
		change_variable = {
			which = Plutocrat_Influence
			value = -1
		}
	}
	modifiers = {
		global_prov_trade_power_modifier = 0.20
		navy_tradition = 0.5
		burghers_influence_modifier = 0.10
		burghers_loyalty_modifier = 0.05
	}
	ai = {
		factor = 100
	}
	#5% Burgher Influence, 10% Burgher Loyalty
}

peasant_council_reform = {
	icon = peasant_republic
	allow_normal_conversion = yes
	potential = {
		OR = {
			has_reform = peasant_council_reform
			has_reform = peasants_republic
		}
	}
	effect = {
		change_variable = {
			which = Populist_Influence
			value = 1
		}
		hidden_effect = {
			ge_country_peasant_council_update = yes
		}
	}
	removed_effect = {
		change_variable = {
			which = Populist_Influence
			value = -1
		}
		hidden_effect = {
			remove_country_modifier = Peasant_Council
		}
	}
	modifiers = {
		election_cycle = 1
		peasants_loyalty_modifier = 0.05
	}
	custom_attributes = {
		enables_peasant_council = yes
	}
	ai = {
		factor = 100
	}
}

princes_of_novogorod_reform = {
	icon = merchant
	allow_normal_conversion = yes
	potential = {
		OR = {
			has_reform = princes_of_novogorod_reform
			culture_group = east_slavic
		}
	}
	effect = {
		change_variable = {
			which = Plutocrat_Influence
			value = 1
		}
	}
	removed_effect = {
		change_variable = {
			which = Plutocrat_Influence
			value = -1
		}
	}
	modifiers = {
		max_absolutism = 10
	}
	custom_attributes = {
		enables_princes_of_novogorod = yes
	}
	ai = {
		factor = 100
	}
}

factional_elections_reform = {
	icon = "paper_with_seal_3"
	allow_normal_conversion = yes
	potential = { }
	trigger = {
		NOT = {
			OR = {
				has_reform = dutch_republic
				has_reform = american_government
			}
		}
	}
	effect = {
		change_variable = {
			which = Plutocrat_Influence
			value = 1
		}
	}
	removed_effect = {
		change_variable = {
			which = Plutocrat_Influence
			value = -1
		}
	}
	modifiers = {
		republican_tradition = 0.1
		stability_cost_modifier = 0.15
	}
	custom_attributes = {
		enable_factional_elections = yes
	}
	ai = {
		factor = 1
	}
}

captain_and_defender_reform = {
	icon = "italian_mercenary"
	allow_normal_conversion = yes
	potential = { has_reform = ambrosian_republic }
	trigger = { has_reform = ambrosian_republic }
	modifiers = {
		merc_maintenance_modifier = -0.15
		max_absolutism = 5
	}
	effect = {
		change_variable = {
			which = Populist_Influence
			value = 1
		}
	}
	removed_effect = {
		change_variable = {
			which = Populist_Influence
			value = -1
		}
	}
	custom_attributes = {
		enables_sforza = yes
	}
	ai = {
		factor = 100
	}
}

vroedschappen_reform = {
	icon = vroedschap
	allow_normal_conversion = yes
	potential = {
		OR = {
			primary_culture = dutch
			primary_culture = flemish
			has_reform = vroedschappen_reform
		}
	}
	effect = {
		change_variable = {
			which = Plutocrat_Influence
			value = 1
		}
	}
	removed_effect = {
		change_variable = {
			which = Plutocrat_Influence
			value = -1
		}
	}
	modifiers = {
		candidate_random_bonus = 2
		stability_cost_modifier = -0.10
	}
	ai = {
		factor = 100
	}
	#10% Burgher Influence
}

reforms_of_william_3_reform = {
	icon = william_3
	allow_normal_conversion = yes
	potential = {
		OR = {
			primary_culture = dutch
			primary_culture = flemish
			has_reform = reforms_of_william_3_reform
		}
	}
	effect = {
		change_variable = {
			which = Populist_Influence
			value = 1
		}
	}
	removed_effect = {
		change_variable = {
			which = Populist_Influence
			value = -1
		}
	}
	modifiers = {
		mercenary_discipline = 0.05
		reinforce_speed = 0.25
	}
	ai = {
		factor = 100
	}
}

reform_the_condotierri_reform = {
	icon = swiss_mercenaries
	allow_normal_conversion = yes
	potential = {
		OR = {
			has_reform = reform_the_condotierri_reform
			primary_culture = swiss
		}
	}
	effect = {
		change_variable = {
			which = Populist_Influence
			value = 1
		}
	}
	removed_effect = {
		change_variable = {
			which = Populist_Influence
			value = -1
		}
	}
	modifiers = {
		army_tradition = 0.5
		land_forcelimit_modifier = 0.15
		possible_condottieri = 0.5
	}
	ai = {
		factor = 100
	}
}

peasant_militia_reform = {
	icon = peasant_republic
	allow_normal_conversion = yes
	potential = {
		OR = {
			has_reform = peasant_militia_reform
			has_reform = peasants_republic
		}
	}
	effect = {
		change_variable = {
			which = Populist_Influence
			value = 1
		}
	}
	removed_effect = {
		change_variable = {
			which = Populist_Influence
			value = -1
		}
	}
	modifiers = {
		fire_damage_received = -0.10
		peasants_loyalty_modifier = 0.05
	}
	custom_attributes = {
		enables_bear_arms = yes #privilege, -20% infantry cost and +2 unrest, scaled
	}
	ai = {
		factor = 100
	}
}

russian_republic_army_reform = {
	icon = merchant
	allow_normal_conversion = yes
	potential = {
		OR = {
			has_reform = russian_republic_army_reform
			culture_group = east_slavic
		}
	}
	effect = {
		change_variable = {
			which = Plutocrat_Influence
			value = 1
		}
	}
	removed_effect = {
		change_variable = {
			which = Plutocrat_Influence
			value = -1
		}
	}
	modifiers = {
		army_tradition = 0.5
		global_unrest = -1
	}
	ai = {
		factor = 100
	}
}

republican_guard_reform_republic = {
	icon = "soldiers"
	allow_normal_conversion = yes
	effect = {
		change_variable = {
			which = Populist_Influence
			value = 1
		}
		hidden_effect = {
			country_event = { 
				id = reform_me_events.202
				days = 1
			}
		}
	}
	removed_effect = {
		change_variable = {
			which = Populist_Influence
			value = -1
		}
		hidden_effect = {
			remove_country_modifier = GE_Republican_Guard_1
			remove_country_modifier = GE_Republican_Guard_2
			remove_country_modifier = GE_Republican_Guard_3
			remove_country_modifier = GE_Republican_Guard_4
			remove_country_modifier = GE_Republican_Guard_5
		}
	}
	potential = {
		check_variable ={
			which = Populist_Influence
			value = 2
		}
	}
	trigger = {
		check_variable ={
			which = Populist_Influence
			value = 2
		}
	}
	modifiers = {
		drill_gain_modifier = 0.25
	}
	custom_attributes = {
		enables_republican_guard = yes #+3% ICA and 4% Manpower Recovery for each 10 RT over 50
	}
	ai = {
		factor = 1
	}
}

#####Tier 5#####

volost_colonies_reform = {
	icon = merchant
	allow_normal_conversion = yes
	effect = {
		change_variable = {
			which = Populist_Influence
			value = 1
		}
	}
	removed_effect = {
		change_variable = {
			which = Populist_Influence
			value = -1
		}
	}
	potential = {
		OR = {
			has_reform = volost_colonies_reform
			culture_group = east_slavic
		}
	}
	modifiers = {
		production_efficiency = 0.20
		min_autonomy_in_territories = -0.05
	}
	ai = {
		factor = 100
	}
}

island_republic_reform = {
	icon = admiralty_reform
	allow_normal_conversion = yes
	potential = {
		OR = {
			tag = PIS
			has_reform = island_republic_reform
		}
	}
	effect = {
		change_variable = {
			which = Plutocrat_Influence
			value = 1
		}
	}
	removed_effect = {
		change_variable = {
			which = Plutocrat_Influence
			value = -1
		}
	}
	modifiers = {
		navy_tradition = 1
		global_ship_trade_power = 0.15
		naval_forcelimit_modifier = 0.15
	}
	ai = {
		factor = 100
	}
}

united_indian_companies_reform = {
	icon = voc_ship
	allow_normal_conversion = yes
	potential = {
		OR = {
			primary_culture = dutch
			primary_culture = flemish
			has_reform = united_indian_companies_reform
		}
	}
	effect = {
		change_variable = {
			which = Plutocrat_Influence
			value = 1
		}
	}
	removed_effect = {
		change_variable = {
			which = Plutocrat_Influence
			value = -1
		}
	}
	modifiers = {
		global_prov_trade_power_modifier = 0.20
		trade_company_investment_cost = -0.25
	}
	ai = {
		factor = 100
	}
	#10% Burgher Loyalty
}

confederation_of_cantons_reform = {
	icon = swiss_cantons
	allow_normal_conversion = yes
	potential = {
		OR = {
			has_reform = confederation_of_cantons_reform
			primary_culture = swiss
		}
	}
	effect = {
		change_variable = {
			which = Plutocrat_Influence
			value = 1
		}
	}
	removed_effect = {
		change_variable = {
			which = Plutocrat_Influence
			value = -1
		}
	}
	modifiers = {
		global_garrison_growth = 1
		garrison_size = 0.25
	}
	custom_attributes = {
		enables_mountain_towns = yes
	}
	ai = {
		factor = 100
	}
}

clergical_administration_reform = {
	icon = peasant_republic
	allow_normal_conversion = yes
	potential = {
		OR = {
			has_reform = clergical_administration_reform
			has_reform = peasants_republic
		}
	}
	effect = {
		change_variable = {
			which = Oliarch_Influence
			value = 1
		}
	}
	removed_effect = {
		change_variable = {
			which = Oliarch_Influence
			value = -1
		}
	}
	modifiers = {
		governing_capacity = 150
		years_of_nationalism = -5
	}
	# custom_attributes = {
		# enables_local_bishoprics = yes
	# }
	ai = {
		factor = 100
	}
}

ware_vrijheid_reform = {
	icon = dutch_tulip_field
	allow_normal_conversion = yes
	potential = {
		OR = {
			primary_culture  = dutch
			primary_culture  = flemish
			has_reform = ware_vrijheid_reform
		}
		NOT = {
			has_reform = pirate_republic_reform
		}
	}
	effect = {
		change_variable = {
			which = Populist_Influence
			value = 1
		}
	}
	removed_effect = {
		change_variable = {
			which = Populist_Influence
			value = -1
		}
	}
	modifiers = {
		republican_tradition = 0.25
		reform_progress_growth = 0.15
	}
	ai = {
		factor = 100
	}
	#-10 Noble Influence, -10% Noble Loyalty
}

stadholder_reform = {
	icon = Stadholder
	allow_normal_conversion = yes
	potential = {
		NOT = {
			has_reform = pirate_republic_reform
		}
	}
	trigger = { }
	effect = {
		change_variable = {
			which = Oliarch_Influence
			value = 1
		}
	}
	removed_effect = {
		change_variable = {
			which = Oliarch_Influence
			value = -1
		}
	}
	modifiers = {
		republican_tradition = -0.5
		max_absolutism = 5
		army_tradition = 1
		nobles_influence_modifier = 0.15
	}
	royal_marriage = yes
	ai = {
		factor = 100
	}
}

council_of_lords_reform = {
	icon = merchant
	allow_normal_conversion = yes
	potential = {
		OR = {
			has_reform = council_of_lords_reform
			culture_group = east_slavic
		}
		NOT = {
			has_reform = pirate_republic_reform
		}
	}
	modifiers = {
		tolerance_own = 1
		state_maintenance_modifier = -0.20
	}
	effect = {
		change_variable = {
			which = Noble_Influence
			value = 1
		}
		hidden_effect = {
			country_event = { 
				id = reform_me_events.33
				days = 1
			}
		}
	}
	removed_effect = {
		change_variable = {
			which = Noble_Influence
			value = -1
		}
		hidden_effect = {
			remove_country_modifier = Holy_Tithe_1
			remove_country_modifier = Holy_Tithe_2
			remove_country_modifier = Holy_Tithe_3
			remove_country_modifier = Holy_Tithe_4
			remove_country_modifier = Holy_Tithe_5
		}
	}
	custom_attributes = {
		enables_holy_tithe = yes #5% Tax per TOTF over 4
	}
	ai = {
		factor = 100
	}
}

hansa_representatives_reform = {
	icon = peasant_republic
	allow_normal_conversion = yes
	potential = {
		OR = {
			has_reform = hansa_representatives_reform
			has_reform = peasants_republic
		}
		NOT = {
			has_reform = pirate_republic_reform
		}
	}
	modifiers = {
		global_prov_trade_power_modifier = 0.15
	}
	effect = {
		change_variable = {
			which = Plutocrat_Influence
			value = 1
		}
		#hidden_effect = {
		#	every_owned_province = {
		#		ge_return_to_sender_province_update = yes
		#	}
		#}
	}
	removed_effect = {
		change_variable = {
			which = Plutocrat_Influence
			value = -1
		}
		#hidden_effect = {
		#	every_owned_province = {
		#		ge_return_to_sender_province_update = yes
		#	}
		#}
	}
	# custom_attributes = {
		# enables_return_to_sender = yes #25% Trade Value in coastal burgher provinces
	# }#fixdis
	ai = {
		factor = 100
	}
}

confederate_nations_reform = {
	icon = peasant_republic
	allow_normal_conversion = yes
	potential = {
		NOT = {
			has_reform = pirate_republic_reform
		}
	}
	modifiers = {
		num_accepted_cultures = 2
	}
	effect = {
		change_variable = {
			which = Populist_Influence
			value = 1
		}
		hidden_effect = {
			every_owned_province = {
				ge_nations_of_the_republic_province_update = yes
			}
		}
	}
	removed_effect = {
		change_variable = {
			which = Populist_Influence
			value = -1
		}
		hidden_effect = {
			every_owned_province = {
				remove_province_modifier = GE_nations_of_the_republic
			}
		}
	}
	custom_attributes = {
		enables_nations_of_the_republic = yes #-10%GC for accepted cultures&+15% tax
	}
	ai = {
		factor = 100
	}
}

#T6

supreme_court_reform = {
	icon = judge
	allow_normal_conversion = yes
	potential = {
		always = yes
	}
	modifiers = {
		country_admin_power = 1
		max_absolutism = -10
		monthly_liberalism = 0.1
		advisor_pool = 1
	}
	government_abilities = {
		liberalism_mechanic
	}
	ai = {
		factor = 1
	}
}

cultural_judges_reform = {
	icon = judge
	allow_normal_conversion = yes
	potential = {
		always = yes
	}
	modifiers = {
		culture_conversion_cost = -0.15
		#same_culture_advisor_cost = -0.10
		global_unrest = 1
	}
	custom_attributes = {
		enables_cultural_supremacy = yes #-15% governing cap cost for primary culture provinces
	}
	effect = {
		hidden_effect = {
			every_owned_province = {
				ge_cultural_supremacy_province_update = yes
			}
		}
	}
	removed_effect = {
		hidden_effect = {
			every_owned_province = {
				remove_province_modifier = GE_cultural_supremacy
			}
		}
	}
	ai = {
		factor = 1
	}
}

confederation_of_states_reform = {
	icon = confederation_of_states
	allow_normal_conversion = yes
	potential = {
		OR = {
			primary_culture  = dutch
			primary_culture  = flemish
			has_reform = confederation_of_states_reform
		}
	}
	modifiers = {
		diplomatic_upkeep = 1
		improve_relation_modifier = 0.15
		max_absolutism = -10
		monthly_liberalism = 0.1
	}
	government_abilities = {
		liberalism_mechanic
	}
	ai = {
		factor = 100
	}
}

hansa_domination_reform = {
	icon = peasant_republic
	allow_normal_conversion = yes
	can_use_trade_post = yes
	potential = {
		OR = {
			has_reform = hansa_domination_reform
			has_reform = peasants_republic
		}
	}
	modifiers = {
		merchants = 1
		diplomatic_reputation = 1
	}
	ai = {
		factor = 100
	}
}

empowered_aristocratic_courts_reform = {
	icon = judge
	allow_normal_conversion = yes
	potential = {
		check_variable = {
			which = Oliarch_Influence
			value = 3
		}
	}
	trigger = {
		check_variable = {
			which = Oliarch_Influence
			value = 3
		}
	}
	modifiers = {
		yearly_corruption = -0.10
		state_maintenance_modifier = -0.15
	}
	custom_attributes = {
		enables_magnate_law = yes
		enables_aristocratic_idea_group = yes
		enables_plutocratic_idea_group = no
	}
	ai = {
		factor = 1
	}
}

empowered_sovereign_trade_companies_reform = {
	icon = colonial_rule
	allow_normal_conversion = yes
	potential = {
		check_variable = {
			which = Plutocrat_Influence
			value = 3
		}
	}
	trigger = {
		check_variable = {
			which = Plutocrat_Influence
			value = 3
		}
	}
	modifiers = {
		max_absolutism = -5
		trade_company_investment_cost = -0.10
		ae_impact = -0.10
	}
	effect = {
		hidden_effect = {
			every_owned_province = {
				ge_voc_mentality_province_update = yes
			}
		}
	}
	removed_effect = {
		hidden_effect = {
			every_owned_province = {
				remove_province_modifier = Soverein_Trade_Company
			}
		}
	}
	custom_attributes = {
		enables_voc_mentality = yes
	}
	ai = {
		factor = 1
	}
}

empowered_consolidation_of_power_reform = {
	icon = imperial_inquisition
	allow_normal_conversion = yes
	potential = {
		check_variable = {
			which = Populist_Influence
			value = 3
		}
	}
	trigger = {
		check_variable = {
			which = Populist_Influence
			value = 3
		}
	}
	modifiers = {
		yearly_absolutism = 2
		max_absolutism = 25
		max_absolutism_effect = 0.15
		reelection_cost = -0.1
	}
	custom_attributes = {
		absolutism_reduction_on_ruler_death = yes
		reelection_increases_absolutism = yes
	}
	ai = {
		factor = 1
	}
}
empowered_senate_reform = {
	icon = judge
	allow_normal_conversion = yes
	potential = {
		check_variable = {
			which = Populist_Influence
			value = 3
		}
	}
	trigger = {
		check_variable = {
			which = Populist_Influence
			value = 3
		}
	}
	modifiers = {
		max_absolutism = -10
		free_dip_policy = 1
		yearly_corruption = -0.10
		monthly_liberalism = 0.1
	}
	government_abilities = {
		liberalism_mechanic
	}
	ai = {
		factor = 1
	}
}

#T7

national_principle_reform = {
	icon = soldiers
	allow_normal_conversion = yes
	potential = {
		always = yes
	}
	modifiers = {
		free_mil_policy = 1
		possible_mil_policy = 1
	}
	ai = {
		factor = 1
	}
}

liberal_principle_reform = {
	icon = free_city
	allow_normal_conversion = yes
	potential = {
		always = yes
	}
	modifiers = {
		monthly_liberalism = 0.2
	}
	government_abilities = {
		liberalism_mechanic
	}
	custom_attributes = {
		enables_capitalism = yes #+25% goods produced and -100% tax income if you have over 75% liberalism
	}
	ai = {
		factor = 1
	}
}

tolerant_principle_reform = {
	icon = dutch_tolerance
	allow_normal_conversion = yes
	potential = {
		OR = {
			primary_culture  = dutch
			primary_culture  = flemish
			has_reform = tolerant_principle_reform
		}
	}
	modifiers = {
		religious_unity = 0.20
		advisor_cost = -0.10
		advisor_pool = 1
	}
	ai = {
		factor = 100
	}
	#-10 Church Influence, -10% Church Loyalty
}

independent_principle_reform = {
	icon = peasant_republic
	allow_normal_conversion = yes
	potential = {
		OR = {
			has_reform = independent_principle_reform
			has_reform = peasants_republic
		}
	}
	modifiers = {
		possible_mil_policy = 1
		war_exhaustion = -0.025
	}
	ai = {
		factor = 100
	}
}

empowered_principle_of_heritage_reform = {
	icon = soldiers_2
	allow_normal_conversion = yes
	potential = {
		has_estate = estate_nobles
		check_variable = {
			which = Oliarch_Influence
			value = 3
		}
	}
	trigger = {
		check_variable = {
			which = Oliarch_Influence
			value = 3
		}
	}
	modifiers = {
		nobles_loyalty_modifier = 0.05
	}
	custom_attributes = {
		enables_veteran_general = yes
	}
	ai = {
		factor = 1
	}
}

empowered_principle_of_profit_reform = {
	icon = economy_trade
	allow_normal_conversion = yes
	potential = {
		check_variable = {
			which = Plutocrat_Influence
			value = 3
		}
	}
	trigger = {
		check_variable = {
			which = Plutocrat_Influence
			value = 3
		}
	}
	modifiers = {
		interest = -1
		trade_steering = 0.25
	}
	custom_attributes = {
		enables_home_market = yes
	}
	effect = {
		hidden_effect = {
			country_event = { 
				id = reform_me_events.118
				days = 1
			}
		}
	}
	removed_effect = {
		hidden_effect = {
			remove_country_modifier = Home_Market_1
			remove_country_modifier = Home_Market_2
			remove_country_modifier = Home_Market_3
			remove_country_modifier = Home_Market_4
			remove_country_modifier = Home_Market_5
			remove_country_modifier = Home_Market_6
			remove_country_modifier = Home_Market_7
			remove_country_modifier = Home_Market_8
			remove_country_modifier = Home_Market_9
			remove_country_modifier = Home_Market_10
		}
	}
	ai = {
		factor = 1
	}
}

empowered_principle_of_power_reform = {
	icon = french_louis
	allow_normal_conversion = yes
	potential = {
		check_variable = {
			which = Populist_Influence
			value = 3
		}
	}
	trigger = {
		check_variable = {
			which = Populist_Influence
			value = 3
		}
	}
	modifiers = {
		election_cycle = 1
		reelection_cost = -0.15
		republican_tradition = -0.1
	}
	effect = {
		hidden_effect = {
			country_event = { 
				id = reform_me_events.145
				days = 1
			}
		}
	}
	removed_effect = {
		hidden_effect = {
			remove_country_modifier = Long_Reign
		}
	}
	custom_attributes = {
		enables_long_reign = yes
	}
	ai = {
		factor = 1
	}
}


#T8

one_man_one_vote_reform = {
	icon = peasant_republic
	allow_normal_conversion = yes
	potential = {
		always = yes
	}
	modifiers = {
		global_unrest = -1
		promote_culture_cost = -0.50
	}
	ai = {
		factor = 1
	}
}

regents_reform = {
	icon = regents
	allow_normal_conversion = yes
	potential = {
		OR = {
			primary_culture = dutch
			primary_culture = flemish
			has_reform = regents_reform
		}
	}
	modifiers = {
		development_cost = -0.10
	}
	effect = {
		hidden_effect = {
			every_owned_province = {
				ge_Regent_Investments_province_update = yes
			}
		}
	}
	removed_effect = {
		hidden_effect = {
			every_owned_province = {
				remove_province_modifier = Regent_Investments
			}
		}
	}
	custom_attributes = {
		enables_regent_investments = yes
	}
	ai = {
		factor = 100
	}
	#5 Burgher Influence, 10% Burgher Loyalty
}

peasantry_reform = {
	icon = peasant_republic
	allow_normal_conversion = yes
	potential = {
		OR = {
			has_reform = peasantry_reform
			has_reform = peasants_republic
		}
	}
	modifiers = {
		infantry_cost = -0.15
		infantry_power = 0.10
		army_tradition_decay = 0.01
	}
	ai = {
		factor = 100
	}
}

#T9

raadspensionaris_reform = {
	icon = raadspensionaris
	allow_normal_conversion = yes
	potential = {
		OR = {
			primary_culture = dutch
			primary_culture = flemish
			has_reform = raadspensionaris_reform
		}
	}
	modifiers = {
		free_dip_policy = 1
		global_autonomy = -0.025
	}
	ai = {
		factor = 100
	}
}

hansa_universities_reform = {
	icon = peasant_republic
	allow_normal_conversion = yes
	potential = {
		OR = {
			has_reform = hansa_universities_reform
			has_reform = peasants_republic
		}
	}
	modifiers = {
		advisor_pool = 1
		dip_advisor_cost = -0.15
		global_institution_spread = 1
	}
	custom_attributes = {
		enables_attracting_academics = yes #12.5% Innovativeness Gain per 20 prestige
	}
	effect = {
		hidden_effect = {
			country_event = { 
				id = reform_me_events.100
				days = 1
			}
		}
	}
	removed_effect = {
		hidden_effect = {
			remove_country_modifier = Hansa_Academics_1
			remove_country_modifier = Hansa_Academics_2
			remove_country_modifier = Hansa_Academics_3
			remove_country_modifier = Hansa_Academics_4
		}
	}
	ai = {
		factor = 100
	}
}