Elecciones imperiales
ResoluciónCambiado en esta versión

Elecciones imperiales

hre_electionin_game/common/resolutions/hre_election.txt:1

El título de Hre Emperor del Sacro Imperio Romano se decide con los votos de los Electors. HREElection Description

RequiereSacro Imperio RomanoOrganización internacionalcan vote, select trigger 1Autovoto permitidoTipo de modificadorselect trigger 2ErbkaisertumPolíticaeffectReligión imperial: CalvinismoPolíticaeffectReligión imperial: CatolicismoPolíticaeffectReligión imperial: HusitismoPolíticaeffectReligión imperial: LuteranismoPolíticaeffecthre_fixed_successionVariableeffect

Definiciónin_game/common/resolutions/hre_election.txt:1

2loc = hre_election
3potential = {
3always = yes
}
4allow = {
}
7can_vote = {
8scope:actor = {
9is_elector = yes
10is_member_of_international_organization = international_organization:hre
}
}
15ai_tick = monthly
17is_live = {
18scope:recipient ?= {
19international_organization_has_leader = no
}
}
22votes = {
23add = {
24desc = "[elector|e]"
25value = 1
}
}
28total_votes_needed = {
29add = {
30value = scope:total_votes_available
31multiply = 0.5
}
}
35requires_explicit_votes = no
37should_finalize_vote = {
38OR = {
39custom_tooltip = {
40text = OVER_HALF_OF_VOTES Un Candidate tiene al menos el 50 % de los votos.
41scope:recipient = {
42international_organization_has_leader = no
}
44scope:highest_vote >= scope:total_votes_needed
}
46custom_tooltip = {
47text = HRE_ELECTORS_DEADLOCK Los Electors no existen o están en un punto muerto electoral.
48scope:recipient = {
49international_organization_has_leader = no
50international_organization_leader_reign > 2
51num_of_electors = 0
52any_international_organization_elector = {
53root = {
54vote_is_locked = {
55voter = prev
56resolution = resolution:hre_election
}
}
59percent >= 0.5
}
}
}
}
64hidden_trigger = {
65trigger_if = {
66limit = {
67scope:recipient = {
68international_organization_has_leader = no
}
70scope:highest_vote < scope:total_votes_needed
}
72always = no
}
}
}
77select_trigger = {
78looking_for_a = international_organization
79target_flag = recipient
80name = "choose_international_organization" Elige la International Organization:
81column = {
82data = name
}
84visible = {
85international_organization_type = international_organization_type:hre
}
87enabled = {
}
}
91select_trigger = {
92looking_for_a = country
93interaction_source_list = {
94continent:europe = {
95every_country_with_capital_in_geography = {
96limit = {
97can_lead_international_organization = scope:recipient
}
99add_to_list = source
}
}
}
103ai_interaction_source_list = {
104continent:europe = {
105every_country_with_capital_in_geography = {
106limit = {
107can_lead_international_organization = scope:recipient
}
109add_to_list = source
}
}
}
113target_flag = vote
114allow_self = yes
115cache_interaction_source_list = yes
116name = "election_select_country" Selecciona el Country al que quieres votar:
117none_available_msg_key = "election_select_no_countries"
118default_sort = country_tax_base
119pre_evaluation_sort_value = country_tax_base
120pre_evaluation_number_to_evaluate_fully = 25
121column = {
122data = name
}
124column = {
125data = country_tax_base
}
127visible = {
128trigger_if = {
129limit = {
130exists = scope:actor
}
132OR = {
133this = scope:actor
134is_member_of_international_organization = scope:recipient
135scope:actor = {
136knows_country = root
}
}
139trigger_if = {
140limit = {
141this = scope:actor
142scope:recipient = {
}
}
146is_emperor = no
}
}
}
150enabled = {
151can_lead_international_organization = scope:recipient
152trigger_if = {
}
158trigger_if = {
}
}
}
167effect = {
168if = {
169limit = {
170scope:vote ?= {
170can_lead_international_organization = scope:recipient
}
}
172scope:recipient = {
172set_leader_country = scope:vote
}
173if = {
174limit = {
175scope:recipient = {
176has_variable = hre_fixed_succession
177var:hre_fixed_succession != scope:vote
178international_organization_has_policy = policy:erbkaisertum_policy
}
}
181scope:recipient = {
181remove_policy_from_international_organization = policy:erbkaisertum_policy
}
}
183if = {
184limit = {
185scope:recipient = {
186international_organization_has_policy = policy:hre_religion_catholic
}
}
189scope:vote.ruler_or_heir_if_regent = {
190change_character_religion = religion:catholic
}
}
193if = {
194limit = {
195scope:recipient = {
196international_organization_has_policy = policy:hre_religion_lutheran
}
}
199scope:vote.ruler_or_heir_if_regent = {
200change_character_religion = religion:lutheran
}
}
203if = {
204limit = {
205scope:recipient = {
206international_organization_has_policy = policy:hre_religion_hussite
}
}
209scope:vote.ruler_or_heir_if_regent = {
210change_character_religion = religion:hussite
}
}
213if = {
214limit = {
215scope:recipient = {
216international_organization_has_policy = policy:hre_religion_calvinist
}
}
219scope:vote.ruler_or_heir_if_regent = {
220change_character_religion = religion:calvinist
}
}
}
}
225vote_effect = {
226assert_if = {
227limit = {
228exists = scope:vote
229scope:vote = {
230NOT = {
230can_lead_international_organization = scope:recipient
}
}
}
233text = "Detective. Arriving. On the scene."
}
}
237ai_will_do = {
238if = {
239limit = {
239exists = scope:vote
}
240scope:vote = {
241if = {
242limit = {
243is_member_of_international_organization = scope:recipient
}
246if = {
247limit = {
248total_population_in_international_organization = {
249international_organization = scope:recipient
250value >= 1000
}
}
253add = {
254desc = "HRE_DOMINANT_NATION"
255value = 75
}
}
258else_if = {
259limit = {
260total_population_in_international_organization = {
261international_organization = scope:recipient
262value >= 500
}
}
265add = {
266desc = "HRE_LARGE_NATION"
267value = 50
}
}
270else_if = {
271limit = {
272total_population_in_international_organization = {
273international_organization = scope:recipient
274value < 100
}
}
277add = {
278desc = "HRE_TINY_NATION"
279value = -50
}
}
282else_if = {
283limit = {
284total_population_in_international_organization = {
285international_organization = scope:recipient
286value < 250
}
}
289add = {
290desc = "HRE_SMALL_NATION"
291value = -25
}
}
295if = {
296limit = {
296scope:recipient = {
296international_organization_has_policy = policy:golden_bull_policy
}
}
297if = {
298limit = {
299country_rank = country_rank:rank_empire
}
301add = {
302desc = "rank_empire"
303value = 50
}
}
306else_if = {
307limit = {
308country_rank = country_rank:rank_kingdom
}
310add = {
311desc = "rank_kingdom"
312value = 25
}
}
315else_if = {
316limit = {
317country_rank = country_rank:rank_duchy
}
319add = {
320desc = "rank_duchy"
321value = 10
}
}
}
}
326else = {
327add = {
328desc = "HRE_ELECTION_NOT_A_MEMBER"
329value = -100
}
}
333if = {
334limit = {
335exists = scope:recipient
336scope:recipient = {
337international_organization_has_policy = policy:erbkaisertum_policy
338last_leader_country ?= scope:vote
}
}
341add = {
342desc = "erbkaisertum_policy"
343value = 100000
}
}
346else_if = {
347limit = {
348exists = scope:recipient
349is_ai = no
350NOT = {
350can_lead_international_organization = scope:recipient
}
}
352subtract = {
353desc = "LEADERSHIP_CANNOT_LEAD_ORGANIZATION"
354value = 100000
}
}
358if = {
359limit = {
360this = scope:actor
}
362add = {
363desc = "LEADERSHIP_VOTE_FOR_SELF"
364value = 25
}
}
367if = {
368limit = {
369this = scope:actor
370scope:recipient = {
371active_resolution(resolution:hre_election) = {
372any_voter = {
373this != scope:actor
374save_temporary_scope_as = voter
375scope:recipient = {
376has_cached_or_cast_vote_for = {
377voter = scope:voter
378resolution = resolution:hre_election
379vote = scope:actor
}
}
}
}
}
}
386add = {
387desc = "LEADERSHIP_VOTE_FOR_SELF_OTHER_VOTERS"
388value = 200
}
}
393if = {
394limit = {
394is_rival_of = scope:actor
}
395add = {
396desc = "game_concept_rival"
397value = -1000
}
}
402if = {
403limit = {
403is_at_war_with = scope:actor
}
404add = {
405desc = "game_concept_war"
406value = -200
}
}
411if = {
412limit = {
412NOT = {
412this = scope:actor
}
}
413if = {
414limit = {
414is_allied_with = {
414target = scope:actor
}
}
415add = {
416desc = "HAS_ALLIANCE"
417value = 30
}
}
420if = {
421limit = {
421has_royal_marriage_with = scope:actor
}
422add = {
423desc = "game_concept_royal_marriage"
424value = 20
}
}
427if = {
428limit = {
428same_dynasty_as = {
428target = scope:actor
}
}
429add = {
430desc = "opinion_same_dynasty"
431value = 30
}
}
}
437add = {
438desc = "game_concept_tax_base"
439value = country_tax_base
440if = {
441limit = {
442scope:recipient = {
443international_organization_has_law = law:golden_bull
}
}
446multiply = 0.15
}
448else = {
449multiply = 0.05
}
452if = {
453limit = {
453NOT = {
453is_member_of_international_organization = scope:recipient
}
}
454divide = 10
}
456if = {
457limit = {
458scope:recipient = {
459international_organization_has_leader = no
460international_organization_leader_reign >= LONG_IMPERIAL_REGENCY_YEARS
}
}
465multiply = {
466value = 1
467add = {
468value = scope:recipient.international_organization_leader_reign
469subtract = LONG_IMPERIAL_REGENCY_YEARS
470divide = 10
}
}
}
}
477if = {
478limit = {
478not = {
478this = scope:actor
}
}
479add = {
480desc = "HRE_ELECTION_REASON_TO_ELECT"
481value = modifier:reasons_to_elect
}
483add = {
484desc = "game_concept_diplomatic_reputation"
485value = modifier:diplomatic_reputation
486multiply = 3
}
488add = {
489desc = "game_concept_opinion"
490if = {
491limit = {
492scope:recipient = {
493international_organization_has_law = law:golden_bull
}
}
496scope:actor = {
497value = this_opinion_of_prev
498divide = 2
}
}
501else = {
502scope:actor = {
503value = this_opinion_of_prev
}
}
}
508if = {
509limit = {
509scope:actor = {
509is_subject_or_below_of = scope:vote
}
}
510add = {
511desc = "IS_OUR_OVERLORD"
512value = 50
}
}
515else_if = {
516limit = {
517scope:recipient = {
518any_international_organization_elector = {
519is_subject_or_below_of = scope:vote
}
}
}
523add = {
524desc = "HRE_HAS_ANOTHER_ELECTOR_SUBJUGATED"
525value = -50
}
}
}
531if = {
532limit = {
532uses_government_power = legitimacy
}
533add = {
534desc = "game_concept_legitimacy"
535value = legitimacy
536divide = 2
537subtract = 25
}
}
542add = {
543desc = "game_concept_prestige"
544value = prestige
545subtract = 50
546divide = 2
}
550add = {
551desc = "game_concept_dynastic_power"
552value = "dynastic_power(scope:recipient)"
553multiply = 4
554max = 300
}
558if = {
559limit = {
559court_language = language:german_language
}
560add = {
561desc = "HRE_ELECTION_GERMAN_COURT_LANGUAGE"
562value = 25
}
}
567add = {
568desc = "game_concept_antagonism"
569value = "scope:actor.antagonism(scope:vote)"
570multiply = -2
}
573if = {
574limit = {
575is_member_of_international_organization = international_organization:guelphs_io
}
577add = {
578desc = "opinion_guelphs_support_imperial_rivals"
579value = -50
}
}
}
}
584else = {
585value = 0
}
}
© 2026 Soft Santa Cruz, S.L.U.. Todos los derechos reservados. Proyecto no oficial de fans, sin afiliación con Paradox Interactive. Contenido del juego © Paradox Interactive. Acerca de · Privacidad · Aviso legal