
ResolutionIn dieser Version geändert
Niedergang Delhis
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.
DelhiLandcan vote, effect, select trigger 2
Niedergang DelhisSituationpotential, select trigger 1fall_of_delhi_vote_weightVariablevotesDefinitionin_game/common/resolutions/fall_of_delhi.txt:1
9allow = {
10scope:actor ?= {
10at_war = no
}
}
13can_vote = {
14scope:actor ?= {
15trigger_if = {
20NOT = {
20this = scope:proposer
}
}
}
}
38votes = {
39value = scope:actor.total_population
40divide = 1000000
41max = 0.05
42min = 0.0005
43if = {
}
}
51total_votes_needed = 1
53should_finalize_vote = {
54scope:highest_vote >= scope:total_votes_needed
}
57select_trigger = {
58looking_for_a = situation
64target_flag = recipient
65name = "choose_situation" Die Situation wählen:
66column = {
67data = name
}
72enabled = {
}
}
76select_trigger = {
77looking_for_a = country
78name = "select_vote" Auswählen, wie abgestimmt werden soll
79target_flag = vote
80source_global_list = fall_of_delhi_possible_votes
81cache_interaction_source_list = yes
82column = {
83data = name
}
85column = {
86data = population
}
88visible = {
89trigger_if = {
96scope:actor = {
}
107not = {
107scope:actor = scope:proposer
}
}
109trigger_else_if = {
110limit = {
111exists = scope:proposer
112scope:proposer = this
113exists = scope:actor
}
115scope:actor = {
}
}
127trigger_else = {
128always = yes
}
}
}
133effect = {
134if = {
144scope:proposer = {
145if = {
}
}
}
163if = {
164limit = {
165scope:vote ?= scope:proposer
}
173scope:proposer = {
174if = {
}
}
}
}
194ai_will_do = {
195if = {
201add = -100
202add = "scope:actor.opinion(c:DLH)"
203add = {
204if = {
205limit = {
206scope:actor = {
206religion.group = religion_group:muslim
}
}
208value = 20
}
}
211subtract = {
212if = {
213limit = {
214scope:actor = {
214religion.group != religion_group:muslim
}
}
216value = 20
}
}
219subtract = {
220if = {
229value = 30
}
}
232subtract = {
233if = {
234limit = {
235scope:actor = {
235religion.group = religion_group:dharmic
}
}
237value = 25
}
}
}
241else_if = {
242limit = {
243scope:vote = scope:proposer
}
246add = -100
247add = "scope:actor.opinion(scope:proposer)"
248subtract = {
249if = {
250limit = {
251scope:actor = {
251religion.group = religion_group:muslim
}
}
253value = 20
}
}
256add = {
257if = {
258limit = {
259scope:actor = {
259religion.group != religion_group:muslim
}
}
261value = 20
}
}
264add = {
265if = {
274value = 30
}
}
277add = {
278if = {
279limit = {
280scope:actor = {
280religion.group != religion_group:dharmic
}
}
282value = 25
}
}
}
}