Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

flavor_dlh.2 德里苏丹国的分裂与巴赫曼尼的崛起

时间范围:1340.1.1 - 1370.12.30 (每月 2% 概率)

触发条件

  • 国家为德里苏丹国(DLH)。
  • 局势“德里的衰落”(situation:fall_of_delhi)处于活跃状态。
  • 在以下任一地区拥有超过4个省份:
    • 信德凯德省(sindkedh.province)
    • 比贾布尔省(bijapur.province)
    • 泰林加纳地区(area:telingana_area)
    • 马哈拉施特拉地区(area:maharashtra_area)
    • 孔坎地区(area:konkan_area)
  • 上述省份属于贡德瓦纳地区(area:gondwana_area)。

关键效果

  • 选项 A (历史选项)
    • 新创建的巴赫曼尼国家将向德里苏丹国(DLH)发动独立战争。
    • 如果“德里的衰落”局势活跃且有生效的决议,则局势决议提案者的“fall_of_delhi_vote_weight”变量将减少0.05。
  • 选项 B
    • 取消新创建的巴赫曼尼国家与德里苏丹国的附庸关系。
    • 将巴赫曼尼国家的地图颜色更改为预设的“map_bahmanis”。
    • 如果“德里的衰落”局势活跃,则局势决议提案者的“fall_of_delhi_vote_weight”变量将增加0.1,并为巴赫曼尼国家设置变量“delhi_claimants_variable = yes”。
  • 选项 C (仅限玩家)
    • 玩家将切换控制新创建的巴赫曼尼国家。
    • 巴赫曼尼国家将向德里苏丹国(DLH)发动独立战争。
    • 如果“德里的衰落”局势活跃,则局势决议提案者的“fall_of_delhi_vote_weight”变量将增加0.05。

背景介绍: 14世纪中叶,庞大的德里苏丹国开始显露出衰落的迹象。在南方,一些心怀不满的阿富汗裔贵族和军事指挥官,利用中央权力的削弱,在德干地区寻求独立。其中,以伊斯梅尔(或类似人物)为首的一股势力,在古尔伯加或南印其他富庶省份聚集力量,最终建立了独立的巴赫曼尼苏丹国。这一事件标志着德里苏丹国对南印度控制力的重大衰退,并为次大陆南部开启了新的政治格局。

完整事件代码

flavor_dlh.2 = {
	type = country_event
	title = flavor_dlh.2.title
	desc = flavor_dlh.2.desc

	fire_only_once = yes
	dynamic_historical_event = {
		tag = DLH
		from = 1340.1.1
		to = 1370.12.30
		monthly_chance = 2
	}

	trigger = {
		is_situation_active = situation:fall_of_delhi
		any_province = {
			AND = {
				OR = {
					this = location:sindkedh.province
					this = location:bijapur.province
					area = area:telingana_area
					area = area:maharashtra_area
					area = area:konkan_area
				}
				NOT = { area = area:gondwana_area }
			}
			count > 4
		}
	}
	
	illustration_tags = {
		10 = exterior
		10 = angry
	}

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }
		set_head_scope = yes
		if = {
			limit = {
				owns = location:gulbarga 
			}
			location:gulbarga = { save_scope_as = target_location }
		}
		else = {
			ordered_owned_location = {
				limit = {
					OR = {
						province = location:sindkedh.province
						province = location:bijapur.province
						province = location:gulbarga.province
						area = area:telingana_area
						area = area:maharashtra_area
						area = area:konkan_area
					}
				}
				order_by = population
				check_range_bounds = no
				max = 1
				save_scope_as = target_location
			}
		}
		every_owned_location = {
			limit = {
				OR = {
					province = location:sindkedh.province
					province = location:bijapur.province
					province = scope:target_location.province
					area = area:telingana_area
					area = area:maharashtra_area
					area = area:konkan_area
				}
			}
			add_to_temporary_list = give_me_to_the_bahmanis
		}
		scope:target_location = {
			province = { save_scope_as = target_province }
			create_country_from_location = {
				locations = give_me_to_the_bahmanis #add all the locations at creation time so that all the initial proximities get calculated
				set_variable = { name = bahmanis_var value = yes }
				save_scope_as = target_bahmanis_revolter_scope
				set_country_rank = country_rank:rank_kingdom
			}
		}
		scope:target_bahmanis_revolter_scope = {
			add_gold = 1000
			form_country = formable_country:BAH_f
			if = {
				limit = { exists = dynasty:bahman_dynasty }
				create_character = {
					culture = culture:afghan_culture
					religion = religion:sunni
					dynasty = dynasty:bahman_dynasty
					estate = estate_type:nobles_estate
					first_name = name_ishmael
					birth_date = 1292.6.1
					add_trait = trait:conqueror
					save_scope_as = target_character
				}
			}
			else = {
				create_character = {
					culture = culture:afghan_culture
					religion = religion:sunni
					estate = estate_type:nobles_estate
					first_name = name_ishmael
					birth_date = 1292.6.1
					add_trait = trait:conqueror
					save_scope_as = target_character
				}
				scope:target_character = {
					found_dynasty = random
				}
			}
			set_new_ruler = scope:target_character
			change_religion = religion:sunni
			change_religion_for_ruler_and_family = { country = ROOT religion = religion:sunni }
			make_subject_of = {
				target = c:DLH
				type = subject_type:vassal
			}
			set_variable = {
				name = delhi_claimants_variable
				value = yes
			}
			every_owned_location = {
				add_core = scope:target_bahmanis_revolter_scope
				change_integration_level = core
			}
		}
	}

	option = {
		name = flavor_dlh.2.a
		historical_option = yes

		scope:target_bahmanis_revolter_scope = {
			declare_war_with_cb = {	
				target = c:DLH
				type = casus_belli:cb_independence_war	
			}
		}
		if = {
			limit = { 
				is_situation_active = situation:fall_of_delhi
				situation:fall_of_delhi = { has_active_resolution = yes}
			}
			custom_tooltip = gain_5_progress_for_claimants_tt
			hidden_effect = {
				situation:fall_of_delhi = {
					"active_resolution(resolution:fall_of_delhi_resolution).resolution_proposer" = {
						change_variable = {
							name = fall_of_delhi_vote_weight
							subtract = 0.05
						}
					}
				}
			}
		}
	}
	option = {
		name = flavor_dlh.2.b
		
		cancel_subject = scope:target_bahmanis_revolter_scope
		hidden_effect = {
			scope:target_bahmanis_revolter_scope = {
				change_country_color = map_bahmanis
			}
		}
		if = {