
ActionChanged this version
Change Court Language
Change our Country's Court Language
We can change our Court Language to:
•Common Language,
•Liturgical Language,
•Dominant Dialect,
•The Market Language of our Capital,
•The language of an Accepted Culture,
•Our ruler's language,
•Our dynasty head's language,
•The Court Language of an International Organization Leader,
•The Court Language of our Overlord.
Prevented from Changing Court LanguageModifier TypeallowParliament Recently Changed our Court LanguageStatic ModifierallowDefinitionin_game/common/generic_actions/languages.txt:137
138type = owncountry
140ai_tick = monthly
141ai_tick_frequency = 36
143automation_tick = monthly
144automation_tick_frequency = 1
145player_automated_category = governmentreforms
147potential = {
}
150allow = {
151scope:actor = {
153not = {
153has_cooldown = force_change_court_language
}
154not = {
154has_cooldown = change_court_language
}
156trigger_if = {
157limit = {
158is_subject = yes
}
160subject_type = {
161only_allowed_overlord_court_language = no
}
}
164trigger_if = {
165limit = {
166OR = {
167has_reform = government_reform:papacy_reform
168has_reform = government_reform:kingdom_of_god_reform
}
}
172always = no
}
}
}
177cooldown = {
178type = change_court_language
179years = 10
}
182price = price:change_court_language
184select_trigger = {
185looking_for_a = dialect
186target_flag = target
187interaction_source_list = {
188scope:actor = {
189court_dialect = {
190add_to_list = source
}
192culture = {
193dialect = {
194add_to_list = source
}
}
197liturgical_dialect = {
198add_to_list = source
}
200every_past_court_dialect = {
201add_to_list = source
}
203dominant_dialect ?= {
204add_to_list = source
}
206capital ?= {
207dominant_dialect = {
208add_to_list = source
}
210market = {
211dialect = {
212add_to_list = source
}
}
}
216every_accepted_culture = {
217dialect = {
218add_to_list = source
}
}
221every_international_organizations_member_of = {
222leader_country ?= {
223court_dialect = {
224add_to_list = source
}
}
}
228every_overlord_or_above = {
229court_dialect = {
230add_to_list = source
}
}
233ruler ?= {
234dialect = {
235add_to_list = source
}
237dynasty ?= {
238dynasty_head ?= {
239dialect = {
240add_to_list = source
}
}
}
}
246every_estate = {
247limit = {
247power > 0.25
}
248dialect ?= {
249add_to_list = source
}
}
}
}
254name = "change_liturgical_language_select_dailect" Select a new Dialect
255none_available_msg_key = "change_liturgical_language_no_dialect"
256column = {
257data = name
}
259column = {
260data = power
}
262visible = {
}
264enabled = {
265NOT = {
265scope:actor ?= {
265court_dialect ?= root
}
}
}
}
269effect = {
270scope:actor = {
271set_court_language = scope:target
}
}
275ai_will_do = {
276subtract = {
277value = 0.8
278multiply = {
279value = 1
280add = scope:actor.modifier:language_change_threshold_modifier
}
282scope:actor.court_language = {
283add = "court_language_utility(scope:actor)"
}
}
286scope:target ?= {
287add = "court_language_utility(scope:actor)"
}
}