rt56rp_AOI_dig_deeper_for_resources = {

	rt56rp_AOI_expand_somaliland_steel_resources = { #559
		
		icon = steel

		allowed = {

		}

		highlight_states = {
            highlight_state_targets = {
			    state = 559
		    } 
        }

		available = {
			has_tech = construction2
			num_of_civilian_factories_available_for_projects > 2
			owns_state = 559
			controls_state = 559
		}

		visible = {
			owns_state = 559
			controls_state = 559
			559 = {
				NOT = {
					has_state_flag = rt56rp_somaliland_expanded_steel
				}
			}
			OR = {
				has_completed_focus = rt56rp_AOI_dig_deeper_for_resources
			}
		}

		fire_only_once = yes

		ai_will_do = {
			base = 5
			modifier = {
				factor = 35
				num_of_civilian_factories > 10
			}
			modifier = {
				factor = 35
				has_political_power > 300
			}
		}

		cost = 25
		days_remove = 90

		modifier = {
			civilian_factory_use = 3
		}

		remove_effect = {
			559 = { set_state_flag = rt56rp_somaliland_expanded_steel }
			559 = {
				add_resource = {
					type = steel
					amount = 9
				}
			}
		}
	}

	rt56rp_AOI_expand_bale_oil_works = { #836
		
		icon = oil

		allowed = {

		}

		highlight_states = {
            highlight_state_targets = {
			    state = 836
		    } 
        }

		available = {
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 2
			owns_state = 836
			controls_state = 836
		}

		visible = {
			owns_state = 836
			controls_state = 836
			836 = {
				NOT = {
					has_state_flag = rt56rp_bale_expanded_oil
				}
			}
			OR = {
				has_completed_focus = rt56rp_AOI_dig_deeper_for_resources
			}
		}

		fire_only_once = yes

		ai_will_do = {
			base = 5
			modifier = {
				factor = 35
				num_of_civilian_factories > 10
			}
			modifier = {
				factor = 35
				has_political_power > 300
			}
		}

		cost = 25
		days_remove = 90

		modifier = {
			civilian_factory_use = 3
		}

		remove_effect = {
			836 = { set_state_flag = rt56rp_bale_expanded_oil }
			836 = {
				add_resource = {
					type = oil
					amount = 13
				}
			}
		}
	}

	rt56rp_AOI_expand_afar_aluminium_works = { #908
		
		icon = aluminium

		allowed = {

		}

		highlight_states = {
            highlight_state_targets = {
			    state = 908
		    } 
        }

		available = {
			has_tech = construction3
			num_of_civilian_factories_available_for_projects > 2
			owns_state = 908
			controls_state = 908
		}

		visible = {
			owns_state = 908
			controls_state = 908
			908 = {
				NOT = {
					has_state_flag = rt56rp_afar_expanded_aluminium
				}
			}
			OR = {
				has_completed_focus = rt56rp_AOI_dig_deeper_for_resources
			}
		}

		fire_only_once = yes

		ai_will_do = {
			base = 5
			modifier = {
				factor = 35
				num_of_civilian_factories > 10
			}
			modifier = {
				factor = 35
				has_political_power > 300
			}
		}

		cost = 25
		days_remove = 90

		modifier = {
			civilian_factory_use = 3
		}

		remove_effect = {
			908 = { set_state_flag = rt56rp_afar_expanded_aluminium }
			908 = {
				add_resource = {
					type = aluminium
					amount = 11
				}
			}
		}
	}

	rt56rp_AOI_expand_begemder_tungsten_deposits = { #841
		
		icon = tungsten

		allowed = {
			
		}

		available = {
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 2
			owns_state = 841
			controls_state = 841
		}

		highlight_states = {
            highlight_state_targets = {
			    state = 841
		    } 
        }

		visible = {
			owns_state = 841
			controls_state = 841
			841 = {
				NOT = {
					has_state_flag = rt56rp_begemder_expanded_tungsten
				}
			}
			OR = {
				has_completed_focus = rt56rp_AOI_dig_deeper_for_resources
			}
		}

		fire_only_once = yes

		ai_will_do = {
			base = 5
			modifier = {
				factor = 35
				num_of_civilian_factories > 10
			}
			modifier = {
				factor = 35
				has_political_power > 300
			}
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 3
		}

		remove_effect = {
			841 = { set_state_flag = rt56rp_begemder_expanded_tungsten }
			841 = {
				add_resource = {
					type = tungsten
					amount = 16
				}
			}
		}
	}

	rt56rp_AOI_develop_gojjam_tungsten_deposits = { #840
		
		icon = tungsten

		allowed = {
			
		}

		available = {
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 2
			owns_state = 840
			controls_state = 840
		}

		highlight_states = {
            highlight_state_targets = {
			    state = 840
		    } 
        }

		visible = {
			owns_state = 840
			controls_state = 840
			840 = {
				NOT = {
					has_state_flag = rt56rp_gojjam_expanded_tungsten
				}
			}
			OR = {
				has_completed_focus = rt56rp_AOI_dig_deeper_for_resources
			}
		}

		fire_only_once = yes

		ai_will_do = {
			base = 5
			modifier = {
				factor = 35
				num_of_civilian_factories > 10
			}
			modifier = {
				factor = 35
				has_political_power > 300
			}
		}

		cost = 35
		days_remove = 60

		modifier = {
			civilian_factory_use = 3
		}

		remove_effect = {
			840 = { set_state_flag = rt56rp_gojjam_expanded_tungsten }
			840 = {
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
		}
	}
	
	rt56rp_AOI_expand_tigray_coal_mines = { #842
		
		icon = coal

		allowed = {
			
		}

		highlight_states = {
            highlight_state_targets = {
			    state = 842
		    } 
        }

		available = {
			has_tech = excavation2
			num_of_civilian_factories_available_for_projects > 2
			owns_state = 842
			controls_state = 842
		}

		visible = {
			owns_state = 842
			controls_state = 842
			842 = {
				NOT = {
					has_state_flag = rt56rp_tigray_coal_expanded
				}
			}
			OR = {
				has_completed_focus = rt56rp_AOI_dig_deeper_for_resources
			}
		}

		fire_only_once = yes

		ai_will_do = {
			base = 5
			modifier = {
				factor = 35
				num_of_civilian_factories > 10
			}
			modifier = {
				factor = 35
				has_political_power > 300
			}
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 3
		}

		remove_effect = { 
			842 = { set_state_flag = rt56rp_tigray_coal_expanded } 
			842 = {
				add_resource = {
					type = coal
					amount = 7
				}
			}
		}
	}
}

rt56rp_AOI_integrate_local_lands = {

	rt56rp_AOI_integrate_shewa = { #271 

	    icon = GFX_decision_BOL_reintegrate_acre_state

	    allowed = {
		
	    }

	    highlight_states = {
		    highlight_state_targets = {
			    state = 271
		    }
	    }

	    available = {
		    271 = {
			    is_fully_controlled_by = ROOT
			    compliance > 50
		    }
	    }

	    visible = {
		    AOI = {
			    has_completed_focus = rt56rp_AOI_integrate_the_lands
		    }
	    }

	    fire_only_once = yes

		

	    cost = 35
	    days_remove = 45

	    modifier = {
		
	    }

	    ai_will_do = {
		    factor = 1
	    }

	    remove_effect = {
		    AOI = {
			    add_state_core = 271
		    }
			271 = {
				add_dynamic_modifier = {
					modifier = rt56rp_AOI_integrated_state
					scope = AOI
				}
			}
	    }
	}

	rt56rp_AOI_integrate_illubabor_kaffa = { #838

	    icon = GFX_decision_BOL_reintegrate_acre_state

	    allowed = {
		
	    }

	    highlight_states = {
		    highlight_state_targets = {
			    state = 838
		    }
	    }

	    available = {
		    838 = {
			    is_fully_controlled_by = ROOT
			    compliance > 50
		    }
	    }

	    visible = {
		    AOI = {
			    has_completed_focus = rt56rp_AOI_integrate_the_lands
		    }
	    }

	    fire_only_once = yes

	    cost = 35
	    days_remove = 45

	    modifier = {
		
	    }

	    ai_will_do = {
		    factor = 1
	    }

	    remove_effect = {
		    AOI = {
			    add_state_core = 838
		    }
			838 = {
				add_dynamic_modifier = {
					modifier = rt56rp_AOI_integrated_state
					scope = AOI
				}
			}
	    }
	}

	rt56rp_AOI_integrate_welega = { #839

	    icon = GFX_decision_BOL_reintegrate_acre_state

	    allowed = {
		
	    }

	    highlight_states = {
		    highlight_state_targets = {
			    state = 839
		    }
	    }

	    available = {
		    839 = {
			    is_fully_controlled_by = ROOT
			    compliance > 50
		    }
	    }

	    visible = {
		    AOI = {
			    has_completed_focus = rt56rp_AOI_integrate_the_lands
		    }
	    }

	    fire_only_once = yes

	    cost = 35
	    days_remove = 45

	    modifier = {
		
	    }

	    ai_will_do = {
		    factor = 1
	    }

	    remove_effect = {
		    AOI = {
			    add_state_core = 839
		    }
			839 = {
				add_dynamic_modifier = {
					modifier = rt56rp_AOI_integrated_state
					scope = AOI
				}
			}
	    }
	}

	rt56rp_AOI_integrate_gojjam = { #840

	    icon = GFX_decision_BOL_reintegrate_acre_state

	    allowed = {
		
	    }

	    highlight_states = {
		    highlight_state_targets = {
			    state = 840
		    }
	    }

	    available = {
		    840 = {
			    is_fully_controlled_by = ROOT
			    compliance > 50
		    }
	    }

	    visible = {
		    AOI = {
			    has_completed_focus = rt56rp_AOI_integrate_the_lands
		    }
	    }

	    fire_only_once = yes

	    cost = 35
	    days_remove = 45

	    modifier = {
		
	    }

	    ai_will_do = {
		    factor = 1
	    }

	    remove_effect = {
		    AOI = {
			    add_state_core = 840
		    }
			840 = {
				add_dynamic_modifier = {
					modifier = rt56rp_AOI_integrated_state
					scope = AOI
				}
			}
	    }
	}

	rt56rp_AOI_integrate_begemder = { #841

	    icon = GFX_decision_BOL_reintegrate_acre_state

	    allowed = {
		
	    }

	    highlight_states = {
		    highlight_state_targets = {
			    state = 841
		    }
	    }

	    available = {
		    841 = {
			    is_fully_controlled_by = ROOT
			    compliance > 50
		    }
	    }

	    visible = {
		    AOI = {
			    has_completed_focus = rt56rp_AOI_integrate_the_lands
		    }
	    }

	    fire_only_once = yes

	    cost = 35
	    days_remove = 45

	    modifier = {
		
	    }

	    ai_will_do = {
		    factor = 1
	    }

	    remove_effect = {
		    AOI = {
			    add_state_core = 841
		    }
			841 = {
				add_dynamic_modifier = {
					modifier = rt56rp_AOI_integrated_state
					scope = AOI
				}
			}
	    }
	}

	rt56rp_AOI_integrate_wello = { #843

	    icon = GFX_decision_BOL_reintegrate_acre_state

	    allowed = {
		
	    }

	    highlight_states = {
		    highlight_state_targets = {
			    state = 843
		    }
	    }

	    available = {
		    843 = {
			    is_fully_controlled_by = ROOT
			    compliance > 50
		    }
	    }

	    visible = {
		    AOI = {
			    has_completed_focus = rt56rp_AOI_integrate_the_lands
		    }
	    }

	    fire_only_once = yes

	    cost = 35
	    days_remove = 45

	    modifier = {
		
	    }

	    ai_will_do = {
		    factor = 1
	    }

	    remove_effect = {
		    AOI = {
			    add_state_core = 843
		    }
			843 = {
				add_dynamic_modifier = {
					modifier = rt56rp_AOI_integrated_state
					scope = AOI
				}
			}
	    }
	}

	rt56rp_AOI_integrate_tigray = { #842

	    icon = GFX_decision_BOL_reintegrate_acre_state

	    allowed = {
		
	    }

	    highlight_states = {
		    highlight_state_targets = {
			    state = 842
		    }
	    }

	    available = {
		    842 = {
			    is_fully_controlled_by = ROOT
			    compliance > 50
		    }
	    }

	    visible = {
		    AOI = {
			    has_completed_focus = rt56rp_AOI_integrate_the_lands
		    }
	    }

	    fire_only_once = yes

	    cost = 35
	    days_remove = 45

	    modifier = {
		
	    }

	    ai_will_do = {
		    factor = 1
	    }

	    remove_effect = {
		    AOI = {
			    add_state_core = 842
		    }
			842 = {
				add_dynamic_modifier = {
					modifier = rt56rp_AOI_integrated_state
					scope = AOI
				}
			}
	    }
	}

	rt56rp_AOI_integrate_eritrea = { #550

	    icon = GFX_decision_BOL_reintegrate_acre_state

	    allowed = {
		
	    }

	    highlight_states = {
		    highlight_state_targets = {
			    state = 550
		    }
	    }

	    available = {
		    550 = {
			    is_fully_controlled_by = ROOT
			    compliance > 50
		    }
	    }

	    visible = {
		    AOI = {
			    has_completed_focus = rt56rp_AOI_integrate_the_lands
		    }
	    }

	    fire_only_once = yes

	    cost = 35
	    days_remove = 45

	    modifier = {
		
	    }

	    ai_will_do = {
		    factor = 1
	    }

	    remove_effect = {
		    AOI = {
			    add_state_core = 550
		    }
			550 = {
				add_dynamic_modifier = {
					modifier = rt56rp_AOI_integrated_state
					scope = AOI
				}
			}
	    }
	}

	rt56rp_AOI_integrate_afar = { #908

	    icon = GFX_decision_BOL_reintegrate_acre_state

	    allowed = {
		
	    }

	    highlight_states = {
		    highlight_state_targets = {
			    state = 908
		    }
	    }

	    available = {
		    908 = {
			    is_fully_controlled_by = ROOT
			    compliance > 50
		    }
	    }

	    visible = {
		    AOI = {
			    has_completed_focus = rt56rp_AOI_integrate_the_lands
		    }
	    }

	    fire_only_once = yes

	    cost = 35
	    days_remove = 45

	    modifier = {
		
	    }

	    ai_will_do = {
		    factor = 1
	    }

	    remove_effect = {
		    AOI = {
			    add_state_core = 908
		    }
			908 = {
				add_dynamic_modifier = {
					modifier = rt56rp_AOI_integrated_state
					scope = AOI
				}
			}
	    }
	}

	rt56rp_AOI_integrate_hararghe = { #835

	    icon = GFX_decision_BOL_reintegrate_acre_state

	    allowed = {
		
	    }

	    highlight_states = {
		    highlight_state_targets = {
			    state = 835
		    }
	    }

	    available = {
		    835 = {
			    is_fully_controlled_by = ROOT
			    compliance > 50
		    }
	    }

	    visible = {
		    AOI = {
			    has_completed_focus = rt56rp_AOI_integrate_the_lands
		    }
	    }

	    fire_only_once = yes

	    cost = 35
	    days_remove = 45

	    modifier = {
		
	    }

	    ai_will_do = {
		    factor = 1
	    }

	    remove_effect = {
		    AOI = {
			    add_state_core = 835
		    }
			835 = {
				add_dynamic_modifier = {
					modifier = rt56rp_AOI_integrated_state
					scope = AOI
				}
			}
	    }
	}

	rt56rp_AOI_integrate_bale = { #836

	    icon = GFX_decision_BOL_reintegrate_acre_state

	    allowed = {
		
	    }

	    highlight_states = {
		    highlight_state_targets = {
			    state = 836
		    }
	    }

	    available = {
		    836 = {
			    is_fully_controlled_by = ROOT
			    compliance > 50
		    }
	    }

	    visible = {
		    AOI = {
			    has_completed_focus = rt56rp_AOI_integrate_the_lands
		    }
	    }

	    fire_only_once = yes

	    cost = 35
	    days_remove = 45

	    modifier = {
		
	    }

	    ai_will_do = {
		    factor = 1
	    }

	    remove_effect = {
		    AOI = {
			    add_state_core = 836
		    }
			836 = {
				add_dynamic_modifier = {
					modifier = rt56rp_AOI_integrated_state
					scope = AOI
				}
			}
	    }
	}

	rt56rp_AOI_integrate_sidamo = { #837

	    icon = GFX_decision_BOL_reintegrate_acre_state

	    allowed = {
		
	    }

	    highlight_states = {
		    highlight_state_targets = {
			    state = 837
		    }
	    }

	    available = {
		    837 = {
			    is_fully_controlled_by = ROOT
			    compliance > 50
		    }
	    }

	    visible = {
		    AOI = {
			    has_completed_focus = rt56rp_AOI_integrate_the_lands
		    }
	    }

	    fire_only_once = yes

	    cost = 35
	    days_remove = 45

	    modifier = {
		
	    }

	    ai_will_do = {
		    factor = 1
	    }

	    remove_effect = {
		    AOI = {
			    add_state_core = 837
		    }
			837 = {
				add_dynamic_modifier = {
					modifier = rt56rp_AOI_integrated_state
					scope = AOI
				}
			}
	    }
	}

	rt56rp_AOI_integrate_jubaland = { #844

	    icon = GFX_decision_BOL_reintegrate_acre_state

	    allowed = {
		
	    }

	    highlight_states = {
		    highlight_state_targets = {
			    state = 844
		    }
	    }

	    available = {
		    844 = {
			    is_fully_controlled_by = ROOT
			    compliance > 50
		    }
	    }

	    visible = {
		    AOI = {
			    has_completed_focus = rt56rp_AOI_integrate_the_lands
		    }
	    }

	    fire_only_once = yes

	    cost = 35
	    days_remove = 45

	    modifier = {
		
	    }

	    ai_will_do = {
		    factor = 1
	    }

	    remove_effect = {
		    AOI = {
			    add_state_core = 844
		    }
			844 = {
				add_dynamic_modifier = {
					modifier = rt56rp_AOI_integrated_state
					scope = AOI
				}
			}
	    }
	}

	rt56rp_AOI_integrate_somaliland = { #559

	    icon = GFX_decision_BOL_reintegrate_acre_state

	    allowed = {
		
	    }

	    highlight_states = {
		    highlight_state_targets = {
			    state = 559
		    }
	    }

	    available = {
		    559 = {
			    is_fully_controlled_by = ROOT
			    compliance > 50
		    }
	    }

	    visible = {
		    AOI = {
			    has_completed_focus = rt56rp_AOI_integrate_the_lands
		    }
	    }

	    fire_only_once = yes

	    cost = 35
	    days_remove = 45

	    modifier = {
		
	    }

	    ai_will_do = {
		    factor = 1
	    }

	    remove_effect = {
		    AOI = {
			    add_state_core = 559
		    }
			559 = {
				add_dynamic_modifier = {
					modifier = rt56rp_AOI_integrated_state
					scope = AOI
				}
			}
	    }
	}

	rt56rp_AOI_integrate_british_somaliland = { #269

	    icon = GFX_decision_BOL_reintegrate_acre_state

	    allowed = {
		
	    }

	    highlight_states = {
		    highlight_state_targets = {
			    state = 269
		    }
	    }

	    available = {
		    269 = {
			    is_fully_controlled_by = ROOT
			    compliance > 50
		    }
	    }

	    visible = {
		    AOI = {
			    has_completed_focus = rt56rp_AOI_integrate_the_lands
		    }
	    }

	    fire_only_once = yes

	    cost = 35
	    days_remove = 45

	    modifier = {
		
	    }

	    ai_will_do = {
		    factor = 1
	    }

	    remove_effect = {
		    AOI = {
			    add_state_core = 269
		    }
			269 = {
				add_dynamic_modifier = {
					modifier = rt56rp_AOI_integrated_state
					scope = AOI
				}
			}
	    }
	}

	rt56rp_AOI_integrate_french_somaliland = { #268

	    icon = GFX_decision_BOL_reintegrate_acre_state

	    allowed = {
		
	    }

	    highlight_states = {
		    highlight_state_targets = {
			    state = 268
		    }
	    }

	    available = {
		    268 = {
			    is_fully_controlled_by = ROOT
			    compliance > 50
		    }
	    }

	    visible = {
		    AOI = {
			    has_completed_focus = rt56rp_AOI_integrate_the_lands
		    }
	    }

	    fire_only_once = yes

	    cost = 35
	    days_remove = 45

	    modifier = {
		
	    }

	    ai_will_do = {
		    factor = 1
	    }

	    remove_effect = {
		    AOI = {
			    add_state_core = 268
		    }
			268 = {
				add_dynamic_modifier = {
					modifier = rt56rp_AOI_integrated_state
					scope = AOI
				}
			}
	    }
	}

	rt56rp_AOI_integrate_garissa = { #903

	    icon = GFX_decision_BOL_reintegrate_acre_state

	    allowed = {
		
	    }

	    highlight_states = {
		    highlight_state_targets = {
			    state = 903
		    }
	    }

	    available = {
		    903 = {
			    is_fully_controlled_by = ROOT
			    compliance > 50
		    }
	    }

	    visible = {
		    AOI = {
			    has_completed_focus = rt56rp_AOI_integrate_the_lands
		    }
	    }

	    fire_only_once = yes

	    cost = 35
	    days_remove = 45

	    modifier = {
		
	    }

	    ai_will_do = {
		    factor = 1
	    }

	    remove_effect = {
		    AOI = {
			    add_state_core = 903
		    }
			903 = {
				add_dynamic_modifier = {
					modifier = rt56rp_AOI_integrated_state
					scope = AOI
				}
			}
	    }
	}
}

rt56rp_AOI_the_destiny_of_africa = {

	rt56rp_AOI_no_longer_just_an_east_state = {

		icon = GFX_decision_hol_exchange_intelligence_data

		allowed = {
			
		}

		available = {
			num_of_controlled_states > 20 
			all_controlled_state = {
				is_on_continent = africa
			}
		}

		visible = {
			AOI = {
				has_completed_focus = rt56rp_AOI_expand_deeper_into_africa
			}
		}

		fire_only_once = yes

		ai_will_do = {
			base = 0
		}

		complete_effect = {
			set_cosmetic_tag = FORM_IAF
		}
	}
}