
Country Interaction
Change Court Language
We will demand that they adopt our Court Language!
Definitionin_game/common/country_interactions/change_subject_court_language.txt:1
2type = subject
3category = CATEGORY_SUBJECT_ACTIONS
5potential = {
}
8allow = {
}
11select_trigger = {
12looking_for_a = country
13interaction_source_list = {
14scope:actor = {
15every_subject = {
16add_to_list = source
}
}
}
20target_flag = recipient
21name = "choose_country" Choose the Country:
22column = {
23data = name
}
25visible = {
26NOT = {
26court_language = scope:actor.court_language
}
}
28enabled = {
29trigger_if = {
30limit = {
31OR = {
32has_reform = government_reform:papacy_reform
33has_reform = government_reform:kingdom_of_god_reform
}
}
37always = no
}
}
}
44effect = {
45if = {
46limit = {
46exists = scope:recipient
}
47scope:recipient = {
48set_court_language = scope:actor.court_dialect
49add_country_modifier = {
}
}
}
}