hermit_kingdom_reform = {
	icon = "celestial_empire"
	allow_normal_conversion = no
	valid_for_nation_designer = yes
	nation_designer_cost = 30
	potential = {
		NOT = { has_dlc = "Domination"}
		OR = {
			primary_culture = korean 
			has_reform = hermit_kingdom_reform
		}
	}
	trigger = {
		OR = {
			has_reform = hermit_kingdom_reform
			primary_culture = korean
		}
	}
	modifiers = {
		defensiveness = 0.2
	}
	effect = {
		hidden_effect = {
			country_event = { 
				id = reform_me_events.173
				days = 1
			}
		}
	}
	removed_effect = {
		hidden_effect = {
			remove_country_modifier = Hermit_five
			remove_country_modifier = Hermit_ten
			remove_country_modifier = Hermit_fifteen
		}
	}
	custom_attributes = {
		enables_peace_development_reduction = yes
	}
}
nobi_jongbubub_reform= {
	icon = "people_walking"
	allow_normal_conversion = yes
	potential = {
		OR = {
			primary_culture = korean
			has_reform = nobi_jongbubub_reform
		}
	}
	trigger = {
		OR = {
			has_reform = nobi_jongbubub_reform
			primary_culture = korean
		}
	}
	effect = {
		change_variable = {
			which = Noble_Influence
			value = 1
		}
	}
	modifiers = {
		stability_cost_modifier = -0.15
		global_trade_goods_size_modifier = 0.05
	}
	removed_effect = {
		change_variable = {
			which = Noble_Influence
			value = -1
		}
	}
	ai = {
		factor = 1
	}
}
nobi_jongmobub_reform = {
	icon = "king_2"
	allow_normal_conversion = yes
	potential = {
		OR = {
			primary_culture = korean
			has_reform = nobi_jongmobub_reform
		}
	}
	trigger = {
		OR = {
			has_reform = nobi_jongmobub_reform
			primary_culture = korean
		}
	}
	effect = {
		change_variable = {
			which = Royal_Influence
			value = 1
		}
	}
	modifiers = {
		global_tax_modifier = 0.1
	}
	# custom_attributes = {
	#	# enables_abolish_noble_customs = yes # +15% Local Trade Power and Production Efficiency in noble estate provinces
	# }
	removed_effect = {
		change_variable = {
			which = Royal_Influence
			value = -1
		}
	}
	ai = {
		factor = 1
	}
}
bangyesurok_reform = {
	icon = "king"
	allow_normal_conversion = yes
	effect = {
		#change_variable = {
		#	which = Royal_Influence
		#	value = 1
		#}
		add_estate_loyalty = {
			estate = estate_nobles
			loyalty = -10
		}
		add_estate_loyalty = {
			estate = estate_church
			loyalty = -10
		}
		add_estate_loyalty = {
			estate = estate_burghers
			loyalty = -10
		}
	}
	removed_effect = {
		add_estate_loyalty = {
			estate = estate_nobles
			loyalty = 5
		}
		add_estate_loyalty = {
			estate = estate_church
			loyalty = 5
		}
		add_estate_loyalty = {
			estate = estate_burghers
			loyalty = 5
		}
	}
	potential = {
		OR = {
			primary_culture = korean
			has_reform = bangyesurok_reform 
		}
	}
	trigger = {
		OR = {
			has_reform = bangyesurok_reform
			primary_culture = korean
		}
	}
	modifiers = {
		yearly_corruption = -0.1	
	}
	custom_attributes = {
		enables_global_tax_modifier_buff = yes
	}
	ai = {
		factor = 100
	}
}
euijung_bu_seosajae_reform= {
	icon = "asian_scripture"
	allow_normal_conversion = yes
	modifiers = {
		advisor_pool = 1
		advisor_cost = -0.2
		max_absolutism = -5
	}
	potential = {
		OR = {
			has_reform = euijung_bu_seosajae_reform
			primary_culture = korean
		}
	}
	trigger = {
		OR = {
			has_reform = euijung_bu_seosajae_reform
			primary_culture = korean
		}
	}
}
jaeseungbangryak_reform = {
	icon = "fort"
	allow_normal_conversion = yes
	modifiers = {
		movement_speed = 0.2
		#regiment_recruit_speed = -0.2
	}
	potential = {
		OR = {
			has_reform = jaeseungbangryak_reform
			primary_culture = korean
		}
	}
	trigger = {
		OR = {
			has_reform = jaeseungbangryak_reform
			primary_culture = korean
		}
	}
	custom_attributes = {
		enables_central_army_conscription = yes
	}
	effect = {
		if = {
			limit = {
				has_country_flag = KOR_GE_refund
			}
			change_government_reform_progress = 75
			clr_country_flag = KOR_GE_refund
		}
	}
}
five_military_force_reform = {
	icon = "hesse_jaegers"
	allow_normal_conversion = yes
	modifiers = {
		fire_damage = 0.1
		land_maintenance_modifier = -0.05
	}
	potential = {
		OR = {
			has_reform = five_military_force_reform
			primary_culture = korean
		}
	}
	trigger = {
		OR = {
			has_reform = five_military_force_reform
			primary_culture = korean
		}
	}
}
reinforce_the_hwangog_reform = {
	icon = "banker"
	allow_normal_conversion = yes
	effect = {
		hidden_effect = {
			every_owned_province = {
				ge_hwangog_province_update = yes
			}
		}
	}
	removed_effect = {
		hidden_effect = {
			every_owned_province = {
				remove_province_modifier = GE_hwangog
			}
		}
	}
	modifiers = {
		stability_cost_modifier = -0.2
		global_tax_modifier = 0.15
	}
	potential = {
		OR = {
			has_reform = reinforce_the_hwangog_reform
			primary_culture = korean
		}
	}
	trigger = {
		OR = {
			has_reform = reinforce_the_hwangog_reform
			primary_culture = korean
		}
	}
	custom_attributes = {
		enables_better_grain = yes
	}
}
bureaucratic_economy_reform = {
	icon = "asian_scripture"
	allow_normal_conversion = yes
	modifiers = {
		trade_efficiency = -0.05
		production_efficiency = 0.1
		global_tax_modifier = 0.1
	}
	potential = {
		OR = {
			has_reform = bureaucratic_economy_reform
			primary_culture = korean
		}
	}
	trigger = {
		OR = {
			has_reform = bureaucratic_economy_reform
			primary_culture = korean
		}
	}
	custom_attributes = {
		enables_bureaucracy_autonomy = yes
	}
}
korean_bureaucracy_reform = {
	icon = "celestial_empire"
	allow_normal_conversion = yes
	modifiers = {
		global_autonomy = -0.1
	}
	potential = {
		OR = {
			has_reform = korean_bureaucracy_reform
			primary_culture = korean
		}
	}
	trigger = {
		OR = {
			has_reform = korean_bureaucracy_reform
			primary_culture = korean
		}
	}
	custom_attributes = {
		enables_korean_bureaucracy = yes
		#enables_jurisprudence = yes
	}
}