宗派
国际组织本版本变更

宗派

sectin_game/common/international_organizations/sect.txt:1

宗派是佛教的众多分支之一,每个宗派都侧重于不同的教义,以及如何遵循佛陀之道和达到觉悟的方法。

需要修道院建筑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

修正

Modifier 1
Modifier 2

变量 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
8can_be_enemy_trigger = {
9has_variable = disfavoring_sect
10var:disfavoring_sect = scope:recipient
}
12unique = no
13land_ownership_rule = sect_land_ownership
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 = {
29limit = {
30exists = scope:recipient
31scope:recipient = {
32exists = var:religion
}
}
35OR = {
36AND = {
37religion 宗教 = "scope:recipient.var:religion"
38scope:recipient.var:religion != religion:shinto
}
40AND = {
41religion 宗教 = religion:shinto
42has_country_modifier = favoring_buddhism_schools
43OR = {
44scope:recipient.var:religion = religion:mahayana
45scope:recipient.var:religion = religion:shinto
}
}
48AND = {
49religion 宗教 = religion:sanjiao
50scope:recipient.var:religion = religion:mahayana
}
}
}
}
56modifier = {
57scale = {
59value = 0
60every_international_organization = {
61limit = {
62international_organization_type = international_organization_type:sect
}
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 = {
79scale = {
81scope:recipient = {
82value = var:sect_favor
83divide = 1000
}
}
}
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 = {
106international_organization_type = international_organization_type:sect
107count < prev.religion.max_sects
}
}
110trigger_if = {
111limit = {
112scope:recipient = {
113exists = var:religion
}
}
116trigger_if = {
117limit = {
118religion 宗教 = religion:shinto
}
120has_country_modifier = favoring_buddhism_schools
121OR = {
122scope:recipient.var:religion = religion:mahayana
123scope:recipient.var:religion = religion:shinto
}
}
126trigger_else = {
127OR = {
128AND = {
129religion 宗教 = religion:sanjiao
130scope:recipient.var:religion = religion:mahayana
}
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 = {
200scope:recipient = {
200NOT = {
}
}
201trigger_if = {
202limit = {
203religion 宗教 = religion:sanjiao
204scope:recipient = {
205OR = {
206international_organization_has_policy = policy:confucianism_policy
207international_organization_has_policy = policy:daoism_policy
}
}
}
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 = {
277or = {
278not = {
278has_variable = religion 宗教
}
279not = {
279exists = var:religion
}
}
}
}
284scope:recipient = {
285set_variable = {
286name = religion 宗教
287value = root.religion
}
}
}
291scope:recipient = {
292var:religion = {
293add_international_organization = scope:recipient
}
}
}
298on_left = {
}
301monthly_effect = {
302hidden_effect = {
303random_international_organization_owned_location = {
305if = {
306limit = {
306root = {
}
}
307random_neighbor_location = {
308limit = {
309NOT = {
309is_owned_by_international_organization = root
}
310dominant_religion ?= root.var:religion
}
312root = {
312add_location_to_international_organization = prev
}
}
}
316if = {
317limit = {
317root = {
}
}
318root = {
318remove_location_from_international_organization = prev
}
}
322if = {
323limit = {
324dominant_religion != root.var:religion
325AND = {
326dominant_religion ?= {
327OR = {
}
}
333root.var:religion ?= {
334OR = {
}
}
}
341OR = {
342AND = {
343root = {
343international_organization_has_policy = policy:daoism_policy
}
344dominant_religion ?= {
345NOT = {
}
346NOT = {
}
}
}
349root = {
349NOT = {
349international_organization_has_policy = policy:daoism_policy
}
}
}
351location_building_level = {
352building_type = building_type:monastery
353value = 0
}
}
356root = {
356remove_location_from_international_organization = prev
}
}
}
}
363if = {
364limit = {
365root = {
}
}
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 = {
406limit = {
407scope:actor = {
407has_country_modifier = strengthened_ministry_of_rites
}
}
409add = {
410desc = "ministry_of_rites" 礼部
411value = 10
}
}
}
416ai_desire_to_allow_new_member = {
417add = {
418desc = "WE_WANT_THE_ORGANIZATION_TO_GROW" 乐意见到国际组织壮大
419value = 20
}
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明