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.13] 阿富汗贵族与德里苏丹国

时间范围
1400.1.1 - 1450.1.1
每月 2% 概率触发

触发条件

  • 变量 dlh_lodi_country 所代表的国家:
    • 是一个附庸国。
    • 至少拥有一块领地,该领地相邻的领地满足以下所有条件:
      • 所有者为德里苏丹国(DLH)。
      • 拥有至少一个文化为阿富汗文化(afghan_culture)的人口。

关键效果

  • 选项 A (flavor_dlh.13.a)

    • 将一个随机相邻区域(target_area)内所有属于德里苏丹国(DLH)的领地,转让给附庸国 dlh_lodi_country
    • 同时,为 dlh_lodi_country 在上述领地添加核心,并将整合等级设为“核心”。
  • 选项 B (flavor_dlh.13.b)

    • 德里苏丹国(DLH)获得轻度稳定性惩罚(stability_mild_penalty)。
    • 附庸国 dlh_lodi_country 的独立倾向增加 20。

背景介绍
在15世纪早期,德里苏丹国统治下的阿富汗军事贵族(洛迪人)势力逐渐壮大。他们作为附庸,控制着边境地区,并与苏丹国核心领土内同文化的社群相邻。此事件模拟了苏丹国中央政权面临的抉择:是进一步授予这些边境贵族土地和权力以巩固边疆,还是拒绝其要求,冒着引发不满和独立倾向上升的风险。

完整事件代码

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

	dynamic_historical_event = {
		tag = DLH
		from = 1400.1.1
		to = 1450.1.1
		monthly_chance = 2
	}

	illustration_tags = {
		10 = interior
		10 = regular
	}

	fire_only_once = yes

	trigger = {
		var:dlh_lodi_country ?= {
			is_subject = yes
			any_owned_location = {
				any_neighbor_location = {
					owner ?= c:DLH
					any_pop = {
						culture = culture:afghan_culture
					}
				}
			}
		}
	}

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }
		var:dlh_lodi_country ?= {
			every_owned_location = {
                limit = {
                    any_neighbor_location = {
                        owner ?= c:DLH
						any_pop = {
							culture = culture:afghan_culture
						}
                    }
                }
                every_neighbor_location = {
                    limit = {
                        owner ?= C:DLH
                        area = { 
                            NOT = { is_in_list = list_of_neighboring_areas }
                        }
                    }
                    area = {
                        add_to_list = list_of_neighboring_areas
                    }
                }
            }

			save_scope_as = target_country
			ruler_or_regent ?= {
				save_scope_as = target_character
			}
		}

		ruler_or_regent ?= {
			save_scope_as = target_character2
		}

		random_in_list = {
			list = list_of_neighboring_areas
			save_scope_as = target_area
		}
	}

	option = {
		name = flavor_dlh.13.a

		custom_tooltip = {
			text = dlh_give_entire_area_to_lodi_tt
			scope:target_area = {
				every_location_in_area = {
					limit = {
						owner ?= c:DLH
					}
					change_location_owner = scope:target_country
					add_core = scope:target_country
					change_integration_level = core
				}
			}
		}
	}

	option = {
		name = flavor_dlh.13.b
		
		add_stability = stability_mild_penalty
		scope:target_country = {
			add_liberty_desire = 20
		}
	}
}