

add_namespace = afrika
country_event = {
	id = afrika.1
	title = afrika.1.t
	desc = afrika.1.d
	picture = GFX_empire_event
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	option = { # Accept demands
		name = afrika.1.a
		ai_chance = {factor = 90}
		set_cosmetic_tag = CAE_imperial
		set_country_flag = CAE_imperial
		play_song = "african_empire_theme"
		add_stability = 0.2
	}
	
}
country_event = {
	id = afrika.2
	title = afrika.2.t
	desc = afrika.2.d
	picture = GFX_reich_event
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	option = { # Accept demands
		name = afrika.2.a
		ai_chance = {factor = 90}
		set_cosmetic_tag = CAE_reich
		set_country_flag = CAE_reich
		play_song = "reich_theme"
		add_stability = 0.2
		set_capital = { state = 64 }
		create_country_leader = {
	     name = "Kaiser Schwalzkopf XVII"
	     desc = ""
	     picture = "kaiserbaron.dds"
	     ideology = despotism
	     traits = {
		   herr_major
	      }
        }
	}
	
}
country_event = {  #belgija
	id = afrika.3
	title = afrika.3.t
	desc = afrika.3.d
	picture = GFX_report_event_soviet_army_greeted
	
	is_triggered_only = yes
	
	option = {
		name = afrika.3.a
		CAE = { 
			transfer_state = 295
			add_state_core = 295
		    transfer_state = 888
			add_state_core = 888
			transfer_state = 889
			add_state_core = 889
		}
		hidden_effect = {
			#
		}
	}
}
country_event = {  #portugalija
	id = afrika.4
	title = afrika.4.t
	desc = afrika.4.d
	picture = GFX_report_event_soviet_army_greeted
	
	is_triggered_only = yes
	
	option = {
		name = afrika.4.a
		CAE = { 
			transfer_state = 540
			add_state_core = 540
			transfer_state = 544
			add_state_core = 544
			transfer_state = 296
			add_state_core = 296
			transfer_state = 796
			add_state_core = 796
			transfer_state = 891
			add_state_core = 891
			transfer_state = 892
			add_state_core = 892
			transfer_state = 896
			add_state_core = 896
			transfer_state = 897
			add_state_core = 897
		}
		ZUS = {
		transfer_state = 701
		add_state_core = 701
		}
		hidden_effect = {
			#
		}
	}
}
country_event = {  #liberija
	id = afrika.5
	title = afrika.5.t
	desc = afrika.5.d
	picture = GFX_report_event_soviet_army_greeted
	
	is_triggered_only = yes
	
	option = {
		name = afrika.5.a
		CAE = { 
			transfer_state = 298
			add_state_core = 298
		}
		hidden_effect = {
			#
		}
	}
}
# England accepts
country_event = {
	id = afrika.6
	title = afrika.6.t
	desc = afrika.6.d
	picture = GFX_report_event_vienna_award_hungary
	
	is_triggered_only = yes
	
	option = { #kanal transfer
		name = afrika.6.a
		CAE = { 
			transfer_state = 771
			add_state_core = 771
			transfer_state = 770
			add_state_core = 770
			transfer_state = 269
			add_state_core = 269
			
			transfer_state = 447
			add_state_core = 447
			transfer_state = 446
			add_state_core = 446
			transfer_state = 456
			add_state_core = 456
			transfer_state = 457
			add_state_core = 457
			transfer_state = 452
			add_state_core = 452
			
			transfer_state = 701
			add_state_core = 701
			transfer_state = 907
			add_state_core = 907
			}
			ZUS = {
			transfer_state = 552
			add_state_core = 552
			transfer_state = 452
			add_state_core = 452
			transfer_state = 447
			add_state_core = 447
			transfer_state = 907
			add_state_core = 907
			transfer_state = 456
			add_state_core = 456
			transfer_state = 457
			add_state_core = 457
			}
		hidden_effect = {
			#
		}
	}
	option = { #kanal not transfer
	name = afrika.6.b
	CAE = { 
			transfer_state = 771
			add_state_core = 771
			transfer_state = 770
			add_state_core = 770
			transfer_state = 269
			add_state_core = 269
			
			transfer_state = 447
			add_state_core = 447
			
			transfer_state = 456
			add_state_core = 456
			transfer_state = 457
			add_state_core = 457
			transfer_state = 452
			add_state_core = 452
			
			transfer_state = 701
			add_state_core = 701
			transfer_state = 907
			add_state_core = 907
			}
			ZUS = {
			transfer_state = 552
			add_state_core = 552
			transfer_state = 452
			add_state_core = 452
			transfer_state = 447
			add_state_core = 447
			transfer_state = 907
			add_state_core = 907
			transfer_state = 456
			add_state_core = 456
			transfer_state = 457
			add_state_core = 457
			}
	}
}

# england rejects
country_event = {
	id = afrika.7
	title = afrika.7.t
	desc = afrika.7.d
	picture = GFX_report_event_lithuania_army

	is_triggered_only = yes
	
	option = {
		name = afrika.7.a
		create_wargoal = {
			type = take_state_focus
			target = ENG
			generator = { 188 }
		}
		hidden_effect = {
			#
		}
	}
}
# france accepts
country_event = {
	id = afrika.8
	title = afrika.8.t
	desc = afrika.8.d
	picture = GFX_report_event_vienna_award_hungary
	
	is_triggered_only = yes
	
	option = {
		name = afrika.8.a
		CAE = { 
			
			transfer_state = 268
			add_state_core = 268
		}
		hidden_effect = {
			#
		}
	}
}

# france rejects
country_event = {
	id = afrika.9
	title = afrika.9.t
	desc = afrika.9.d
	picture = GFX_report_event_lithuania_army

	is_triggered_only = yes
	
	option = {
		name = afrika.9.a
		create_wargoal = {
			type = take_state_focus
			target = FRA
			generator = { 188 }
		}
		hidden_effect = {
			#
		}
	}
}
# saf accepts
country_event = {
	id = afrika.10
	title = afrika.10.t
	desc = afrika.10.d
	picture = GFX_report_event_vienna_award_hungary
	
	is_triggered_only = yes
	
	option = {
		name = afrika.10.a
		CAE = { 
		set_autonomy = {
		target = SAF
		autonomous_state = autonomy_reichsprotectorate
		freedom_level = 0.4
	}
		}
		SAF = {
		transfer_state = 542
		add_state_core = 542
		transfer_state = 545
		add_state_core = 545
		transfer_state = 544
		add_state_core = 544
		transfer_state = 896
		add_state_core = 896
		transfer_state = 543
		add_state_core = 543
		}
	}
	option = {
		name = afrika.10.b
		CAE = {
		annex_country = SAF
		add_state_core = SAF
		}
		
	}
}

# saf rejects
country_event = {
	id = afrika.11
	title = afrika.11.t
	desc = afrika.11.d
	picture = GFX_report_event_lithuania_army

	is_triggered_only = yes
	
	option = {
		name = afrika.11.a
		create_wargoal = {
			type = take_state_focus
			target = SAF
			generator = { 188 }
		}
		hidden_effect = {
			#
		}
	}
}


