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

@ -33,6 +33,7 @@
}
}
age >= 6
is_imprisoned = no
}
is_playable_character = yes
}
@ -732,6 +733,7 @@
}
has_trait = denounced
has_trait = disinherited
has_trait = adopted_no_inheritance
}
}
}
@ -1430,7 +1432,7 @@
scope:actor = {
custom_tooltip = create_confederation_tt
custom_tooltip = confederation_defensive_wars_tt
custom_tooltip = unlock_leave_confederation_interaction_tt
custom_tooltip = unlock_leave_confederation_decision_tt
if = {
limit = {
government_has_flag = government_is_nomadic
@ -2546,6 +2548,7 @@ migration_interaction = {
}
desc = migration_interaction_desc
notification_text = migration_interaction_notification
is_available = {
government_has_flag = government_is_nomadic
@ -2563,6 +2566,7 @@ migration_interaction = {
is_imprisoned = no
is_independent_ruler = yes
is_travelling = no
has_raised_armies = no
custom_tooltip = {
text = no_primary_wars_tt
NOT = {
@ -4301,6 +4305,10 @@ mpo_interaction_leverage_khan_authority = {
NOT = {
has_character_flag = established_paiza_system
}
any_character_artifact = {
has_variable = paiza_patron
root = { can_benefit_from_artifact = prev }
}
}
is_shown = {
@ -4308,8 +4316,12 @@ mpo_interaction_leverage_khan_authority = {
is_ai = yes
is_gurkhan = no
age >= 12
NOT = {
has_character_flag = established_paiza_system
NOT = { has_character_flag = established_paiza_system }
# Implied by the artifact check below: a paiza only benefits while its patron is the gurkhan
OR = {
top_liege ?= situation:the_great_steppe.situation_top_herd
AND = { is_independent_ruler = yes primary_title.tier < scope:actor.primary_title.tier government_has_flag = government_is_nomadic }
liege ?= { government_has_flag = government_is_nomadic }
}
}
scope:actor = {
@ -4318,19 +4330,10 @@ mpo_interaction_leverage_khan_authority = {
scope:actor = { can_benefit_from_artifact = prev }
OR = {
scope:recipient.top_liege ?= var:paiza_patron
scope:recipient = {
is_independent_ruler = yes
primary_title.tier < scope:actor.primary_title.tier
scope:recipient = { is_independent_ruler = yes primary_title.tier < scope:actor.primary_title.tier government_has_flag = government_is_nomadic }
scope:recipient.liege ?= {
government_has_flag = government_is_nomadic
}
scope:recipient = {
liege = {
OR = {
government_has_flag = government_is_nomadic
scope:recipient.top_liege ?= prev.var:paiza_patron
}
}
}
}
}
}
@ -4441,20 +4444,35 @@ mpo_interaction_leverage_khan_authority = {
}
modifier = {
add = -10
var:paiza_patron ?= {
domicile ?= { has_domicile_parameter = nomad_yurt_paiza_abuse_less_likely_lvl_1 }
scope:actor = {
any_character_artifact = {
scope:actor = { can_benefit_from_artifact = prev }
var:paiza_patron ?= {
domicile ?= { has_domicile_parameter = nomad_yurt_paiza_abuse_less_likely_lvl_1 }
}
}
}
}
modifier = {
add = -20
var:paiza_patron ?= {
domicile ?= { has_domicile_parameter = nomad_yurt_paiza_abuse_less_likely_lvl_2 }
scope:actor = {
any_character_artifact = {
scope:actor = { can_benefit_from_artifact = prev }
var:paiza_patron ?= {
domicile ?= { has_domicile_parameter = nomad_yurt_paiza_abuse_less_likely_lvl_2 }
}
}
}
}
modifier = {
add = -35
var:paiza_patron ?= {
domicile ?= { has_domicile_parameter = nomad_yurt_paiza_abuse_less_likely_lvl_3 }
scope:actor = {
any_character_artifact = {
scope:actor = { can_benefit_from_artifact = prev }
var:paiza_patron ?= {
domicile ?= { has_domicile_parameter = nomad_yurt_paiza_abuse_less_likely_lvl_3 }
}
}
}
}
}
@ -4471,17 +4489,21 @@ mpo_interaction_leverage_khan_authority = {
title = mpo_interaction_leverage_khan_authority
make_obedient_recipient_to_actor_effect = yes
scope:recipient = {
pay_short_term_gold = {
target = scope:actor
gold = {
value = current_gold_value
divide = 2
if = {
limit = { gold > 0 }
pay_short_term_gold = {
target = scope:actor
gold = {
value = current_gold_value
divide = 2
}
}
}
if = {
limit = {
government_has_flag = government_is_nomadic
scope:recipient = {
domicile ?= { herd > 0 }
scope:actor = {
government_has_flag = government_is_nomadic
}
}
@ -4508,22 +4530,6 @@ mpo_interaction_leverage_khan_authority = {
add_prestige = minor_prestige_value
}
}
if = {
limit = {
government_has_flag = government_is_nomadic
scope:recipient = {
government_has_flag = government_is_nomadic
}
}
pay_herd = {
target = scope:actor
value = {
value = domicile.herd
multiply = 0.5
}
}
}
}
scope:actor = {
@ -6874,7 +6880,7 @@ mpo_make_blood_brother = {
}
# 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
@ -6954,7 +6960,7 @@ mpo_make_blood_brother = {
}
# 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
@ -7176,7 +7182,7 @@ feudalize_nomadic_holding_interaction = {
}
trigger_else = {
custom_description = {
text = "feudalize_nomadic_holding_interaction_title_not_county_or_below"
text = "feudalize_holding_interaction_title_not_county_or_below"
always = no
}
}
@ -7189,7 +7195,7 @@ feudalize_nomadic_holding_interaction = {
limit = { tier <= tier_county }
title_province = {
barony_controller = scope:actor
has_ongoing_construction = no
has_ongoing_holding_construction = no
}
}
}
@ -7319,7 +7325,7 @@ feudalize_herder_holding_interaction = {
}
trigger_else = {
custom_description = {
text = "feudalize_herder_holding_interaction_title_not_county_or_below"
text = "feudalize_holding_interaction_title_not_county_or_below"
always = no
}
}
@ -7332,7 +7338,7 @@ feudalize_herder_holding_interaction = {
limit = { tier <= tier_county }
title_province = {
barony_controller = scope:actor
has_ongoing_construction = no
has_ongoing_holding_construction = no
}
}
}
@ -7498,10 +7504,7 @@ mpo_retrieve_land_from_herder_interaction = {
is_vassal_of = scope:actor
}
}
custom_tooltip = {
text = mpo_retrieve_land_migration_tt
capital_county = { is_migration_target = no }
}
capital_county = { is_migration_target = no }
}
}
@ -8043,9 +8046,7 @@ mpo_gift_herd_interaction = {
}
has_secret_relation_lover = scope:actor
has_relation_lover = scope:actor
has_relation_soulmate = scope:actor
has_relation_friend = scope:actor
has_relation_best_friend = scope:actor
}
domicile.herd < minor_herd_value_static
}
@ -8053,9 +8054,7 @@ mpo_gift_herd_interaction = {
OR = {
has_secret_relation_lover = scope:actor
has_relation_lover = scope:actor
has_relation_soulmate = scope:actor
has_relation_friend = scope:actor
has_relation_best_friend = scope:actor
}
scope:actor = {
OR = {
@ -8086,7 +8085,6 @@ mpo_gift_herd_interaction = {
OR = {
scope:actor.liege ?= this
has_relation_friend = scope:actor
has_relation_best_friend = scope:actor
is_allied_to = scope:actor
is_close_or_extended_family_of = scope:actor
}
@ -8361,7 +8359,6 @@ mpo_offer_submission_or_ruin = {
ceiling = yes
}
}
# TRAITS/PERSONALITY
modifier = { # Ambitious
desc = TAKE_THE_VOWS_AMBITIOUS
@ -9861,6 +9858,7 @@ join_confederation_interaction = {
}
has_trait = denounced
has_trait = disinherited
has_trait = adopted_no_inheritance
}
}
}
@ -10306,7 +10304,7 @@ join_confederation_interaction = {
scope:actor = {
custom_tooltip = join_confederation_recipient_tt
custom_tooltip = confederation_defensive_wars_tt
custom_tooltip = unlock_leave_confederation_interaction_tt
custom_tooltip = unlock_leave_confederation_decision_tt
}
}
if = {