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

@ -5,6 +5,8 @@ offer_vassalization_interaction = {
icon = icon_vassal
desc = offer_vassalization_interaction_desc
greeting = positive
notification_text = OFFER_VASSALIZATION_INTERACTION_NOTIFICATION
ai_targets = {
ai_recipients = neighboring_rulers
@ -122,9 +124,6 @@ offer_vassalization_interaction = {
}
}
greeting = positive
notification_text = OFFER_VASSALIZATION_INTERACTION_NOTIFICATION
cost = {
influence = {
value = 0
@ -260,7 +259,7 @@ offer_vassalization_interaction = {
ceiling = yes
}
}
# TRAITS/PERSONALITY
modifier = { # Ambitious
desc = TAKE_THE_VOWS_AMBITIOUS
@ -396,6 +395,16 @@ offer_vassalization_interaction = {
opinion_target = scope:actor
multiplier = 1
}
#GG modifier
modifier = {
add = -50
OR = {
gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:actor SECOND = scope:recipient }
scope:recipient = { is_gg_undecided_trigger = yes }
}
desc = RECIPIENT_IS_NOT_YOUR_GG
}
}
# Low starting obligations
@ -1149,7 +1158,7 @@ force_vote_in_succession_election_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
@ -1159,6 +1168,82 @@ force_vote_in_succession_election_interaction = {
}
}
force_assembly_vote_interaction = {
category = interaction_category_diplomacy
filter_tags = { assembly_interaction }
special_interaction = force_assembly_vote
icon = scroll_scales
greeting = positive
notification_text = FORCE_ASSEMBLY_VOTE_INTERACTION_NOTIFICATION
force_notification = yes
desc = force_assembly_vote_interaction_desc
auto_accept = yes
is_valid_showing_failures_only = {
custom_description = {
text = must_have_usable_hook_blocker
subject = scope:actor
object = scope:recipient
scope:actor = {
has_usable_hook = scope:recipient
}
}
custom_description = {
text = must_have_ongoing_session
scope:actor = {
ongoing_voting_session = yes
}
}
custom_description = {
text = target_already_forced
object = scope:recipient
scope:recipient = {
is_forced_voter = no
}
}
custom_description = {
text = target_not_law_proposer
object = scope:recipient
NOT = { scope:actor.law_proposer ?= scope:recipient }
}
}
is_highlighted = {
scope:actor = {
has_usable_hook = scope:recipient
ongoing_voting_session = yes
}
}
should_use_extra_icon = {
scope:actor = { has_usable_hook = scope:recipient }
}
extra_icon = "gfx/interface/icons/character_interactions/hook_icon.dds"
on_accept = {
scope:actor = {
send_interface_message = {
type = event_title_good
title = force_assembly_vote_interaction
right_icon = scope:recipient
use_hook = scope:recipient
custom_tooltip = msg_force_assembly_vote_message
}
}
}
}
set_primary_spouse_interaction = {
category = interaction_category_diplomacy
desc = set_primary_spouse_interaction_desc
@ -1610,7 +1695,7 @@ grant_independence_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 = medium_unity_loss
@ -1723,6 +1808,10 @@ expose_secret_interaction = {
every_known_secret = {
limit = {
secret_owner = scope:recipient
NOR = {
secret_target ?= scope:puppet_or_actor
any_secret_participant = { this = scope:puppet_or_actor }
}
}
expose_secret = scope:puppet_or_actor
}
@ -1793,7 +1882,7 @@ expose_secret_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 = major_unity_loss
@ -1924,6 +2013,22 @@ expose_secret_interaction = {
evaluate_action_decreasing_house_unity = {
VALUE = 100
}
modifier = {
NOT = { exists = scope:target }
scope:recipient = {
NOT = {
any_secret = {
is_known_by = scope:puppet_or_actor
NOR = {
secret_target ?= scope:puppet_or_actor
any_secret_participant = { this = scope:puppet_or_actor }
}
}
}
}
factor = 0
}
}
}