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

@ -37,6 +37,15 @@ gift_interaction = {
empire = 36
hegemony = 36
}
ai_frequency_by_tier_government_override = {
government = merchant_government
barony = 0
county = 180
duchy = 0
kingdom = 0
empire = 0
hegemony = 0
}
is_available = {
trigger_if = {
@ -56,12 +65,11 @@ gift_interaction = {
# Prioritize paying back loans first
scope:puppet_or_actor ?= {
this != scope:recipient
trigger_if = {
limit = {
exists = var:loan_amount_owed
exists = var:loan_holder
NOT = {
any_owned_story = {
type = story_cycle_loan
var:lender = scope:recipient
}
NOT = { var:loan_holder = scope:recipient }
}
# A landless puppet has nothing to gift that is not already the puppeteer's
trigger_if = {
@ -336,7 +344,7 @@ gift_interaction = {
target = scope:puppet_or_actor.culture
value = {
value = 20
multiply = scope:recipient.capital_province.county.development_level
multiply = scope:recipient.capital_province.county.prosperity_level
divide = 100
}
desc = cultural_acceptance_gain_gift_dynasty_perk
@ -652,9 +660,7 @@ gift_interaction = {
}
has_secret_relation_lover = scope:puppet_or_actor
has_relation_lover = scope:puppet_or_actor
has_relation_soulmate = scope:puppet_or_actor
has_relation_friend = scope:puppet_or_actor
has_relation_best_friend = scope:puppet_or_actor
}
gold < 0
}
@ -663,9 +669,7 @@ gift_interaction = {
OR = {
has_secret_relation_lover = scope:puppet_or_actor
has_relation_lover = scope:puppet_or_actor
has_relation_soulmate = scope:puppet_or_actor
has_relation_friend = scope:puppet_or_actor
has_relation_best_friend = scope:puppet_or_actor
}
scope:puppet_or_actor = {
OR = {
@ -696,7 +700,6 @@ gift_interaction = {
OR = {
scope:puppet_or_actor.liege ?= this
has_relation_friend = scope:puppet_or_actor
has_relation_best_friend = scope:puppet_or_actor
is_allied_to = scope:puppet_or_actor
is_close_or_extended_family_of = scope:puppet_or_actor
}
@ -724,7 +727,7 @@ gift_interaction = {
target = scope:puppet_or_actor
value < 0
}
NOT ={
NOT = {
has_opinion_modifier = {
target = scope:puppet_or_actor
modifier = gift_opinion
@ -734,7 +737,7 @@ gift_interaction = {
AND = { # Factioneering vassals should be considered
is_vassal_of = scope:puppet_or_actor
is_a_faction_member = yes
NOT ={
NOT = {
has_opinion_modifier = {
target = scope:puppet_or_actor
modifier = gift_opinion