
Действие
Переход в новые воды
В мире есть куда более богатые берега, сулящие большую выгоду, и нам давно пора отыскать их. Чтобы точно преуспеть в поисках этих далёких сокровищ, мы можем перенести нашу штаб-квартиру в любое место в пределах досягаемости нашего флота.
Золотой век пиратстваСитуацияselect trigger 1Определениеin_game/common/generic_actions/golden_age_of_piracy.txt:425
426icon = migrate_pop_based_country
427type = situation
428show_message = no
429potential = {
430scope:actor = {
431has_reform = government_reform:pirate_brethren_reform
432country_type = navy
}
}
436ai_tick = monthly
437ai_tick_frequency = 4
439automation_tick = never
440automation_tick_frequency = 12
442price = price:migrate_to_new_waters
445cooldown = {
446type = migrate_to_new_waters
447years = 10
}
451select_trigger = {
452looking_for_a = situation
453target_flag = recipient
454name = "choose_situation" Выберите Concept:
455column = {
456data = name
}
}
465select_trigger = {
466looking_for_a = region
467target_flag = target_region
468name = "choose_a_region" Выбор региона
469none_available_msg_key = "no_regions_available"
470column = {
470data = name
}
471visible = {
472any_location_in_region = {
473is_ownable = yes
474has_owner = no
475is_discovered_by = scope:actor
477is_land = yes
}
}
}
483select_trigger = {
484looking_for_a = location
485source = target_region
486target_flag = target_location
487name = "choose_an_uncolonized_location" Выберите неколонизированный Concept, чтобы разместить там штаб.
488none_available_msg_key = "no_locations_available"
489column = {
489data = name
}
490column = {
490data = population
}
491visible = {
492region = scope:target_region
493has_owner = no
495is_ownable = yes
496is_land = yes
}
}
502effect = {
503if = {
504limit = {
505exists = scope:target_location
}
507scope:actor = {
508capital = {
509destroy_building = "building(building_type:pirate_stronghold|prev)"
510save_temporary_scope_as = former_capital
}
512add_migration = {
513owner = this
514from = scope:former_capital.province_definition
515to = scope:target_location.province_definition
516amount = 0.5
517months = 24
}
519scope:target_location = {
520change_location_owner = prev
521add_core = prev
522construct_building = {
524cost_multiplier = 0
525cost_multiplier_reason = "[navy_based|e] [building|e]"
}
}
528set_capital = scope:target_location
529abandon_location = scope:former_capital
}
}
532else = {
532custom_tooltip = migrate_to_new_waters_tt Мы попытаем удачи, перебравшись в далёкий Concept Concept
}
}
535ai_will_do = {
536add = -100
}