flavorBNG.txt

(7 KB) Pobierz
########################################
# Flavor Events for Bengal
#
# Scripted by Henrik Lohmander
########################################

namespace = flavor_bng
normal_or_historical_nations = yes

#The Chishti Order and the Sultans of Bengal.
country_event = {
	id = flavor_bng.1
	title = flavor_bng.1.t
	desc = flavor_bng.1.d
	picture = RELIGION_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = BNG
		religion_group = muslim
		NOT = { is_year = 1460 }
	}
	
	mean_time_to_happen = {
		months = 48
	}

	option = {
		name = flavor_bng.1.a #Continue to patronize the Chishti Order
		ai_chance = { factor = 50 }
		add_legitimacy = 15
		add_piety = 0.10
	}
	
	option = {
		name = flavor_bng.1.b #We must start to distance ourselves from the Chishti Order
		ai_chance = { factor = 50 }
		add_prestige = 15
		add_piety = -0.10
	}
}

#Sayid Sultan Publishes the Nabibangsha

country_event = {
	id = flavor_bng.2
	title = flavor_bng.2.t
	desc = flavor_bng.2.d
	picture = BIG_BOOK_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = BNG
		religion_group = muslim
		is_year = 1570
		NOT = { is_year = 1630 }
	}
	
	mean_time_to_happen = {
		months = 180
	}

	option = {
		ai_chance = { factor = 75 }
		name = flavor_bng.2.a
		add_piety = -0.15
		add_country_modifier = {
				name = "bng_nabibangsha"
				duration = -1
		}
	}
	
	option = {
		name = flavor_bng.2.b
		ai_chance = { factor = 25 }
		add_stability_or_adm_power = yes #Pleases the more Orthodox religious establishment.
		add_piety = 0.15
	}
}

#The Mosque city of Bagerhat

country_event = {
	id = flavor_bng.3
	title = flavor_bng.3.t
	desc = flavor_bng.3.d
	picture = PRAYING_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = BNG
		NOT = { is_year = 1465 }
		religion_group = muslim
		is_year = 1450
		owns_core_province = 2039 #Sunderbans
	}
	
	mean_time_to_happen = {
		months = 45
	}

	option = {
		name = flavor_bng.3.a
		random_owned_province = {
			limit = {
				province_id = 2039 #Sunderbans
			}
			add_province_modifier = {
				name = "bng_mosque_city_of_bagerhat"
				duration = -1
			}
		}
	}
}

#Reclamation of the Delta
country_event = {
	id = flavor_bng.4
	title = flavor_bng.4.t
	desc = flavor_bng.4.d
	picture = EXPLORERS_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = BNG
		religion_group = muslim
		is_year = 1500
		any_owned_province = {
			OR = {
				province_id = 2039 #Sunderbans
				province_id = 561 #Bengal Delta
				province_id = 564 #Dakka
				province_id = 568 #Chittagong
				province_id = 2046 #Nasirabad
			}
		}
	}
	
	mean_time_to_happen = {
		months = 450
	}

	option = {
		name = flavor_bng.4.a
		every_owned_province = {
			limit = {
				OR = {
					province_id = 2039 #Sunderbans
					province_id = 561 #Bengal Delta
					province_id = 564 #Dakka
					province_id = 568 #Chittagong
					province_id = 2046 #Nasirabad
				}
	 		}
			add_province_modifier = {
				name = "bng_delta_reclaimed"
				duration = -1
			}
		}
	}
}

# Aristocrats on the Run
country_event = {
	id = flavor_bng.5
	title = flavor_bng.5.t
	desc = flavor_bng.5.d
	picture = LAND_MILITARY_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = BNG
		religion_group = muslim
		NOT = { exists = DLH }
		NOT = { owns_or_vassal_of = 522 }
	}
	
	mean_time_to_happen = {
		months = 6
	}

	option = {
		name = flavor_bng.5.a #We must encourage these men of quality to serve us!
		ai_chance = { factor = 75 }
		add_country_modifier = {
				name = "bng_delhian_refugees"
				duration = 3650 #By then these nobles will have gained new lands or moved on.
		}
		set_country_flag = sher_shah_admitted
	}
	
	option = {
		name = flavor_bng.5.b #Try to discourage them from staying in our lands.
		ai_chance = { factor = 25 }
		add_prestige = -10
	}
}

