CentralAfrican.txt

(16 KB) Pobierz
########################################
# Events for Central African nations
#
# written by Rufus Tronde and Petter Vilberg
########################################

namespace = central_african

### Malagasy Events

# Rise of the Maroserana
country_event = {
	id = central_african.1
	title = "central_african.1.t"
	desc = "central_african.1.d"
	picture = GOOD_WITH_MONARCH_eventPicture

	trigger = {
		has_dlc = "Mare Nostrum"
		is_year = 1600
		primary_culture = madagasque
		OR = {
			tag = SKA
			tag = MFY
		}
		NOT = { has_global_flag = rise_of_maroserana }
	}

	mean_time_to_happen = {
		months = 600
	}

	immediate = {
		hidden_effect = {
			if = {
				limit = {
					tag = SKA
					exists = MFY
					NOT = { has_global_flag = rise_of_maroserana }
				}
				MFY = { country_event = { id = central_african.1 days = 2 } }
			}
			if = {
				limit = {
					tag = MFY
					exists = SKA
					NOT = { has_global_flag = rise_of_maroserana }
				}
				SKA = { country_event = { id = central_african.1 days = 2 } }
			}
			set_global_flag = rise_of_maroserana
		}
	}

	option = {
		name = "central_african.1.a"
		add_country_modifier = {
			name = "maroserana"
			duration = 36500
		}
	}
}

# Transcribe the Ibonia
country_event = {
	id = central_african.2
	title = "central_african.2.t"
	desc = "central_african.2.d"
	picture = BIG_BOOK_eventPicture

	trigger = {
		has_dlc = "Mare Nostrum"
		primary_culture = madagasque
		adm_tech = 17
		NOT = { has_global_flag = ibonia_transcribed }
	}

	mean_time_to_happen = {
		months = 120
	}

	# Transcribe it
	option = {
		name = "central_african.2.a"
		add_prestige = 20
		add_adm_power = -25
		add_legitimacy = -10
		hidden_effect = { set_global_flag = ibonia_transcribed }
	}

	# Don't transcribe it
	option = {
		name = "central_african.2.b"
		add_prestige = -5
	}
}

# Soldiers Breaks Fady
country_event = {
	id = central_african.3
	title = "central_african.3.t"
	desc = "central_african.3.d"
	picture = ACCUSATION_eventPicture

	trigger = {
		has_dlc = "Mare Nostrum"
		any_known_country = {
			primary_culture = madagasque
			NOT = { war_with = ROOT }
			NOT = { tag = ROOT }
			any_owned_province = {
				culture = madagasque
				units_in_province = ROOT
			}
		}
	}

	mean_time_to_happen = {
		months = 600
	}

	# 
	option = {
		name = "central_african.3.a"
		random_known_country = {
			limit = {
				primary_culture = madagasque
				NOT = { war_with = ROOT }
				NOT = { tag = ROOT }
				any_owned_province = {
					culture = madagasque
					units_in_province = ROOT
				}
			}
			country_event = { id = central_african.4 days = 1 }
			tooltip = {
				add_casus_belli = {
					target = ROOT
					type = cb_insult
					months = 32
				}
			}
		}
	}

	# 
	option = {
		name = "central_african.3.b"
		add_prestige = -5
		add_dip_power = -20
	}
}

# Visitor Breaks Fady
country_event = {
	id = central_african.4
	title = "central_african.4.t"
	desc = "central_african.4.d"
	picture = ACCUSATION_eventPicture

	is_triggered_only = yes

	# 
	option = {
		name = "central_african.4.a"
		add_casus_belli = {
			target = FROM
			type = cb_insult
			months = 32
		}
	}
}

### Luba Events

# Lukasa (Memory boards)
country_event = {
	id = central_african.5
	title = "central_african.5.t"
	desc = "central_african.5.d"
	picture = LUKASA_eventPicture

	trigger = {
		has_dlc = "Mare Nostrum"
		primary_culture = luba
		advisor = artist
	}

	mean_time_to_happen = {
		months = 900
	}

	# Record our policies
	option = {
		name = "central_african.5.a"
		add_adm_power = 50
	}

	# Record our trade routes
	option = {
		name = "central_african.5.b"
		add_dip_power = 50
	}

	# Record our great warriors
	option = {
		name = "central_african.5.c"
		add_army_tradition = 10
	}

	# Record the chief's ancestry
	option = {
		name = "central_african.5.e"
		add_legitimacy = 30
	}
}

# Expand the Mbudye
country_event = {
	id = central_african.6
	title = "central_african.6.t"
	desc = "central_african.6.d"
	picture = DEBATE_REPUBLICAN_eventPicture

	trigger = {
		has_dlc = "Mare Nostrum"
		primary_culture = luba
		NOT = { has_country_modifier = expanded_mbudye }
	}

	mean_time_to_happen = {
		months = 1200
	}

	# Expand it
	option = {
		name = "central_african.6.a"
		add_country_modifier = {
			name = expanded_mbudye
			duration = 7300
		}
	}

	# Leave it as it is
	option = {
		name = "central_african.6.b"
		add_adm_power = 25
		add_dip_power = 25
		add_mil_power = 25
	}
}

# Mbudye Clashes with Chief
country_event = {
	id = central_african.7
	title = "central_african.7.t"
	desc = "central_african.7.d"
	picture = LIBERUM_VETO_eventPicture

	trigger = {
		has_dlc = "Mare Nostrum"
		has_country_modifier = expanded_mbudye
	}

	mean_time_to_happen = {
		months = 180
	}

	# 
	option = {
		name = "central_african.7.a"
		add_legitimacy = -20
	}

	# 
	option = {
		name = "central_african.7.b"
		add_prestige = -10
	}
}

