Character InteractionChanged this version
Reassign Cleric
The Character will leave our Country and take up an assignment in another one. The character's Total Ability will affect the cost and the Military Ability will affect how much Spy Network we gain in the new country.
ClergyEstateselect trigger 1
Can Reassign ClericModifier Typepotential
CatholicismReligionpotential, select trigger 1, select trigger 2
Western SchismSituationallow3message = yes
15ai_tick = daily
16ai_tick_frequency = 100
18allow = {
}
26select_trigger = {
27looking_for_a = character
28target_flag = recipient
29name = "choose_character" Choose the Character:
30column = {
31data = name
}
33visible = {
}
38enabled = {
39is_adult = yes
40is_ruler = no
}
}
44select_trigger = {
45looking_for_a = country
46target_flag = target
47name = "pap_reassign_cleric_select_title" Select Destination Country
48none_available_msg_key = "pap_reassign_cleric_no_countries"
49allow_self = yes
50column = {
51data = name
}
53column = {
54data = population
}
56visible = {
57NOT = {
57this = scope:recipient.owner
}
58OR = {
59this = scope:actor
60AND = {
62capital = {
62is_discovered_by = scope:actor
}
63within_diplomatic_range = scope:actor
}
}
}
}
69effect = {
70scope:recipient = {
71move_country = scope:target
72owner = {
73if = {
74limit = {
74this != scope:actor
}
75add_opinion = {
76target = scope:actor
77modifier = opinion_pap_reassign_cleric_negative
}
}
}
}
83scope:target ?= {
84if = {
85limit = {
85this != scope:actor
}
86add_opinion = {
87target = scope:actor
88modifier = opinion_pap_reassign_cleric_positive
}
90scope:actor = {
91add_spy_network = {
92target = scope:target
93value = {
94value = 0.25
95multiply = scope:recipient.mil
}
}
}
}
}
102scope:actor = {
}
110add_reform_desire = {
112multiply = scope:recipient.pap_reassign_cleric_score_multiplier
}
}
}
117ai_will_do = {
121if = {
122limit = {
123OR = {
125scope:recipient.owner = {
126any_character = {
129is_adult = yes
130is_ruler = no
131count <= 1
}
}
135scope:target = {
136any_character = {
139is_adult = yes
140is_ruler = no
141count >= 1
}
}
}
}
146value = -1
}
148else = {
149value = 10
}
}