
国际组织本版本变更
宗派
宗派是佛教的众多分支之一,每个宗派都侧重于不同的教义,以及如何遵循佛陀之道和达到觉悟的方法。
修道院建筑monthly effect
儒家政策can leave trigger
道教政策can leave trigger, monthly effect
汉传佛教宗教can join trigger, invite visible trigger, monthly effect
三教宗教can join trigger, can leave trigger, invite visible trigger, monthly effect
神道教宗教can join trigger, invite visible trigger, monthly effect
佛教宗教组monthly effect
亚洲原始宗教宗教组monthly effect青睐佛教教派静态修正can join trigger, invite visible trigger加强礼部静态修正ai desire to joinreligion变量can join trigger, invite visible trigger, on joinedsect_favor变量monthly effect修正
变量 2
定义in_game/common/international_organizations/sect.txt:1
2has_target = no
3has_enemies = yes
4expel_members_who_are_targets_of_other_members = no
5has_leader_country = no
6leader_type = none
7disband_if_no_leader = no
12unique = no
14antagonism_modifier_for_taking_land_from_fellow_member = 0.1
15custom_name = sect_name
16can_declare_war = {
17always = yes
}
20create_visible_trigger = {
21always = no
}
24invite_visible_trigger = {
25religion 宗教 = {
26has_sects = yes
}
28trigger_if = {
35OR = {
36AND = {
37religion 宗教 = "scope:recipient.var:religion"
}
40AND = {
43OR = {
}
}
}
}
}
56modifier = {
57scale = {
59value = 0
60every_international_organization = {
64add = total_members
}
66save_temporary_value_as = total_sect_memberships
67scope:recipient = {
68value = total_members
69if = {
70limit = {
70scope:total_sect_memberships > 0
}
71divide = scope:total_sect_memberships
}
}
}
}
78modifier = {
}
90can_lead_trigger = {
91always = yes
}
94can_join_trigger = {
95religion 宗教 = {
96has_sects = yes
}
98exists = scope:recipient
99NOT = {
99is_member_of_international_organization = scope:recipient
}
100NOT = {
100is_enemy_of_international_organization = scope:recipient
}
101trigger_if = {
102limit = {
103is_member_of_international_organization_of_type = {
103type = sect
}
}
105any_international_organizations_member_of = {
107count < prev.religion.max_sects
}
}
110trigger_if = {
116trigger_if = {
121OR = {
}
}
126trigger_else = {
127OR = {
132religion 宗教 = "scope:recipient.var:religion"
}
}
}
136OR = {
137any_subject = {
138custom_tooltip = {
139text = join_sect_location_tt 该教派存在于我们的领土上
140OR = {
141trigger_if = {
142limit = {
142country_type = location
}
143any_owned_location = {
144scope:recipient = {
144has_location = prev
}
}
}
147trigger_if = {
148limit = {
148country_type = building
}
149any_owned_foreign_building_location = {
150scope:recipient = {
150has_location = prev
}
}
}
153is_member_of_international_organization = scope:recipient
}
}
}
157any_related_country = {
158type = alliance
159custom_tooltip = {
160text = join_sect_location_tt 该教派存在于我们的领土上
161OR = {
162trigger_if = {
163limit = {
163country_type = location
}
164any_owned_location = {
165scope:recipient = {
165has_location = prev
}
}
}
168trigger_if = {
169limit = {
169country_type = building
}
170any_owned_foreign_building_location = {
171scope:recipient = {
171has_location = prev
}
}
}
174is_member_of_international_organization = scope:recipient
}
}
}
178custom_tooltip = {
179text = join_sect_location_tt 该教派存在于我们的领土上
180OR = {
181trigger_if = {
182limit = {
182country_type = location
}
183any_owned_location = {
184scope:recipient = {
184has_location = prev
}
}
}
187trigger_if = {
188limit = {
188country_type = building
}
189any_owned_foreign_building_location = {
190scope:recipient = {
190has_location = prev
}
}
}
193always = no
}
}
}
}
199can_leave_trigger = {
201trigger_if = {
202limit = {
204scope:recipient = {
205OR = {
}
}
}
211always = no
}
}
215auto_leave_trigger = {
216always = no
}
219auto_disband_trigger = {
220always = no
}
223variables = {
224religion 宗教 = {
225format = "SECT_RELIGION_FORMAT"
}
227sect_favor = {
228format = "SECT_FAVOR_DISPLAY"
229change_format = "VARIABLE_CHANGE_FORMAT"
230min = 0
231max = 100
232start = 50
233monthly_change = {
235add = {
236desc = "NUMBER_OF_SECT_FOLLOWERS"
237value = total_members
238multiply = 0.075
239divide = 2.5
240subtract = 0.075
}
242add = {
243desc = "SECT_SUPPORTERS"
244value = 0
245every_in_list = {
246variable = sect_supporters
247add = country_economical_base
248multiply = 0.001
}
}
251subtract = {
252desc = "SECT_ENEMIES"
253value = 0
254every_international_organization_enemy = {
255add = country_economical_base
256multiply = 0.001
}
}
259add = {
260desc = "NUM_LOCATIONS"
261value = 0
262every_international_organization_owned_location = {
263add = {
264value = population
265multiply = 0.00002
}
}
}
}
}
}
273on_joined = {
274if = {
275limit = {
276scope:recipient = {
}
}
284scope:recipient = {
285set_variable = {
286name = religion 宗教
287value = root.religion
}
}
}
}
298on_left = {
}
301monthly_effect = {
302hidden_effect = {
303random_international_organization_owned_location = {
305if = {
307random_neighbor_location = {
308limit = {
309NOT = {
309is_owned_by_international_organization = root
}
310dominant_religion ?= root.var:religion
}
312root = {
312add_location_to_international_organization = prev
}
}
}
316if = {
318root = {
318remove_location_from_international_organization = prev
}
}
322if = {
323limit = {
324dominant_religion != root.var:religion
325AND = {
326dominant_religion ?= {
}
333root.var:religion ?= {
}
}
341OR = {
342AND = {
344dominant_religion ?= {
}
}
}
}
356root = {
356remove_location_from_international_organization = prev
}
}
}
}
363if = {
367every_international_organization_owned_location = {
368limit = {
368is_capital = yes
}
369if = {
370limit = {
371has_owner = yes
372owner ?= {
373NOT = {
373is_member_of_international_organization = root
}
374country_can_join_international_organization = root
}
}
377root = {
378add_country_to_international_organization = prev.owner
}
}
381if = {
382limit = {
383any_foreign_building_countries_in_location ?= {
384NOT = {
384is_member_of_international_organization = root
}
385country_can_join_international_organization = root
}
}
388every_foreign_building_countries_in_location = {
389limit = {
390NOT = {
390is_member_of_international_organization = root
}
391country_can_join_international_organization = root
}
393root = {
393add_country_to_international_organization = prev
}
}
}
}
}
}
400ai_desire_to_join = {
402add = {
403value = "scope:recipient.modifier_utility(scope:actor)"
}
405if = {
409add = {
410desc = "ministry_of_rites" 礼部
411value = 10
}
}
}
416ai_desire_to_allow_new_member = {
417add = {
418desc = "WE_WANT_THE_ORGANIZATION_TO_GROW" 乐意见到国际组织壮大
419value = 20
}
}