# Mbudye Generational Conflict
country_event = {
	id = central_african.8
	title = "central_african.8.t"
	desc = "central_african.8.d"
	picture = DEBATE_REPUBLICAN_eventPicture

	trigger = {
		has_dlc = "Mare Nostrum"
		has_country_modifier = expanded_mbudye
	}

	mean_time_to_happen = {
		months = 180
	}

	# Side with Elders
	option = {
		name = "central_african.8.a"
		add_legitimacy = 20
		add_adm_power = -50
	}

	# Side with new blood
	option = {
		name = "central_african.8.b"
		define_advisor = {
			type = theologian
			discount = yes
			skill = 1
		}
		define_advisor = {
			type = statesman
			discount = yes
			skill = 1
		}
		add_stability = -1
	}
}


#Antionio Fernandes
country_event = {
	id = central_african.9
	title = central_african.9.t
	desc = central_african.9.d
	picture = CENTRAL_AFRICAN_PORTUGUESE_eventPicture

	fire_only_once = yes

	trigger = {
		has_dlc = "Mare Nostrum"
		religion = shamanism
		capital_scope = {
			OR = {
				area = zimbabwe_area
				area = lower_zambezi_area
				area = butua_area
			}
		}
		east_africa_region = {
			owned_by = POR
		}
	}


	option = {
		name = central_african.9.a
		reverse_add_opinion = {
			who = POR
			modifier = opinion_welcomed_fernandes
		}
		if = {
			limit = {
				any_owned_province = {
					trade_goods = gold
				}
			}
			random = {
				chance = 30
				random_owned_province = {
					limit = {
						NOT = {
							capital = yes
							trade_goods = gold
						}
					}
					add_claim = POR
				}
			}
		}
	}

	option = {
		name = central_african.9.b
		reverse_add_opinion = {
			who = POR
			modifier = opinion_killed_fernandes
		}
	}
}

#Increased Trade With India
country_event = {
	id = central_african.10
	title = central_african.10.t
	desc = central_african.10.d
	picture = AFRICAN_INDIAN_eventPicture

	trigger = {
		has_dlc = "Mare Nostrum"
		capital_scope = {
			region = east_africa_region
		}
		any_neighbor_country = {
			capital_scope = {
				continent = europe
			}
			any_owned_province = {
				region = east_africa_region
				has_port = yes
			}
			west_india_region = {
				range = PREV
			}
		}
		NOT = {
			has_country_modifier = increased_african_indian_trade
		}
	}

	mean_time_to_happen = {
		months = 360
		modifier = {
			factor = 0.7
			has_idea_group = trade_ideas
		}
	}

	option = {
		name = central_african.10.a
		add_country_modifier = {
			name = increased_african_indian_trade
			duration = 10950
		}
	}
	option = {
		name = central_african.10.b
		add_years_of_income = 0.5
	}
}

#Descended from the same breast
country_event = {
	id = central_african.11
	title = central_african.11.t
	desc = central_african.11.d
	picture = CENTRAL_AFRICAN_COURT_eventPicture

	trigger = {
		has_dlc = "Mare Nostrum"
		OR = {
			primary_culture = nyasa
			primary_culture = makua
		}
		NOT = {
			stability = 2
		}
	}

	mean_time_to_happen = {
		months = 800
	}

	option = {
		name = central_african.11.a
		add_stability_or_adm_power = yes
	}
}


#MARAVI
#The Land of Flames
country_event = {
	id = central_african.12
	title = central_african.12.t
	desc = central_african.12.d
	picture = MARAVI_FURNACE_eventPicture

	trigger = {
		has_dlc = "Mare Nostrum"
		tag = MRA
		is_at_war = yes
		NOT = {
			has_country_modifier = maravi_land_of_flames
		}
	}

	mean_time_to_happen = {
		months = 120
	}

	option = {
		name = central_african.12.a
		add_mil_power = 50
		add_country_modifier = {
			name = maravi_land_of_flames
			duration = 365
		}
	}
}

#The Chewa
country_event = {
	id = central_african.13
	title = central_african.13.t
	desc = central_african.13.d
	picture = NYAU_RITUAL_eventPicture

	trigger = {
		has_dlc = "Mare Nostrum"
		primary_culture = nyasa
		NOT = {
			has_country_modifier = the_chewa
		}
	}

	mean_time_to_happen = {
		months = 800
	}

	option = {
		name = central_african.13.a
		add_country_modifier = {
			name = the_chewa
			duration = 7300
		}
	}
}

#Nyau Secret Societies
country_event = {
	id = central_african.14
	title = central_african.14.t
	desc = central_african.14.d
	picture = NYAU_RITUAL_eventPicture

	trigger = {
		has_dlc = "Mare Nostrum"
		religion = shamanism
		OR = {
			primary_culture = nyasa
			primary_culture = makua
		}
		NOT = {
			has_country_modifier = secret_society_timer
		}
	}

	mean_time_to_happen = {
		months = 800
		modifier = {
			factor = 0.8
			has_country_modifier = the_chewa
		}
	}

	option = {
		name = central_african.14.a
		ai_chance = {
			factor = 100
		}
		add_ad...
Zgłoś jeśli naruszono regulamin