
Action
Renvoyer le Corsaire
Renvoyer le Corsaire situé dans la Contrée choisie.
Peut recruter des CorsairesType de modificateurallowDéfinitionin_game/common/generic_actions/privateers.txt:93
94type = owncountry
96potential = {
97trigger_if = {
98limit = {
99exists = scope:target
}
101scope:target = {
102is_area_coastal_sea = yes
}
}
105trigger_else = {
106always = yes
}
}
110allow = {
111trigger_if = {
112limit = {
113exists = scope:target
}
115scope:target = {
116has_privateers_from = scope:actor
}
}
}
124ai_tick = monthly
125ai_tick_frequency = 2
127automation_tick = monthly
128automation_tick_frequency = 1
129player_automated_category = privateers
131price = price:dismiss_privateer
134select_trigger = {
135looking_for_a = area
136interaction_source_list = {
137scope:actor = {
138every_privateer_from_country = {
139area = {
140add_to_list = source
}
}
}
}
145target_flag = target
146name = "dismiss_privateer_select_area" Choisissez la Contrée de laquelle renvoyer le Corsaire :
147none_available_msg_key = "dismiss_privateer_no_areas"
148column = {
149data = name
}
151visible = {
152is_area_coastal_sea = yes
153has_privateers_from = scope:actor
}
}
157effect = {
158if = {
159limit = {
160exists = scope:target
}
162scope:target = {
163dismiss_privateer = scope:actor
}
}
}
168ai_will_do = {
169add = -100
}