political_actions = {

	nationalize_brazil = {
		
		icon = generic_operation			

		allowed = {
			original_tag = PRU
		}

		available = {
			has_full_control_of_state = 495
			has_full_control_of_state = 497
			has_full_control_of_state = 280
			has_full_control_of_state = 505
			has_full_control_of_state = 498
			has_full_control_of_state = 499
			has_full_control_of_state = 496
			has_full_control_of_state = 500
			has_full_control_of_state = 504
			has_full_control_of_state = 501
			has_full_control_of_state = 503
			has_full_control_of_state = 502
			OR = {
				political_power_daily > 0.5
				has_political_power > 135
			}
		}

		cost = 	0

		fire_only_once = yes
		days_remove = 270
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_claim_continent
		}	

		complete_effect = {
		
		}
		
		modifier = {
			political_power_gain = -0.5
		}

		remove_effect = {
			add_state_core = 495
			add_state_core = 497
			add_state_core = 280
			add_state_core = 505
			add_state_core = 498
			add_state_core = 499
			add_state_core = 496
			add_state_core = 500
			add_state_core = 504
			add_state_core = 501
			add_state_core = 503
			add_state_core = 502
		}
	}

	nationalize_argentina = {

		icon = generic_operation

		allowed = {
			original_tag = PRU
		}

		available = {
			has_full_control_of_state = 508
			has_full_control_of_state = 509
			has_full_control_of_state = 510
			has_full_control_of_state = 511
			has_full_control_of_state = 278
			has_full_control_of_state = 512
			
			OR = {
				political_power_daily > 0.5
				has_political_power > 90
			}			
		}
		
		days_remove = 180
		
		cost = 	0

		fire_only_once = yes

		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_claim_continent
		}	
		
		modifier = {
			political_power_gain = -0.5
		}		

		remove_effect = {
			add_state_core = 508
			add_state_core = 509
			add_state_core = 510
			add_state_core = 511
			add_state_core = 278
			add_state_core = 512
			add_state_core = 299
			add_state_core = 720
		}
	}
	
	nationalize_paraguay = {
		
		icon = generic_operation

		allowed = {
			original_tag = PRU
		}

		available = {
			has_full_control_of_state = 688
			has_full_control_of_state = 301
			OR = {
				political_power_daily > 0.5
				has_political_power > 45
			}
		}

		cost = 	0

		fire_only_once = yes
		days_remove = 90
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_claim_continent
		}	

		complete_effect = {
		
		}
		
		modifier = {
			political_power_gain = -0.5
		}

		remove_effect = {
			add_state_core = 688
			add_state_core = 301
		}
	}
	
	nationalize_uruguay = {

		icon = generic_operation

		allowed = {
			original_tag = PRU
		}

		available = {
			has_full_control_of_state = 300
			OR = {
				political_power_daily > 0.5
				has_political_power > 45
			}
		}

		cost = 	0

		fire_only_once = yes
		days_remove = 90
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_claim_continent
		}	

		complete_effect = {
		
		}
		
		modifier = {
			political_power_gain = -0.5
		}

		remove_effect = {
			add_state_core = 300
		}
	}
	
	nationalize_chilie = {

		icon = generic_operation

		allowed = {
			original_tag = PRU
		}

		available = {
			has_full_control_of_state = 506
			has_full_control_of_state = 279
			has_full_control_of_state = 507
			OR = {
				political_power_daily > 0.5
				has_political_power > 45
			}
		}

		cost = 	0

		fire_only_once = yes
		days_remove = 90
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_claim_continent
		}	

		complete_effect = {
		
		}
		
		modifier = {
			political_power_gain = -0.5
		}

		remove_effect = {
			add_state_core = 506
			add_state_core = 279
			add_state_core = 507
		}
	}
	
	nationalize_democratic_colonies = {

		icon = generic_operation

		allowed = {
			original_tag = PRU
		}

		available = {
			has_full_control_of_state = 687
			has_full_control_of_state = 309
			has_full_control_of_state = 310
			OR = {
				political_power_daily > 0.5
				has_political_power > 15
			}
		}

		cost = 	0

		fire_only_once = yes
		days_remove = 30

		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_claim_continent
		}

		complete_effect = {
		}
		
		modifier = {
			political_power_gain = -0.5
		}

		remove_effect = {
			add_state_core = 687
			add_state_core = 309
			add_state_core = 310
		}
	}

	start_shipbuilding = {
		
		icon = generic_naval		

		allowed = {
			original_tag = PRU
		}

		available = {
			has_completed_focus = PRU_shipbuidl
		}
		
		fire_only_once = yes
		days_mission_timeout = 1100
		is_good = no		

		ai_will_do = {
			factor = 0
		}
		
		activation = {
			has_completed_focus = PRU_join_japan
		}

		visible = {
			has_completed_focus = PRU_join_japan
		}	
		
		modifier = {
		}

		timeout_effect = {
			if = {
				limit = {
					has_government = fascism
				}
				set_variable = {
					var = civil_war_size_var
					value = party_popularity@fascism
				}
			}
			if = {
				limit = {
					has_government = communism
				}
				set_variable = {
					var = civil_war_size_var
					value = party_popularity@communism
				}
			}
			if = {
				limit = {
					has_government = neutrality
				}
				set_variable = {
					var = civil_war_size_var
					value = party_popularity@neutrality
				}
			}
			subtract_from_variable = {
				var = civil_war_size_var
				value = army_support_var
			}
			if = {
				limit = {
					check_variable = {
						var = civil_war_size_var
						value = 0.3
						compare = less_than
					}
				}
				set_variable = {
					var = civil_war_size_var
					value = 0.3
				}
			}
			start_civil_war = {
				ruling_party = facism
				ideology = democratic
				size = civil_war_size_var
				keep_unit_leaders_trigger = {
					has_trait = hidden_sympathies
				}
			}
			clr_country_flag = preparation_for_democratic_civil_war
			clr_country_flag = military_support_for_democratic_civil_war
			clr_country_flag = civil_support_for_democratic_civil_war
		}

		complete_effect = {
			add_war_support = 0.05
			navy_experience = 25
		}
	}

	stop_shipbuilding = {
	
		icon = generic_naval

		allowed = {
			original_tag = PRU
		}

		available = {
			OR = {
				has_navy_size = {
					unit = carrier
					size > 3
				}
				has_navy_size = {
					unit = battleship
					size > 3
				}
			}
			has_navy_size = {
				unit = light_cruiser
				size > 4
			}	
			has_navy_size = {
				unit = destroyer
				size > 24
			}
		}

		cost = 	0

		fire_only_once = yes
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_shipbuidl
		}	

		complete_effect = {
			add_political_power = 100
			add_war_support = 0.05
			navy_experience = 50
			add_tech_bonus = {
				bonus = 2.0
				uses = 2
				category = naval_doctrine
			}
			remove_ideas = navy_construction
			hidden_effect = { set_global_flag = new_force }
		}
		
		modifier = {
			
		}

		remove_effect = {

		}
	}
	
	invite_german_scientists_1 = {
	
		icon = generic_research

		allowed = {
			original_tag = PRU
		}

		available = {
			fascism > 0.65
		}

		cost = 	0

		fire_only_once = yes
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_invite_german_scientists
		}	

		complete_effect = {
			add_ideas = german_scientists_1
		}
		
		modifier = {
		}

		remove_effect = {

		}
	}
	
	invite_german_scientists_2 = {
	
		icon = generic_research

		allowed = {
			original_tag = PRU
		}

		available = {
			fascism > 0.90
		}

		cost = 	0

		fire_only_once = yes
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_invite_german_scientists
		}	

		complete_effect = {
			swap_ideas = {
					remove_idea = german_scientists_1
					add_idea = german_scientists_2
			}
		}
		
		modifier = {
		}

		remove_effect = {

		}
	}
	
	annex_ECU = {

		icon = generic_operation

		allowed = {
			original_tag = PRU
		}

		available = {
			OR = {
				
				ECU = {	has_autonomy_state = autonomy_reichskommissariat }
				ECU = {	has_autonomy_state = autonomy_integrated_puppet }
			}
		}
		
		days_remove = 0
		
		cost = 	0

		fire_only_once = yes

		ai_will_do = {
			factor = 0
		}

		visible = {
			ECU = { is_subject_of = PRU }
		}	
		
		modifier = {
			
		}		
		
		complete_effect = {
			ECU = {
				every_unit_leader = {
					set_nationality = PRU
				}
			}
			annex_country = {
			    target = ECU
			    transfer_troops = yes
			}
			every_state = {
				limit = {
					is_core_of = ECU
				}
				add_core_of = PRU
			}
		}
	}
	
	annex_COL = {

		icon = generic_operation

		allowed = {
			original_tag = PRU
		}

		available = {
			OR = {
				
				COL = {	has_autonomy_state = autonomy_reichskommissariat }
				COL = {	has_autonomy_state = autonomy_integrated_puppet }
			}
		}
		
		days_remove = 0
		
		cost = 	0

		fire_only_once = yes

		ai_will_do = {
			factor = 0
		}

		visible = {
			COL = { is_subject_of = PRU }
		}	
		
		modifier = {
			
		}		
		
		complete_effect = {
			COL = {
				every_unit_leader = {
					set_nationality = PRU
				}
			}
			annex_country = {
			    target = COL
			    transfer_troops = yes
			}
			every_state = {
				limit = {
					is_core_of = COL
				}
				add_core_of = PRU
			}
		}
	}
	
	annex_VEN = {

		icon = generic_operation

		allowed = {
			original_tag = PRU
		}

		available = {
			OR = {
				
				VEN = {	has_autonomy_state = autonomy_reichskommissariat }
				VEN = {	has_autonomy_state = autonomy_integrated_puppet }
			}
		}
		
		days_remove = 0
		
		cost = 	0

		fire_only_once = yes

		ai_will_do = {
			factor = 0
		}

		visible = {
			VEN = { is_subject_of = PRU }
		}	
		
		modifier = {
			
		}		
		
		complete_effect = {
			VEN = {
				every_unit_leader = {
					set_nationality = PRU
				}
			}
			annex_country = {
			    target = VEN
			    transfer_troops = yes
			}
			every_state = {
				limit = {
					is_core_of = VEN
				}
				add_core_of = PRU
			}
		}
	}
	
	annex_PAN = {

		icon = generic_operation

		allowed = {
			original_tag = PRU
		}

		available = {
			OR = {
				
				PAN = {	has_autonomy_state = autonomy_reichskommissariat }
				PAN = {	has_autonomy_state = autonomy_integrated_puppet }
			}
		}
		
		days_remove = 0
		
		cost = 	0

		fire_only_once = yes

		ai_will_do = {
			factor = 0
		}

		visible = {
			PAN = { is_subject_of = PRU }
		}	
		
		modifier = {
			
		}		
		
		complete_effect = {
			PAN = {
				every_unit_leader = {
					set_nationality = PRU
				}
			}
			annex_country = {
			    target = PAN
			    transfer_troops = yes
			}
			every_state = {
				limit = {
					is_core_of = PAN
				}
				add_core_of = PRU
			}
		}
	}
	
	annex_GYA = {

		icon = generic_operation

		allowed = {
			original_tag = PRU
		}

		available = {
			OR = {
				
				GYA = {	has_autonomy_state = autonomy_reichskommissariat }
				GYA = {	has_autonomy_state = autonomy_integrated_puppet }
			}
		}
		
		days_remove = 0
		
		cost = 	0

		fire_only_once = yes

		ai_will_do = {
			factor = 0
		}

		visible = {
			GYA = { is_subject_of = PRU }
		}	
		
		modifier = {
			
		}		
		
		complete_effect = {
			GYA = {
				every_unit_leader = {
					set_nationality = PRU
				}
			}
			annex_country = {
			    target = GYA
			    transfer_troops = yes
			}
			every_state = {
				limit = {
					is_core_of = GYA
				}
				add_core_of = PRU
			}
		}
	}
	
	annex_CRC = {

		icon = generic_operation

		allowed = {
			original_tag = PRU
		}

		available = {
			OR = {
				
				CRC = {	has_autonomy_state = autonomy_reichskommissariat }
				CRC = {	has_autonomy_state = autonomy_integrated_puppet }
			}
		}
		
		days_remove = 0
		
		cost = 	0

		fire_only_once = yes

		ai_will_do = {
			factor = 0
		}

		visible = {
			CRC = { is_subject_of = PRU }
		}	
		
		modifier = {
			
		}		
		
		complete_effect = {
			CRC = {
				every_unit_leader = {
					set_nationality = PRU
				}
			}
			annex_country = {
			    target = CRC
			    transfer_troops = yes
			}
			every_state = {
				limit = {
					is_core_of = CRC
				}
				add_core_of = PRU
			}
		}
	}
	
}

