From dc9cb17a1ebe71f8e6f77eeff34a2940488d703a Mon Sep 17 00:00:00 2001 From: Fishedotjpg Date: Thu, 3 Dec 2026 13:37:34 +0000 Subject: [PATCH] character interactions done --- .../00_artifact_interactions.txt | 2 +- .../00_diarch_interactions.txt | 8 +- .../00_dynast_interactions.txt | 11 +- .../00_prison_interactions.txt | 84 +++++++-- .../00_puppet_interactions.txt | 171 +----------------- .../00_religious_interactions.txt | 108 +++++++---- .../00_revoke_title_interaction.txt | 2 - .../00_tradition_interactions.txt | 12 ++ .../00_vassal_interactions.txt | 6 + .../06_ep3_interactions.txt | 126 +------------ .../06_ep3_laamp_interactions.txt | 13 +- 11 files changed, 193 insertions(+), 350 deletions(-) diff --git a/common/character_interactions/00_artifact_interactions.txt b/common/character_interactions/00_artifact_interactions.txt index 2d31d357a..f08b15d1f 100644 --- a/common/character_interactions/00_artifact_interactions.txt +++ b/common/character_interactions/00_artifact_interactions.txt @@ -93,7 +93,7 @@ gift_artifact_interaction = { any_character_artifact = { var:banner_dynasty.dynast ?= { save_temporary_scope_as = recipient_temp - root = { has_any_bad_relationship_with_character_trigger = { CHARACTER = scope:recipient_temp } } + root = { NOT = { has_any_bad_relationship_with_character_trigger = { CHARACTER = scope:recipient_temp } } } } } } diff --git a/common/character_interactions/00_diarch_interactions.txt b/common/character_interactions/00_diarch_interactions.txt index 9c620ceb9..5b03d2e32 100644 --- a/common/character_interactions/00_diarch_interactions.txt +++ b/common/character_interactions/00_diarch_interactions.txt @@ -5031,19 +5031,19 @@ diarch_coup_liege_interaction = { OR = { is_designated_diarch = yes AND = { - is_diarch_of_target = liege exists = liege + is_diarch_of_target = liege } } - } - - is_shown = { liege ?= { OR = { NOT = { government_allows = deny_powerful_vassal } government_has_flag = government_has_powerful_families } } + } + + is_shown = { # secondary_recipient is always saved whenever you use it on anyone who isn't yourself or your liege, so we use this fact to validate it after the redirect, otherwise it will show up on every other ruler in the game trigger_if = { limit = { diff --git a/common/character_interactions/00_dynast_interactions.txt b/common/character_interactions/00_dynast_interactions.txt index a744ca03e..ab964c5cf 100644 --- a/common/character_interactions/00_dynast_interactions.txt +++ b/common/character_interactions/00_dynast_interactions.txt @@ -1681,11 +1681,14 @@ dynast_claim_title_interaction = { } can_be_picked_title = { - custom_tooltip = { - NOT = { any_claimant = { this = scope:puppet_or_actor } } - text = "ALREADY_HAVE_CLAIM_ON_THIS_TITLE" + scope:target = { + tier >= tier_county + custom_tooltip = { + NOT = { any_claimant = { this = scope:puppet_or_actor } } + text = "ALREADY_HAVE_CLAIM_ON_THIS_TITLE" + } + is_landless_type_title = no } - is_landless_type_title = no } is_valid_showing_failures_only = { diff --git a/common/character_interactions/00_prison_interactions.txt b/common/character_interactions/00_prison_interactions.txt index 1dee97a09..256ce179c 100644 --- a/common/character_interactions/00_prison_interactions.txt +++ b/common/character_interactions/00_prison_interactions.txt @@ -1751,7 +1751,7 @@ move_to_dungeon_interaction = { NOT = { has_character_flag = is_being_tortured } } } - tgp_blocked_action_against_british_monarch_trigger = { + tgp_blocked_action_against_tenno_trigger = { ACTOR = scope:puppet_or_actor TARGET = scope:recipient } @@ -5809,19 +5809,48 @@ release_from_prison_interaction = { } } is_valid = { + scope:recipient = { + custom_tooltip = { + text = pam_recipient_already_puppet_tt + NOT = { exists = puppeteer } + } + } + # Mirrors the if/else in on_accept, since set_puppet refuses a full slot or a type the actor can't have scope:puppet_or_actor = { - OR = { - AND = { + trigger_if = { + limit = { has_puppet_type = external_theological_agent_puppet scope:recipient = { is_clergy = yes religion = scope:puppet_or_actor.religion } } + custom_tooltip = { + text = pam_already_have_external_clerical_puppet_tt + NOT = { exists = puppet:external_theological_agent_puppet } + } + } + trigger_else_if = { + limit = { has_puppet_type = external_ruler_puppet } scope:recipient = { is_landed = yes is_ruler = yes is_adult = yes + is_clergy = no + } + custom_tooltip = { + text = pam_already_have_external_ruler_puppet_tt + NOT = { exists = puppet:external_ruler_puppet } + } + can_send_make_external_ruler_puppet_trigger = { + ACTOR = scope:puppet_or_actor + RECIPIENT = scope:recipient + } + } + trigger_else = { + scope:recipient = { + is_clergy = yes + religion = scope:puppet_or_actor.religion } } } @@ -6564,31 +6593,48 @@ release_from_prison_interaction = { # } # Demand Patrician Family Support modifier = { + trigger = { + scope:demand_conversion = no + scope:renounce_claims = no + scope:banish = no + scope:gain_hook = no + scope:take_vows = no + scope:recruit = no + } + scope:recipient = { + any_character_struggle = { + involvement = involved + } + } + scope:puppet_or_actor = { + any_character_struggle = { + involvement = involved + } + } add = { - value = -60 + value = 0 if = { limit = { - house ?= { has_house_aspiration_parameter = republic_communal } + scope:recipient = { + any_character_struggle = { + phase_has_catalyst = catalyst_release_important + } + has_character_flag = agenda_towards_escalation + } } - add = 20 + add = -100 } else_if = { limit = { - house ?= { has_house_aspiration_parameter = republic_aggrandizement } + scope:recipient = { + any_character_struggle = { + phase_has_catalyst = catalyst_release_important + } + } } - add = -20 - } - else_if = { - limit = { - house ?= { has_house_aspiration_parameter = republic_signorial } - } - add = -15 + add = 200 } } - trigger = { - scope:demand_patrician_house_support = yes - } - desc = "DEMAND_PATRICIAN_HOUSE_SUPPORT_REASON" } # Demand Patrician Family Support @@ -8015,7 +8061,7 @@ torture_interaction = { PRISONER = scope:recipient REGENT = scope:recipient.var:imprisoned_by_diarch } - tgp_blocked_action_against_british_monarch_trigger = { + tgp_blocked_action_against_tenno_trigger = { ACTOR = scope:puppet_or_actor TARGET = scope:recipient } diff --git a/common/character_interactions/00_puppet_interactions.txt b/common/character_interactions/00_puppet_interactions.txt index 588c7c2d4..d282a2244 100644 --- a/common/character_interactions/00_puppet_interactions.txt +++ b/common/character_interactions/00_puppet_interactions.txt @@ -131,13 +131,6 @@ subtract = 1 } } - # Personal Symphonia halves the cost of puppeting clergy or a secular ruler. - if = { - limit = { - scope:actor = { has_personal_tenet_flag = tenet_symphonia_puppeting_cost_reduction } - } - multiply = 0.50 - } } } } @@ -306,6 +299,7 @@ make_external_clerical_puppet_interaction = { NOR = { scope:actor.puppet:theological_agent_puppet ?= scope:recipient scope:actor.cp:councillor_court_chaplain ?= scope:recipient + has_title = title:e_minister_of_rites } } } @@ -451,13 +445,6 @@ make_external_clerical_puppet_interaction = { value = scope:recipient.highest_held_title_tier subtract = 1 } - # Personal Symphonia halves the cost of puppeting clergy or a secular ruler. - if = { - limit = { - scope:actor = { has_personal_tenet_flag = tenet_symphonia_puppeting_cost_reduction } - } - multiply = 0.50 - } } } } @@ -767,152 +754,9 @@ make_external_ruler_puppet_interaction = { } can_send = { - custom_tooltip = { - text = make_external_ruler_puppet_tt - OR = { - scope:actor = { - is_clergy = yes - is_vassal_of = scope:recipient - } - AND = { - scope:actor = { - has_trait = seducer - } - trigger_if = { - limit = { - scope:recipient = { - highest_held_title_tier >= tier_kingdom - } - } - scope:recipient = { - has_relation_soulmate = scope:actor - } - } - trigger_else = { - scope:recipient = { - has_relation_lover = scope:actor - } - } - } - AND = { - scope:actor = { - has_trait = torturer - } - scope:recipient = { - is_imprisoned_by = scope:actor - is_in_prison_type = dungeon - } - } - AND = { - scope:actor = { - has_trait = family_first - } - scope:recipient = { - is_close_family_of = scope:actor - } - } - scope:actor = { - has_trait = schemer - trigger_if = { - limit = { - scope:recipient = { - highest_held_title_tier >= tier_kingdom - } - } - has_strong_hook = scope:recipient - } - trigger_else = { - has_hook = scope:recipient - } - } - scope:actor = { - has_trait = diplomat - is_allied_to = scope:recipient - } - AND = { - scope:actor = { - has_trait = gallant - } - scope:recipient = { - is_spouse_of = scope:actor - } - } - AND = { - scope:actor = { - is_diarch_of_target = scope:recipient - } - scope:recipient = { - has_diarchy_parameter = diarchy_type_is_entrenched_regency - } - } - AND = { - exists = scope:recipient.religious_head_or_challenger - scope:recipient.religious_head_or_challenger = scope:actor - } - AND = { - exists = scope:recipient.rite.head_of_rite - scope:recipient.rite.head_of_rite = scope:actor - } - } - } - scope:actor = { - trigger_if = { - limit = { - scope:recipient = { - highest_held_title_tier >= tier_empire - } - } - custom_tooltip = { - text = pam_empire_dread_or_strong_hook_tt - OR = { - has_strong_hook = scope:recipient - scope:recipient = { - has_dread_level_towards = { - target = scope:actor - level >= 2 - } - } - scope:recipient.religious_head_or_challenger ?= scope:actor - } - } - } - trigger_else_if = { - limit = { - scope:recipient = { - highest_held_title_tier >= tier_kingdom - } - } - custom_tooltip = { - text = piety_level_4_dread_or_strong_hook_tt - OR = { - piety_level >= 4 - has_strong_hook = scope:recipient - scope:recipient = { - has_dread_level_towards = { - target = scope:actor - level >= 2 - } - } - scope:recipient.religious_head_or_challenger ?= scope:actor - } - } - } - trigger_else = { - custom_tooltip = { - text = piety_level_3_dread_or_hook_tt - OR = { - piety_level >= 3 - has_hook = scope:recipient - scope:recipient = { - has_dread_level_towards = { - target = scope:actor - level >= 2 - } - } - scope:recipient.religious_head_or_challenger ?= scope:actor - } - } - } + can_send_make_external_ruler_puppet_trigger = { + ACTOR = scope:actor + RECIPIENT = scope:recipient } } @@ -975,13 +819,6 @@ make_external_ruler_puppet_interaction = { value = scope:recipient.highest_held_title_tier subtract = 1 } - # Personal Symphonia halves the cost of puppeting clergy or a secular ruler. - if = { - limit = { - scope:actor = { has_personal_tenet_flag = tenet_symphonia_puppeting_cost_reduction } - } - multiply = 0.50 - } } } } diff --git a/common/character_interactions/00_religious_interactions.txt b/common/character_interactions/00_religious_interactions.txt index 92eeba2fa..4e46afb7e 100644 --- a/common/character_interactions/00_religious_interactions.txt +++ b/common/character_interactions/00_religious_interactions.txt @@ -2182,6 +2182,7 @@ convert_to_religion_adventurer_interaction = { scope:actor = { hidden_effect = { faith = { save_scope_as = old_faith } } set_character_faith = scope:recipient.faith + set_character_rite = scope:recipient.rite trigger_event = { on_action = on_faith_conversion } @@ -2473,6 +2474,16 @@ seek_indulgences_interaction = { } scope:puppet_or_actor ?= { is_following_religious_head_challenger = no } } + scope:actor = { + trigger_if = { + limit = { + cp:councillor_court_chaplain ?= scope:recipient + pam_is_archbishop_or_higher_trigger = no + actor_has_capital_archbishop_trigger = yes + } + seek_indulgences_recipient_trigger = yes + } + } } cooldown = { years = 5 } @@ -3453,6 +3464,11 @@ excommunicate_interaction = { } } } + + modifier = { + factor = 0 + scope:puppet_or_actor.puppeteer ?= scope:recipient + } } } @@ -3795,7 +3811,9 @@ request_excommunication_interaction = { any_faith_subordinate = { highest_held_title_tier >= tier_duchy save_temporary_scope_as = cleric_temp - pam_valid_excommunication_target_trigger = { EXCOMMUNICATOR = scope:cleric_temp } + scope:secondary_recipient = { + pam_valid_excommunication_target_trigger = { EXCOMMUNICATOR = scope:cleric_temp } + } } } } @@ -3807,19 +3825,19 @@ request_excommunication_interaction = { scope:secondary_recipient = { NOT = { has_strong_hook = scope:puppet_or_actor } } - trigger_if = { - limit = { - petition_head_of_faith_excommunication_target_requires_petition_trigger = yes - NOT = { scope:excommunication_hook = yes } - } - scope:puppet_or_actor = { - piety >= massive_piety_value - } + } + trigger_if = { + limit = { + petition_head_of_faith_excommunication_target_requires_petition_trigger = yes + NOT = { scope:excommunication_hook = yes } } - trigger_else = { - scope:puppet_or_actor = { - piety >= request_excommunication_piety_cost_value - } + scope:puppet_or_actor = { + piety >= massive_piety_value + } + } + trigger_else = { + scope:puppet_or_actor = { + piety >= request_excommunication_piety_cost_value } } @@ -3998,6 +4016,11 @@ request_excommunication_interaction = { add = 15 desc = EXCOMMUNICATION_EXECUTED_HOF } + modifier = { + scope:secondary_recipient ?= { has_character_modifier = pam_defied_church_peace_modifier } + add = 50 + desc = EXCOMMUNICATION_DEFIED_CHURCH_PEACE + } opinion_modifier = { who = scope:recipient opinion_target = scope:puppet_or_actor @@ -4073,6 +4096,11 @@ request_excommunication_interaction = { scope:puppet_or_actor.puppet:theological_agent_puppet ?= scope:recipient desc = IS_YOUR_PUPPET } + modifier = { + add = -1000 + scope:recipient.puppeteer ?= scope:secondary_recipient + desc = EXCOMMUNICATION_TARGET_IS_PUPPETEER + } secular_to_ecclesiastical_pam_factors_acceptance_modifier = yes } @@ -4134,7 +4162,6 @@ request_excommunication_interaction = { add_piety = { value = { value = request_excommunication_piety_cost_value - max = piety multiply = -1 } } @@ -4317,6 +4344,11 @@ request_excommunication_interaction = { faith = scope:puppet_or_actor.faith } } + + modifier = { + factor = 0 + scope:puppet_or_actor.puppeteer ?= scope:secondary_recipient + } } } @@ -6456,22 +6488,6 @@ temporal_condemnation_interaction = { is_valid_showing_failures_only = { scope:recipient.religion = scope:puppet_or_actor.religion - trigger_if = { - limit = { - scope:puppet_or_actor.rite ?= { - rite_has_parameter = neow_charismatic_lay_preaching - NOT = { rite_has_tenet = tenet_religious_legal_pronouncements } - } - } - custom_tooltip = { - text = neow_charismatic_condemn_sinner_tt - scope:recipient = { - any_character_trait = { - scope:puppet_or_actor.rite = { trait_is_sin_rite = prev } - } - } - } - } custom_description = { text = temporal_condemnation_has_been_condemned object = scope:recipient @@ -6994,6 +7010,16 @@ hof_ask_for_gold_interaction = { } scope:puppet_or_actor ?= { is_following_religious_head_challenger = no } } + scope:actor = { + trigger_if = { + limit = { + cp:councillor_court_chaplain ?= scope:recipient + pam_is_archbishop_or_higher_trigger = no + actor_has_capital_archbishop_trigger = yes + } + capital_county.clerical_region_title.holder ?= scope:recipient + } + } } is_valid_showing_failures_only = { @@ -10851,7 +10877,7 @@ monastic_donation_interaction = { ai_min_reply_days = 3 ai_max_reply_days = 6 - common_interaction = yes + common_interaction = no cooldown_against_recipient = { years = 5 } @@ -11552,7 +11578,7 @@ lease_title_to_existing_monastic_order_interaction = { ai_min_reply_days = 3 ai_max_reply_days = 6 - common_interaction = yes + common_interaction = no desc = lease_title_to_existing_monastic_order_interaction_desc @@ -11636,6 +11662,13 @@ lease_title_to_existing_monastic_order_interaction = { } } } + custom_tooltip = { + text = already_has_monastic_lease_tt + trigger_if = { + limit = { has_variable = pending_monastic_order_lease } + var:pending_monastic_order_lease = scope:recipient + } + } is_landless_type_title = no } } @@ -11742,7 +11775,16 @@ lease_title_to_existing_monastic_order_interaction = { } on_send = { - } + hidden_effect = { + scope:target = { + set_variable = { + name = pending_monastic_order_lease + value = scope:recipient + days = 30 # Cleared in holy_order.2040/2041 as soon as the monastic order answers; the timeout is only a fallback + } + } + } + } on_accept = { # Must search puppet_or_actor.faith like is_valid, or a different-faith barony finds no order diff --git a/common/character_interactions/00_revoke_title_interaction.txt b/common/character_interactions/00_revoke_title_interaction.txt index c40e7ffb1..693dfb712 100644 --- a/common/character_interactions/00_revoke_title_interaction.txt +++ b/common/character_interactions/00_revoke_title_interaction.txt @@ -253,8 +253,6 @@ is_nomad_title = yes is_head_of_faith = yes has_clerical_region = yes - pam_title_is_clerical_elector_trigger = yes - pam_title_is_antipope_office_trigger = yes AND = { holder = { government_has_flag = government_is_republic } gdp_is_republic_title_trigger = yes diff --git a/common/character_interactions/00_tradition_interactions.txt b/common/character_interactions/00_tradition_interactions.txt index c66ea745a..86cadc0b1 100644 --- a/common/character_interactions/00_tradition_interactions.txt +++ b/common/character_interactions/00_tradition_interactions.txt @@ -337,6 +337,18 @@ appoint_podesta_interaction = { } } + custom_tooltip = { + text = clergy_unable_to_change_government_desc + NOT = { + scope:recipient = { + OR = { + holds_religious_office_trigger = yes + pam_is_clergy_ruler_trigger = yes + } + } + } + } + trigger_if = { limit = { scope:recipient = { diff --git a/common/character_interactions/00_vassal_interactions.txt b/common/character_interactions/00_vassal_interactions.txt index 8cca21129..75b452416 100644 --- a/common/character_interactions/00_vassal_interactions.txt +++ b/common/character_interactions/00_vassal_interactions.txt @@ -1725,10 +1725,16 @@ invite_to_council_position_interaction = { on_accept = { # Assign the councillor to their new responsibilities. scope:actor = { + # Read by on_get_position, which can't otherwise tell a player's pick from the automatic fill + if = { + limit = { is_ai = no } + add_character_flag = { flag = manual_council_appointment_in_progress days = 1 } + } assign_council_task = { target = scope:recipient council_task = scope:target } + remove_character_flag = manual_council_appointment_in_progress } # If the new councillor is a player, inform their liege that they have accepted the offer. diff --git a/common/character_interactions/06_ep3_interactions.txt b/common/character_interactions/06_ep3_interactions.txt index 0c0824185..da0b69427 100644 --- a/common/character_interactions/06_ep3_interactions.txt +++ b/common/character_interactions/06_ep3_interactions.txt @@ -2510,10 +2510,10 @@ demand_admin_interaction = { category = interaction_category_vassal icon = demand_admin_interaction - ai_maybe = no + ai_maybe = yes ai_min_reply_days = 4 ai_max_reply_days = 9 - can_send_despite_rejection = no + can_send_despite_rejection = yes ai_accept_negotiation = yes popup_on_receive = yes common_interaction = no @@ -2530,10 +2530,10 @@ demand_admin_interaction = { ai_frequency_by_tier = { barony = 0 county = 0 - duchy = 0 - kingdom = 12000 - empire = 12000 - hegemony = 12000 + duchy = 12 + kingdom = 12 + empire = 12 + hegemony = 12 } desc = { @@ -2554,30 +2554,6 @@ demand_admin_interaction = { limit = { is_ai = yes } is_adult = yes } - scope:actor = { - NOR = { - has_relation_friend = scope:recipient - has_relation_lover = scope:recipient - has_relation_best_friend = scope:recipient - has_relation_soulmate = scope:recipient - } - } - scope:recipient = { - NOT = { - has_character_flag = granted_title_government_blocker - } - OR = { - prestige_level < 2 - piety_level < 2 - dynasty ?= { - dynasty_prestige_level < 2 - } - is_powerful_vassal = no - - scope:recipient.house = { is_powerful_family = no } - scope:recipient.house = { is_dominant_family = no } - } - } } is_shown = { @@ -2586,32 +2562,12 @@ demand_admin_interaction = { limit = { is_ai = yes } scope:recipient = { highest_held_title_tier >= tier_county } } - NOR = { - has_relation_friend = scope:recipient - has_relation_lover = scope:recipient - has_relation_best_friend = scope:recipient - has_relation_soulmate = scope:recipient - } } scope:recipient = { target_is_liege_or_above = scope:actor is_ai = yes is_landed = yes is_ruler = yes - NOT = { - has_character_flag = granted_title_government_blocker - } - OR = { - prestige_level < 2 - piety_level < 2 - dynasty ?= { - dynasty_prestige_level < 2 - } - is_powerful_vassal = no - - scope:recipient.house = { is_powerful_family = no } - scope:recipient.house = { is_dominant_family = no } - } NOT = { has_same_government = scope:actor } } } @@ -2751,10 +2707,7 @@ demand_admin_interaction = { } ai_will_do = { - base = 1 - modifier = { - factor = 0.1 - } + base = 100 modifier = { factor = 0 scope:recipient = { highest_held_title_tier >= tier_county } @@ -2770,77 +2723,12 @@ demand_admin_interaction = { scope:recipient = { highest_held_title_tier >= tier_kingdom } gold >= 2000 } - # Don't do it towards a good relation, unless very greedy - modifier = { - factor = 0 - scope:actor = { - ai_greed <= very_high_positive_ai_value - OR = { - has_relation_friend = scope:recipient - has_relation_lover = scope:recipient - has_relation_best_friend = scope:recipient - has_relation_soulmate = scope:recipient - } - } - } - # Don't do it towards a good relation, unless very greedy - modifier = { - factor = 0 - scope:recipient = { is_powerful_vassal = yes } - } - modifier = { - factor = 0 - scope:recipient.house = { is_powerful_family = yes } - } - modifier = { - factor = 0 - scope:recipient.house = { is_dominant_family = yes } - } } ai_accept = { base = 0 japan_demand_admin_acceptance_modifier = yes demand_admin_acceptance_modifier = yes - modifier = { - add = -30 - } - modifier = { - add = -30 - has_trait = content - } - modifier = { - add = -30 - has_trait = ambitious - } - modifier = { - add = -30 - has_trait = arrogant - } - modifier = { - add = -30 - has_trait = paranoid - } - modifier = { - add = -30 - has_trait = greedy - } - modifier = { - add = -30 - has_trait = shrewd - } - modifier = { - add = -30 - has_trait = intellect_good_1 - } - modifier = { - add = -30 - has_trait = intellect_good_2 - } - modifier = { - add = -30 - has_trait = intellect_good_3 - } } } diff --git a/common/character_interactions/06_ep3_laamp_interactions.txt b/common/character_interactions/06_ep3_laamp_interactions.txt index f732675de..d6cba644f 100644 --- a/common/character_interactions/06_ep3_laamp_interactions.txt +++ b/common/character_interactions/06_ep3_laamp_interactions.txt @@ -100,6 +100,12 @@ purchase_land_interaction = { NOT = { scope:recipient = { has_usable_hook = scope:actor } } + scope:recipient = { + can_add_hook = { + target = scope:actor + type = obligation_hook + } + } } localization = purchase_land_interaction_offer_hook current_description = purchase_land_interaction_offer_hook_desc @@ -739,6 +745,12 @@ purchase_sacred_land_interaction = { has_usable_hook = scope:actor } } + scope:recipient = { + can_add_hook = { + target = scope:actor + type = obligation_hook + } + } } localization = purchase_land_interaction_offer_hook current_description = purchase_land_interaction_offer_hook_desc @@ -1231,7 +1243,6 @@ request_laamp_invasion_sponsorship_interaction = { is_shown = { scope:actor = { OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority } } - NOT = { scope:actor = { has_realm_law = camp_purpose_legitimists } } has_playable_adventurer_dlc_trigger = yes scope:recipient = { is_landed = yes } scope:recipient != scope:actor