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

@ -40,11 +40,31 @@ offer_hostage_interaction = {
# Only significant rulers use hostages
scope:recipient.highest_held_title_tier > tier_barony
# Laamps can't do anything with hostages but return/recall them.
scope:actor = {
NOR = {
government_has_flag = government_is_landless_adventurer
government_has_flag = government_is_merchant
government_has_flag = government_is_herder
}
trigger_if = {
limit = {
government_has_flag = government_is_republic
}
is_landed = yes
}
}
scope:recipient = {
NOR = {
government_has_flag = government_is_landless_adventurer
government_has_flag = government_is_merchant
government_has_flag = government_is_herder
}
trigger_if = {
limit = {
government_has_flag = government_is_republic
}
is_landed = yes
}
}
#Inside a merit realm vassals won't offer hostages except to your top liege.
trigger_if = {
@ -253,18 +273,12 @@ offer_hostage_interaction = {
}
scope:actor = { trigger_event = char_interaction.0330 }
# If we're of the same clan this interaction affects unity
if = {
limit = {
scope:actor = { government_has_flag = government_is_clan }
scope:actor.house = scope:recipient.house
}
add_clan_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = medium_unity_loss
DESC = clan_unity_hostage.desc
REVERSE_NON_HOUSE_TARGET = no
}
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = medium_unity_loss
DESC = clan_unity_hostage.desc
REVERSE_NON_HOUSE_TARGET = no
}
}
@ -468,7 +482,25 @@ offer_hostage_interaction = {
limit = {
is_ai = yes
}
NOT = { has_variable = conqueror }
NOR = {
government_has_flag = government_is_merchant
government_has_flag = government_is_herder
government_has_flag = government_is_theocracy
has_variable = conqueror
}
trigger_if = {
limit = {
government_has_flag = government_is_republic
}
is_landed = yes
}
OR = {
is_landless_ruler = no
is_landless_administrative = yes
}
any_close_family_member = {
bp2_valid_to_offer_as_hostage_trigger = { SENDER = root }
}
}
}
@ -649,8 +681,25 @@ demand_hostage_interaction = {
# Laamps can't do anything with hostages but return/recall them.
NOR = {
scope:actor = { government_has_flag = government_is_landless_adventurer }
scope:actor = { government_has_flag = government_is_merchant }
scope:recipient = { government_has_flag = government_is_landless_adventurer }
}
scope:actor = {
trigger_if = {
limit = {
government_has_flag = government_is_republic
}
is_landed = yes
}
}
scope:recipient = {
trigger_if = {
limit = {
government_has_flag = government_is_republic
}
is_landed = yes
}
}
#Inside a merit realm vassals won't demand hostages.
trigger_if = {
limit = {
@ -897,18 +946,12 @@ demand_hostage_interaction = {
}
scope:actor = { trigger_event = char_interaction.0331 }
# If we're of the same clan this interaction affects unity
if = {
limit = {
scope:actor = { government_has_flag = government_is_clan }
scope:actor.house = scope:recipient.house
}
add_clan_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = minor_unity_loss
DESC = clan_unity_hostage.desc
REVERSE_NON_HOUSE_TARGET = no
}
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = minor_unity_loss
DESC = clan_unity_hostage.desc
REVERSE_NON_HOUSE_TARGET = no
}
}
@ -1353,8 +1396,25 @@ exchange_hostage_interaction = {
# Laamps can't do anything with hostages but return/recall them.
NOR = {
scope:actor = { government_has_flag = government_is_landless_adventurer }
scope:actor = { government_has_flag = government_is_merchant }
scope:recipient = { government_has_flag = government_is_landless_adventurer }
}
scope:actor = {
trigger_if = {
limit = {
government_has_flag = government_is_republic
}
is_landed = yes
}
}
scope:recipient = {
trigger_if = {
limit = {
government_has_flag = government_is_republic
}
is_landed = yes
}
}
#Inside a merit realm vassals won't exchange hostages.
trigger_if = {
limit = {
@ -1642,18 +1702,12 @@ exchange_hostage_interaction = {
}
scope:actor = { trigger_event = char_interaction.0332 }
# If we're of the same clan this interaction affects unity
if = {
limit = {
scope:actor = { government_has_flag = government_is_clan }
scope:actor.house = scope:recipient.house
}
add_clan_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = medium_unity_loss
DESC = clan_unity_hostage.desc
REVERSE_NON_HOUSE_TARGET = no
}
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = medium_unity_loss
DESC = clan_unity_hostage.desc
REVERSE_NON_HOUSE_TARGET = no
}
scope:actor.house = {
change_house_relation_effect = {