PRU_buy_tanks_category = {
	buy_light_tanks = {
	
		icon = generic_tank

		allowed = {
			original_tag = PRU
		}

		available = {
			has_fuel > 60000
		}

		cost = 	0

		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_buy_tanks
			GER = { OR = {has_tech = advanced_light_tank has_tech = improved_light_tank has_tech = basic_light_tank } }
		}	

		complete_effect = {
			add_fuel = -60000
			GER = {
				add_fuel = 60000
			}
			if = {
				limit = {
					GER = { has_tech = advanced_light_tank }
				}
				add_equipment_to_stockpile = { type = light_tank_equipment_3 amount = 30 producer = GER }
			}
			else = {
				add_equipment_to_stockpile = { type = light_tank_equipment_2 amount = 30 producer = GER }
			}
		}
		
		modifier = {
		}

		remove_effect = {

		}
	}
	
	buy_medium_tanks = {
	
		icon = generic_tank

		allowed = {
			original_tag = PRU
		}

		available = {
			has_fuel > 60000
		}

		cost = 	0

		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_buy_tanks
			GER = { OR = {has_tech = advanced_medium_tank has_tech = improved_medium_tank has_tech = basic_medium_tank } }
		}	

		complete_effect = {
			add_fuel = -60000
			GER = {
				add_fuel = 60000
			}
			if = {
				limit = {
					GER = { has_tech = advanced_medium_tank }
				}
				add_equipment_to_stockpile = { type = medium_tank_equipment_3 amount = 20 producer = GER }
			}
			else_if = {
				limit = {
					GER = { has_tech = improved_medium_tank }
				}
				add_equipment_to_stockpile = { type = medium_tank_equipment_2 amount = 20 producer = GER }
			}
			else = {
				add_equipment_to_stockpile = { type = medium_tank_equipment_1 amount = 20 producer = GER }
			}
		}
		
		modifier = {
		}

		remove_effect = {

		}
	}
	
	buy_heavy_tanks = {
	
		icon = generic_tank

		allowed = {
			original_tag = PRU
		}

		available = {
			has_fuel > 60000
		}

		cost = 	0

		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_buy_tanks
			GER = { OR = {has_tech = advanced_heavy_tank has_tech = improved_heavy_tank has_tech = basic_heavy_tank } }
		}	

		complete_effect = {
			add_fuel = -60000
			GER = {
				add_fuel = 60000
			}
			if = {
				limit = {
					GER = { has_tech = advanced_heavy_tank }
				}
				add_equipment_to_stockpile = { type = heavy_tank_equipment_3 amount = 10 producer = GER }
			}
			else_if = {
				limit = {
					GER = { has_tech = improved_heavy_tank }
				}
				add_equipment_to_stockpile = { type = heavy_tank_equipment_2 amount = 10 producer = GER }
			}
			else = {
				add_equipment_to_stockpile = { type = heavy_tank_equipment_1 amount = 10 producer = GER }
			}
		}
		
		modifier = {
		}

		remove_effect = {

		}
	}
	
	buy_mechanized = {
	
		icon = rubber

		allowed = {
			original_tag = PRU
		}

		available = {
			has_fuel > 60000
		}

		cost = 	0

		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_buy_tanks
			GER = { has_tech = mechanised_infantry }
		}	

		complete_effect = {
			add_fuel = -60000
			GER = {
				add_fuel = 60000
			}
			if = {
				limit = {
					GER = { has_tech = mechanised_infantry3 }
				}
				add_equipment_to_stockpile = { type = mechanized_equipment_3 amount = 30 producer = GER }
			}
			else_if = {
				limit = {
					GER = { has_tech = mechanised_infantry2 }
				}
				add_equipment_to_stockpile = { type = mechanized_equipment_2 amount = 30 producer = GER }
			}
			else = {
				add_equipment_to_stockpile = { type = mechanized_equipment_1 amount = 30 producer = GER }
			}
		}
		
		modifier = {
		}

		remove_effect = {

		}
	}
	
	buy_cars = {
	
		icon = rubber

		allowed = {
			original_tag = PRU
		}

		available = {
			has_fuel > 60000
		}

		cost = 	0

		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_buy_tanks
		}	

		complete_effect = {
			add_fuel = -60000
			GER = {
				add_fuel = 60000
			}
			add_equipment_to_stockpile = { type = motorized_equipment_1 amount = 100 producer = GER }
		}
		
		modifier = {
		}

		remove_effect = {

		}
	}
}

