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

@ -75,6 +75,9 @@ diarch_revoke_title_interaction = {
prompt = RETRACT_VASSAL_SELECT_VASSAL_TO_RETRACT
is_available = {
liege ?= {
has_diarchy_parameter = unlock_diarch_revoke_title_interaction
}
trigger_if = {
limit = { is_ai = yes }
is_diarch = yes
@ -82,9 +85,6 @@ diarch_revoke_title_interaction = {
# Loyal diarchs don't engage in skullduggery.
diarch_loyalty < diarch_loyalty_visibly_loyal_threshold
}
liege ?= {
has_diarchy_parameter = unlock_diarch_revoke_title_interaction
}
# If you're not in a diarchy, we don't care.
OR = {
is_designated_diarch = yes
@ -1828,6 +1828,7 @@ diarch_imprison_interaction = {
desc = AI_PRISON_FEUDAL_COMPLEX_PERK
scope:actor = {
has_perk = prison_feudal_complex_perk
NOT = { government_has_flag = government_is_merchant }
}
}
modifier = { #I am a King!
@ -3153,6 +3154,7 @@ diarch_syphon_treasury_interaction = {
}
# Loyal diarchs don't engage in skullduggery.
diarch_loyalty < diarch_loyalty_visibly_loyal_threshold
liege ?= { has_diarchy_active_parameter = unlock_syphon_treasury_interaction }
}
liege ?= { has_diarchy_parameter = unlock_syphon_treasury_interaction }
# If you're not in a diarchy, we don't care.
@ -3306,13 +3308,13 @@ diarch_syphon_treasury_interaction = {
min = 10
desc = diarch_syphon_treasury_interaction.tt.success
# Inform scope:actor what type of embezzlement they'll be pursuing.
## Very high stewardship characters syphon development growth from a few counties.
## Very high stewardship characters syphon prosperity growth from a few counties.
if = {
limit = {
stewardship >= syphon_treasury_stewardship_very_high
NOT = { government_has_flag = government_is_nomadic }
}
custom_tooltip = diarch_syphon_treasury_interaction.tt.success.syphon_development_growth
custom_tooltip = diarch_syphon_treasury_interaction.tt.success.syphon_prosperity_growth
}
## Alternatively, herd for nomadic rulers
else_if = {
@ -3380,28 +3382,28 @@ diarch_syphon_treasury_interaction = {
}
## Plus the maluses for the liege.
scope:recipient = {
# Very high stewardship characters syphon development growth from a few counties.
# Very high stewardship characters syphon prosperity growth from a few counties.
if = {
limit = { scope:actor.stewardship >= syphon_treasury_stewardship_very_high }
# Gold transfer was...
## Very high.
if = {
limit = { always = scope:diarch_syphon_treasury_sum_huge }
diarch_syphon_treasury_interaction_syphon_development_growth_effect = { LOSS = massive_development_progress_loss }
diarch_syphon_treasury_interaction_syphon_prosperity_growth_effect = { LOSS = massive_prosperity_progress_loss }
}
## High.
else_if = {
limit = { always = scope:diarch_syphon_treasury_sum_large }
diarch_syphon_treasury_interaction_syphon_development_growth_effect = { LOSS = major_development_progress_loss }
diarch_syphon_treasury_interaction_syphon_prosperity_growth_effect = { LOSS = major_prosperity_progress_loss }
}
## Medium.
else_if = {
limit = { always = scope:diarch_syphon_treasury_sum_medium }
diarch_syphon_treasury_interaction_syphon_development_growth_effect = { LOSS = medium_development_progress_loss }
diarch_syphon_treasury_interaction_syphon_prosperity_growth_effect = { LOSS = medium_prosperity_progress_loss }
}
## Low.
else = {
diarch_syphon_treasury_interaction_syphon_development_growth_effect = { LOSS = minor_development_progress_loss }
diarch_syphon_treasury_interaction_syphon_prosperity_growth_effect = { LOSS = minor_prosperity_progress_loss }
}
}
# Alternatively, for nomadic rulers, we steal some herd
@ -4983,6 +4985,7 @@ diarch_coup_liege_interaction = {
pre_answer_yes_breakdown_key = diarch_coup_liege_interaction_pre_answer_yes_breakdown_key
desc = diarch_coup_liege_interaction_desc
notification_text = diarch_coup_liege_interaction_notification
# First, grab every other powerful vassal of your liege & plonk them in a list.
populate_recipient_list = {
@ -6512,7 +6515,7 @@ swing_scales_currency_interaction = {
is_shown = {
# Filter out for the liege in vizierates - they can mulct the vizier, so we don't give them the chance to spend that gold back.
interaction_actor_is_liege_with_vizierate_trigger = no
NOT = { religious_head_or_challenger ?= scope:recipient }
NOT = { scope:actor.religious_head_or_challenger ?= scope:recipient }
}
is_valid = {
diarch_swing_scales_valid_shared_hof_trigger = yes
@ -6865,16 +6868,13 @@ diarch_swing_scales_currency_interaction = {
interface_priority = 20
is_available = {
trigger_if = {
limit = { is_ai = yes }
# Double check due to some irritating errors.
is_diarch = yes
# Loyal diarchs don't engage in skullduggery.
diarch_loyalty < diarch_loyalty_visibly_loyal_threshold
liege ?= { has_active_diarchy = yes }
}
is_ai = yes
is_playable_character = no
is_ai = yes
# Double check due to some irritating errors.
is_diarch = yes
liege ?= { has_active_diarchy = yes }
# Loyal diarchs don't engage in skullduggery.
diarch_loyalty < diarch_loyalty_visibly_loyal_threshold
}
is_shown = {
@ -7097,7 +7097,7 @@ diarch_swing_scales_currency_interaction = {
}
# HoF
send_option = {
is_shown = { NOT = { religious_head_or_challenger ?= scope:recipient } }
is_shown = { NOT = { scope:actor.religious_head_or_challenger ?= scope:recipient } }
is_valid = { diarch_swing_scales_valid_shared_hof_trigger = yes }
# Top of the prio order for enablement.
starts_enabled = { diarch_swing_scales_valid_shared_hof_trigger = yes }
@ -8413,9 +8413,9 @@ liege_dismiss_vizier_interaction = {
has_trait = vengeful
can_set_relation_rival_trigger = { CHARACTER = scope:actor }
}
set_relation_rival = {
target = scope:actor
reason = rival_dismissed_me_from_vizierate
set_relation_rival_effect = {
TARGET = scope:actor
REASON = rival_dismissed_me_from_vizierate
}
add_opinion = {
target = scope:actor