character interactions updating (again)

This commit is contained in:
Thakia 2026-11-21 17:46:42 -03:00
parent 068d323484
commit 568b018fc5
29 changed files with 4043 additions and 1867 deletions

View file

@ -368,7 +368,7 @@ share_known_secrets_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = minor_unity_loss
@ -620,7 +620,7 @@ propose_best_friendship_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = minor_unity_gain
@ -669,7 +669,7 @@ propose_best_friendship_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = minor_unity_loss
@ -807,7 +807,7 @@ reaffirm_best_friendship_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = minor_unity_gain
@ -851,7 +851,7 @@ reaffirm_best_friendship_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = minor_unity_loss
@ -978,7 +978,7 @@ synergise_friendship_interaction = {
synergise_friendship_interaction_actual_effect = yes
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = minor_unity_gain
@ -1012,7 +1012,7 @@ synergise_friendship_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = minor_unity_loss
@ -1138,18 +1138,10 @@ challenge_to_2p_chess_interaction = {
bg_can_start_board_game_is_scope_banned_checks_trigger = no
}
}
#limit range for landless adventurers
trigger_if = {
limit = {
scope:actor = {
has_government = landless_adventurer_government
}
}
#Has to be used instead of diplo range checks in laamp to landed interactions
ep3_laamp_diplo_range_trigger = {
TARGET = scope:recipient
LAAMP = scope:actor
}
#limit range for landless adventurers/merchants
exceptional_diplo_range_trigger = {
CHARACTER = scope:actor
TARGET = scope:recipient
}
}
@ -1379,7 +1371,7 @@ challenge_to_2p_chess_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = miniscule_unity_loss
@ -1425,7 +1417,7 @@ challenge_to_2p_chess_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:recipient
TARGET = scope:actor
VALUE = miniscule_unity_loss
@ -2149,18 +2141,10 @@ purchase_truce_interaction = {
NOT = { any_truce_holder = { this = scope:recipient } }
}
}
#limit range for landless adventurers
trigger_if = {
limit = {
scope:puppet_or_actor = {
has_government = landless_adventurer_government
}
}
#Has to be used instead of diplo range checks in laamp to landed interactions
ep3_laamp_diplo_range_trigger = {
TARGET = scope:recipient
LAAMP = scope:puppet_or_actor
}
#limit range for landless adventurers/merchants
exceptional_diplo_range_trigger = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
}
}
@ -2234,7 +2218,7 @@ purchase_truce_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = minor_unity_gain
@ -2281,7 +2265,7 @@ purchase_truce_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:recipient
TARGET = scope:puppet_or_actor
VALUE = minor_unity_loss
@ -2656,6 +2640,15 @@ purchase_truce_interaction = {
empire = 0
hegemony = 0
}
ai_frequency_by_tier_government_override = {
government = merchant_government
barony = 0
county = 180
duchy = 0
kingdom = 0
empire = 0
hegemony = 0
}
ai_will_do = {
base = 0
@ -2899,7 +2892,7 @@ incite_revolts_interaction = {
any_sub_realm_county = {
count > 0
holder = scope:recipient
county_opinion < 0
popular_opinion < 0
NOR = {
has_county_modifier = small_investment_in_revolt_modifier
has_county_modifier = medium_investment_in_revolt_modifier
@ -2954,7 +2947,7 @@ incite_revolts_interaction = {
has_county_modifier = medium_investment_in_revolt_modifier
has_county_modifier = high_investment_in_revolt_modifier
}
county_opinion < 0
popular_opinion < 0
holder = scope:recipient
}
weight = {
@ -3005,10 +2998,7 @@ incite_revolts_interaction = {
if = {
limit = {
scope:actor = {
OR = {
has_relation_rival = scope:recipient
has_relation_nemesis = scope:recipient
}
has_relation_rival = scope:recipient
}
}
stress_and_fulfillment_impact = {
@ -3183,7 +3173,7 @@ incite_revolts_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = medium_unity_loss
@ -3289,10 +3279,7 @@ incite_revolts_interaction = {
modifier = {
add = 50
scope:recipient = {
OR = {
has_relation_rival = scope:actor
has_relation_nemesis = scope:actor
}
has_relation_rival = scope:actor
}
}
@ -3312,8 +3299,6 @@ incite_revolts_interaction = {
OR = {
has_relation_friend = scope:actor
has_relation_lover = scope:actor
has_relation_soulmate = scope:actor
has_relation_best_friend = scope:actor
}
}
}
@ -3333,16 +3318,16 @@ incite_revolts_interaction = {
# special_interaction = interfere_in_war_interaction
# popup_on_receive = yes
# pause_on_receive = yes
#
# ai_maybe = yes
# desc = contract_assistance_interaction_desc
# icon = icon_gold
#
# greeting = positive
# notification_text = contract_assistance_interaction_notification
#
# cooldown_against_recipient = { years = 5 }
#
# is_available = {
# trigger_if = {
# limit = { is_ai = yes }
@ -3361,7 +3346,7 @@ incite_revolts_interaction = {
# }
# NOT = { government_has_flag = government_is_herder }
# }
#
# is_shown = {
# # Recipient is Involved in Struggle, at war, and not at war with Actor
# scope:recipient = {
@ -3386,15 +3371,15 @@ incite_revolts_interaction = {
# }
# }
# }
#
# has_valid_target = {
# exists = scope:target
# }
#
# has_valid_target_showing_failures_only = {
# scope:target = { is_war_leader = scope:recipient }
# }
#
# is_valid_showing_failures_only = {
# scope:recipient = {
# # Cannot demand gold from allies
@ -3415,7 +3400,7 @@ incite_revolts_interaction = {
# }
# }
# }
#
# # Recipient is not in (any) war against your liege(s)
# trigger_if = {
# limit = { exists = scope:actor.liege }
@ -3427,7 +3412,7 @@ incite_revolts_interaction = {
# }
# }
# }
#
# # Cannot join wars with raised armies
# scope:actor = {
# has_raised_armies = no
@ -3442,13 +3427,13 @@ incite_revolts_interaction = {
# }
# }
# }
#
# # Can only contract one war at a time
# custom_tooltip = {
# text = contract_assistance_war_already_contracted_tt
# scope:actor = { NOT = { has_variable = owed_contract_assistance_war } }
# }
#
# # Adventurers can't join wars in places they're exiled from.
# custom_tooltip = {
# text = the_wake_1
@ -3459,7 +3444,7 @@ incite_revolts_interaction = {
# }
# }
# }
#
# # Sensible restrictions to keep CulTrads from making this OP.
# scope:recipient = {
# custom_tooltip = {
@ -3506,7 +3491,7 @@ incite_revolts_interaction = {
# # Liege checks
# can_join_war_liege_vassal_check_trigger = { WARRIOR = scope:recipient JOINER = scope:actor }
# }
#
# is_highlighted = {
# scope:actor = {
# has_realm_law = camp_purpose_mercenaries
@ -3541,7 +3526,7 @@ incite_revolts_interaction = {
# craven = medium_stress_impact_gain
# shy = minor_stress_impact_gain
# }
#
# # Struggle Catalyst
# if = {
# limit = {
@ -3587,9 +3572,9 @@ incite_revolts_interaction = {
# }
# }
# }
#
# # If we're a clan this interaction affects unity
# add_clan_unity_interaction_effect = {
# add_house_unity_interaction_effect = {
# CHARACTER = scope:actor
# TARGET = scope:recipient
# VALUE = medium_unity_loss
@ -3597,13 +3582,13 @@ incite_revolts_interaction = {
# REVERSE_NON_HOUSE_TARGET = no
# }
# }
#
# on_decline = {
# # Refusal notification
# scope:actor = { trigger_event = char_interaction.0236 }
#
# # If we're a clan this interaction affects unity
# add_clan_unity_interaction_effect = {
# add_house_unity_interaction_effect = {
# CHARACTER = scope:recipient
# TARGET = scope:actor
# VALUE = minor_unity_gain
@ -3802,7 +3787,7 @@ incite_revolts_interaction = {
# multiplier = 0.25
# desc = AI_OPINION_REASON
# }
#
# modifier = {
# add = {
# value = ai_greed
@ -3811,7 +3796,7 @@ incite_revolts_interaction = {
# ai_greed <= 0.5
# desc = AI_VALUE_MODIFIER_GREED
# }
#
# modifier = {
# add = {
# value = ai_boldness
@ -3820,7 +3805,7 @@ incite_revolts_interaction = {
# NOT = { ai_boldness = 0 }
# desc = AI_VALUE_MODIFIER_BOLDNESS
# }
#
# modifier = {
# add = 50
# desc = camp_purpose_mercenaries_reason
@ -3834,12 +3819,12 @@ incite_revolts_interaction = {
# # WARJOINER = scope:actor
# # }
# }
#
# ai_target_quick_trigger = { adult = yes }
# ai_targets = {
# ai_recipients = neighboring_rulers
# }
#
# ai_set_target = {
# scope:recipient = {
# ordered_character_war = { #We offer our services for the war where the character is losing the most
@ -3881,10 +3866,10 @@ incite_revolts_interaction = {
# empire = 12
# hegemony = 12
# }
#
# ai_will_do = {
# base = 0
#
# modifier = { # Increase chance if recipient is losing a war
# trigger_if = {
# limit = { exists = scope:target }
@ -3896,7 +3881,7 @@ incite_revolts_interaction = {
# modifier = { # Increase chance with amount of gold of recipient over interaction cost
# factor = offer_assistance_interaction_gold_modifier_value
# }
#
# modifier = { # Increase chance if likes recipient more than enemy
# scope:actor = {
# save_temporary_opinion_value_as = {
@ -3919,7 +3904,7 @@ incite_revolts_interaction = {
# }
# add = 25
# }
#
# modifier = { # Increase chance for family
# scope:recipient = {
# OR = {
@ -3929,7 +3914,7 @@ incite_revolts_interaction = {
# }
# add = 25
# }
#
# modifier = { # Decrease chance if army is small
# trigger_if = {
# limit = { exists = scope:target }
@ -3937,7 +3922,7 @@ incite_revolts_interaction = {
# }
# add = -50
# }
#
# modifier = { # Increase chance for rivalry
# trigger_if = {
# limit = { exists = scope:target }
@ -3951,7 +3936,7 @@ incite_revolts_interaction = {
# }
# add = 25
# }
#
# # Higher chance to target a human player
# modifier = {
# scope:recipient = { is_ai = no }
@ -3973,16 +3958,16 @@ incite_revolts_interaction = {
# special_interaction = call_ally_interaction
# popup_on_receive = yes
# pause_on_receive = yes
#
# ai_maybe = yes
# desc = request_contract_assistance_interaction_desc
# icon = icon_gold
#
# greeting = positive
# notification_text = request_contract_assistance_interaction_notification
#
# cooldown_against_recipient = { years = 5 }
#
# is_available = {
# is_at_war = yes
# any_character_struggle = {
@ -3997,7 +3982,7 @@ incite_revolts_interaction = {
# is_imprisoned = no
# }
# }
#
# is_shown = {
# # Actor is Involved in Struggle
# scope:actor = {
@ -4014,15 +3999,15 @@ incite_revolts_interaction = {
# }
# }
# }
#
# has_valid_target = {
# exists = scope:target
# }
#
# has_valid_target_showing_failures_only = {
# scope:target = {
# is_war_leader = scope:actor
#
# # Cannot contract against allies
# trigger_if = {
# limit = {
@ -4038,7 +4023,7 @@ incite_revolts_interaction = {
# }
# }
# }
#
# # Adventurers can't join wars in places they're exiled from.
# trigger_if = {
# limit = {
@ -4055,7 +4040,7 @@ incite_revolts_interaction = {
# }
# }
# }
#
# is_valid_showing_failures_only = {
# scope:recipient = {
# # Cannot demand gold from allies
@ -4074,10 +4059,10 @@ incite_revolts_interaction = {
# }
# }
# }
#
# # Cannot join wars with raised armies
# scope:recipient = { has_raised_armies = no }
#
# # Can only contract one war at a time
# custom_tooltip = {
# text = contract_assistance_war_already_contracted_tt
@ -4086,7 +4071,7 @@ incite_revolts_interaction = {
# }
# }
# }
#
# can_be_picked = {
# # Recipient is war leader in chosen war
# scope:target = {
@ -4103,7 +4088,7 @@ incite_revolts_interaction = {
# # Liege checks
# can_join_war_liege_vassal_check_trigger = { WARRIOR = scope:actor JOINER = scope:recipient }
# }
#
# on_accept = {
# # Add Actor to Recipient's war
# scope:target = {
@ -4133,8 +4118,8 @@ incite_revolts_interaction = {
# craven = medium_stress_impact_gain
# shy = minor_stress_impact_gain
# }
#
#
# # Struggle Catalyst
# if = {
# limit = {
@ -4180,9 +4165,9 @@ incite_revolts_interaction = {
# }
# }
# }
#
# # If we're a clan this interaction affects unity
# add_clan_unity_interaction_effect = {
# add_house_unity_interaction_effect = {
# CHARACTER = scope:actor
# TARGET = scope:recipient
# VALUE = medium_unity_loss
@ -4190,13 +4175,13 @@ incite_revolts_interaction = {
# REVERSE_NON_HOUSE_TARGET = no
# }
# }
#
# on_decline = {
# # Refusal notification
# scope:actor = { trigger_event = char_interaction.0236 }
#
# # If we're a clan this interaction affects unity
# add_clan_unity_interaction_effect = {
# add_house_unity_interaction_effect = {
# CHARACTER = scope:recipient
# TARGET = scope:actor
# VALUE = minor_unity_gain
@ -4204,10 +4189,10 @@ incite_revolts_interaction = {
# REVERSE_NON_HOUSE_TARGET = no
# }
# }
#
# ai_accept = {
# base = 0 # Reluctant to spend money without good reason
#
# # Recipient has low cash
# modifier = {
# add = {
@ -4291,7 +4276,7 @@ incite_revolts_interaction = {
# multiplier = 0.25
# desc = AI_OPINION_REASON
# }
#
# modifier = {
# add = {
# value = ai_greed
@ -4300,7 +4285,7 @@ incite_revolts_interaction = {
# ai_greed <= 0.5
# desc = AI_VALUE_MODIFIER_GREED
# }
#
# modifier = {
# add = {
# value = ai_boldness
@ -4309,19 +4294,19 @@ incite_revolts_interaction = {
# NOT = { ai_boldness = 0 }
# desc = AI_VALUE_MODIFIER_BOLDNESS
# }
#
# # Allegiances
# fp2_contracting_ally_modifier = {
# WARMONGER = scope:actor
# WARJOINER = scope:recipient
# }
# }
#
# ai_target_quick_trigger = { adult = yes }
# ai_targets = {
# ai_recipients = neighboring_rulers
# }
#
# ai_set_target = {
# scope:actor = {
# ordered_character_war = { #We offer our services for the war where the character is losing the most
@ -4350,7 +4335,7 @@ incite_revolts_interaction = {
# }
# }
# }
#
# ai_targets = {
# ai_recipients = peer_vassals
# }
@ -4362,10 +4347,10 @@ incite_revolts_interaction = {
# empire = 36
# hegemony = 0
# }
#
# ai_will_do = {
# base = 0
#
# modifier = { # AI is losing the war
# trigger_if = {
# limit = { exists = scope:target }
@ -4381,7 +4366,7 @@ incite_revolts_interaction = {
# }
# add = 15
# }
#
# modifier = { # Increase chance for asking family
# scope:recipient = {
# OR = {
@ -4391,7 +4376,7 @@ incite_revolts_interaction = {
# }
# factor = 2
# }
#
# modifier = { # Decrease chance if army is small
# trigger_if = {
# limit = { exists = scope:target }
@ -4407,7 +4392,7 @@ incite_revolts_interaction = {
# }
# add = -50
# }
#
# modifier = { # Increase chance for rivalry
# trigger_if = {
# limit = { exists = scope:target }
@ -4421,7 +4406,7 @@ incite_revolts_interaction = {
# }
# add = 25
# }
#
# modifier = { # AI is extremely rich
# short_term_gold >= ai_war_chest_desired_gold_value
# add = 50
@ -4739,7 +4724,7 @@ enforce_truce_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = medium_unity_gain
@ -4753,7 +4738,7 @@ enforce_truce_interaction = {
scope:actor = { trigger_event = char_interaction.0236 }
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:recipient
TARGET = scope:actor
VALUE = medium_unity_loss
@ -5092,7 +5077,7 @@ bargain_fealty_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = medium_unity_gain
@ -5106,7 +5091,7 @@ bargain_fealty_interaction = {
scope:actor = { trigger_event = char_interaction.0236 }
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:recipient
TARGET = scope:actor
VALUE = minor_unity_loss