
Действие
Предоставление должности сюго
Японскими провинциями порой сложно управлять, поэтому сёгун назначает провинциальных губернаторов, чтобы распространить свою власть на все земли.
КокуфуСооружениеselect trigger 2
Японский сёгунатМеждународное объединениеallow, potential, select trigger 1, select trigger 3
Даймё-сюгоОсобый статусeffect
НазначенияПолитикаallowОпределениеin_game/common/generic_actions/japanese_shogunate.txt:1
2type = internationalorganization
4ai_tick = monthly
5ai_tick_frequency = 6
7automation_tick = never
8automation_tick_frequency = 12
9show_message_to_target = yes
11potential = {
13scope:actor = {
}
}
16allow = {
19leader_country ?= scope:actor
}
}
23price = price:grant_shugo_office
25cooldown = {
26type = grant_shugo_office
27years = 5
}
30select_trigger = {
31looking_for_a = international_organization
32source = actor
33target_flag = recipient
34name = "choose_international_organization" Выберите Concept:
35column = {
36data = name
}
38visible = {
}
}
43select_trigger = {
44looking_for_a = location
45source = recipient
46target_flag = target_location
47name = "choose_province" Выбор Concept
48none_available_msg_key = "no_provinces_available"
49source_global_list = shugo_capital_locations
50column = {
51data = shugo_province_name
}
}
60select_trigger = {
61looking_for_a = country
62source = recipient
63target_flag = target
64name = "choose_country" Выберите Concept:
65none_available_msg_key = "no_countries_available"
66column = {
67data = name
}
69visible = {
}
73enabled = {
74NOT = {
74is_at_war_with = scope:actor
}
75NOT = {
75is_rival_of = scope:actor
}
76NOT = {
76is_enemy_of = scope:actor
}
}
}
80effect = {
84if = {
85limit = {
86exists = scope:target_location
87exists = scope:target
}
89scope:target_location = {
90change_building_level_in_location = {
}
}
97if = {
98limit = {
99NOT = {
}
}
106international_organization_add_special_status = {
108country = scope:target
}
}
111else = {
112custom_tooltip = already_shugo_daimyo_tt Персонаж уже даймё-сюго
}
}
}
116else = {
117custom_tooltip = grant_shugo_office_effect_tt Мы сделаем персонажа губернатором провинции, даровав ему кокуфу в Concept и титул даймё-сюго, если он ещё им не обладает
}
}
121ai_will_do = {
122if = {
123limit = {
123exists = scope:target
}
124add = {
125desc = "game_concept_opinion"
126value = "scope:actor.opinion(scope:target)"
}
}
129add = {
130desc = "game_concept_stability"
131value = "scope:actor.currency_utility(stability|stability_mild_bonus)"
}
}