flavor_dlh.5 绍纳福尔苏丹国的建立
时间范围:1370.1.1 - 1405.12.30 (每月 1% 概率) 触发条件:
- 控制绍纳福尔地区 (
location:jaunpur)。 - 在以下任一地区拥有至少5个省份:
- 罗希尔坎德地区 (
area:rokhilkhand_area) - 阿瓦德地区 (
area:awadh_area) - 博杰布尔地区 (
area:bhojpur_area) - 阿斯尼省 (
location:asni.province) - 卡尔皮省 (
location:kalpi.province)
- 罗希尔坎德地区 (
关键效果:
- 选项 A (历史选项):
- 新成立的绍纳福尔苏丹国 (
JNP) 将向德里苏丹国 (DLH) 发动独立战争。 - 若“德里衰落”局势 (
situation:fall_of_delhi) 处于激活状态,则局势决议提案国将获得 0.05 的投票权重 (fall_of_delhi_vote_weight) 加成。
- 新成立的绍纳福尔苏丹国 (
- 选项 B:
- 取消绍纳福尔苏丹国的附庸关系。
- 若“德里衰落”局势处于激活状态,则局势决议提案国将获得 0.1 的投票权重 (
fall_of_delhi_vote_weight) 加成,并且绍纳福尔苏丹国将被标记为德里王位宣称者 (delhi_claimants_variable = yes)。
- 选项 C (仅限玩家):
- 玩家将切换控制新成立的绍纳福尔苏丹国。
- 绍纳福尔苏丹国将向德里苏丹国发动独立战争。
- 若“德里衰落”局势处于激活状态,则局势决议提案国将获得 0.05 的投票权重 (
fall_of_delhi_vote_weight) 加成。
背景介绍: 在14世纪末,德里苏丹国对东部省份的控制力减弱。马利克·萨尔瓦尔,一位出身农民阶层的将领,利用这一权力真空,在绍纳福尔地区建立了一个独立的苏丹国。这一事件标志着德里苏丹国中央权威的显著衰落,并为印度北部地区后续的权力斗争埋下了伏笔。
完整事件代码:
flavor_dlh.5 = {
type = country_event
title = flavor_dlh.5.title
desc = flavor_dlh.5.desc
fire_only_once = yes
dynamic_historical_event = {
tag = DLH
from = 1370.1.1
to = 1405.12.30
monthly_chance = 1
}
trigger = {
any_province = {
OR = {
area = area:rokhilkhand_area
area = area:awadh_area
area = area:bhojpur_area
this = location:asni.province
this = location:kalpi.province
}
count > 4
}
owns = location:jaunpur
}
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:jaunpur
}
location:jaunpur = {
save_scope_as = target_location
}
}
else = {
ordered_owned_location = {
limit = {
OR = {
area = area:rokhilkhand_area
area = area:awadh_area
area = area:bhojpur_area
province = location:asni.province
province = location:kalpi.province
}
}
order_by = population
check_range_bounds = no
max = 1
save_scope_as = target_location
}
}
scope:target_location = {
province = { save_scope_as = target_province }
}
scope:target_location = {
create_country_from_location = {
set_variable = { name = jaunpur_var value = yes }
save_scope_as = target_jaunpur_revolter_scope
set_country_rank = country_rank:rank_kingdom
}
}
scope:target_jaunpur_revolter_scope = {
add_gold = 1000
change_country_tag = JNP
change_country_name = JNP
change_country_adjective = JNP_ADJ
change_country_color = map_jaunpur
change_country_flag = JNP
create_character = {
culture = root.culture
religion = root.religion
estate = estate_type:peasants_estate
first_name = name_malik
last_name = Sarwar
birth_date = 1350.6.1
save_scope_as = target_character
}
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 = {
limit = {
OR = {
area = area:rokhilkhand_area
area = area:awadh_area
area = area:bhojpur_area
province = location:asni.province
province = location:kalpi.province
}
}
change_location_owner = scope:target_jaunpur_revolter_scope
add_core = scope:target_jaunpur_revolter_scope
change_integration_level = core
}
}
option = {
name = flavor_dlh.5.a
historical_option = yes
scope:target_jaunpur_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 = { any_active_resolution = { this = resolution:fall_of_delhi_resolution } }
}
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
add = 0.05
}
}
}
}
}
}
option = {
name = flavor_dlh.5.b
cancel_subject = scope:target_jaunpur_revolter_scope
scope:target_jaunpur_revolter_scope = {
hidden_effect = {
change_country_color = map_jaunpur
}
}
if = {
limit = { is_situation_active = situation:fall_of_delhi }
custom_tooltip = gain_10_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
add = 0.1
}
}
}
scope:target_jaunpur_revolter_scope = {
set_variable = {
name = delhi_claimants_variable
value = yes
}
}
}
}
}
option = {
name = flavor_dlh.5.c
trigger = {
is_ai = no
}
change_player = scope:target_jaunpur_revolter_scope
scope:target_jaunpur_revolter_scope = {
declare