
国際組織
プロテスタント同盟
プロテスタント同盟は、神聖ローマ帝国内で勢力を強めるカトリック諸国の脅威に対抗するため、宗教改革派国家が結成した防衛同盟である。当初はルター派とカルヴァン派国家によって設立された国際組織だが、反改革派に脅威を感じるすべてのメンバーが加わることができる。
宗教覇権開戦事由on left
カトリック連盟国際組織ai desire to join, can lead trigger
カトリック宗教ai desire to join
宗教戦争局面can leave triggerio_join_stagger変数ai desire to join補正
定義in_game/common/international_organizations/religious_leagues.txt:2
4leader_type = country
5unique = yes
6show_on_diplomatic_map = yes
7expel_members_who_are_targets_of_other_members = no
9leader_color = define:NMapColors|INTERNATIONAL_ORGANIZATION_LEADER_COLOR
10has_leader_country = yes
11disband_if_no_leader = no
12can_declare_war = {
13trigger_if = {
14limit = {
14scope:attacker ?= {
14is_member_of_international_organization = scope:recipient
}
}
15scope:defender ?= {
15NOT = {
15is_member_of_international_organization = scope:recipient
}
}
}
17trigger_else = {
18always = yes
}
}
22create_visible_trigger = {
}
31invite_visible_trigger = {
}
40can_join_trigger = {
41OR = {
}
45is_rebel_country = no
51NOT = {
}
}
58NOT = {
}
}
65NOT = {
66has_cooldown = blocked_from_joining_protestant_union
}
}
69can_leave_trigger = {
70trigger_if = {
71limit = {
71exists = root
}
72NOT = {
}
}
79NOT = {
}
}
86scope:recipient.total_members > 1
}
88trigger_else = {
88always = no
}
}
90can_lead_trigger = {
92is_subject = no
94trigger_if = {
95limit = {
95exists = union
}
96any_union_partner = {
}
}
}
101auto_leave_trigger = {
102NOR = {
}
}
107join_offensive_wars_always = {
108custom_tooltip = {
109text = religious_leagues_join_offensive_war.tt 彼らは所属する宗教連盟のリーダーである。または、標的は対立する宗教連盟のリーダーである。
110scope:actor = {
110is_leader_of_international_organization = root
}
111scope:target ?= {
}
}
}
114join_defensive_wars_always = {
114always = yes
}
116auto_disband_trigger = {
116always = no
}
120modifier = {
}
125on_joined = {
126hidden_effect = {
127if = {
128limit = {
128current_year < 1610
}
129random = {
130chance = {
131value = 1610
132subtract = current_year
}
134set_variable = {
136value = {
137value = 1610
138subtract = current_year
139divide = 100
}
141months = 1
}
}
}
}
}
147on_left = {
148hidden_effect = {
149every_casus_belli_target = {
150limit = {
150root = {
}
}
151root = {
}
}
}
}
155ai_desire_to_join = {
156value = -40
157if = {
159add = {
160desc = "WE_ARE_PROTESTANT" 我々は宗教改革派の宗教を信仰している
161value = 40
}
}
164else_if = {
166add = {
167desc = "WE_ARE_CATHOLIC" 我々はカトリック国家である
168value = -40
}
}
177if = {
178limit = {
}
182add = {
183desc = "OPINION_OF_RELIGIOUS_LEAGUE_LEADER" 評価
184value = {
186leader_country = {
187root = {
188value = this_opinion_of_prev
189multiply = 0.2
}
}
}
}
}
}
196add = {
197desc = "OPINION_OF_RELIGIOUS_LEAGUE_LEADER" 評価
198value = {
200leader_country = {
201root = {
202value = this_opinion_of_prev
203multiply = -0.4
}
}
}
}
}
209if = {
216multiply = {
217desc = "ESTIMATE_IO_SITUATION_FIRST" まず政治情勢を見極めたい
218value = scope:recipient.var:io_join_stagger
}
}
221if = {
222limit = {
223exists = scope:recipient
224any_union_partner = {
225is_member_of_international_organization = scope:recipient
}
}
228add = {
229desc = "DIPLOREASON_UNION_SUPPORTS_ORGANIZATION" 同君連合メンバーが国際組織に加盟
230value = 500
}
}
233if = {
234limit = {
236any_union_partner = {
}
}
240subtract = {
241desc = "DIPLOREASON_UNION_OPPOSES_ORGANIZATION" 同君連合メンバーが対立する国際組織に加盟
242value = 1000
}
}
}
246ai_desire_to_allow_new_member = {
247add = {
248desc = "WE_WANT_THE_ORGANIZATION_TO_GROW" 我々は国際組織の拡大を望んでいる
249value = 20
}
}

