Скриптовый эффект
event_illustration_religion_effect
event_illustration_religion_effect = { religion = religion:orthodox }
СвященникиОбщественный классifОпределениеin_game/common/scripted_effects/00_event_illustration_effects.txt:126
127if = {
128limit = {
129OR = {
130AND = {
131scope_type = location
132owner ?= {
132is_ai = no
}
}
134AND = {
135scope_type = country
136is_ai = no
}
}
}
140ordered_pop = {
141limit = {
141religion = $religion$
}
142max = 1
143order_by = pop_size
144order_by = {
145value = 0
146add = {
147if = {
148limit = {
149culture = root.culture
}
151value = 20
}
153else_if = {
154limit = {
155culture = {
155is_accepted_in = root
}
}
157value = 10
}
159else_if = {
160limit = {
161culture = {
161is_tolerated_in = root
}
}
163value = 5
}
}
166add = {
167if = {
168limit = {
169location = {
170owner = root
171integration_level = core
}
}
174value = 100
}
}
185add = {
186if = {
187limit = {
188location = {
189owner = root
190integration_level = integrated
}
}
193value = 50
}
}
}
197save_scope_as = target_pop
}
199if = {
200limit = {
200NOT = {
200exists = scope:target_pop
}
}
207$religion$ = {
208save_scope_as = target_religion
209save_scope_as = target_religion_bckg
}
}
}