on_actions = {
	on_startup = {
			effect = {
				USA = {
					set_global_flag = GC_is_on
				}
				if = {
					limit = {
           				has_game_rule = { rule = fast_multiplayer_mode option = On }
       				}
					every_country = {
						add_ideas = wxe_mp_speedyaf
					}
				}
				if = {
					limit = {
           			has_game_rule = { rule = Random_ideology option = On }
       				}
					every_country = {
						random_list = {
    						10 = {
								set_politics = {
									ruling_party = islamist
								}
								add_popularity = {
    								ideology = islamist
    								popularity = 0.6
								}
    						}
    						10 = {
								set_politics = {
									ruling_party = fascist
								}
								add_popularity = {
    								ideology = fascist
    								popularity = 0.6
								}
    						}
    						10 = {
								set_politics = {
									ruling_party = nationalist
								}
								add_popularity = {
    								ideology = nationalist
    								popularity = 0.6
								}
    						}
    						10 = {
								set_politics = {
									ruling_party = monarchist
								}
								add_popularity = {
    								ideology = monarchist
    								popularity = 0.6
								}
    						}
    						10 = {
								set_politics = {
									ruling_party = reactionary
								}
								add_popularity = {
    								ideology = reactionary
    								popularity = 0.6
								}
    						}
    						10 = {
								set_politics = {
									ruling_party = conservative
								}
								add_popularity = {
    								ideology = conservative
    								popularity = 0.6
								}
    						}
    						10 = {
								set_politics = {
									ruling_party = market_liberal
								}
								add_popularity = {
    								ideology = market_liberal
    								popularity = 0.6
								}
    						}
    						10 = {
								set_politics = {
									ruling_party = social_liberal
								}
								add_popularity = {
    								ideology = social_liberal
    								popularity = 0.6
								}
    						}
    						10 = {
								set_politics = {
									ruling_party = social_democrat
								}
								add_popularity = {
    								ideology = social_democrat
    								popularity = 0.6
								}
    						}
    						10 = {
								set_politics = {
									ruling_party = progressive
								}
								add_popularity = {
    								ideology = progressive
    								popularity = 0.6
								}
    						}
    						10 = {
								set_politics = {
									ruling_party = democratic_socialist
								}
								add_popularity = {
    								ideology = democratic_socialist
    								popularity = 0.6
								}
    						}
    						10 = {
								set_politics = {
									ruling_party = communist
								}
								add_popularity = {
    								ideology = communist
    								popularity = 0.6
								}
    						}
						}
					}
				}
				if = {
					limit = {
           			has_game_rule = { rule = RULE_ANNEX_CRAP option = On }
       				}
					ITA = {
						annex_country = {
    						target = HLS
    						transfer_troops = no
						}
						annex_country = {
    						target = SAN
    						transfer_troops = no
						}
					}
					FRA = {
						annex_country = {
    						target = AND
    						transfer_troops = no
						}
						annex_country = {
    						target = MOC
    						transfer_troops = no
						}
						annex_country = {
    						target = COM
    						transfer_troops = no
						}
					}
					MOR = {
						annex_country = {
    						target = WES
    						transfer_troops = no
						}
					}
					SEN = {
						annex_country = {
    						target = GAM
    						transfer_troops = no
						}
						annex_country = {
    						target = CAB
    						transfer_troops = no
						}
					}
					GNA = {
						annex_country = {
    						target = GNB
    						transfer_troops = no
						}
						annex_country = {
    						target = SIE
    						transfer_troops = no
						}
					}
					MLI = {
						annex_country = {
    						target = VOL
    						transfer_troops = no
						}
					}
					GHA = {
						annex_country = {
    						target = TOG
    						transfer_troops = no
						}
					}
					NGA = {
						annex_country = {
    						target = DAH
    						transfer_troops = no
						}
					}
					RCG = {
						annex_country = {
    						target = GAB
    						transfer_troops = no
						}
					}
					EQG = {
						annex_country = {
    						target = SAO
    						transfer_troops = no
						}
					}
					ENG = {
						annex_country = {
    						target = MAU
    						transfer_troops = no
						}
					}
					MOL = {
						annex_country = {
    						target = TRA
    						transfer_troops = no
						}
					}
					SOV = {
						annex_country = {
    						target = ABK
    						transfer_troops = no
						}
						annex_country = {
    						target = SOS
    						transfer_troops = no
						}
					}
					SAF = {
						annex_country = {
    						target = LES
    						transfer_troops = no
						}
						annex_country = {
    						target = SWZ
    						transfer_troops = no
						}
					}
					TRI = {
						annex_country = {
    						target = GND
    						transfer_troops = no
						}
						annex_country = {
    						target = BRB
    						transfer_troops = no
						}
						annex_country = {
    						target = STV
    						transfer_troops = no
						}
						annex_country = {
    						target = STL
    						transfer_troops = no
						}
						annex_country = {
    						target = DMN
    						transfer_troops = no
						}
						annex_country = {
    						target = BAS
    						transfer_troops = no
						}
					}
				}
				if = {
					limit = {
           			has_game_rule = { rule = RULE_Performance option = On }
					   
       				}
					every_country = {
						limit = {
							is_small_nation = yes
						}
						add_ideas = Small_nation set_research_slots = 0 load_focus_tree = performance_tree
					}
				#CUB
				#GAU
			}

			441 = {
				 add_dynamic_modifier = { modifier = islamist_insurgency } 
				 force_enable_resistance = RAJ
				 set_compliance = 45
			}
			every_country = {
				limit = {
					is_ai = no
				}
				set_country_flag = open_pulling_the_strings_gui
				set_country_flag = open_pulling_the_strings_actions_gui
			}
			SIG = {
				add_offsite_building = { type = industrial_complex level = 4 }
			}
			if = {
				limit = {
					date > 2010.01.01
				}
				every_country = {
					limit = {
						NOT = {
							OR = {
								has_focus_tree = generic_european_focus_tree
								has_focus_tree = generic_african_focus_tree
								has_focus_tree = generic_asia_focus_tree
								has_focus_tree = generic_focus
							}
							has_country_flag = focus_tree_2016
						}
					}
					if = {
						limit = {
							capital_scope = { is_on_continent = africa }
						}
						load_focus_tree = generic_african_focus_tree
					}
					else_if = {
						limit = {
							capital_scope = { is_on_continent = europe }
						}
						load_focus_tree = generic_european_focus_tree
					}
					else_if = {
						limit = {
							capital_scope = { is_on_continent = asia }
							NOT = {
								tag = PRC
							}
						}
						load_focus_tree = generic_asia_focus_tree
					}
					else = {
						load_focus_tree = generic_focus
					}
				}
			}
		}
	}
	on_civil_war_end = {
		effect = {
			if = {
				limit = {
					original_tag = ISR
					has_completed_focus = ISR_democratic_but_not_jewish
				}
				set_country_flag = ISR_survived_civil_war
			}
		}
	}
}
