investments_china = {
	CRI_buy_hong_kong = {
		icon = generic_political_discourse
		available = {
			check_variable = {
				crimean_common_budget > 5
			}
			has_country_flag = can_invest
		}
		visible = {
			has_completed_focus = CRI_HK_MC
		}
		fire_only_once = no
		cost = 5
		days_remove = 7
		#modifier = {
		#			
		#}
		remove_effect = {
			add_to_variable = {
				var = crimean_hong_kong_influence
				value = 5
			}
			add_to_variable = {
				var = crimean_common_budget
				value = -5
			}
		}
	}
	CRI_buy_macau = {
		icon = generic_political_discourse
		available = {
			check_variable = {
				crimean_common_budget > 5
			}
			has_country_flag = can_invest
		}
		visible = {
			has_completed_focus = CRI_HK_MC
		}
		fire_only_once = no
		cost = 5
		days_remove = 7
		#modifier = {
		#			
		#}
		remove_effect = {
			add_to_variable = {
				var = crimean_macau_influence
				value = 5
			}
			add_to_variable = {
				var = crimean_common_budget
				value = -5
			}
		}
	}
	CRI_buy_qingdao = {
		icon = generic_political_discourse
		available = {
			check_variable = {
				crimean_common_budget > 5
			}
			has_country_flag = can_invest
		}
		visible = {
			has_completed_focus = CRI_expand_HK
		}
		fire_only_once = no
		cost = 5
		days_remove = 7
		#modifier = {
		#			
		#}
		remove_effect = {
			add_to_variable = {
				var = crimean_qingdao_influence
				value = 5
			}
			add_to_variable = {
				var = crimean_common_budget
				value = -5
			}
		}
	}
	CRI_buy_dalian = {
		icon = generic_political_discourse
		available = {
			check_variable = {
				crimean_common_budget > 5
			}
			has_country_flag = can_invest
		}
		visible = {
			has_completed_focus = CRI_expand_HK
		}
		fire_only_once = no
		cost = 5
		days_remove = 7
		#modifier = {
		#			
		#}
		remove_effect = {
			add_to_variable = {
				var = crimean_dalian_influence
				value = 5
			}
			add_to_variable = {
				var = crimean_common_budget
				value = -5
			}
		}
	}
	CRI_buy_zhangjiang = {
		icon = generic_political_discourse
		available = {
			check_variable = {
				crimean_common_budget > 5
			}
			has_country_flag = can_invest
		}
		visible = {
			has_completed_focus = CRI_expand_HK
		}
		fire_only_once = no
		cost = 5
		days_remove = 7
		#modifier = {
		#			
		#}
		remove_effect = {
			add_to_variable = {
				var = crimean_zhangjiang_influence
				value = 5
			}
			add_to_variable = {
				var = crimean_common_budget
				value = -5
			}
		}
	}
	CRI_ignite_mingsplosion = {
		icon = generic_prepare_civil_war
		available = {
			check_variable = {
				crimean_common_budget > 15
			}
			has_country_flag = can_invest
			OR = {
				check_variable = {
					crimean_hong_kong_influence > chinese_hong_kong_influence
				}
				check_variable = {
					crimean_macau_influence > chinese_macau_influence
				}
				check_variable = {
					crimean_qingdao_influence > chinese_qingdao_influence
				}
				check_variable = {
					crimean_dalian_influence > chinese_dalian_influence
				}
				check_variable = {
					crimean_zhangjiang_influence > chinese_zhangjiang_influence
				}
			}
		}
		fire_only_once = yes
		cost = 15
		complete_effect = {
			#clr_country_flag = can_invest
			set_variable = {
				temp_double_hong_kong = chinese_hong_kong_influence
			}
			add_to_variable = {
				var = temp_double_hong_kong
				value = chinese_hong_kong_influence
			}
			if = {
				limit = {
					check_variable = {
						crimean_hong_kong_influence > temp_double_hong_kong
					}
				}
				if = {
					limit = {
						NOT = {
							has_idea = CRI_first_world_country
						}
					}
					add_ideas = CRI_first_world_country
				}
				if = {
					limit = {
						check_variable = {
							crimean_hong_kong_influence > 50
						}
					}
					CRI = {
						puppet = NIR
					}
					PRC = {
						news_event = cr_hk.003
					}
				}
				else = {
					PRC = {
						news_event = cr_hk.002
					}
				}
			}
			else = {
				PRC = {
					news_event = cr_hk.002
				}
			}
			set_variable = {
				temp_double_macau = chinese_macau_influence
			}
			add_to_variable = {
				var = temp_double_macau
				value = chinese_macau_influence
			}
			if = {
				limit = {
					check_variable = {
						crimean_macau_influence > temp_double_macau
					}
				}
				if = {
					limit = {
						NOT = {
							has_idea = CRI_first_world_country
						}
					}
					add_ideas = CRI_first_world_country
				}
				if = {
					limit = {
						check_variable = {
							crimean_macau_influence > 50
						}
					}
					CRI = {
						puppet = AOI
					}
					PRC = {
						news_event = cr_mc.003
					}
				}
				else = {
					PRC = {
						news_event = cr_mc.002
					}
				}
			}
			else = {
				PRC = {
					news_event = cr_mc.002
				}
			}
			set_variable = {
				temp_double_qingdao = chinese_qingdao_influence
			}
			add_to_variable = {
				var = temp_double_qingdao
				value = chinese_qingdao_influence
			}
			if = {
				limit = {
					check_variable = {
						crimean_qingdao_influence > temp_double_qingdao
					}
				}
				if = {
					limit = {
						NOT = {
							has_idea = CRI_first_world_country
						}
					}
					add_ideas = CRI_first_world_country
				}
				if = {
					limit = {
						check_variable = {
							crimean_qingdao_influence > 50
						}
					}
					743 = {
						transfer_state_to = WUR
					}
					CRI = {
						puppet = WUR
					}
					PRC = {
						news_event = cr_qd.003
					}
				}
				else = {
					PRC = {
						news_event = cr_qd.002
					}
				}
			}
			else = {
				PRC = {
					news_event = cr_qd.002
				}
			}
			set_variable = {
				temp_double_dalian = chinese_dalian_influence
			}
			add_to_variable = {
				var = temp_double_dalian
				value = chinese_dalian_influence
			}
			if = {
				limit = {
					check_variable = {
						crimean_dalian_influence > temp_double_dalian
					}
				}
				if = {
					limit = {
						NOT = {
							has_idea = CRI_first_world_country
						}
					}
					add_ideas = CRI_first_world_country
				}
				if = {
					limit = {
						check_variable = {
							crimean_dalian_influence > 50
						}
					}
					745 = {
						transfer_state_to = YUG
					}
					CRI = {
						puppet = YUG
					}
					PRC = {
						news_event = cr_dr.003
					}
				}
				else = {
					PRC = {
						news_event = cr_dr.002
					}
				}
			}
			else = {
				PRC = {
					news_event = cr_dr.002
				}
			}
			set_variable = {
				temp_double_zhangjiang = chinese_zhangjiang_influence
			}
			add_to_variable = {
				var = temp_double_zhangjiang 
				value = chinese_zhangjiang_influence
			}
			if = {
				limit = {
					check_variable = {
						crimean_zhangjiang_influence > temp_double_zhangjiang 
					}
				}
				if = {
					limit = {
						NOT = {
							has_idea = CRI_first_world_country
						}
					}
					add_ideas = CRI_first_world_country
				}
				if = {
					limit = {
						check_variable = {
							crimean_zhangjiang_influence > 50
						}
					}
					728 = {
						transfer_state_to = OCC
					}
					CRI = {
						puppet = OCC
					}
					PRC = {
						news_event = cr_zj.003
					}
				}
				else = {
					PRC = {
						news_event = cr_zj.002
					}
				}
			}
			else = {
				PRC = {
					news_event = cr_zj.002
				}
			}
			if = {
				limit = {
					NIR = {
						is_ally_with = CRI
					}
					AOI = {
						is_ally_with = CRI
					}
					OCC = {
						is_ally_with = CRI
					}
					WUR = {
						is_ally_with = CRI
					}
					YUG = {
						is_ally_with = CRI
					}
				}
				971 = {
					transfer_state_to = YAM
				}
				YAM = {
					diplomatic_relation = { 
						country = ENG
						relation = non_aggression_pact 
					}
					give_military_access = ENG
					diplomatic_relation = { 
						country = ENG
						relation = docking_rights
					}
					ENG = {
						diplomatic_relation = { 
							country = YAM
							relation = docking_rights
						}
					}
					give_guarantee = ENG
					diplomatic_relation = { 
						country = JAP
						relation = non_aggression_pact 
					}
					give_military_access = JAP
					diplomatic_relation = { 
						country = JAP
						relation = docking_rights
					}
					JAP = {
						diplomatic_relation = { 
							country = YAM
							relation = docking_rights
						}
					}
					give_guarantee = JAP
					diplomatic_relation = { 
						country = NOR
						relation = non_aggression_pact 
					}
					give_military_access = NOR
					diplomatic_relation = { 
						country = NOR
						relation = docking_rights
					}
					NOR = {
						diplomatic_relation = { 
							country = YAM
							relation = docking_rights
						}
					}
					give_guarantee = NOR
					diplomatic_relation = { 
						country = PER
						relation = non_aggression_pact 
					}
					give_military_access = PER
					diplomatic_relation = { 
						country = PER
						relation = docking_rights
					}
					PER = {
						diplomatic_relation = { 
							country = YAM
							relation = docking_rights
						}
					}
					give_guarantee = PER
					diplomatic_relation = { 
						country = MEX
						relation = non_aggression_pact 
					}
					give_military_access = MEX
					diplomatic_relation = { 
						country = MEX
						relation = docking_rights
					}
					MEX = {
						diplomatic_relation = { 
							country = YAM
							relation = docking_rights
						}
					}
					give_guarantee = MEX
					diplomatic_relation = { 
						country = SWI
						relation = non_aggression_pact 
					}
					give_military_access = SWI
					diplomatic_relation = { 
						country = SWI
						relation = docking_rights
					}
					SWI = {
						diplomatic_relation = { 
							country = YAM
							relation = docking_rights
						}
					}
					give_guarantee = SWI
					diplomatic_relation = { 
						country = USA
						relation = non_aggression_pact 
					}
					give_military_access = USA
					diplomatic_relation = { 
						country = USA
						relation = docking_rights
					}
					USA = {
						diplomatic_relation = { 
							country = YAM
							relation = docking_rights
						}
					}
					give_guarantee = USA
					diplomatic_relation = { 
						country = PRC
						relation = non_aggression_pact 
					}
					give_military_access = PRC
					diplomatic_relation = { 
						country = PRC
						relation = docking_rights
					}
					PRC = {
						diplomatic_relation = { 
							country = YAM
							relation = docking_rights
						}
					}
					give_guarantee = PRC
					diplomatic_relation = { 
						country = FRA
						relation = non_aggression_pact 
					}
					give_military_access = FRA
					diplomatic_relation = { 
						country = FRA
						relation = docking_rights
					}
					FRA = {
						diplomatic_relation = { 
							country = YAM
							relation = docking_rights
						}
					}
					give_guarantee = FRA
					diplomatic_relation = { 
						country = CRI
						relation = non_aggression_pact 
					}
					give_military_access = CRI
					diplomatic_relation = { 
						country = CRI
						relation = docking_rights
					}
					CRI = {
						diplomatic_relation = { 
							country = YAM
							relation = docking_rights
						}
					}
					give_guarantee = CRI
					diplomatic_relation = { 
						country = SOV
						relation = non_aggression_pact 
					}
					give_military_access = SOV
					diplomatic_relation = { 
						country = SOV
						relation = docking_rights
					}
					SOV = {
						diplomatic_relation = { 
							country = YAM
							relation = docking_rights
						}
					}
					give_guarantee = SOV
					diplomatic_relation = { 
						country = DEN
						relation = non_aggression_pact 
					}
					give_military_access = DEN
					diplomatic_relation = { 
						country = DEN
						relation = docking_rights
					}
					DEN = {
						diplomatic_relation = { 
							country = YAM
							relation = docking_rights
						}
					}
					give_guarantee = DEN
					diplomatic_relation = { 
						country = ITA
						relation = non_aggression_pact 
					}
					give_military_access = ITA
					diplomatic_relation = { 
						country = YAM
						relation = docking_rights
					}
					ITA = {
						diplomatic_relation = { 
							country = YAM
							relation = docking_rights
						}
					}
					give_guarantee = ITA
					diplomatic_relation = { 
						country = POR
						relation = non_aggression_pact 
					}
					give_military_access = POR
					diplomatic_relation = { 
						country = POR
						relation = docking_rights
					}
					POR = {
						diplomatic_relation = { 
							country = YAM
							relation = docking_rights
						}
					}
					give_guarantee = POR
					diplomatic_relation = { 
						country = SWE
						relation = non_aggression_pact 
					}
					give_military_access = SWE
					diplomatic_relation = { 
						country = SWE
						relation = docking_rights
					}
					SWE = {
						diplomatic_relation = { 
							country = YAM
							relation = docking_rights
						}
					}
					give_guarantee = SWE
					diplomatic_relation = { 
						country = AUS
						relation = non_aggression_pact 
					}
					give_military_access = AUS
					diplomatic_relation = { 
						country = AUS
						relation = docking_rights
					}
					AUS = {
						diplomatic_relation = { 
							country = YAM
							relation = docking_rights
						}
					}
					give_guarantee = AUS
					diplomatic_relation = { 
						country = SPR
						relation = non_aggression_pact 
					}
					give_military_access = SPR
					diplomatic_relation = { 
						country = SPR
						relation = docking_rights
					}
					SPR = {
						diplomatic_relation = { 
							country = YAM
							relation = docking_rights
						}
					}
					give_guarantee = SPR
					diplomatic_relation = { 
						country = HOL
						relation = non_aggression_pact 
					}
					give_military_access = HOL
					diplomatic_relation = { 
						country = HOL
						relation = docking_rights
					}
					HOL = {
						diplomatic_relation = { 
							country = YAM
							relation = docking_rights
						}
					}
					give_guarantee = HOL
				}
				news_event = cranghai.003
			}
		}
	}
}
investments_straits = {
	CRI_buy_panama = {
		icon = generic_political_discourse
		available = {
			check_variable = {
				crimean_common_budget > 5
			}
			has_country_flag = can_invest
		}
		visible = {
			has_completed_focus = CRI_solve_panama
		}
		fire_only_once = no
		cost = 5
		days_remove = 7
		#modifier = {
		#			
		#}
		remove_effect = {
			add_to_variable = {
				var = crimean_panama_influence
				value = 5
			}
			add_to_variable = {
				var = crimean_common_budget
				value = -5
			}
		}
	}
	CRI_buy_suez = {
		icon = generic_political_discourse
		available = {
			check_variable = {
				crimean_common_budget > 5
			}
			has_country_flag = can_invest
		}
		visible = {
			has_completed_focus = CRI_solve_suez
		}
		fire_only_once = no
		cost = 5
		days_remove = 7
		#modifier = {
		#			
		#}
		remove_effect = {
			add_to_variable = {
				var = crimean_suez_influence
				value = 5
			}
			add_to_variable = {
				var = crimean_common_budget
				value = -5
			}
		}
	}
	CRI_buy_gibraltar = {
		icon = generic_political_discourse
		available = {
			check_variable = {
				crimean_common_budget > 5
			}
			has_country_flag = can_invest
		}
		visible = {
			has_completed_focus = CRI_buy_gibraltar
		}
		fire_only_once = no
		cost = 5
		days_remove = 7
		#modifier = {
		#			
		#}
		remove_effect = {
			add_to_variable = {
				var = crimean_gibraltar_influence
				value = 5
			}
			add_to_variable = {
				var = crimean_common_budget
				value = -5
			}
		}
	}
	CRI_buy_singapore = {
		icon = generic_political_discourse
		available = {
			check_variable = {
				crimean_common_budget > 5
			}
			has_country_flag = can_invest
		}
		visible = {
			has_completed_focus = CRI_buy_singapore
		}
		fire_only_once = no
		cost = 5
		days_remove = 7
		#modifier = {
		#			
		#}
		remove_effect = {
			add_to_variable = {
				var = crimean_singapore_influence
				value = 5
			}
			add_to_variable = {
				var = crimean_common_budget
				value = -5
			}
		}
	}
	CRI_buy_turkey = {
		icon = generic_political_discourse
		available = {
			check_variable = {
				crimean_common_budget > 5
			}
			has_country_flag = can_invest
		}
		visible = {
			has_completed_focus = CRI_reach_out_to_davutoglu
		}
		fire_only_once = no
		cost = 5
		days_remove = 7
		#modifier = {
		#			
		#}
		remove_effect = {
			add_to_variable = {
				var = crimean_turkey_influence
				value = 5
			}
			add_to_variable = {
				var = crimean_common_budget
				value = -5
			}
		}
	}
	CRI_ignite_handover = {
		icon = generic_prepare_civil_war
		available = {
			check_variable = {
				crimean_common_budget > 15
			}
			has_country_flag = can_invest
			OR = {
				check_variable = {
					crimean_panama_influence > their_panama_influence
				}
				check_variable = {
					crimean_suez_influence > their_suez_influence
				}
				check_variable = {
					crimean_gibraltar_influence > their_gibraltar_influence
				}
				check_variable = {
					crimean_singapore_influence > their_singapore_influence
				}
				check_variable = {
					crimean_turkey_influence > their_turkey_influence
				}
			}
		}
		fire_only_once = yes
		cost = 15
		complete_effect = {
			#clr_country_flag = can_invest
			set_variable = {
				temp_double_panama = their_panama_influence
			}
			add_to_variable = {
				var = temp_double_panama
				value = their_panama_influence
			}
			if = {
				limit = {
					check_variable = {
						crimean_panama_influence > temp_double_panama
					}
				}
				if = {
					limit = {
						NOT = {
							has_idea = CRI_first_world_country
						}
					}
					add_ideas = CRI_first_world_country
				}
				if = {
					limit = {
						check_variable = {
							crimean_panama_influence > 50
						}
					}
					CRI = {
						puppet = PAN
					}
					PAN = {
						news_event = cranama.003
					}
				}
				else = {
					PAN = {
						news_event = cranama.002
					}
				}
			}
			else = {
				PAN = {
					news_event = cranama.002
				}
			}
			set_variable = {
				temp_double_suez = their_suez_influence
			}
			add_to_variable = {
				var = temp_double_suez
				value = their_suez_influence
			}
			if = {
				limit = {
					check_variable = {
						crimean_suez_influence > temp_double_suez
					}
				}
				if = {
					limit = {
						NOT = {
							has_idea = CRI_first_world_country
						}
					}
					add_ideas = CRI_first_world_country
				}
				if = {
					limit = {
						check_variable = {
							crimean_suez_influence > 50
						}
					}
					CRI = {
						diplomatic_relation = { 
							country = EGY
							relation = non_aggression_pact 
						}
						diplomatic_relation = { 
							country = EGY
							relation = docking_rights
						}
						EGY = {
							diplomatic_relation = { 
								country = CRI
								relation = docking_rights
							}
						}
						give_guarantee = EGY
					}
					EGY = {
						give_guarantee = CRI
						set_country_flag = EGY_caved_to_crimea
					}
					EGY = {
						news_event = cregypt.003
					}
				}
				else = {
					EGY = {
						news_event = cregypt.002
					}
				}
			}
			else = {
				EGY = {
					news_event = cregypt.002
				}
			}
			set_variable = {
				temp_double_gibraltar = their_gibraltar_influence
			}
			add_to_variable = {
				var = temp_double_gibraltar
				value = their_gibraltar_influence
			}
			if = {
				limit = {
					check_variable = {
						crimean_gibraltar_influence > temp_double_gibraltar
					}
				}
				if = {
					limit = {
						NOT = {
							has_idea = CRI_first_world_country
						}
					}
					add_ideas = CRI_first_world_country
				}
				if = {
					limit = {
						check_variable = {
							crimean_gibraltar_influence > 50
						}
					}
					CRI = {
						puppet = WLA
						WLA= {
							diplomatic_relation = { 
								country = ENG
								relation = non_aggression_pact 
							}
							diplomatic_relation = { 
								country = ENG
								relation = docking_rights
							}
							ENG = {
								diplomatic_relation = { 
									country = WLA
									relation = docking_rights
								}
							}
							give_guarantee = ENG
						}
					}
					ENG = {
						news_event = cribraltar.003
					}
				}
				else = {
					PRC = {
						news_event = cribraltar.002
					}
				}
			}
			else = {
				PRC = {
					news_event = cribraltar.002
				}
			}
			set_variable = {
				temp_double_singapore = their_singapore_influence
			}
			add_to_variable = {
				var = temp_double_singapore
				value = their_singapore_influence
			}
			if = {
				limit = {
					check_variable = {
						crimean_singapore_influence > temp_double_singapore
					}
				}
				if = {
					limit = {
						NOT = {
							has_idea = CRI_first_world_country
						}
					}
					add_ideas = CRI_first_world_country
				}
				if = {
					limit = {
						check_variable = {
							crimean_singapore_influence > 50
						}
					}
					CRI = {
						puppet = CKK
					}
					CKK = {
						news_event = cringapore.003
					}
				}
				else = {
					PRC = {
						news_event = cringapore.002
					}
				}
			}
			else = {
				PRC = {
					news_event = cringapore.002
				}
			}
			set_variable = {
				temp_double_turkey = their_turkey_influence
			}
			add_to_variable = {
				var = temp_double_turkey
				value = their_turkey_influence
			}
			set_variable = {
				temp_triple_turkey = temp_double_turkey
			}
			add_to_variable = {
				var = temp_triple_turkey
				value = their_turkey_influence
			}
			if = {
				limit = {
					check_variable = {
						crimean_turkey_influence > temp_double_turkey
					}
				}
				if = {
					limit = {
						NOT = {
							has_idea = CRI_first_world_country
						}
					}
					add_ideas = CRI_first_world_country
				}
				if = {
					limit = {
						check_variable = {
							crimean_turkey_influence > 50
						}
					}
					797 = {
						transfer_state_to = RIF
					}
					341 = {
						transfer_state_to = RIF
					}
					CRI = {
						puppet = RIF
					}
					if = {
						limit = {
							check_variable = {
								crimean_turkey_influence > temp_triple_turkey
							}
						}
						340 = {
							transfer_state_to = RIF
						}
						339 = {
							transfer_state_to = RIF
						}
						347 = {
							transfer_state_to = RIF
						}
					}
					TUR = {
						news_event = crurkey.003
					}
				}
				else = {
					TUR = {
						news_event = crurkey.002
					}
				}
			}
			else = {
				TUR = {
					news_event = crurkey.002
				}
			}
		}
	}
}