
International OrganizationChanged this version
Holy Roman Empire
The glory of the ancient Roman Empire lives in the memory of all in Europe. Charles was crowned Roman Emperor, but it was not until the coronation of Otto that the current Holy Roman Empire was born, with the ambitions of forming a revived and unified European Empire.
Religious SuperiorityCasus Belliai desire to attack other members
Swiss ConfederationInternational Organizationauto leave trigger, can join trigger
Senior PartnerSpecial Statuscan lead tooltip trigger, can lead trigger
Enable Leave the Holy Roman Empire PeaceModifier Typecan leave trigger
Seal the Golden BullPolicycan leave trigger
Leave the EmpirePolicyauto leave trigger, can join triggercircle_critical_satisfaction_cooldownVariablemonthly effectcircle_low_satisfaction_cooldownVariablemonthly effectcircle_no_leader_cooldownVariablemonthly effectcircles_established_notifiedVariablemonthly effectio_law_targetVariableai issue voting biasModifiers
Modifier 1
Modifier 2
Leader modifier
Monthly Prestige+0.1
Diplomatic Capacity+1
Maximum Diplomats+2
Diplomatic Range+500
Fort Limit+1
Possible Number of Artists+1
Cultures Capacity+1
Cabinet Seats+1
Monthly Prestige+0.1
Can Sign AllianceYes
Can GuaranteeYes
Can Support RebelsYes
Can Intervene in WarYes
Can Enforce PeaceYes
Can Threaten WarYes
Monthly Diplomats+0.5
Variables 1
Definitionin_game/common/international_organizations/hre.txt:1
3has_target = no
4unique = yes
5max_circles_at_formation = 10
6expel_members_who_are_targets_of_other_members = no
7has_buildings = yes
8show_leave_message = no
9use_laws_as_join_reason = no
11show_as_overlord_on_map_trigger = {
12always = yes
}
15has_parliament = yes
16parliament_type = hre_court_assembly
17alert_view_tab = parliament
18resolution_widget = parliament
19has_dynastic_power = yes
21has_leader_country = yes
22leader_title_key = "HRE_LEADER"
23use_regnal_number = yes
24leader_type = character
25leader = {
26leader_country ?= {
27if = {
28limit = {
29has_regent = yes
30has_heir = yes
}
32heir ?= {
33add_to_list = leaders
}
}
36else_if = {
37limit = {
38has_ruler = yes
39ruler ?= {
39is_alive = yes
}
}
41ruler ?= {
42add_to_list = leaders
}
}
}
}
47leader_change_trigger_type = rulerchange
48leader_change_method = vote
49leadership_election_resolution = hre_election
50disband_if_no_leader = no
51override_ruler_title = yes
53only_leader_country_joins_defensive_wars = yes
54joins_defensive_wars_as_co_belligerent = yes
56join_defensive_wars_always = {
57custom_tooltip = {
58text = hre_defended_imperial_cities_tt If the defender is a Free Imperial City and the Empire has enacted a policy to protect them
60exists = scope:actor
61scope:actor = {
62is_subject = no
63has_special_status_in_international_organization = {
65international_organization = root
}
}
}
}
71join_defensive_wars_auto_call = {
72exists = scope:target
73scope:target ?= {
74not = {
75is_member_of_international_organization = root
}
}
}
83can_declare_war = {
84trigger_if = {
85limit = {
86scope:attacker = {
86is_ai = yes
}
87scope:attacker = {
87is_member_of_international_organization = scope:recipient
}
88scope:defender = {
88is_member_of_international_organization = scope:recipient
}
}
90scope:attacker = {
90has_casus_belli_on = scope:defender
}
}
92trigger_else = {
93hidden_trigger = {
93always = yes
}
}
95trigger_if = {
96limit = {
97scope:recipient = {
97modifier:enforced_internal_peace = yes
}
98scope:attacker = {
98is_member_of_international_organization = scope:recipient
}
99scope:defender = {
99is_member_of_international_organization = scope:recipient
}
}
101scope:recipient = {
101modifier:enforced_internal_peace = no
}
}
103trigger_else = {
104hidden_trigger = {
104always = yes
}
}
}
108gives_military_access_to_all_when_at_war = yes
110can_initiate_policy_votes = {
111is_leader_of_international_organization = scope:recipient
}
115antagonism_modifier_for_taking_land_from_fellow_member = 1.25
116antagonism_modifier_for_taking_land_from_member_as_outsider = 2.0
117no_cb_price_modifier_for_fellow_member = 1
119modifier = {
}
125modifier = {
126potential_trigger = {
127NOR = {
128has_game_rule = no_rank_restriction
129has_game_rule = rank_restriction_by_numbers
}
}
}
135international_organization_modifier = {
137hre_max_elector = 4
138hre_max_archbishop_elector = 3
}
146leader_modifier = {
}
169create_visible_trigger = {
170always = no
}
173invite_visible_trigger = {
174always = yes
}
177can_lead_trigger = {
178country_type = location
179country_exists = root
181is_revolutionary = no
182is_subject = no
184hidden_trigger = {
185OR = {
186has_regent = no
187has_heir = yes
}
}
190OR = {
192AND = {
193NOT = {
193is_leader_of_international_organization = scope:recipient
}
195custom_tooltip = {
196text = hre_has_eligible_ruler_tt Has an eligible Ruler
197AND = {
198has_regent = no
199has_ruler = yes
200OR = {
201ruler ?= {
201is_female = no
}
}
204ruler ?= {
206custom_tooltip = {
207text = hre_character_fulfills_imperial_religion_requirement_tt The Religion of the character aligns with the Imperial Religion
}
}
}
}
}
216AND = {
217OR = {
218is_leader_of_international_organization = scope:recipient
219scope:recipient = {
220international_organization_has_leader = no
221exists = last_leader_country
222last_leader_country ?= root
}
}
226custom_tooltip = {
227text = hre_has_eligible_heir_tt Has an eligible Heir
228AND = {
229has_heir = yes
230OR = {
231heir ?= {
231is_female = no
}
}
234heir ?= {
236custom_tooltip = {
237text = hre_character_fulfills_imperial_religion_requirement_tt The Religion of the character aligns with the Imperial Religion
}
}
}
}
}
}
245trigger_if = {
246limit = {
247exists = union
}
}
}
256can_lead_tooltip_trigger = {
258is_revolutionary = no
259is_subject = no
261OR = {
263AND = {
264custom_tooltip = {
265text = hre_eligible_via_ruler_context_tt We are not yet the Emperor, so our Ruler must qualify
266NOT = {
266is_leader_of_international_organization = scope:recipient
}
}
268custom_tooltip = {
269text = hre_ruler_not_regency_tt We are not under a regency
270has_regent = no
}
272custom_tooltip = {
273text = hre_has_ruler_tt We have a Ruler
274has_ruler = yes
}
276custom_tooltip = {
277text = hre_ruler_gender_eligible_tt The Ruler is male, or the Empire permits female Emperors
278OR = {
279ruler ?= {
279is_female = no
}
}
}
283custom_tooltip = {
284text = hre_ruler_not_blocked_tt The Ruler is not barred from ruling the Holy Roman Empire
}
287custom_tooltip = {
288text = hre_ruler_religion_aligns_tt The Ruler's religion aligns with the Imperial Religion
}
}
294AND = {
295custom_tooltip = {
296text = hre_eligible_via_heir_context_tt We are the current Emperor, or were the previous one, so our Heir must qualify
297OR = {
298is_leader_of_international_organization = scope:recipient
299scope:recipient = {
300international_organization_has_leader = no
301exists = last_leader_country
302last_leader_country ?= root
}
}
}
306custom_tooltip = {
307text = hre_has_heir_tt We have an Heir
308has_heir = yes
}
310custom_tooltip = {
311text = hre_heir_gender_eligible_tt The Heir is male, or the Empire permits female Emperors
312OR = {
313heir ?= {
313is_female = no
}
}
}
317custom_tooltip = {
318text = hre_heir_not_blocked_tt The Heir is not barred from ruling the Holy Roman Empire
}
321custom_tooltip = {
322text = hre_heir_religion_aligns_tt The Heir's religion aligns with the Imperial Religion
}
}
}
327trigger_if = {
328limit = {
329exists = union
}
}
}
338can_join_trigger = {
339scope:recipient = {
340international_organization_has_leader = yes
}
342religion = scope:recipient.leader_country.religion
343OR = {
344is_neighbor_of_international_organization = scope:recipient
345any_owned_location = {
345is_owned_by_international_organization = scope:recipient
}
}
347trigger_if = {
348limit = {
}
}
}
}
}
363can_leave_trigger = {
364NOT = {
364is_leader_of_international_organization = scope:recipient
}
365trigger_if = {
366limit = {
366scope:recipient = {
366international_organization_has_leader = yes
}
}
367trigger_if = {
369custom_tooltip = {
370text = hre_leaving_tt It is not possible to leave the Empire peacefully. Win a war against the Holy Roman Empire Leader Country and enforce the Leave the Holy Roman Empire against them!
371always = no
}
}
374trigger_else = {
375scope:recipient = {
}
376current_year > 1400
}
}
379trigger_else = {
380scope:recipient = {
}
}
}
384auto_leave_trigger = {
385trigger_if = {
386limit = {
}
}
}
}
396trigger_else = {
397always = no
}
}
401can_vote_in_parliament = {
402country_highest_rated_special_status_power(scope:recipient) > 0
}
405auto_disband_trigger = {
406always = no
}
409on_joined = {
}
412on_left = {
}
415monthly_effect = {
416hidden_effect = {
418every_international_organization_owned_location = {
419limit = {
420is_capital = yes
421owner = {
422not = {
422is_member_of_international_organization = root
}
423country_can_join_international_organization = root
}
}
426root = {
427add_country_to_international_organization = prev.owner
}
}
431if = {
432limit = {
433max_countries_with_special_status(special_status:elector) < "num_countries_with_special_status(special_status:elector)"
434num_countries_with_special_status(special_status:elector) > 0
}
436ordered_country_with_special_status_of_type = {
438order_by = {
438value = country_tax_base
438multiply = -1
}
439max = 1
440check_range_bounds = no
441root = {
441international_organization_remove_special_status = {
441country = prev
}
}
}
}
444if = {
445limit = {
446max_countries_with_special_status(special_status:archbishop_elector) < "num_countries_with_special_status(special_status:archbishop_elector)"
447num_countries_with_special_status(special_status:archbishop_elector) > 0
}
449ordered_country_with_special_status_of_type = {
451order_by = {
451value = country_tax_base
451multiply = -1
}
452max = 1
453check_range_bounds = no
454root = {
454international_organization_remove_special_status = {
454country = prev
}
}
}
}
458scripted_geography = scripted_geography:kingdom_of_italy_geography
}
459scripted_geography = scripted_geography:kingdom_of_lotharingia_geography
}
460scripted_geography = scripted_geography:kingdom_of_burgundy_geography
}
461scripted_geography = scripted_geography:kingdom_of_bohemia_geography
}
463if = {
464limit = {
465international_organization_has_leader = no
466international_organization_leader_reign > 2
467OR = {
468num_of_electors = 0
469any_international_organization_elector = {
470root = {
471vote_is_locked = {
472voter = prev
473resolution = resolution:hre_election
}
}
476percent >= 0.5
}
}
}
480ordered_international_organization_member = {
481order_by = country_tax_base
482limit = {
482can_lead_international_organization = root
}
483max = 1
484check_range_bounds = no
485save_scope_as = new_leader
}
487if = {
488limit = {
488exists = scope:new_leader
}
489set_leader_country = scope:new_leader
}
}
494if = {
495limit = {
495circles_are_active = yes
}
498if = {
499limit = {
501international_organization_has_leader = yes
}
}
509leader_country ?= {
510save_scope_as = hre_emperor_scope
}
514every_imperial_circle = {
515limit = {
516has_circle_leader = yes
517NOT = {
517is_dormant_imperial_circle = yes
}
}
519circle_leader ?= {
520if = {
521limit = {
522any_imperial_circle_country_is_member_of = {
523imperial_circle_satisfaction < 15
}
}
}
530else_if = {
531limit = {
532any_imperial_circle_country_is_member_of = {
533imperial_circle_satisfaction < 30
}
}
}
}
}
543every_imperial_circle = {
544limit = {
545has_circle_leader = yes
546NOT = {
546is_dormant_imperial_circle = yes
}
547circle_leader ?= {
548OR = {
549country_type = building
550is_subject = yes
}
}
}
554clear_circle_leader = {
}
}
558every_imperial_circle = {
559limit = {
560NOT = {
560has_circle_leader = yes
}
561NOT = {
561is_dormant_imperial_circle = yes
}
}
563ordered_circle_member = {
564limit = {
565NOT = {
565country_type = building
}
566is_subject = no
}
568order_by = prestige
569max = 1
570check_range_bounds = no
571save_scope_as = new_circle_leader
}
573if = {
574limit = {
574exists = scope:new_circle_leader
}
575set_circle_leader = scope:new_circle_leader
}
580else_if = {
581limit = {
582exists = scope:hre_emperor_scope
}
587scope:hre_emperor_scope = {
}
}
}
}
}
}
597variables = {
598imperial_authority = {
599format = "IMPERIAL_AUTHORITY_DISPLAY"
600change_format = "VARIABLE_CHANGE_FORMAT"
601min = 0
602max = 100
603monthly_change = {
604add = {}
}
}
}
890special_statuses_implemented = {
}
903join_diplo_chance = {
904opinion = 0.25
905base = -10
}
907ai_desire_to_join = {
908if = {
909limit = {
909country_rank_level > 1
}
910subtract = {
911desc = "game_concept_country_rank" Country Rank
912value = {
913value = country_rank_level
914multiply = 100
}
}
}
918subtract = {
919desc = "game_concept_tax_base" Tax Base
920value = country_tax_base
}
922if = {
923limit = {
923exists = scope:recipient
}
925every_casus_belli_on_us = {
926if = {
927limit = {
927is_member_of_international_organization = scope:recipient
}
928subtract = {
929desc = "THREATENED_BY_IO_MEMBERS" Threatened by members in the International Organization
930value = "threat_level_to(root)"
}
}
933else = {
934add = {
935desc = "THREATENED_BY_NON_IO_MEMBERS" Threatened by countries outside of the International Organization
936value = "threat_level_to(root)"
937divide = 2
}
}
}
}
942add = {
943desc = "game_concept_diplomatic_reputation" Diplomatic Reputation
944value = {
945value = "scope:actor.modifier:diplomatic_reputation"
946multiply = 0.5
}
}
949if = {
950limit = {
951OR = {
952has_ruler = yes
953AND = {
954has_regent = yes
955has_heir = yes
}
}
958ruler_or_heir_if_regent ?= {
959has_dynasty = yes
960dynasty ?= {
961dynasty_home ?= {
962is_owned_by_international_organization = root
}
}
}
}
967add = {
968desc = "SEAT_OF_DYNASTY_IN_IO" Has a Dynastic Seat in International Organization
969value = 50
}
}
972if = {
973limit = {
974exists = scope:actor
975OR = {
976culture ?= scope:actor.culture
977ruler ?= {
978culture ?= scope:actor.culture
}
}
}
982add = {
983desc = "PRIMARY_OR_RULER_CULTURE_EQUAL_TO_LEADER_CULTURE" Primary Culture or Culture of Ruler equal to Leader culture
984value = 25
}
}
987if = {
988limit = {
989exists = scope:actor
990exists = scope:recipient
991any_neighbor_country = {
992is_threat_to = root
993NOT = {
993is_member_of_international_organization = scope:recipient
}
994OR = {
995is_rival_of = scope:actor
996is_enemy_of = scope:actor
}
}
}
1000add = {
1001desc = "THREATENED_BY_LEADER_RIVALS_OR_ENEMIES" Is threatened by Rivals or War Enemies of the Leader
1002value = 25
}
}
1005if = {
1006limit = {
1007at_war = yes
}
1009subtract = {
1010desc = "IS_AT_WAR" Is at War
1011value = 1000
}
}
}
1016ai_desire_to_allow_new_member = {
1017subtract = {
1018desc = "BASE" Base Amount
1019value = 150
}
1021if = {
1022limit = {
1022international_organization_has_leader = yes
}
1023add = {
1024desc = "OPINION_OF_LEADER_TO_US" Leader opinion of us
1025value = "leader_country.opinion(scope:actor)"
}
}
1028if = {
1029limit = {
1030scope:actor = {
1031OR = {
1032has_ruler = yes
1033AND = {
1034has_regent = yes
1035has_heir = yes
}
}
1038ruler_or_heir_if_regent ?= {
1039has_dynasty = yes
1040dynasty ?= {
1041dynastic_power = {
1042international_organization = root
1043value != 0
}
}
}
}
}
1049add = {
1050desc = "DYNASTIC_POWER_IN_IO" Dynastic Power in the International Organization
1051value = {
1052value = "scope:actor.ruler_or_heir_if_regent.dynasty.dynastic_power(root)"
1053multiply = 5
}
}
}
1057if = {
1058limit = {
1059scope:actor ?= {
1060country_rank_level > 1
}
}
1063subtract = {
1064desc = "game_concept_country_rank" Country Rank
1065value = {
1066value = scope:actor.country_rank_level
1067multiply = 100
}
}
}
1071if = {
1072limit = {
1073scope:actor = {
1074OR = {
1075has_ruler = yes
1076AND = {
1077has_regent = yes
1078has_heir = yes
}
}
1081ruler_or_heir_if_regent ?= {
1082has_dynasty = yes
1083dynasty ?= {
1084dynasty_home ?= {
1085is_owned_by_international_organization = root
}
}
}
}
}
1091add = {
1092desc = "SEAT_OF_DYNASTY_IN_IO" Has a Dynastic Seat in International Organization
1093value = 50
}
}
1096add = {
1097desc = "game_concept_diplomatic_reputation" Diplomatic Reputation
1098value = {
1099value = "scope:actor.modifier:diplomatic_reputation"
1100multiply = 3
}
}
1103subtract = {
1104desc = "game_concept_tax_base" Tax Base
1105value = "scope:actor.country_tax_base"
}
1107if = {
1108limit = {
1109scope:actor = {
1109at_war = yes
}
}
1111subtract = {
1112desc = "IS_AT_WAR" Is at War
1113value = 1000
}
}
}
1118ai_issue_voting_bias = {
1123add = {
1124desc = "POLICY_BIAS_VOTE_WITH_EMPEROR" Aligning with the Emperor (opinion x Imperial Authority)
1125if = {
1126limit = {
1127exists = scope:vote
1128scope:recipient = {
1129international_organization_has_leader = yes
}
1131not = {
1131scope:actor = scope:recipient.leader_country
}
1132OR = {
1133AND = {
1134exists = scope:previewed_vote
1135scope:previewed_vote = scope:vote
1136scope:recipient = {
1137NOT = {
1137international_organization_has_policy = scope:previewed_vote
}
}
}
}
}
1146value = {
1147value = "scope:actor.opinion(scope:recipient.leader_country)"
1148min = 0
1149divide = 100
1150multiply = scope:recipient.var:imperial_authority
1151divide = 100
}
}
}
}
1158ai_desire_to_attack_other_members = {
1159if = {
1160limit = {
1161OR = {
1162AND = {
1163is_leader_of_international_organization = scope:recipient
1164NOT = {
1165has_casus_belli_of_type_on = {
1167target = scope:defender
}
}
}
1171NOT = {
1171has_casus_belli_on = scope:defender
}
}
}
1174subtract = {
1175desc = "NO_APROPRIATE_CASUS_BELLI" No appropriate casus belli
1176value = "conquer_desire(scope:defender)"
1177max = 0
1178subtract = 10000
}
}
}