PRU_buy_planes_category = {
	buy_fighters = {
	
		icon = generic_air

		allowed = {
			original_tag = PRU
		}

		available = {
			has_fuel > 60000
		}

		cost = 	0

		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_buy_planes
		}	

		complete_effect = {
			add_fuel = -60000
			GER = {
				add_fuel = 60000
			}
			if = {
				limit = {
					GER = { has_tech = fighter3 }
				}
				add_equipment_to_stockpile = { type = fighter_equipment_3 amount = 15 producer = GER }
			}
			else_if = {
				limit = {
					GER = { has_tech = fighter2 }
				}
				add_equipment_to_stockpile = { type = fighter_equipment_2 amount = 15 producer = GER }
			}
			else = {
				add_equipment_to_stockpile = { type = fighter_equipment_1 amount = 15 producer = GER }
			}
		}
		
		modifier = {
		}

		remove_effect = {

		}
	}
	
	buy_cas = {
	
		icon = generic_air

		allowed = {
			original_tag = PRU
		}

		available = {
			has_fuel > 60000
		}

		cost = 	0

		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_buy_planes
		}	

		complete_effect = {
			add_fuel = -60000
			GER = {
				add_fuel = 60000
			}
			if = {
				limit = {
					GER = { has_tech = CAS3 }
				}
				add_equipment_to_stockpile = { type = CAS_equipment_3 amount = 15 producer = GER }
			}
			else_if = {
				limit = {
					GER = { has_tech = CAS2 }
				}
				add_equipment_to_stockpile = { type = CAS_equipment_2 amount = 15 producer = GER }
			}
			else = {
				add_equipment_to_stockpile = { type = CAS_equipment_1 amount = 15 producer = GER }
			}
		}
		
		modifier = {
		}

		remove_effect = {

		}
	}
	
	buy_bombers = {
	
		icon = generic_air

		allowed = {
			original_tag = PRU
		}

		available = {
			has_fuel > 60000
		}

		cost = 	0

		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_buy_planes
		}	

		complete_effect = {
			add_fuel = -60000
			GER = {
				add_fuel = 60000
			}
			if = {
				limit = {
					GER = { has_tech = tactical_bomber3 }
				}
				add_equipment_to_stockpile = { type = tac_bomber_equipment_3 amount = 10 producer = GER }
			}
			else_if = {
				limit = {
					GER = { has_tech = tactical_bomber2 }
				}
				add_equipment_to_stockpile = { type = tac_bomber_equipment_2 amount = 10 producer = GER }
			}
			else = {
				add_equipment_to_stockpile = { type = tac_bomber_equipment_1 amount = 10 producer = GER }
			}
		}
		
		modifier = {
		}

		remove_effect = {

		}
	}
}

