Претензия на должность сюго
Действие

Претензия на должность сюго

claim_shugo_officein_game/common/generic_actions/japanese_shogunate.txt:251

Должность сюго обладает властью и престижем. Любой клан, обладающий достаточным влиянием в провинции, может счесть, что он заслуживает этого титула, даже если это противоречит воле сёгуна.

ТребуетКокуфуСооружениеselect trigger 2НакатаСооружениеselect trigger 2ЯмасироСооружениеselect trigger 2Японский сёгунатМеждународное объединениеallow, potential, select trigger 1, select trigger 2Даймё-сюгоОсобый статусeffectНазначенияПолитикаallowПризнанные владенияПолитикаallow

Определениеin_game/common/generic_actions/japanese_shogunate.txt:251

252icon = become_shogun_from_imperial_court
253type = internationalorganization
255ai_tick = monthly
256ai_tick_frequency = 6
258automation_tick = never
259automation_tick_frequency = 12
260show_message_to_target = yes
262potential = {
264scope:actor = {
264is_member_of_international_organization = international_organization:japanese_shogunate
}
}
267allow = {
269OR = {
270international_organization_has_policy = policy:appointed_posts_policy
271international_organization_has_policy = policy:established_domains_policy
}
273OR = {
274international_organization_has_leader = no
275scope:actor = {
276NOT = {
276is_leader_of_international_organization = prev
}
277NOT = {
277is_at_war_with = prev.leader_country
}
}
}
}
}
283price = price:claim_shugo_office
285cooldown = {
286type = claim_shugo_office
287years = 5
}
290select_trigger = {
291looking_for_a = international_organization
292source = actor
293target_flag = recipient
294name = "choose_international_organization" Выберите Concept:
295column = {
296data = name
}
298visible = {
299international_organization_type = international_organization_type:japanese_shogunate
}
}
303select_trigger = {
304looking_for_a = location
305source = recipient
306target_flag = target_location
307name = "choose_province" Выбор Concept
308none_available_msg_key = "no_provinces_available"
309column = {
310data = shugo_province_name
}
312source_global_list = shugo_capital_locations
313enabled = {
314NOT = {
314has_building = building_type:kokufu
}
315owner ?= {
320trigger_else = {
321is_member_of_international_organization = international_organization:japanese_shogunate
}
}
324any_buildings_in_location = {
325OR = {
326building_type = building_type:yamashiro
327building_type = building_type:yakata
}
329owner ?= scope:actor
}
}
}
334effect = {
335if = {
336limit = {
337exists = scope:target_location
}
339scope:target_location = {
340scope:target_location = {
341change_building_level_in_location = {
342building = building_type:kokufu
343value = 1
344owner = scope:actor
}
}
}
}
349else = {
350custom_tooltip = claim_shugo_office_effect_tt Мы станем губернаторами провинции, учредив кокуфу
}
353if = {
354limit = {
355NOT = {
356country_has_special_status = {
358country = scope:actor
}
}
}
362international_organization_add_special_status = {
364country = scope:actor
}
}
367leader_country ?= {
368save_scope_as = target
369add_opinion = {
369target = scope:actor
369modifier = opinion_usurped_shugo_office
}
370add_casus_belli = {
370target = scope:actor
}
}
}
}
375ai_will_do = {
376if = {
377limit = {
377exists = scope:target
}
378add = {
379desc = "game_concept_opinion"
380value = "scope:actor.opinion(scope:target)"
381multiply = -1
}
}
}