Скриптовое условие
can_change_primary_culture
Определениеin_game/common/scripted_triggers/country_triggers.txt:200
201$country$ = {
202trigger_if = {
203limit = {
204is_subject = yes
}
206trigger_if = {
207limit = {
208subject_type ?= {
208only_allowed_overlord_primary_culture = yes
}
}
210custom_description = {
211text = can_change_primary_culture_must_match_overlord_culture
212overlord ?= {
213culture = $culture$
}
}
}
217trigger_else_if = {
218limit = {
219subject_type ?= {
219only_allowed_overlord_primary_or_kindred_culture = yes
}
}
221custom_description = {
222text = can_change_primary_culture_must_match_overlord_or_kindred_culture
223overlord ?= {
224culture ?= {
225OR = {
226this = $culture$
227cultural_view = {
228target = $culture$
229value = kindred
}
}
}
}
}
}
236trigger_else = {
237hidden_trigger = {
237always = yes
}
}
}
}