Character InteractionChanged this version

Grant Governorship

assign_governorin_game/common/character_interactions/assign_governor.txt:1

Grant Area to a Character to govern in our stead.

RequiresCan Assign GovernorshipModifier Typepotential

2on_own_nation = yes
3message = yes
5potential = {
6scope:actor = {
}
10scope:recipient ?= {
11is_female = no
}
}
15allow = {
16scope:actor = {
17stability >= 0
}
}
21select_trigger = {
22looking_for_a = character
23source = actor
24target_flag = recipient
25name = "choose_character" Choose the Character:
26column = {
27data = name
}
29visible = {
30is_alive = yes
}
32enabled = {
33custom_tooltip = {
34text = tim_is_related_to_ruler_tt The Character is related to our Ruler
35any_ancestor = {
36this = scope:actor.ruler
}
}
39is_loyal = yes
}
}
43select_trigger = {
44looking_for_a = government_reform
45source = actor
46target_flag = target_reform
47name = "select_governor_type" Select governorship type
48none_available_msg_key = "select_governor_type_no_type"
49column = {
}
52visible = {
53OR = {
54this = government_reform:soyurghal_governor_reform
55this = government_reform:soyurghal_governor_banished_reform
56this = government_reform:soyurghal_governor_effective_governor_reform
}
}
60enabled = {
61trigger_if = {
62limit = {
63this = government_reform:soyurghal_governor_reform
}
65scope:recipient = {
66is_adult = no
67age_in_years >= 12
}
}
}
}
73select_trigger = {
74looking_for_a = area
75source = actor
76target_flag = target_area
77name = "select_area_for_governship" Select Area to grant governorship over
78none_available_msg_key = "select_area_for_governship_no_area"
79column = {
80data = name
}
82visible = {
83region != scope:actor.capital.region
84trigger_if = {
85limit = {
86scope:target_reform = government_reform:soyurghal_governor_banished_reform
}
88any_location_in_area = {
89percent >= 0.75
90OR = {
91owner ?= scope:actor
92has_owner = no
93is_ownable = no
}
}
96OR = {
97any_present_country = {
98count > 2
}
100any_neighbor_area = {
101any_present_country = {
102count > 2
}
}
}
}
107trigger_else = {
108any_location_in_area = {
109percent >= 0.75
110OR = {
111owner ?= scope:actor
112has_owner = no
113is_ownable = no
}
}
}
}
}
120effect = {
121if = {
122limit = {
123exists = scope:target_reform
124scope:target_reform = government_reform:soyurghal_governor_effective_governor_reform
}
126custom_tooltip = tim_normal_governor_effects_tt Establish Recipient as a Target Reform in the Area. This will ensure that he/she will gain positive Events that will increase the Prosperity and Development of the Area depending on the Total Ability of the Character.

The Area will be annexed by us after the death of Recipient.
}
128else_if = {
129limit = {
130exists = scope:target_reform
131scope:target_reform = government_reform:soyurghal_governor_banished_reform
}
133custom_tooltip = tim_banished_governor_effects_tt Establish Recipient as a Target Reform in the Area. This will ensure that he/she will not be able to become our Heir, but he/she may gain events to gather support against us.

The Area may be inherited by the Heir of Recipient after his/her death.
}
135else_if = {
136limit = {
137exists = scope:target_reform
138scope:target_reform = government_reform:soyurghal_governor_reform
}
140custom_tooltip = tim_educational_governor_effects_tt Establish Recipient as a Target Reform in the Area. This will ensure that he/she will gain more Total Ability from Events, but the Area may lose Development and Prosperity in the process.

The Area may be inherited after Recipient has governed the Area for 10 years, or he/she could become a Soyurghal Governor.
}
143hidden_effect = {
144if = {
145limit = {
146exists = scope:target_area
}
148scope:target_area = {
149ordered_location_in_area = {
150limit = {
151owner ?= scope:actor
}
153order_by = development
154check_range_bounds = no
155max = 1
156save_scope_as = target_location
}
}
160scope:target_location = {
161create_country_from_location = {}
}
184scope:target_area = {
185every_location_in_area = {
186limit = {
187owner ?= scope:actor
}
189change_location_owner = scope:target_country
190add_core = scope:target_country
191change_integration_level = core
}
}
}
}
}
198ai_will_do = {
199value = 0
}
© 2026 Soft Santa Cruz, S.L.U.. All rights reserved. Unofficial fan project, not affiliated with Paradox Interactive. Game content © Paradox Interactive. About · Privacy · Legal notice