PRU_soviet_help_category = {
	
	lower_soviet_influence = { 
		
		icon = generic_break_treaty

		allowed = {
			original_tag = PRU
		}

		available = {
			always = no
		}

		visible = {
			always = no
		}
		
		fire_only_once = no
		days_mission_timeout = 120
		days_re_enable = 0
		days_remove = 0	

		
		activation = {
			OR = {
				has_idea = soviet_influence_1
				has_idea = soviet_influence_2
				has_idea = soviet_influence_3
				has_idea = soviet_influence_4
				has_idea = soviet_influence_5
			}
		}
		

		modifier = {
		
		}
		
		timeout_effect = { 
			hidden_effect = {
			if = {
				limit = {
					has_idea = soviet_influence_5
				}
				swap_ideas = {
					remove_idea = soviet_influence_5
					add_idea = soviet_influence_4
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_4
				}
				swap_ideas = {
					remove_idea = soviet_influence_4
					add_idea = soviet_influence_3
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_3
				}
				swap_ideas = {
					remove_idea = soviet_influence_3
					add_idea = soviet_influence_2
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_2
				}
				swap_ideas = {
					remove_idea = soviet_influence_2
					add_idea = soviet_influence_1
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_1
				}
				remove_ideas = soviet_influence_1
			}
			}
		}
	}
	
	ask_for_heavy_tanks = {
	
		icon = generic_tank

		allowed = {
			original_tag = PRU
		}

		available = {
			is_puppet = no
		}

		cost = 	0

		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			SOV = { OR = {has_tech = advanced_heavy_tank has_tech = improved_heavy_tank has_tech = basic_heavy_tank } }
			has_completed_focus = PRU_soviet_help
		}	

		complete_effect = {
			if = {
				limit = {
					SOV = { has_tech = advanced_heavy_tank }
				}
				add_equipment_to_stockpile = { type = heavy_tank_equipment_3 amount = 100 producer = SOV }
			}
			else_if = {
				limit = {
					SOV = { has_tech = improved_heavy_tank }
				}
				add_equipment_to_stockpile = { type = heavy_tank_equipment_2 amount = 100 producer = SOV }
			}
			else = {
				add_equipment_to_stockpile = { type = heavy_tank_equipment_1 amount = 100 producer = SOV }
			}
			
			if = {
				limit = {
					has_idea = soviet_influence_5
				}
				hidden_effect = {
					remove_ideas = soviet_influence_5
					set_global_flag = peru_sov
					SOV = { puppet = PRU } news_event = peru.1
					news_event = peru.1
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_4
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_4
						add_idea = soviet_influence_5
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_3
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_3
						add_idea = soviet_influence_4
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_2
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_2
						add_idea = soviet_influence_3
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_1
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_1
						add_idea = soviet_influence_2
					}
				}
			}
			else = {
				hidden_effect = {
					add_ideas = soviet_influence_1
				}
			}
		}
		
		modifier = {
		}

		remove_effect = {

		}
	}
	
	ask_for_medium_tanks = {
	
		icon = generic_tank

		allowed = {
			original_tag = PRU
		}

		available = {
			is_puppet = no
		}

		cost = 	0

		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_soviet_help
			SOV = { OR = {has_tech = advanced_medium_tank has_tech = improved_medium_tank has_tech = basic_medium_tank } }
		}	

		complete_effect = {
			if = {
				limit = {
					SOV = { has_tech = advanced_medium_tank }
				}
				add_equipment_to_stockpile = { type = medium_tank_equipment_3 amount = 150 producer = SOV }
			}
			else_if = {
				limit = {
					SOV = { has_tech = improved_medium_tank }
				}
				add_equipment_to_stockpile = { type = medium_tank_equipment_2 amount = 150 producer = SOV }
			}
			else = {
				add_equipment_to_stockpile = { type = medium_tank_equipment_1 amount = 150 producer = SOV }
			}
			
			if = {
				limit = {
					has_idea = soviet_influence_5
				}
				hidden_effect = {
					remove_ideas = soviet_influence_5
					set_global_flag = peru_sov
					SOV = { puppet = PRU } news_event = peru.1
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_4
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_4
						add_idea = soviet_influence_5
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_3
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_3
						add_idea = soviet_influence_4
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_2
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_2
						add_idea = soviet_influence_3
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_1
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_1
						add_idea = soviet_influence_2
					}
				}
			}
			else = {
				hidden_effect = {
					add_ideas = soviet_influence_1
				}
			}
		}
		
		modifier = {
		}

		remove_effect = {

		}
	}

	ask_for_light_tanks = {
	
		icon = generic_tank

		allowed = {
			original_tag = PRU
		}

		available = {
			is_puppet = no
		}

		cost = 	0

		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_soviet_help
			SOV = { OR = {has_tech = advanced_light_tank has_tech = improved_light_tank has_tech = basic_light_tank } }
		}	

		complete_effect = {
			if = {
				limit = {
					SOV = { has_tech = advanced_light_tank }
				}
				add_equipment_to_stockpile = { type = light_tank_equipment_3 amount = 200 producer = SOV }
			}
			else_if = {
				limit = {
					SOV = { has_tech = improved_light_tank }
				}
				add_equipment_to_stockpile = { type = light_tank_equipment_2 amount = 200 producer = SOV }
			}
			else = {
				add_equipment_to_stockpile = { type = light_tank_equipment_1 amount = 200 producer = SOV }
			}
			
			if = {
				limit = {
					has_idea = soviet_influence_5
				}
				hidden_effect = {
					remove_ideas = soviet_influence_5
					set_global_flag = peru_sov
					SOV = { puppet = PRU } news_event = peru.1
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_4
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_4
						add_idea = soviet_influence_5
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_3
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_3
						add_idea = soviet_influence_4
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_2
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_2
						add_idea = soviet_influence_3
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_1
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_1
						add_idea = soviet_influence_2
					}
				}
			}
			else = {
				hidden_effect = {
					add_ideas = soviet_influence_1
				}
			}
		}
		
		modifier = {
		}

		remove_effect = {

		}
	}
	
	ask_for_rifles = {
	
		icon = ger_military_buildup

		allowed = {
			original_tag = PRU
		}

		available = {
			is_puppet = no
		}

		cost = 	0

		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_soviet_help
		}	

		complete_effect = {
			if = {
				limit = {
					SOV = { has_tech = advanced_infantry_weapons }
				}
				add_equipment_to_stockpile = { type = infantry_equipment_3 amount = 5000 producer = SOV }
			}
			else_if = {
				limit = {
					SOV = { has_tech = improved_infantry_weapons }
				}
				add_equipment_to_stockpile = { type = infantry_equipment_2 amount = 5000 producer = SOV }
			}
			else = {
				add_equipment_to_stockpile = { type = infantry_equipment_1 amount = 5000 producer = SOV }
			}
			
			if = {
				limit = {
					has_idea = soviet_influence_5
				}
				hidden_effect = {
					remove_ideas = soviet_influence_5
					set_global_flag = peru_sov
					SOV = { puppet = PRU } news_event = peru.1
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_4
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_4
						add_idea = soviet_influence_5
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_3
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_3
						add_idea = soviet_influence_4
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_2
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_2
						add_idea = soviet_influence_3
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_1
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_1
						add_idea = soviet_influence_2
					}
				}
			}
			else = {
				hidden_effect = {
					add_ideas = soviet_influence_1
				}
			}
		}
		
		modifier = {
		}

		remove_effect = {

		}
	}
	
	ask_for_equipment = {
	
		icon = ger_military_buildup

		allowed = {
			original_tag = PRU
		}

		available = {
			is_puppet = no
		}

		cost = 	0

		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_soviet_help
		}	

		complete_effect = {
			add_equipment_to_stockpile = { type = support_equipment_1 amount = 500 producer = SOV }
			
			if = {
				limit = {
					has_idea = soviet_influence_5
				}
				hidden_effect = {
					remove_ideas = soviet_influence_5
					set_global_flag = peru_sov
					SOV = { puppet = PRU } news_event = peru.1
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_4
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_4
						add_idea = soviet_influence_5
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_3
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_3
						add_idea = soviet_influence_4
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_2
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_2
						add_idea = soviet_influence_3
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_1
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_1
						add_idea = soviet_influence_2
					}
				}
			}
			else = {
				hidden_effect = {
					add_ideas = soviet_influence_1
				}
			}
		}
		
		modifier = {
		}

		remove_effect = {

		}
	}
	
	ask_for_artillery = {
	
		icon = ger_military_buildup

		allowed = {
			original_tag = PRU
		}

		available = {
			is_puppet = no
		}

		cost = 	0

		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_soviet_help
		}	

		complete_effect = {
			if = {
				limit = {
					SOV = { has_tech = artillery4 }
				}
				add_equipment_to_stockpile = { type = artillery_equipment_3 amount = 500 producer = SOV }
			}
			else_if = {
				limit = {
					SOV = { has_tech = artillery1 }
				}
				add_equipment_to_stockpile = { type = artillery_equipment_2 amount = 500 producer = SOV }
			}
			else = {
				add_equipment_to_stockpile = { type = artillery_equipment_1 amount = 500 producer = SOV }
			}
			
			if = {
				limit = {
					has_idea = soviet_influence_5
				}
				hidden_effect = {
					remove_ideas = soviet_influence_5
					set_global_flag = peru_sov
					SOV = { puppet = PRU } news_event = peru.1
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_4
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_4
						add_idea = soviet_influence_5
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_3
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_3
						add_idea = soviet_influence_4
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_2
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_2
						add_idea = soviet_influence_3
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_1
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_1
						add_idea = soviet_influence_2
					}
				}
			}
			else = {
				hidden_effect = {
					add_ideas = soviet_influence_1
				}
			}
		}
		
		modifier = {
		}

		remove_effect = {

		}
	}
	
	ask_for_cars = {
	
		icon = rubber

		allowed = {
			original_tag = PRU
		}

		available = {
			is_puppet = no
		}

		cost = 	0

		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_soviet_help
		}	

		complete_effect = {
			add_equipment_to_stockpile = { type = motorized_equipment_1 amount = 500 producer = SOV }
			
			if = {
				limit = {
					has_idea = soviet_influence_5
				}
				hidden_effect = {
					remove_ideas = soviet_influence_5
					set_global_flag = peru_sov
					SOV = { puppet = PRU } news_event = peru.1
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_4
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_4
						add_idea = soviet_influence_5
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_3
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_3
						add_idea = soviet_influence_4
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_2
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_2
						add_idea = soviet_influence_3
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_1
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_1
						add_idea = soviet_influence_2
					}
				}
			}
			else = {
				hidden_effect = {
					add_ideas = soviet_influence_1
				}
			}
		}
		
		modifier = {
		}

		remove_effect = {

		}
	}

	ask_for_fighters = {
	
		icon = generic_air

		allowed = {
			original_tag = PRU
		}

		available = {
			is_puppet = no
		}

		cost = 	0

		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_soviet_help
		}	

		complete_effect = {
			if = {
				limit = {
					SOV = { has_tech = fighter3 }
				}
				add_equipment_to_stockpile = { type = fighter_equipment_3 amount = 150 producer = SOV }
			}
			else_if = {
				limit = {
					SOV = { has_tech = fighter2 }
				}
				add_equipment_to_stockpile = { type = fighter_equipment_2 amount = 150 producer = SOV }
			}
			else = {
				add_equipment_to_stockpile = { type = fighter_equipment_1 amount = 150 producer = SOV }
			}
			
			if = {
				limit = {
					has_idea = soviet_influence_5
				}
				hidden_effect = {
					remove_ideas = soviet_influence_5
					set_global_flag = peru_sov
					SOV = { puppet = PRU } news_event = peru.1
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_4
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_4
						add_idea = soviet_influence_5
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_3
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_3
						add_idea = soviet_influence_4
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_2
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_2
						add_idea = soviet_influence_3
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_1
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_1
						add_idea = soviet_influence_2
					}
				}
			}
			else = {
				hidden_effect = {
					add_ideas = soviet_influence_1
				}
			}
		}
		
		modifier = {
		}

		remove_effect = {

		}
	}

	ask_for_cas = {
	
		icon = generic_air

		allowed = {
			original_tag = PRU
		}
		
		available = {
			is_puppet = no
		}

		cost = 	0

		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_soviet_help
			SOV = { OR = { has_tech = CAS1 } }
		}	

		complete_effect = {
			if = {
				limit = {
					SOV = { has_tech = CAS3 }
				}
				add_equipment_to_stockpile = { type = CAS_equipment_3 amount = 100 producer = SOV }
			}
			else_if = {
				limit = {
					SOV = { has_tech = CAS2 }
				}
				add_equipment_to_stockpile = { type = CAS_equipment_2 amount = 100 producer = SOV }
			}
			else = {
				add_equipment_to_stockpile = { type = CAS_equipment_1 amount = 100 producer = SOV }
			}
			
			if = {
				limit = {
					has_idea = soviet_influence_5
				}
				hidden_effect = {
					remove_ideas = soviet_influence_5
					set_global_flag = peru_sov
					SOV = { puppet = PRU } news_event = peru.1
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_4
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_4
						add_idea = soviet_influence_5
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_3
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_3
						add_idea = soviet_influence_4
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_2
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_2
						add_idea = soviet_influence_3
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_1
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_1
						add_idea = soviet_influence_2
					}
				}
			}
			else = {
				hidden_effect = {
					add_ideas = soviet_influence_1
				}
			}
		}
		
		modifier = {
		}

		remove_effect = {

		}
	}

	ask_for_bombers = {
	
		icon = generic_air

		allowed = {
			original_tag = PRU
		}

		available = {
			is_puppet = no
		}

		cost = 	0

		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		
		ai_will_do = {
			factor = 0
		}

		visible = {
			has_completed_focus = PRU_soviet_help
		}	

		complete_effect = {
			if = {
				limit = {
					SOV = { has_tech = tactical_bomber3 }
				}
				add_equipment_to_stockpile = { type = tac_bomber_equipment_3 amount = 100 producer = SOV }
			}
			else_if = {
				limit = {
					SOV = { has_tech = tactical_bomber2 }
				}
				add_equipment_to_stockpile = { type = tac_bomber_equipment_2 amount = 100 producer = SOV }
			}
			else_if = {
				limit = {
					SOV = { has_tech = tactical_bomber1 }
				}
				add_equipment_to_stockpile = { type = tac_bomber_equipment_1 amount = 100 producer = SOV }
			}
			else = {
				add_equipment_to_stockpile = { type = tac_bomber_equipment_0 amount = 100 producer = SOV }
			}
			
			if = {
				limit = {
					has_idea = soviet_influence_5
				}
				hidden_effect = {
					remove_ideas = soviet_influence_5
					set_global_flag = peru_sov
					SOV = { puppet = PRU } news_event = peru.1
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_4
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_4
						add_idea = soviet_influence_5
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_3
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_3
						add_idea = soviet_influence_4
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_2
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_2
						add_idea = soviet_influence_3
					}
				}
			}
			else_if = {
				limit = {
					has_idea = soviet_influence_1
				}
				hidden_effect = {
					swap_ideas = {
						remove_idea = soviet_influence_1
						add_idea = soviet_influence_2
					}
				}
			}
			else = {
				hidden_effect = {
					add_ideas = soviet_influence_1
				}
			}
		}
		
		modifier = {
		}

		remove_effect = {

		}
	}	
}

