Установление религии
Взаимодействие с державойИзменено в этой версии

Установление религии

union_enforce_religionin_game/common/country_interactions/union_enforcements.txt:1

Мы потребуем, чтобы они перешли в нашу веру (Actor Religion).

ТребуетСтарший партнёрОсобый статусselect triggerЗапрет на обращениеТип модификатораselect triggerДоступны действия по укреплению унииТип модификатораpotential, select trigger

Определениеin_game/common/country_interactions/union_enforcements.txt:1

2type = union
3category = CATEGORY_UNION_ACTIONS
4potential = {
5scope:actor = {
}
}
11allow = {
}
13select_trigger = {
14looking_for_a = country
15interaction_source_list = {
16scope:actor = {
17union = {
18if = {
19limit = {
21country_has_special_status = {
23country = scope:actor
}
}
26every_international_organization_member = {
27limit = {
27NOT = {
27this = scope:actor
}
}
28add_to_list = source
}
}
}
}
}
34target_flag = recipient
35name = "choose_country" Выберите Concept:
36column = {
37data = name
}
39visible = {
40not = {
40religion = scope:actor.religion
}
}
42enabled = {
43opinion = {
44target = scope:actor
}
47trigger_if = {
48limit = {
50has_reform = government_reform:military_order_reform
}
52overlord = {
52has_reform = government_reform:military_order_reform
}
}
54trigger_else = {
}
}
}
59effect = {
61actor = scope:actor
62target = scope:recipient
}
64scope:recipient = {
65add_opinion = {
66target = scope:actor
67modifier = opinion_enforced_religion
}
}
}
71reject_effect = {
72scope:recipient = {
73add_opinion = {
74target = scope:actor
75modifier = opinion_tried_enforced_religion
}
}
}
80block_when_at_war = yes
82ai_will_do = {
83subtract = {
84desc = "VOTE_BASE_VALUE"
85value = 100
}
87add = {
88desc = "TARGET_ACCEPTANCE"
89value = "scope:actor.country_interaction_acceptance(country_interaction:negotiate_succession_law|scope:recipient)"
}
}
93accept = {
94value = "scope:actor.country_interaction_acceptance(country_interaction:negotiate_succession_law|scope:recipient)"
}