
Action
Hire Military Leader
Select and hire a Character from a Member in the International Organization. This character will only serve in the Army or Navy.
Blocked from InteractionsModifier Typeselect trigger 3
Unlock Hire Military LeaderModifier Typeselect trigger 1Definitionin_game/common/generic_actions/unlockable_io_actions.txt:103
104icon = create_conquistador
105type = internationalorganization
106ai_tick = monthly
107ai_tick_frequency = 12
109automation_tick = never
110automation_tick_frequency = 12
111potential = {
}
113allow = {
}
115select_trigger = {
116looking_for_a = international_organization
117source = actor
118target_flag = recipient
119name = "choose_international_organization" Choose the International Organization:
120column = {
121data = name
}
123visible = {
124leader_country ?= scope:actor
125has_enabled_currency = gold
127international_organization_has_leader = yes
}
}
131select_trigger = {
132looking_for_a = country
133source = recipient
134target_flag = source
135name = "choose_country" Choose the Country:
136column = {
137data = name
}
139visible = {
140root != scope:actor
}
}
143select_trigger = {
144looking_for_a = character
145source = source
146target_flag = target
147name = "choose_character" Choose the Character:
148column = {
149data = character_info
}
151visible = {
152is_courtier = yes
154is_eligible_military_leader = scope:actor
155OR = {
156has_dynasty = no
157NOT = {
157dynasty = scope:actor.ruler.dynasty
}
158scope:actor = {
159ruler_or_heir_if_regent ?= {
160dynasty ?= {
161NOT = {
161this = root.dynasty
}
}
}
}
}
}
}
168effect = {
169scope:recipient = {
}
175if = {
176limit = {
176exists = scope:source
}
177scope:source = {
}
}
184if = {
185limit = {
185exists = scope:target
}
186scope:target = {
187move_country = scope:actor
188add_character_modifier = {
}
}
}
}
196ai_will_do = {
197add = -50
198if = {
199limit = {
200scope:actor = {
201navy_size = 0
202army_size = 0
}
}
205multiply = 0
}
207if = {
208limit = {
209scope:actor = {
209any_army = {
209NOT = {
209exists = leader
}
}
}
}
211add = 100
}
213if = {
214limit = {
215scope:actor = {
215any_navy = {
215NOT = {
215exists = leader
}
}
}
}
217add = 100
}
}