Niedergang Delhis
Situation

Niedergang Delhis

fall_of_delhiin_game/common/situations/fall_of_delhi.txt:1

Ein Jahrhundert der Überdehnung und die schwindende zentrale Autorität haben der Herrschaft und dem Ansehen von Delhi geschadet. Jenseits der Grenzen warten Aasgeier und andere Feinde nur darauf, in einem Moment der Schwäche zuzuschlagen. Das große Delhi Flavor Rank der Vorväter wird in Vergessenheit geraten, sollte es dem Land nicht gelingen, sein Volk sowohl vor inneren als auch äußeren Bedrohungen zu schützen.

ErfordertDelhiLandcan start, on ended, on start, visibleDie Auflösung DelhisKatastropheon endedDhimmi-StandStandon monthlySklavenWareon monthlyEinmischung durch WidersacherStatischer Modifikatoron endedKrieg der Nachfolger von DelhiStatischer Modifikatoron ended, on monthlydelhi_claimants_variableVariableon endeddlh_surrendered_territories_varVariableon endedstarts_fall_of_delhi_variableVariablecan start

Definitionin_game/common/situations/fall_of_delhi.txt:1

2monthly_spawn_chance = monthly_spawn_chance_low (0.02)
3hint_tag = hint_fall_of_delhi
4resolution = "fall_of_delhi_resolution"
5voters = fall_of_delhi_voters
7can_start = {
8country_exists = c:DLH
9custom_tooltip = {
10text = has_never_had_situation_before_tt Hatte diese Situation zuvor noch nicht
11c:DLH = {
}
}
}
15can_end = {
}
18visible = {
19OR = {
20tag = DLH
21OR = {
22AND = {
23exists = capital
24capital.sub_continent = sub_continent:south_asia
}
26AND = {
27country_exists = c:DLH
28OR = {
29is_neighbor_of = c:DLH
30is_subject_of = c:DLH
31is_enemy_of = c:DLH
32is_rival_of = c:DLH
}
}
}
}
}
40on_start = {
41add_to_global_variable_list = {
41name = fall_of_delhi_voters
41target = c:DLH
}
42every_country = {
43limit = {
44NOT = {
44is_at_war_with = c:DLH
}
45NOT = {
45has_truce_with = c:DLH
}
46AND = {
47exists = capital
48capital.sub_continent = sub_continent:south_asia
}
50NOT = {
50tag = DLH
}
51OR = {
52is_subject_of = c:DLH
53is_subject = no
}
}
56add_to_global_variable_list = {
56name = fall_of_delhi_voters
56target = this
}
57trigger_event_non_silently = fall_of_delhi.2
}
59c:DLH = {
61set_variable = {
63value = 0
}
65trigger_event_non_silently = fall_of_delhi.3
}
67c:DLH = {
68ordered_known_country = {
69limit = {
70capital.sub_continent = sub_continent:south_asia
71NOR = {
72target = c:DLH
}
73is_subject = yes
74is_during_bankruptcy = yes
}
}
77order_by = country_total_army_levy_size
78max = 1
79check_range_bounds = no
80capital = {
81root = {
82set_variable = {
84value = prev
}
}
}
88add_country_modifier = {
90months = -1
91mode = replace
}
93add_to_global_variable_list = {
93name = fall_of_delhi_possible_votes
93target = c:DLH
}
94add_to_global_variable_list = {
94name = fall_of_delhi_possible_votes
94target = this
}
97set_variable = {
99value = 0
}
103propose_resolution = {
104resolution = resolution:fall_of_delhi_resolution
105actor = this
107vote = this
}
112set_vote = {
113voter = c:DLH
114resolution = resolution:fall_of_delhi_resolution
115vote = c:DLH
}
}
}
}
}
122on_monthly = {
124if = {
125limit = {
126NOT = {
126has_country_modifier = dlh_situation_modifier
}
}
128add_country_modifier = {
130months = -1
131mode = replace
}
}
}
135random_list = {
13670 = {
}
1371 = {
138c:DLH = {
138trigger_event_non_silently = fall_of_delhi.8
}
}
1401 = {
142trigger_event_non_silently = fall_of_delhi.9
}
}
1451 = {
146c:DLH = {
146trigger_event_non_silently = fall_of_delhi.13
}
}
1481 = {
149c:DLH = {
149trigger_event_non_silently = fall_of_delhi.14
}
}
1511 = {
152c:DLH = {
152trigger_event_non_silently = fall_of_delhi.16
}
}
}
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
}
}
170trigger_event_non_silently = fall_of_delhi.17
}
}
1731 = {
174c:DLH = {
174trigger_event_non_silently = fall_of_delhi.19
}
}
17625 = {
177random_in_global_list = {
178variable = fall_of_delhi_voters
179limit = {
180country_has_estate = estate_type:dhimmi_estate
181capital ?= {
182market ?= {
182is_traded_in_market = goods:slaves_goods
}
}
184has_slavery = yes
185NOT = {
186type = habshi_advisors_privilege
}
}
}
189trigger_event_non_silently = fall_of_delhi.20
}
}
1925 = {
193random_in_global_list = {
194variable = fall_of_delhi_voters
195limit = {
195has_estate_privilege = estate_privilege:habshi_advisors_privilege
}
196trigger_event_non_silently = fall_of_delhi.21
}
}
1991 = {
200c:DLH = {
200trigger_event_non_silently = fall_of_delhi.22
}
}
20295 = {
}
}
}
207on_ended = {
208c:DLH ?= {
209if = {
210limit = {
210has_country_modifier = dlh_outside_interference_modifier
}
211remove_country_modifier = dlh_outside_interference_modifier
}
}
214if = {
215limit = {
216NOT = {
216country_exists = c:DLH
}
}
218every_country = {
219limit = {
220has_variable = delhi_claimants_variable
}
222trigger_event_non_silently = fall_of_delhi.4
}
}
225else_if = {
226limit = {
227c:DLH = {
}
}
229c:DLH = {
229trigger_event_non_silently = fall_of_delhi.5
}
}
231else_if = {
232limit = {
233c:DLH = {
234any_active_disaster = {
}
}
}
237c:DLH = {
237trigger_event_non_silently = fall_of_delhi.5
}
}
239else = {
240c:DLH = {
240trigger_event_non_silently = fall_of_delhi.6
}
}
242c:DLH = {
243remove_variable = starts_fall_of_delhi_variable
244remove_variable = dlh_countdown_disaster_variable
}
246random_country = {
247limit = {
247has_country_modifier = dlh_situation_modifier
}
248remove_country_modifier = dlh_situation_modifier
249set_variable = {
249value = yes
249months = 3
}
}
}
253tooltip = {
254if = {
255limit = {
256has_owner = yes
257owner ?= {
258is_subject_of = c:DLH
259liberty_desire <= 50
}
262active_resolution(resolution:fall_of_delhi_resolution) = {
263vote_in_active_resolution(root.owner) ?= c:DLH
}
}
}
267custom_tooltip = "LOYAL_SUBJECT_OF_DELHI"
}
269else_if = {
270limit = {
271has_owner = yes
272owner ?= {
273is_subject_of = c:DLH
274liberty_desire > 50
}
277active_resolution(resolution:fall_of_delhi_resolution) = {
278vote_in_active_resolution(root.owner) ?= resolution_proposer
}
}
}
282custom_tooltip = "DISLOYAL_SUBJECT_OF_DELHI"
}
284else_if = {
285limit = {
286has_owner = yes
287owner ?= {
288is_allied_with = {
288target = c:DLH
}
}
}
291custom_tooltip = "ALLY_OF_DELHI"
}
293else_if = {
294limit = {
295owner ?= {
296OR = {
297is_at_war_with = c:DLH
298is_rival_of = c:DLH
299is_enemy_of = c:DLH
}
}
}
303custom_tooltip = "RIVAL_ENEMY_OF_DELHI"
}
305else_if = {
306limit = {
307owner ?= {
307tag = DLH
}
}
309custom_tooltip = "TERRITORY_OF_DELHI"
}
}
313map_color = {
314if = {
315limit = {
316has_owner = yes
317owner = c:DLH
}
319value = map_delhi
}
321else_if = {
322limit = {
323has_owner = yes
324OR = {
325owner ?= {
325is_allied_with = {
325target = c:DLH
}
}
327active_resolution(resolution:fall_of_delhi_resolution) = {
328vote_in_active_resolution(root.owner) ?= c:DLH
}
}
}
}
333value = delhi_subject_loyal_color
}
335else_if = {
336limit = {
337owner ?= {
338OR = {
339is_at_war_with = c:DLH
340is_rival_of = c:DLH
341is_enemy_of = c:DLH
}
}
}
345value = delhi_enemy_or_rival_color
}
347else_if = {
348limit = {
349owner ?= {
350AND = {
351is_subject_of = c:DLH
352liberty_desire > 50
}
}
}
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
}
}
382legend_key = {
383desc = "DLH"
384color = map_delhi
385require_color_on_map = yes
}
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
}
© 2026 Soft Santa Cruz, S.L.U.. Alle Rechte vorbehalten. Inoffizielles Fanprojekt, nicht mit Paradox Interactive verbunden. Spielinhalte © Paradox Interactive. Über · Datenschutz · Impressum