political_actions = {

	SRS_victory_sepoy_rebellion = {

		icon= generic_civil_support
		ai_will_do = {
			factor = 1000
		}
		available = {
			436 = {
				OR = {
					is_controlled_by = SRS
					is_controlled_by = GWA
					is_controlled_by = OUD
				}
			}
			435 = {
				OR = {
					is_controlled_by = SRS
					is_controlled_by = GWA
					is_controlled_by = OUD
				}
			}
			1289 = {
				OR = {
					is_controlled_by = SRS
					is_controlled_by = GWA
					is_controlled_by = OUD
				}
			}
			OUD = {
				controls_province = 9973
			}
			controls_province = 12777
		}

		days_mission_timeout = 650

		activation = {
			always = no
		}

		#cancel_trigger = {
		#
		#}

		highlight_states = {
			highlight_state_targets = {
				state = 431
			}
		}

		#visible = {
		#	has_country_flag = fenian_rising_dublin
		#	tag = ENG
		#}

		is_good = no

		timeout_effect = {
			RAJ = {
				annex_country = {
					target = SRS
					transfer_troops = no
				}
		    }
			ENG ={
				country_event = britishindia.1
			}
		}

		complete_effect = {
		    country_event = {id=britishindia.14}
		    add_stability = 0.05
			add_war_support = 0.05
        }
    }

	SRS_sepoy_rebellion_exhaustion = {

		icon= generic_civil_support
		ai_will_do = {
			factor = 1000
		}

		available = {
			always = no
		}

		days_mission_timeout = 115

		activation = {
			has_active_mission = SRS_victory_sepoy_rebellion
		}

		cancel_trigger = {
			NOT = {
				has_war_with = ENG
			}
		}

		#highlight_states = {
		#
		#}

		#visible = {
		#	has_country_flag = fenian_rising_dublin
		#	tag = ENG
		#}

		is_good = no

		days_remove = 1

		timeout_effect = {
			if = {
				limit = {
					has_idea = SRS_war_exhaustion_0
				}
				swap_ideas = {
					remove_idea = SRS_war_exhaustion_0
					add_idea = SRS_war_exhaustion_1
				}
			}
			if = {
				limit = {
					has_idea = SRS_war_exhaustion_1
				}
				swap_ideas = {
					remove_idea = SRS_war_exhaustion_1
					add_idea = SRS_war_exhaustion_2
				}
			}
			else_if = {
				limit = {
					has_idea = SRS_war_exhaustion_2
				}
				swap_ideas = {
					remove_idea = SRS_war_exhaustion_2
					add_idea = SRS_war_exhaustion_3
				}
			}
			else_if = {
				limit = {
					has_idea = SRS_war_exhaustion_3
				}
				swap_ideas = {
					remove_idea = SRS_war_exhaustion_3
					add_idea = SRS_war_exhaustion_4
				}
			}
			else_if = {
				limit = {
					has_idea = SRS_war_exhaustion_4
				}
				swap_ideas = {
					remove_idea = SRS_war_exhaustion_4
					add_idea = SRS_war_exhaustion_5
				}
			}
			else_if = {
				limit = {
					has_idea = SRS_war_exhaustion_5
				}
				swap_ideas = {
					remove_idea = SRS_war_exhaustion_5
					add_idea = SRS_war_exhaustion_6
				}
			}
			else_if = {
				limit = {
					has_idea = SRS_war_exhaustion_6
				}
				swap_ideas = {
					remove_idea = SRS_war_exhaustion_6
					add_idea = SRS_war_exhaustion_7
				}
			}
			hidden_effect = {
				activate_mission = SRS_sepoy_rebellion_exhaustion 
				add_days_mission_timeout = {
					mission = SRS_sepoy_rebellion_exhaustion 
					days = 5
				}
			}
		}

		complete_effect = {
        }
    }
	
	#Defense of Delhi
	eoanb_decision_SRS_defend_delhi = {

		icon = generic_prepare_civil_war

		available = {
			has_war_support > 0.25
		}
		
		allowed = { TAG = SRS }

		visible = {
			TAG = SRS
			SRS = { has_war_with = RAJ }
			NOT = { controls_state = 438 }
			controls_state = 439
		}

		fire_only_once = yes

		cost = 0

		days_remove = 90
		
		modifier = {
			ai_focus_defense_factor = 1
			army_core_attack_factor = 0.25
			army_core_defence_factor = 0.75
		}

		ai_will_do = {
			base = 1000
			modifier = {
				factor = 0.01
				is_historical_focus_on = no
			}
		}
	}

	SRS_decision_call_burma_to_war = {

		icon = generic_prepare_civil_war

		available = {
			has_completed_focus = SRS_burma
			BRM = {
				has_country_flag = SRS_Offered_Military
			}
		}
		
		allowed = { TAG = SRS }

		visible = {
			TAG = SRS
			has_war_with = RAJ
			NOT = {
				has_active_mission = SRS_victory_sepoy_rebellion
			}
		}

		fire_only_once = yes

		cost = 10

		days_remove = 15
		
		#modifier = {
		#
		#}
		
		remove_effect ={
			BRM = {
				country_event = sepoy.27
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	SRS_decision_call_siam_to_war = {

		icon = generic_prepare_civil_war

		available = {
			has_completed_focus = SRS_siam
			SIA = {
				has_country_flag = SRS_Offered_Military
			}
		}
		
		allowed = { TAG = SRS }

		visible = {
			TAG = SRS
			has_war_with = RAJ
			NOT = {
				has_active_mission = SRS_victory_sepoy_rebellion
			}
		}

		fire_only_once = yes

		cost = 10

		days_remove = 15
		
		#modifier = {
		#
		#}
		
		remove_effect ={
			SIA = {
				country_event = sepoy.27
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	SRS_decision_call_afghan_to_war = {

		icon = generic_prepare_civil_war

		available = {
			has_completed_focus = SRS_afghan
			SIA = {
				has_country_flag = SRS_Offered_Military
			}
		}
		
		allowed = { TAG = SRS }

		visible = {
			TAG = SRS
			has_war_with = KAR
		}

		fire_only_once = yes

		cost = 10

		days_remove = 15
		
		#modifier = {
		#
		#}
		
		remove_effect ={
			AFG = {
				country_event = sepoy.28
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	SRS_decision_intergrate_GWA = {

		icon = generic_prepare_civil_war

		available = {
			has_completed_focus = SRS_intergrate_new_land
		}
		
		allowed = { TAG = SRS }

		visible = {
			TAG = SRS
			GWA ={
				is_subject_of = SRS
			}
		}

		fire_only_once = yes

		cost = 100

		days_remove = 140
		
		modifier = {		
			political_power_factor = -0.10
		}
		
		remove_effect ={
			annex_country = {
				target = GWA
				transfer_troops = yes
			}
			754 = {
				add_core_of = SRS
			}
			437 = {
				add_core_of = SRS
			}
			436 = {
				add_core_of = SRS
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	SRS_decision_intergrate_OUD = {

		icon = generic_prepare_civil_war

		available = {
			has_completed_focus = SRS_intergrate_new_land
		}
		
		allowed = { TAG = SRS }

		visible = {
			TAG = SRS
			OUD ={
				is_subject_of = SRS
			}
		}

		fire_only_once = yes

		cost = 100

		days_remove = 140
		
		modifier = {		
			political_power_factor = -0.10
		}
		
		remove_effect ={
			annex_country = {
				target = OUD
				transfer_troops = yes
			}
			438 = {
				add_core_of = SRS
			}
			756 = {
				add_core_of = SRS
			}
			435 = {
				add_core_of = SRS
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	SRS_decision_intergrate_HYD = {

		icon = generic_prepare_civil_war

		available = {
			has_completed_focus = SRS_intergrate_new_land
		}
		
		allowed = { TAG = SRS }

		visible = {
			TAG = SRS
			HYD ={
				is_subject_of = SRS
			}
		}

		fire_only_once = yes

		cost = 100

		days_remove = 140
		
		modifier = {		
			political_power_factor = -0.10
		}
		
		remove_effect ={
			annex_country = {
				target = HYD
				transfer_troops = yes
			}
			427 = {
				add_core_of = SRS
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	SRS_decision_intergrate_princes_lands = {

		icon = generic_prepare_civil_war

		available = {
			has_completed_focus = SRS_intergrate_new_land
			owns_state = 754
			owns_state = 437
			owns_state = 436
			owns_state = 438
			owns_state = 756
			owns_state = 435
			owns_state = 427
		}
		
		allowed = { TAG = SRS }

		visible = {
			TAG = SRS
			has_completed_focus = SRS_annex_princes
		}

		fire_only_once = yes

		cost = 200

		days_remove = 200
		
		modifier = {		
			political_power_factor = -0.10
		}
		
		remove_effect ={
			754 = {
				add_core_of = SRS
			}
			437 = {
				add_core_of = SRS
			}
			436 = {
				add_core_of = SRS
			}
			438 = {
				add_core_of = SRS
			}
			756 = {
				add_core_of = SRS
			}
			435 = {
				add_core_of = SRS
			}
			427 = {
				add_core_of = SRS
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	SRS_decision_intergrate_sikh_lands = {

		icon = generic_prepare_civil_war

		available = {
			has_completed_focus = SRS_sikhs
			owns_state = 1246
			owns_state = 441
			owns_state = 1317
			owns_state = 440
			owns_state = 403
			owns_state = 1330
		}
		
		allowed = { TAG = SRS }

		visible = {
			TAG = SRS
			has_completed_focus = SRS_sikhs
		}

		fire_only_once = yes

		cost = 150

		days_remove = 200
		
		modifier = {		
			political_power_factor = -0.10
		}
		
		remove_effect ={
			add_state_core = 1246
			add_state_core = 441
			add_state_core = 1317
			add_state_core = 440
			add_state_core = 442
			add_state_core = 403
			add_state_core = 1330
		}

		ai_will_do = {
			base = 1000
		}
	}

	SRS_decision_intergrate_RAJ_lands = {

		icon = generic_prepare_civil_war

		available = {
			has_completed_focus = SRS_britain
			owns_state = 431
		}
		
		allowed = { TAG = SRS }

		visible = {
			TAG = SRS
			has_completed_focus = SRS_britain
		}

		fire_only_once = yes

		cost = 250

		days_remove = 300
		
		modifier = {		
			political_power_factor = -0.10
		}
		
		remove_effect ={
			add_state_core = 1000
			add_state_core = 443
			add_state_core = 428
			add_state_core = 1007
			add_state_core = 429
			add_state_core = 977
			add_state_core = 425
			add_state_core = 757
			add_state_core = 758
			add_state_core = 423
			add_state_core = 424
			add_state_core = 1034
			add_state_core = 755
			add_state_core = 1030
			add_state_core = 426
			add_state_core = 431
			add_state_core = 1289
			add_state_core = 1315
			add_state_core = 1169
			add_state_core = 430
			add_state_core = 1316
			add_state_core = 1075
			add_state_core = 780
			add_state_core = 777
			add_state_core = 778
			add_state_core = 288
			add_state_core = 432
			add_state_core = 434
		}

		ai_will_do = {
			base = 1000
		}
	}

	SRS_decision_attack_HYD = {

		icon = generic_prepare_civil_war

		available = {
			has_completed_focus = SRS_annex_princes
		}
		
		allowed = { TAG = SRS }

		visible = {
			TAG = SRS
			has_completed_focus = SRS_annex_princes
		}

		fire_only_once = yes

		cost = 50

		days_remove = 14
		
		#modifier = {		
		#
		#}
		
		remove_effect ={
			declare_war_on = {
				target = HYD
				type = annex_everything
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	SRS_decision_attack_OUD = {

		icon = generic_prepare_civil_war

		available = {
			has_completed_focus = SRS_annex_princes
		}
		
		allowed = { TAG = SRS }

		visible = {
			TAG = SRS
			has_completed_focus = SRS_annex_princes
		}

		fire_only_once = yes

		cost = 50

		days_remove = 14
		
		#modifier = {		
		#
		#}
		
		remove_effect ={
			declare_war_on = {
				target = OUD
				type = annex_everything
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	SRS_decision_attack_GWA = {

		icon = generic_prepare_civil_war

		available = {
			has_completed_focus = SRS_annex_princes
		}
		
		allowed = { TAG = SRS }

		visible = {
			TAG = SRS
			has_completed_focus = SRS_annex_princes
		}

		fire_only_once = yes

		cost = 50

		days_remove = 14
		
		#modifier = {		
		#
		#}
		
		remove_effect ={
			declare_war_on = {
				target = GWA
				type = annex_everything
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	SRS_decision_british_truce = {

		icon = generic_prepare_civil_war

		available = {
			has_war_with = ENG
			RAJ = {
				has_capitulated = yes
			}
		}
		
		allowed = { TAG = SRS }

		visible = {
			TAG = SRS
			has_completed_focus = SRS_britain
		}

		fire_only_once = yes

		cost = 50

		days_remove = 14
		
		#modifier = {		
		#
		#}
		
		remove_effect ={
			hidden_effect = {
				white_peace = ENG
				annex_country = {
					target = RAJ
					transfer_troops = no
				}
				ENG = {
					end_puppet = NEP
				}
				NEP = {
					remove_ideas = AFR_british_protectorate
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	SRS_decision_secure_bihar = {

		icon = generic_prepare_civil_war

		available = {
			435 = {
				OR = {
					is_controlled_by = SRS
					is_controlled_by = GWA
					is_controlled_by = OUD
				}
			}
		}
		
		allowed = { TAG = SRS }

		visible = {
			has_active_mission = SRS_victory_sepoy_rebellion
		}

		highlight_states = {
			highlight_state_targets = {
				state = 436
			}
		}

		fire_only_once = yes

		cost = 0

		days_remove = 0
		
		#modifier = {		
		#
		#}
		
		remove_effect ={
			add_days_mission_timeout = {
				mission = SRS_victory_sepoy_rebellion
				days = 50
			}
			add_timed_idea = {
				idea = SRS_idea_morale_boost
				days = 60
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	SRS_decision_secure_centre = {

		icon = generic_prepare_civil_war

		available = {
			436 = {
				OR = {
					is_controlled_by = SRS
					is_controlled_by = GWA
					is_controlled_by = OUD
				}
			}
		}
		
		allowed = { TAG = SRS }

		visible = {
			has_active_mission = SRS_victory_sepoy_rebellion
		}

		highlight_states = {
			highlight_state_targets = {
				state = 435
			}
		}

		fire_only_once = yes

		cost = 0

		days_remove = 0
		
		#modifier = {		
		#
		#}
		
		remove_effect ={
			add_days_mission_timeout = {
				mission = SRS_victory_sepoy_rebellion
				days = 50
			}
			add_timed_idea = {
				idea = SRS_idea_morale_boost
				days = 60
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
	
	SRS_decision_secure_jharkhand= {

		icon = generic_prepare_civil_war

		available = {
			1289 = {
				OR = {
					is_controlled_by = SRS
					is_controlled_by = GWA
					is_controlled_by = OUD
				}
			}
		}
		
		allowed = { TAG = SRS }

		visible = {
			has_active_mission = SRS_victory_sepoy_rebellion
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1289
			}
		}

		fire_only_once = yes

		cost = 0

		days_remove = 0
		
		#modifier = {		
		#
		#}
		
		remove_effect ={
			add_days_mission_timeout = {
				mission = SRS_victory_sepoy_rebellion
				days = 30
			}
			add_timed_idea = {
				idea = SRS_idea_morale_boost
				days = 60
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
}

eoanb_category_development={
	#Defense of Delhi
	SRS_develop_military_industry_decsion = {

		icon = generic_prepare_civil_war

		available = {
			num_of_civilian_factories_available_for_projects > 1
		}
		
		allowed = { TAG = SRS }

		visible = {
			TAG = SRS
			has_completed_focus = SRS_issue_of_obtaining_modern_equipment
			num_of_military_factories < 1
		}

		fire_only_once = yes

		cost = 0

		days_remove = 420
		
		modifier = {
			civilian_factory_use = 2
		}
		
		remove_effect ={
			439 = {
				add_building_construction = { type = arms_factory level = 1 instant_build = yes }
            }
		}

		ai_will_do = {
			base = 1000
			modifier = {
				factor = 0.01
				is_historical_focus_on = no
			}
		}
	}
}

eoanb_category_economic = {
	SRS_mission_Combat_Poverty_traditional = {
		icon = generic_construction

		visible = {
			always = no
		}

		fire_only_once = yes

		days_remove = 250

		cost = 0

		allowed = { TAG = SAF }

		modifier = {
			consumer_goods_expected_value = 0.05
		}

		remove_effect = {
			add_political_power = 100
			add_stability = 0.05
		}

		ai_will_do = {
			base = 1000
		}
	}

	SRS_mission_Subsidize_Farms = {

		icon = generic_construction

		visible = {
			always = no
		}

		fire_only_once = yes

		days_remove = 500

		cost = 0

		allowed = { TAG = SAF }

		modifier = {
			consumer_goods_expected_value = 0.05
		}

		ai_will_do = {
			base = 1000
		}
		remove_effect = {
			433 = { add_building_construction = { type = farm level = 1 instant_build = yes } }
			433 = { add_extra_state_shared_building_slots = 1 }
		}
	}

	SRS_mission_Educate_Farmers = {
		icon = generic_construction

		visible = {
			always = no
		}

		fire_only_once = yes

		days_remove = 250

		cost = 0

		allowed = { TAG = SAF }

		modifier = {
			consumer_goods_expected_value = 0.05
			political_power_cost = 0.05
		}

		remove_effect = {
			add_tech_bonus = {
   	 			bonus = 0.25
    			uses = 2
    			category = biochemistry_tech
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	SRS_mission_Organise_Agricultural_Press = {
		icon = generic_construction

		visible = {
			always = no
		}

		fire_only_once = yes

		days_remove = 500

		cost = 0

		allowed = { TAG = SAF }

		modifier = {
			consumer_goods_expected_value = 0.01
			political_power_cost = 0.05
		}

		remove_effect = {
			add_political_power = 100
		}

		ai_will_do = {
			base = 1000
		}
	}

	SRS_mission_Support_Local_Farmers = {
		icon = generic_construction

		visible = {
			always = no
		}

		fire_only_once = yes

		days_remove = 100

		cost = 0

		allowed = { TAG = SAF }

		modifier = {
			consumer_goods_expected_value = 0.05
		}

		remove_effect = {
			1379 = { add_building_construction = { type = farm level = 1 instant_build = yes } }
			1379 = { add_extra_state_shared_building_slots = 1 }
		}

		ai_will_do = {
			base = 1000
		}
	}

	SRS_mission_Encourage_Cheese_Factories = {
		icon = generic_construction

		visible = {
			always = no
		}

		fire_only_once = yes

		days_remove = 500

		cost = 0

		allowed = { TAG = SAF }

		modifier = {
			political_power_cost = 0.05
		}

		remove_effect = {
			1379 = { add_building_construction = { type = industrial_complex level = 1 instant_build = yes } }
			1379 = { add_extra_state_shared_building_slots = 1 }
		}

		ai_will_do = {
			base = 1000
		}
	}

	SRS_mission_Subsidize_Wheat_Farms = {
		icon = generic_construction

		visible = {
			always = no
		}

		fire_only_once = yes

		days_remove = 500

		cost = 0

		allowed = { TAG = SAF }

		modifier = {
			political_power_cost = 0.05
			consumer_goods_expected_value = 0.05
		}

		remove_effect = {
			1379 = { add_building_construction = { type = farm level = 1 instant_build = yes } }
			1379 = { add_extra_state_shared_building_slots = 1 }
		}

		ai_will_do = {
			base = 1000
		}
	}

	SRS_mission_Industrial_Textile_Industry = {

		icon = generic_construction

		visible = {
			always = no
		}

		fire_only_once = yes

		days_remove = 1095

		cost = 0

		allowed = { TAG = SRS }

		remove_effect = {
			439 = {
				add_resource = {
					type = fabric
					amount = 1
				}
			}
			759 = {
				add_resource = {
					type = fabric
					amount = 1
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
}