political_actions = {
	MON_rename_capital = {
		
		icon = generic_decision

		allowed = {
			OR = {
				tag = MON
				tag = MEN
			}
		}

		available = {
			owns_state = 330
			NOT = {
				has_government = communism
			}
		}

		visible = {
			owns_state = 330
			NOT = {
				has_government = communism
			}
		}

		fire_only_once = yes

		ai_will_do = {
			factor = 1
		}

		complete_effect = {
			country_event = { id = MON.60 }
		}
	}
	MON_constitutional_monarchy = {
		
		icon = generic_nationalism

		allowed = {
			tag = MON
		}

		available = {
			has_government = democratic
		}

		visible = {
			has_government = democratic
		}

		fire_only_once = yes

		ai_will_do = {
			factor = 1
		}

		complete_effect = {
			country_event = { id = MON.6 }
		}
	}
}

economy_decisions = {
	MON_sedentarization = {
		
		icon = generic_construction

		allowed = {
			original_tag = MON
		}

		available = {
			num_of_civilian_factories_available_for_projects > 1
		}

		visible = {
			tag = MON
			has_idea = MON_agriculture_idea
			NOT = { has_completed_focus = MON_compromise_feudals }
		}
		fire_only_once = yes

		cost = 150
		days_remove = 200

		modifier = {
			civilian_factory_use = 2
		}

		remove_effect = {
			swap_ideas = {
				remove_idea = MON_agriculture_idea
				add_idea = MON_agriculture_idea_sedentarization
			}
			remove_ideas = MON_nomadic
		}
	}
}

foreign_politics = {
	MON_finalize_mengjiang = {

		icon = generic_form_nation

		allowed = {
			tag = JAP
		}

		available = {
			761 = {
				OR = {
					is_controlled_by = JAP
					controller = { is_puppet_of = JAP }
				}
			}
			611 = {
				OR = {
					is_controlled_by = JAP
					controller = { is_puppet_of = JAP }
				}
			}
			612 = {
				OR = {
					is_controlled_by = JAP
					controller = { is_puppet_of = JAP }
				}
			}
			621 = {
				OR = {
					is_controlled_by = JAP
					controller = { is_puppet_of = JAP }
				}
			}
			746 = {
				OR = {
					is_controlled_by = JAP
					controller = { is_puppet_of = JAP }
				}
			}
			616 = {
				OR = {
					is_controlled_by = JAP
					controller = { is_puppet_of = JAP }
				}
			}
			756 = {
				OR = {
					is_controlled_by = JAP
					controller = { is_puppet_of = JAP }
				}
			}
			618 = {
				OR = {
					is_controlled_by = JAP
					controller = { is_puppet_of = JAP }
				}
			}
		}

		visible = {
			tag = JAP
			MEN = {
				OR = {
					is_subject_of = JAP
					is_subject_of = MAN
				}
				NOT = { has_completed_focus = MEN_invade_MON }
			}
		}
		fire_only_once = yes
		cost = 50
		days_remove = 90
		remove_effect = {
			MEN = {
				set_cosmetic_tag = MEN_MON
				add_country_leader_trait = cooperative_leader
				set_state_owner = 761
				set_state_owner = 611
				set_state_owner = 612
				set_state_owner = 621
				set_state_owner = 746
				set_state_owner = 616
				set_state_owner = 756
				set_state_owner = 618
				annex_country = { target = MON }
			}
		}
	}

	MON_mengjiang_success = {

		icon = generic_form_nation

		allowed = {
			tag = MEN
		}

		available = {
			has_completed_focus = MEN_invade_MON
			owns_state = 330
		}

		visible = {
			has_completed_focus = MEN_invade_MON
		}

		fire_only_once = yes

		complete_effect = {
			set_cosmetic_tag = MEN_MON
			add_stability = 0.1
			add_political_power = 100
			add_autonomy_ratio = {
				value = 0.5
				localization = MEN_khalkha_victory
			}
		}
	}
}

MON_additional_troops = {

	MON_suiyuan_troops = {
		icon = generic_generic_nationalism
	
		allowed = {
			OR = { 
				tag = MON
				tag = MEN
			}
		}

		available = {
			controls_state = 621
		}

		visible = {
			controls_state = 621
		}

		fire_only_once = yes

		cost = 25
		days_remove = 15
		remove_effect = {
			random_owned_controlled_state = {
				prioritize = { 621 }
				create_unit = { 
					division = "name = \"Ordos\" division_template = \"Morit Diviziin\"" 
					owner = ROOT
				}
			}
		}
	}

	MON_ningxia_troops = {
		icon = generic_generic_nationalism
	
		allowed = {
			OR = { 
				tag = MON
				tag = MEN
			}
			controls_state = 616
		}

		visible = {
			OR = { 
				tag = MON
				tag = MEN
			}
			controls_state = 616
		}

		fire_only_once = yes

		cost = 25
		days_remove = 15
		remove_effect = {
			random_owned_controlled_state = {
				prioritize = { 616 }
				create_unit = { 
					division = "name = \"Tumeds\" division_template = \"Morit Diviziin\"" 
					owner = ROOT
				}
			}
		}
	}

	MON_khalkha_troops = {
		icon = generic_generic_nationalism
	
		allowed = {
			tag = MEN
		}

		available = {
			controls_state = 330
		}

		visible = {
			controls_state = 330
		}

		fire_only_once = yes

		cost = 25
		days_remove = 15
		remove_effect = {
			random_owned_controlled_state = {
				prioritize = { 330 }
				create_unit = { 
					division = "name = \"Khalkhas\" division_template = \"Morit Diviziin\"" 
					owner = ROOT
				}
			}
		}
	}
	#Buryat
	#Kalmyk
}

operations = {
	MON_retake_mongolia = {

		icon = generic_generic_nationalism

		allowed = {
			is_literally_china = yes
		}

		available = {
			NOT = { has_non_aggression_pact_with = MON }
			has_war = no
			is_subject = no
		}

		visible = {
			is_neighbor_of = MON
			MON = { 
				is_in_faction = no
				is_subject = no
			}
		}

		fire_only_once = yes

		cost = 100

		complete_effect = {
			create_wargoal = { type = annex_everything target = MON }
		}
	}
}

#Help USSR: cold acclimatization, cavalry speed