PRU_expand_industry_category = {
	
	expand_industry_1 = { 
		
		icon = generic_construction


		allowed = {
			original_tag = PRU
		}

		available = {
			always = no
		}

		visible = {
			has_completed_focus = PRU_expand_industry
		}
		
		fire_only_once = yes
		days_mission_timeout = 45
		is_good = yes		

		
		activation = {
			has_completed_focus = PRU_expand_industry
		}
		

		modifier = {
		
		}
		
		timeout_effect = { 
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = industrial_complex
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
	
	expand_industry_2 = { 
		
		icon = ger_military_buildup

		allowed = {
			original_tag = PRU
		}

		available = {
			always = no
		}

		visible = {
			has_completed_focus = PRU_expand_industry
		}
		
		fire_only_once = yes
		days_mission_timeout = 90
		is_good = yes		

		
		activation = {
			has_completed_focus = PRU_expand_industry
		}
		

		modifier = {
		
		}
		
		timeout_effect = { 
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}
	
	expand_industry_3 = { 
		
		icon = generic_construction

		allowed = {
			original_tag = PRU
		}

		available = {
			always = no
		}

		visible = {
			has_completed_focus = PRU_expand_industry
		}
		
		fire_only_once = yes
		days_mission_timeout = 135
		is_good = yes		

		
		activation = {
			has_completed_focus = PRU_expand_industry
		}
		

		modifier = {
		
		}
		
		timeout_effect = { 
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = industrial_complex
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
	
	expand_industry_4 = { 
		
		icon = ger_military_buildup

		allowed = {
			original_tag = PRU
		}

		available = {
			always = no
		}

		visible = {
			has_completed_focus = PRU_expand_industry
		}
		
		fire_only_once = yes
		days_mission_timeout = 180
		is_good = yes		

		
		activation = {
			has_completed_focus = PRU_expand_industry
		}
		

		modifier = {
		
		}
		
		timeout_effect = { 
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}
	
	expand_industry_5 = { 
		
		icon = generic_construction

		allowed = {
			original_tag = PRU
		}

		available = {
			always = no
		}

		visible = {
			has_completed_focus = PRU_expand_industry
		}
		
		fire_only_once = yes
		days_mission_timeout = 225
		is_good = yes		

		
		activation = {
			has_completed_focus = PRU_expand_industry
		}
		

		modifier = {
		
		}
		
		timeout_effect = { 
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = industrial_complex
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
	
	expand_industry_6 = { 
		
		icon = ger_military_buildup

		allowed = {
			original_tag = PRU
		}

		available = {
			always = no
		}

		visible = {
			has_completed_focus = PRU_expand_industry
		}
		
		fire_only_once = yes
		days_mission_timeout = 270
		is_good = yes		

		
		activation = {
			has_completed_focus = PRU_expand_industry
		}
		

		modifier = {
		
		}
		
		timeout_effect = { 
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}
	
	expand_industry_7 = { 
		
		icon = generic_construction

		allowed = {
			original_tag = PRU
		}

		available = {
			always = no
		}

		visible = {
			has_completed_focus = PRU_expand_industry
		}
		
		fire_only_once = yes
		days_mission_timeout = 315
		is_good = yes		

		
		activation = {
			has_completed_focus = PRU_expand_industry
		}
		

		modifier = {
		
		}
		
		timeout_effect = { 
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = industrial_complex
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
	
	expand_industry_8 = { 
		
		icon = generic_naval

		allowed = {
			original_tag = PRU
		}

		available = {
			always = no
		}

		visible = {
			has_completed_focus = PRU_expand_industry
		}
		
		fire_only_once = yes
		days_mission_timeout = 360
		is_good = yes		

		
		activation = {
			has_completed_focus = PRU_expand_industry
		}
		

		modifier = {
		
		}
		
		timeout_effect = { 
			random_owned_controlled_state = {
					limit = {
						is_coastal = yes
						free_building_slots = {
							building = dockyard
							size > 2
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			random_owned_controlled_state = {
					limit = {
						is_coastal = yes
						free_building_slots = {
							building = dockyard
							size > 2
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
		}
	}
}