
国際組織このバージョンで変更
神聖ローマ帝国
古代ローマ帝国の栄光は、ヨーロッパ全土の人々の記憶に生きつづけている。チャールズはローマ皇帝に即位したが、ヨーロッパ帝国の復活および統一という野望を抱いた現在の神聖ローマ帝国が誕生したのは、オットーの戴冠式以後である。
宗教覇権開戦事由ai desire to attack other members
スイス連邦国際組織auto leave trigger, can join trigger
同君上位国特待地位can lead tooltip trigger, can lead trigger
平和的な「神聖ローマ帝国から離脱」を有効化補正タイプcan leave trigger
金印勅書を封印ポリシーcan leave trigger
帝国から離脱ポリシーauto leave trigger, can join triggercircle_critical_satisfaction_cooldown変数monthly effectcircle_low_satisfaction_cooldown変数monthly effectcircle_no_leader_cooldown変数monthly effectcircles_established_notified変数monthly effectio_law_target変数ai issue voting bias補正
変数 1
定義in_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 防衛側が帝国自由都市であり、帝国がそれを保護する政策を制定している場合
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 資格のある統治者がいる
197AND = {
198has_regent = no
199has_ruler = yes
200OR = {
201ruler ?= {
201is_female = no
}
}
204ruler ?= {
206custom_tooltip = {
207text = hre_character_fulfills_imperial_religion_requirement_tt このキャラクターの宗教は帝国の宗教と一致している
}
}
}
}
}
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 資格のある後継者がいる
228AND = {
229has_heir = yes
230OR = {
231heir ?= {
231is_female = no
}
}
234heir ?= {
236custom_tooltip = {
237text = hre_character_fulfills_imperial_religion_requirement_tt このキャラクターの宗教は帝国の宗教と一致している
}
}
}
}
}
}
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 わが国はまだ皇帝位に就いていないため、わが国の統治者が資格を満たす必要がある
266NOT = {
266is_leader_of_international_organization = scope:recipient
}
}
268custom_tooltip = {
269text = hre_ruler_not_regency_tt わが国が摂政政治下にない
270has_regent = no
}
272custom_tooltip = {
273text = hre_has_ruler_tt わが国に統治者がいる
274has_ruler = yes
}
276custom_tooltip = {
277text = hre_ruler_gender_eligible_tt 統治者が男性であるか、帝国が女性皇帝を許可している
278OR = {
279ruler ?= {
279is_female = no
}
}
}
283custom_tooltip = {
284text = hre_ruler_not_blocked_tt 統治者が神聖ローマ帝国の統治を禁じられていない
}
287custom_tooltip = {
288text = hre_ruler_religion_aligns_tt 統治者の宗教が帝国の宗教と一致している
}
}
294AND = {
295custom_tooltip = {
296text = hre_eligible_via_heir_context_tt わが国が現在皇帝位にあるか、かつて皇帝位にあったため、わが国の後継者が資格を満たす必要がある
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 わが国に後継者がいる
308has_heir = yes
}
310custom_tooltip = {
311text = hre_heir_gender_eligible_tt 後継者が男性であるか、帝国が女性皇帝を許可している
312OR = {
313heir ?= {
313is_female = no
}
}
}
317custom_tooltip = {
318text = hre_heir_not_blocked_tt 後継者が神聖ローマ帝国の統治を禁じられていない
}
321custom_tooltip = {
322text = hre_heir_religion_aligns_tt 後継者の宗教が帝国の宗教と一致している
}
}
}
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 神聖ローマ帝国を平和的に離脱することはできない。神聖ローマ帝国 Leader Countryに対して戦争で勝利し、「神聖ローマ帝国から離脱」を強制せよ!
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" 国家ランク
912value = {
913value = country_rank_level
914multiply = 100
}
}
}
918subtract = {
919desc = "game_concept_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" 国際組織に属する複数のメンバーから脅かされている
930value = "threat_level_to(root)"
}
}
933else = {
934add = {
935desc = "THREATENED_BY_NON_IO_MEMBERS" 国際組織に属さない複数の国から脅かされている
936value = "threat_level_to(root)"
937divide = 2
}
}
}
}
942add = {
943desc = "game_concept_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" この国際組織に王朝本拠地を保有している
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" 主要文化または統治者の文化がリーダーの文化と同一である
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" リーダーのライバルまたは交戦国国に脅かされている
1002value = 25
}
}
1005if = {
1006limit = {
1007at_war = yes
}
1009subtract = {
1010desc = "IS_AT_WAR" 戦争状態にある
1011value = 1000
}
}
}
1016ai_desire_to_allow_new_member = {
1017subtract = {
1018desc = "BASE" 基本額
1019value = 150
}
1021if = {
1022limit = {
1022international_organization_has_leader = yes
}
1023add = {
1024desc = "OPINION_OF_LEADER_TO_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" この国際組織における王朝権力
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" 国家ランク
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" この国際組織に王朝本拠地を保有している
1093value = 50
}
}
1096add = {
1097desc = "game_concept_diplomatic_reputation" 外交評判
1098value = {
1099value = "scope:actor.modifier:diplomatic_reputation"
1100multiply = 3
}
}
1103subtract = {
1104desc = "game_concept_tax_base" 税基盤
1105value = "scope:actor.country_tax_base"
}
1107if = {
1108limit = {
1109scope:actor = {
1109at_war = yes
}
}
1111subtract = {
1112desc = "IS_AT_WAR" 戦争状態にある
1113value = 1000
}
}
}
1118ai_issue_voting_bias = {
1123add = {
1124desc = "POLICY_BIAS_VOTE_WITH_EMPEROR" 皇帝の意向に沿っている(評価 x 帝国の権威)
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" 適切な開戦事由がない
1176value = "conquer_desire(scope:defender)"
1177max = 0
1178subtract = 10000
}
}
}
















