country_decisions = {
	reforms_me_french_reformed_feudalism = {
		potential = {
			OR = {
				has_reform = ge_french_feudalism_reform
				AND = {
					tag = FRA
					NOT = { has_reform = ge_french_absolutism_reform }
					NOT = { has_reform = ge_ancien_regime_reform }
					NOT = { has_dlc = "Domination"}
				}
			}
		}
		allow = {
			OR = {
				has_reform = ge_weak_burghers_reform
				AND = {
					monthly_income = 40
					land_forcelimit = 60
				}
			}
			NOT = {
				estate_influence = {
					estate = estate_nobles
					influence = 60
				}
			}
			estate_loyalty = {
				estate = estate_nobles
				loyalty = 40
			}
		}
		effect = {
			add_stability = -1
			add_government_reform = ge_ancien_regime_reform
		}
		major = yes
		color = { 3 130 100 }
		ai_importance = 50
		ai_will_do = {
			factor = 1
		}
	}

	reforms_me_ge_french_absolutism_reform = {
		potential = {
			has_reform = ge_ancien_regime_reform
		}
		allow = {
			has_reform = ge_droit_divine_reform
			current_age = age_of_absolutism
		}
		effect = {
			add_government_reform = ge_french_absolutism_reform
		}
		major = yes
		color = { 3 130 100 }
		ai_importance = 50
		ai_will_do = {
			factor = 1
		}
	}

	reforms_me_empire_of_serbia = {
		potential = {
			has_reform = serbian_despotate_reform
		}
		allow = {
			total_development = 300
		}
		effect = {
			add_government_reform = serbian_empire_reform
		}
		major = yes
		color = { 3 130 100 }
		ai_importance = 50
		ai_will_do = {
			factor = 1
		}
	}

	reforms_GE_great_russian_republic = {
		potential = {
			NOT = { has_reform = russian_republic_republic }
			was_tag = NOV
		}
		allow = {
			was_tag = NOV
			government_rank = 3
		}
		effect = {
			change_government = republic
			add_government_reform = russian_republic_republic
			add_republican_tradition = 50
		}
		major = yes
		color = { 3 130 100 }
		ai_importance = 50
		ai_will_do = {
			factor = 0
		}
	}

	reforms_me_habsburg_monarchy = {
		potential ={
			OR = {
				has_reform = arch_duchy_reform
				has_reform = austrian_archduchy_reform
			}
		}
		allow = {
			OR = {
				senior_union_with = BOH
				owns = 266
			}
			OR = {
				senior_union_with = HUN
				owns = 153
			}
		}
		effect = {
			add_government_reform = habsburg_monarchy_reform
		}
		major = yes
		color = { 3 130 100 }
		ai_importance = 50
		ai_will_do = {
			factor = 1
		}
	}

	reforms_me_austrian_empire = {
		potential ={
			has_reform = habsburg_monarchy_reform
		}
		allow = {
			absolutism = 50
			owns = 266
			owns = 153
			total_development = 500
		}
		effect = {
			add_government_reform = austrian_empire_reform
		}
		major = yes
		color = { 3 130 100 }
		ai_importance = 50
		ai_will_do = {
			factor = 1
		}
	}


	reforms_GE_hesse_modernization = {
		potential = {
			has_reform = hessian_militarized_monarchy_reform
		}
		allow = {
			absolutism = 50
			army_professionalism = 0.45
			army_tradition = 65
			mil = 4
			stability = 2
			mil_power = 600
		}
		effect = {
			add_stability = -2
			add_mil_power = -600
			add_government_reform = hessian_modern_militarized_monarchy_reform
		}
		major = yes
		color = { 3 130 100 }
		ai_importance = 50
		ai_will_do = {
			factor = 1
		}
	}

	reforms_GE_lithuanian_kingdom = {
		potential = {
			tag = LIT
			is_subject = no
			government = monarchy
			NOT = { has_reform = lithuania_warlord_duke }
		}
		allow = {
			prestige = 75
			legitimacy = 100
			papal_influence = 25
			religion = catholic
		}
		effect = {
			add_government_reform = lithuania_warlord_duke
		}
		major = yes
		color = { 3 130 100 }
		ai_importance = 50
		ai_will_do = {
			factor = 1
		}
	}

	reforms_me_feudal_reform = {
		potential = {
			was_player = yes
			NOT = { is_year = 1450 }
			has_reform = feudalism_reform
		}
		allow = {
			was_player = yes
			NOT = { is_year = 1450 }
			has_reform = feudalism_reform
		}
		effect = {
			remove_government_reform = feudalism_reform
		}
		major = yes
		color = { 3 130 100 }
		ai_importance = 50
		ai_will_do = {
			factor = 1
		}
	}

	reforms_me_jewish_theocracy_reform = {
		potential = {
			religion = jewish
			NOT = { government = theocracy }
		}
		allow = {
		}
		effect = {
			change_government = theocracy
		}
		major = yes
		color = { 3 130 100 }
		ai_importance = 50
		ai_will_do = {
			factor = 0
		}
	}

	reforms_GE_papal_curia_reform = {
		potential = {
			tag = PAP
			custom_trigger_tooltip = {
				tooltip = "kingdom_of_god_tooltip"
				has_country_flag = is_kingdom_of_god_flag
			}
			NOT = { has_reform = papal_curia_reform }
		}
		allow = {
		}
		effect = {
			add_government_reform = papal_curia_reform
		}
		major = yes
		color = { 3 130 100 }
		ai_importance = 50
		ai_will_do = {
			factor = 1
		}
	}

	reforms_GE_consulate_of_the_sea = {
		potential = {
			government = monarchy
			OR = {
				primary_culture = aragonese
				primary_culture = catalan
				culture_group = latin
			}
			NOT = { has_reform = consulate_of_the_sea_GE }
			OR = {
				owns = 220
				owns = 213
				owns = 101
				owns = 116
				owns = 121
				owns = 112
			}
		}
		provinces_to_highlight = {
			OR = {
				province_id = 220
				province_id = 213
				province_id = 101
				province_id = 116
				province_id = 121
				province_id = 112
			}
			NOT = { owned_by = ROOT }
		}
		allow = {
			owns = 220
			owns = 213
			owns = 101
			owns = 116
			owns = 121
			owns = 112
			num_of_light_ship = 100
			1298 = { # Genoa
				is_strongest_trade_power = ROOT
			}
			1308 = { # Venice
				is_strongest_trade_power = ROOT
			}
		}
		effect = {
			add_government_reform = consulate_of_the_sea_GE
		}
		major = yes
		color = { 3 130 100 }
		ai_importance = 50
		ai_will_do = {
			factor = 1
		}
	}

	reforms_GE_consulate_of_the_malay = {
		potential = {
			government = monarchy
			OR = {
				culture_group = malay
			}
			NOT = { has_reform = consulate_of_the_malay }
		}
		provinces_to_highlight = {
			OR = {
				province_id = 594
				province_id = 596
				province_id = 600
				province_id = 613
				province_id = 656
				province_id = 2372
				province_id = 2376
				province_id = 2380
				province_id = 4352
				province_id = 2702
				province_id = 2698
			}
			NOT = { owned_by = ROOT }
		}
		allow = {
			calc_true_if = {
				owns = 594
				owns = 596
				owns = 600
				owns = 613
				owns = 656
				owns = 2372
				owns = 2376
				owns = 2380
				owns = 4352
				owns = 2703
				owns = 2698
				amount = 8
			}
			num_of_light_ship = 100
			1361 = { # Malacca
				is_strongest_trade_power = ROOT
			}
			calc_true_if = {
				1365 = { # Siam
					is_strongest_trade_power = ROOT
				}
				1371 = { # Canton
					is_strongest_trade_power = ROOT
				}
				1357 = { # Moluccas
					is_strongest_trade_power = ROOT
				}
				1397 = { # Philiphines
					is_strongest_trade_power = ROOT
				}
				amount = 2
			}

		}
		effect = {
			add_government_reform = consulate_of_the_malay
		}
		major = yes
		color = { 3 130 100 }
		ai_importance = 50
		ai_will_do = {
			factor = 1
		}
	}

	reforming_mandala_system_decision = {
		potential = {
			has_reform = mandala_reform
		}
		allow = {
			is_free_or_tributary_trigger = yes
			is_at_war = no
			num_of_subjects = 3
			stability = 2
			has_reform = mandala_reform
			NOT = {
				any_subject_country = {
					liberty_desire = 25
				}
			}
		}
		effect = {
			add_stability = -2
			add_prestige = 25
			add_government_reform = basic_reformed_mandala_reform
			add_legitimacy = 25
		}
		major = yes
		color = { 3 130 100 }
		ai_importance = 50
		ai_will_do = {
			factor = 1
		}
	}

	reforms_GE_solar_kingdom_reform = {
		potential = {
			has_reform = basic_reformed_mandala_reform
		}

		allow = {
			stability = 3
			total_development = 500
			is_at_war = no
			num_of_subjects = 10 #Could include Tributaries... this is not unreasonable
		}

		effect = {
			add_stability = -3
			add_government_reform = solar_kingdom_reform
			add_legitimacy = 25
			add_prestige = 25
		}

		major = yes
		color = { 3 130 100 }
		ai_importance = 50
		ai_will_do = {
			factor = 1
		}
	}

	# reforms_GE_solar_kingdom_reform = {
		# potential = {
			# government = monarchy
			# OR = {
				# culture_group = burman
				# culture_group = southeastasian_group
			# }
			# NOT = { has_reform = solar_kingdom_reform }
		# }
		# provinces_to_highlight = {
			# OR = {
				# area = upper_burma_area
				# area = central_burma_area
				# area = lower_burma_area
				# area = central_thai_area
				# area = north_tenasserim_area
				# area = cambodia_area
				# area = mekong_area
			# }
			# NOT = {
				# country_or_non_sovereign_subject_holds = ROOT
			# }
		# }
		# allow = {
			# upper_burma_area = {
				# type = all
				# country_or_non_sovereign_subject_holds = ROOT
			# }
			# central_burma_area = {
				# type = all
				# country_or_non_sovereign_subject_holds = ROOT
			# }
			# lower_burma_area = {
				# type = all
				# country_or_non_sovereign_subject_holds = ROOT
			# }
			# central_thai_area = {
				# type = all
				# country_or_non_sovereign_subject_holds = ROOT
			# }
			# north_tenasserim_area = {
				# type = all
				# country_or_non_sovereign_subject_holds = ROOT
			# }
			# cambodia_area = {
				# type = all
				# country_or_non_sovereign_subject_holds = ROOT
			# }
			# mekong_area = {
				# type = all
				# country_or_non_sovereign_subject_holds = ROOT
			# }
			# stability = 3
		# }
		# effect = {
			# add_stability = -4
			# add_government_reform = solar_kingdom_reform
		# }
		# major = yes
		# color = { 3 130 100 }
		# ai_will_do = {
			# factor = 1
		# }
	# }

	GE_blood_sacrifice = {
		potential = {
			has_government_attribute = enables_blood_sacrifice
		}
		allow = {
			any_subject_country = {
				NOT = {
					liberty_desire = 50
				}
				custom_trigger_tooltip = {
					tooltip = GE_has_been_twenty_years
					NOT = {
						has_country_modifier = GE_favor_of_the_gods
					}
				}
			}
			NOT = {
				has_country_modifier = GE_favor_of_the_gods
			}
		}
		effect = {
			random_subject_country = {
				kill_ruler = yes
				add_liberty_desire = 25
				hidden_effect = {
					add_country_modifier = {
						name = GE_favor_of_the_gods
						duration = 7300
					}
				}
			}
			add_country_modifier = {
				name = GE_favor_of_the_gods
				duration = 1825
			}
		}
		major = yes
		color = { 3 130 100 }
		ai_importance = 50
		ai_will_do = {
			factor = 0
		}
	}

	check_empowered_requirements_again = {
		potential = {
			always = yes
		}
		allow = {
		}
		effect = {
			country_event = { id = GE_Help_Events.1 }
		}
		major = yes
		color = { 3 130 100 }
		ai_importance = 50
		ai_will_do = {
			factor = 0
		}
	}
	GE_time_to_pray = {
		potential = {
			government = monarchy
			uses_devotion = yes
		}
		allow = {
			mil_power = 100
		}
		effect = {
			add_mil_power = -100
			add_devotion = 10
		}
		major = yes
		color = { 3 130 100 }
		ai_importance = 50
		ai_will_do = {
			factor = 0
		}
	}
	GE_emergency_powers = {
		potential = {
			has_government_attribute = enables_emergency_power
		}
		allow = {
			republican_tradition = 20
			NOT = {
				has_ruler_modifier = GE_emergency_powers_modifier
			}
		}
		effect = {
			add_republican_tradition = -20
			add_ruler_modifier = {
				name = GE_emergency_powers_modifier
				duration = 3650
			}
			add_absolutism = 20
		}
		major = yes
		color = { 3 130 100 }
		ai_importance = 50
		ai_will_do = {
			factor = 0
		}
	}
#	GE_Test = {
#		potential = {
#			always = no
#		}
#		allow = {
#			government = monarchy
#			has_government_attribute = enables_yo_momma
#			government = republic
#			government = elective_monarchy
#			has_government_attribute = enables_elective_monarchy
#			has_government_attribute = enables_royal_electors
#			has_government_attribute = enables_papal_favor
#			has_government_attribute = enables_noble_electors
#		}
#		effect = {
#		}
#		color = { 3 130 100 }
#		ai_will_do = {
#			factor = 0
#		}
#	}
}
