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.12] 洛迪王朝的阿富汗贵族

时间范围:1440.1.1 - 1500.1.1(每月 2% 概率触发)

触发条件

  • 国家文化构成中,阿富汗文化 (afghan_culture) 的占比大于 0。

关键效果

  • 选项 A (flavor_dlh.12.a)

    • 在阿富汗文化人口最多的省份,创建一个名为 LOD 的新国家。
    • 新国家为王国 (country_rank:rank_kingdom)。
    • 新国家的统治者为阿富汗文化、与宗主国相同宗教的 巴鲁尔·洛迪 (name_bahlul)。
    • 新国家将拥有该省份所有地块的所有权与核心。
    • 新国家将成为触发国的附庸国 (subject_type:vassal)。
  • 选项 B (flavor_dlh.12.b)

    • 在阿富汗文化人口最多的省份,所有由触发国统治的阿富汗文化人口,其满意度将遭受一次极端惩罚 (pop_satisfaction_extreme_penalty)。

背景介绍: 在德里苏丹国后期,拥有阿富汗背景的军事贵族势力日益壮大。巴鲁尔·洛迪作为其中的杰出代表,其家族在德里宫廷和北印度部分地区拥有广泛的影响力。此事件模拟了德里苏丹国统治者面临的选择:是承认并正式分封洛迪家族为地方总督,以换取其忠诚;还是拒绝其要求,从而可能引发阿富汗裔人口的不满与动荡。

完整事件代码

flavor_dlh.12 = {
	hide_portraits = yes
	type = country_event
	title = flavor_dlh.12.title
	desc = flavor_dlh.12.desc

	dynamic_historical_event = {
		tag = DLH
		from = 1440.1.1
		to = 1500.1.1
		monthly_chance = 2
	}

	illustration_tags = {
		10 = interior
		10 = regular
	}

	fire_only_once = yes

	trigger = {
		"culture_percentage_in_country(culture:afghan_culture)" > 0
	}

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }
		capital ?= {
			create_dynasty_from_location = lodi_dynasty
		}

		create_character = {
			first_name = name_bahlul
			culture = culture:afghan_culture
			religion = root.religion
			dynasty = dynasty:lodi_dynasty
			estate = estate_type:nobles_estate
			birth_date = 1421.4.5
			save_scope_as = target_character
		}

		ordered_province = {
			limit = {
				"culture_percentage(culture:afghan_culture)" > 0
			}
			order_by = population
			max = 1
			save_scope_as = target_province
			random_location_in_province = {
				save_scope_as = target_location
			}
		}

		ruler_or_regent ?= {
			save_scope_as = target_character2
		}
	}

	option = {
		name = flavor_dlh.12.a

		custom_tooltip = {
			text = dlh_release_lodi_as_governors_tt
			scope:target_location = {
				create_country_from_location = {
					set_country_rank = country_rank:rank_kingdom
					save_scope_as = target_country
					set_new_ruler = scope:target_character
					change_religion = root.religion
					change_religion_for_ruler_and_family = { country = scope:target_country religion = root.religion }
					change_culture = culture:afghan_culture
					change_country_name = LOD
					
				}
			}
			
			scope:target_province = {
				every_location_in_province = {
					change_location_owner = scope:target_country
					add_core = scope:target_country
					change_integration_level = core
				}
			}

			set_variable = {
				name = dlh_lodi_country
				value = scope:target_country
			}

			scope:target_country = {
				make_subject_of = {
					target = c:DLH
					type = subject_type:vassal
				}
			}
		}
	}

	option = {
		name = flavor_dlh.12.b
		
		custom_tooltip = {
			text = dlh_all_afghani_pops_in_province_lose_30_satisfaction
			scope:target_province = {
				every_location_in_province = {
					every_pop = {
						limit = {
							owner = root
							culture = culture:afghan_culture
						}
						add_pop_satisfaction = pop_satisfaction_extreme_penalty
					}
				}
			}
		}
	}
}