
Action
Accorder un Siège de Shugo
Les Provinces du Japon sont parfois difficiles à gouverner, c'est pourquoi des gouverneurs provinciaux y sont nommés afin d'étendre le pouvoir du Shogun à l'ensemble du territoire.
KokufuBâtimentselect trigger 2
Shogunat japonaisOrganisation internationaleallow, potential, select trigger 1, select trigger 3
Shugo-DaimyōStatut spécialeffect
Commissionnements aux postesPolitiqueallowDéfinitionin_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" Sélectionner l'Organisation internationale :
35column = {
36data = name
}
38visible = {
}
}
43select_trigger = {
44looking_for_a = location
45source = recipient
46target_flag = target_location
47name = "choose_province" Choisir une Province
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" Sélectionner le Pays :
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 Cette contrée est déjà un Shugo-Daimyō
}
}
}
116else = {
117custom_tooltip = grant_shugo_office_effect_tt Accordons le gouvernorat à la province au travers d'un Kokufu à Lieu, en faisant d'eux un Shugo-Daimyō si tel n'est pas encore le cas.
}
}
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)"
}
}