# Rise of the Tiger (Sher Shah Sur)
country_event = {
	id = flavor_bng.6
	title = flavor_bng.6.t
	desc = flavor_bng.6.d
	picture = CIVIL_WAR_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = BNG
		had_country_flag = { flag = sher_shah_admitted days = 1825 }
	}
	
	mean_time_to_happen = {
		months = 24
	}

	option = {
		name = flavor_bng.6.a #If you want my throne you'll have to fight for it.
		ai_chance = { factor = 25 }
		random_owned_province = {
			limit = {
				is_capital = no
			}
			spawn_rebels = {
				type = pretender_rebels
				size = 5
				leader = "Sher Shah Suri"
			}
		}
	}
	
	option = {
		name = flavor_bng.6.b #Surrender
		ai_chance = { factor = 75 }
		define_ruler = {
			name = "Sher Shah"
			dynasty = "Suri" #Dynasty change gives new ruler with low legitimacy
			DIP = 3
			ADM = 4
			MIL = 6
			claim = 75
		}
		add_stability = -2
		#custom_tooltip = flavor_bng.6.b.tt
		#add_legitimacy = -35
	}
}

#Kingdom of Bhurshut
country_event = {
	id = flavor_bng.7
	title = flavor_bng.7.t
	desc = flavor_bng.7.d
	picture = COURT_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = BNG
		religion_group = muslim
		is_rival = ORI
		is_neighbor_of = ORI
		owns_core_province = 561
	}
	
	mean_time_to_happen = {
		months = 360
	}

	option = {
		name = flavor_bng.7.a
		561 = {
			spawn_rebels = {
				type = anti_tax_rebels
				size = 2
				friend = ORI
			}
		}
	}
}

# The Grant of Calcutta
country_event = {
	id = flavor_bng.8
	title = flavor_bng.8.t
	desc = flavor_bng.8.d
	picture = MERCHANTS_TALKING_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = BNG
		OR = {
			exists = GBR
			exists = ENG
		}
		is_year = 1640 #Around the time the English started to try to get an Imperial Farman to establish themselves in Bengal.
		owns_core_province = 561
		any_owned_province = {
			region = bengal_region
			OR = {
				has_discovered = GBR
				has_discovered = ENG
			}
		}
	}
	
	mean_time_to_happen = {
		months = 300
	}

	option = {
		name = flavor_bng.8.a #Allow it
		561 = {
			add_province_modifier = {
				name = "bng_port_of_calcutta"
				duration = -1
			}
			rename_capital = Calcutta
		}
		add_treasury = 100
	}
	option = {
		name = flavor_bng.8.b #Turn the envoy away
		every_country = {
			limit = {
				OR = {
					tag = GBR
					tag = ENG
				}
			}
			add_opinion = { who = BNG modifier = opinion_irritated }
		}
	}
}

# Growth of Calcutta
country_event = {
	id = flavor_bng.9
	title = flavor_bng.9.t
	desc = flavor_bng.9.d
	picture = COLONIZATION_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = BNG
		owns_core_province = 561
		561 = {
			has_province_modifier = bng_port_of_calcutta
		}
	}
	
	mean_time_to_happen = {
		months = 300
	}

	option = {
		name = flavor_bng.9.a #Tear down those Forts
		561 = {
			add_local_autonomy = -50
		}
		country_event = { id = flavor_bng.10 days = 14 }
	}
	option = {
		name = flavor_bng.9.b #Ignore this.
		561 = {
			add_local_autonomy = 50
		}
		every_country = {
			limit = {
				exists = yes
				OR = {
					tag = GBR
					tag = ENG
				}
			}
			add_claim = 561
		}
	}
}

# The Black Hole of Calcutta
country_event = {
	id = flavor_bng.10
	title = flavor_bng.10.t
	desc = flavor_bng.10.d
	picture = ACCUSATION_eventPicture
	
	is_triggered_only = yes
	
	option = {
		name = flavor_bng.10.a
		every_country = {
			limit = {
				exists = yes
				OR = {
					tag = GBR
					tag = ENG
				}
			}
			country_event = { id = flavor_bng.11 }
			add_casus_belli = {
				target = BNG
				type = cb_vassalize_mission
				months = 1825
			}
		}
	}
}

#The Black hole of Calcutta
country_event = {
	id = flavor_bng.11
	title = flavor_bng.11.t
	desc = flavor_bng.11.d
	picture = WOUNDED_SOLDIERS_eventPicture
	
	is_triggered_only = yes

	option = {
		name = flavor_bng.11.a
		tooltip = {
			add_casus_belli = {
				target = BNG
				type = cb_vassalize_mission
				months = 1825
			}
		}
	}
}
Zgłoś jeśli naruszono regulamin