
局势
德里的衰亡
一百年来的过度扩张和摇摇欲坠的中央权威已经极大损害了德里的统治和声誉。环伺在其边界之外的是如秃鹰般时刻欲瓜分他们遗产的敌人。除非他们能成功保护境内的人民免受内部和外来的威胁,否则其先祖所缔造的伟大德里 Flavor Rank将在顷刻间轰然倒塌。
德里国家can start, on ended, on start, visible
德里的解体灾难on ended
齐米阶层on monthly
奴隶商品on monthly反对派干预静态修正on ended德里继业者之战静态修正on ended, on monthlydelhi_claimants_variable变量on endeddlh_surrendered_territories_var变量on endedstarts_fall_of_delhi_variable变量can start定义in_game/common/situations/fall_of_delhi.txt:1
3hint_tag = hint_fall_of_delhi
4resolution = "fall_of_delhi_resolution"
5voters = fall_of_delhi_voters
7can_start = {
9custom_tooltip = {
10text = has_never_had_situation_before_tt 该局势此前尚未发生
}
}
18visible = {
}
40on_start = {
42every_country = {
43limit = {
46AND = {
47exists = capital
48capital.sub_continent = sub_continent:south_asia
}
}
56add_to_global_variable_list = {
56name = fall_of_delhi_voters
56target = this
}
}
}
68ordered_known_country = {
69limit = {
70capital.sub_continent = sub_continent:south_asia
}
77order_by = country_total_army_levy_size
78max = 1
79check_range_bounds = no
94add_to_global_variable_list = {
94name = fall_of_delhi_possible_votes
94target = this
}
103propose_resolution = {
104resolution = resolution:fall_of_delhi_resolution
105actor = this
107vote = this
}
}
}
}
}
122on_monthly = {
124if = {
}
}
135random_list = {
13670 = {
}
1401 = {
}
}
156random_list = {
1572 = {
158random_in_global_list = {
159variable = fall_of_delhi_voters
160limit = {
161OR = {
162own_entire_province = province_definition:puadh_province
163own_entire_province = province_definition:delhi_province
164own_entire_province = province_definition:upper_doab_province
165own_entire_province = province_definition:central_doab_province
166own_entire_province = province_definition:lower_doab_province
167own_entire_province = province_definition:braj_province
}
}
}
}
17625 = {
177random_in_global_list = {
178variable = fall_of_delhi_voters
179limit = {
}
}
}
1925 = {
193random_in_global_list = {
194variable = fall_of_delhi_voters
195limit = {
195has_estate_privilege = estate_privilege:habshi_advisors_privilege
}
}
}
20295 = {
}
}
}
207on_ended = {
209if = {
}
}
214if = {
218every_country = {
}
}
225else_if = {
}
231else_if = {
232limit = {
}
}
}
246random_country = {
}
}
253tooltip = {
254if = {
255limit = {
256has_owner = yes
262active_resolution(resolution:fall_of_delhi_resolution) = {
}
}
}
267custom_tooltip = "LOYAL_SUBJECT_OF_DELHI"
}
269else_if = {
270limit = {
271has_owner = yes
277active_resolution(resolution:fall_of_delhi_resolution) = {
278vote_in_active_resolution(root.owner) ?= resolution_proposer
}
}
}
282custom_tooltip = "DISLOYAL_SUBJECT_OF_DELHI"
}
284else_if = {
291custom_tooltip = "ALLY_OF_DELHI"
}
293else_if = {
294limit = {
}
303custom_tooltip = "RIVAL_ENEMY_OF_DELHI"
}
}
313map_color = {
321else_if = {
322limit = {
323has_owner = yes
324OR = {
327active_resolution(resolution:fall_of_delhi_resolution) = {
}
}
}
}
333value = delhi_subject_loyal_color
}
335else_if = {
336limit = {
}
345value = delhi_enemy_or_rival_color
}
347else_if = {
356value = delhi_subject_disloyal_color
}
358else_if = {
359limit = {
360has_owner = yes
362active_resolution(resolution:fall_of_delhi_resolution) = {
363vote_in_active_resolution(root.owner) ?= resolution_proposer
}
}
}
367value = delhi_claimant_color
}
369else_if = {
370limit = {
371owner ?= {
372has_variable = delhi_provincial_sultanate_variable
}
}
375value = delhi_provincial_sultanate_color
}
377else = {
378value = define:NMapColors|DEFAULT_COLOR
}
}
387legend_key = {
388desc = "[loyal_subject|e]"
389color = delhi_subject_loyal_color
390require_color_on_map = yes
}
392legend_key = {
393desc = "[rival_enemy|e]"
394color = delhi_enemy_or_rival_color
395require_color_on_map = yes
}
397legend_key = {
398desc = "[disloyal_subject|e]"
399color = delhi_subject_disloyal_color
400require_color_on_map = yes
}
402legend_key = {
403desc = "delhi_claimant_opinion"
404color = delhi_claimant_color
405require_color_on_map = yes
}
407legend_key = {
408desc = "indian_sultanate_reform"
409color = delhi_provincial_sultanate_color
410require_color_on_map = yes
}