
ActionChanged this version
Limit Clan's Autonomy
The clans are getting out of our control and are acting independently disregarding our authority. We must force them to comply and follow the directives of the Japanese Shogunate. Chances that a clan will accept our demands depend on their Opinion of us and our Diplomatic Reputation.
Rebel Against the Shōgun AuthorityCasus Belliselect trigger 2
Japanese ShogunateInternational Organizationpotential, select trigger 2
Sengoku JidaiSituationselect trigger 1Definitionin_game/common/generic_actions/sengoku.txt:323
324icon = sengoku_attempt_imperial_restoration
325type = situation
326potential = {
327scope:actor ?= {
}
}
331allow = {
332scope:actor ?= {
333at_war = no
}
}
337cooldown = {
338type = sengoku_limit_clans_autonomy
339months = 6
}
342automation_tick = never
343automation_tick_frequency = 12
345ai_tick = monthly
346ai_tick_frequency = 6
348price = price:sengoku_limit_clans_autonomy
350select_trigger = {
351looking_for_a = situation
352target_flag = recipient
353name = "choose_situation" Choose the Situation:
354column = {
355data = name
}
}
363select_trigger = {
364looking_for_a = country
365target_flag = target_country
366name = "choose_country" Choose the Country:
367none_available_msg_key = "no_valid_countries"
368default_sort = select_target_acceptance_total
369column = {
370data = name
}
372column = {
373data = select_target_acceptance_total
}
375visible = {
377this != scope:actor
378NOT = {
379has_casus_belli_of_type_on = {
379target = scope:actor
}
}
381num_locations < 5
382country_type = location
}
}
392ai_will_do = {
395add = {
396value = 20
397desc = BASE_VALUE
}
400if = {
401limit = {
401exists = scope:target_country
}
402add = {
403value = "scope:actor.opinion(scope:target_country)"
404multiply = -0.1
}
}
}
409ai_acceptance = {
411add = {
412value = 0.5
413desc = SENGOKU_BASE_ACCEPTANCE_CHANCE Base Chance
}
415add = {
416value = "scope:target_country.opinion(scope:actor)"
417multiply = 0.0015
418desc = OPINION_OF_ACTOR Opinion of Actor
}
420add = {
421value = scope:actor.modifier:diplomatic_reputation
422multiply = 0.005
423min = -0.15
424max = 0.15
425desc = DIPLOMATIC_REPUTATION Diplomatic Reputation
}
427min = 0
428max = 1
}