
ActionChanged this version
Offer Hostage
We can strengthen our ties with some of the other clans by sending them one of our family members as a hostage.
Japanese ShogunateInternational Organizationpotential, select trigger 3
Sengoku JidaiSituationselect trigger 1hostage_character_countryVariableselect trigger 2Definitionin_game/common/generic_actions/sengoku.txt:668
669icon = sengoku_attempt_imperial_restoration
670type = situation
671potential = {
672scope:actor ?= {
}
}
676allow = {
677scope:actor ?= {
678at_war = no
679ruler ?= {
680any_close_relative = {
681owner ?= scope:actor
682OR = {
683is_adult = no
684AND = {
685is_female = yes
686is_married = no
}
}
}
}
}
}
694cooldown = {
695type = sengoku_offer_hostage
696months = 6
}
699automation_tick = never
700automation_tick_frequency = 12
702ai_tick = monthly
703ai_tick_frequency = 12
705price = price:sengoku_offer_hostage
707select_trigger = {
708looking_for_a = situation
709target_flag = recipient
710name = "choose_situation" Choose the Situation:
711column = {
712data = name
}
}
720select_trigger = {
721looking_for_a = character
722target_flag = target_character
723name = "choose_character" Choose the Character:
724none_available_msg_key = "no_valid_characters"
725column = {
726data = name
}
728interaction_source_list = {
729scope:actor.ruler ?= {
730every_close_relative = {
731add_to_list = source
}
}
}
735cache_interaction_source_list = yes
736visible = {
738owner ?= scope:actor
739is_ruler = no
740OR = {
741is_adult = no
742AND = {
743is_female = yes
744is_married = no
}
}
}
}
750select_trigger = {
751looking_for_a = country
752target_flag = target_country
753name = "choose_country" Choose the Country:
754none_available_msg_key = "no_valid_countries"
755default_sort = select_target_acceptance_total
756column = {
757data = name
}
759column = {
760data = select_target_acceptance_total
}
762interaction_source_list = {
764every_international_organization_member = {
765add_to_list = source
}
}
}
769cache_interaction_source_list = yes
770visible = {
771this != scope:actor
772at_war = no
773NOT = {
774has_trust = {
774modifier = trust_offered_hostage
774target = scope:actor
}
775has_opinion = {
775modifier = opinion_offered_hostage
775target = scope:actor
}
}
}
}
780effect = {
781if = {
782limit = {
783exists = scope:target_country
784exists = scope:target_character
}
}
}
791ai_will_do = {
792add = 1
}
795ai_acceptance = {
797add = {
798value = 0.5
799desc = SENGOKU_BASE_ACCEPTANCE_CHANCE Base Chance
}
801add = {
802value = "scope:target_country.opinion(scope:actor)"
803multiply = 0.0015
804desc = OPINION_OF_ACTOR Opinion of Actor
}
806add = {
807value = scope:actor.modifier:diplomatic_reputation
808multiply = 0.005
809min = -0.15
810max = 0.15
811desc = DIPLOMATIC_REPUTATION Diplomatic Reputation
}
813min = 0
814max = 1
}