character_interactions updated files

This commit is contained in:
Thakia 2026-10-02 18:44:14 -03:00
parent f086d8f7ec
commit d8cc7ae2ea
34 changed files with 21815 additions and 13849 deletions

View file

@ -13,12 +13,24 @@
}
extra_icon = "gfx/interface/icons/character_interactions/hook_icon.dds"
is_available = {
trigger_if = {
limit = { is_ai = yes }
short_term_gold >= yearly_character_income
is_at_war = no # Try to avoid wasting your war chest!
ai_should_focus_on_building_in_their_capital = no
NOT = { government_has_flag = government_is_nomadic }
any_courtier_or_guest = {
is_alive = yes
count <= 30
}
NOT = { has_variable = conqueror }
}
}
is_shown = {
scope:actor != scope:recipient
scope:recipient = { is_pool_guest_of = scope:actor }
scope:actor = {
is_ruler = yes
}
}
is_valid_showing_failures_only = {
@ -30,6 +42,8 @@
NOR = {
scope:recipient = { is_close_family_of = scope:actor } # Close family members are free
scope:actor = { has_usable_hook = scope:recipient } # Using a hook makes it free
# PAM - Ritual Hospitality PT: hospitality is never bought
scope:actor = { has_personal_tenet_flag = tenet_ritual_hospitality_free_guest_recruitment }
}
}
scope:actor = {
@ -92,6 +106,11 @@
limit = { scope:recipient = { is_close_family_of = scope:actor } } # Close family members are free
# do nothing
}
else_if = {
# PAM - Ritual Hospitality PT: hospitality is never bought
limit = { scope:actor = { has_personal_tenet_flag = tenet_ritual_hospitality_free_guest_recruitment } }
# do nothing
}
else_if = {
limit = { always = scope:hook }
scope:actor = { use_hook = scope:recipient }
@ -129,7 +148,7 @@
type = event_generic_neutral
title = msg_recruited_guest_to_court_interaction_title
right_icon = scope:recipient
stress_impact = {
stress_and_fulfillment_impact = {
shy = minor_stress_impact_gain
paranoid = minor_stress_impact_gain
}
@ -164,18 +183,6 @@
hegemony = 12
}
ai_potential = {
is_at_war = no # Try to avoid wasting your war chest!
NOT = { has_variable = conqueror }
short_term_gold >= yearly_character_income
any_courtier_or_guest = {
is_alive = yes
count <= 30
}
ai_should_focus_on_building_in_their_capital = no
NOT = { government_has_flag = government_is_nomadic }
}
ai_will_do = {
base = 0
@ -435,7 +442,7 @@ kick_from_court_interaction = {
on_accept = {
scope:actor = {
stress_impact = {
stress_and_fulfillment_impact = {
gregarious = minor_stress_impact_gain
}
@ -597,7 +604,7 @@ invite_to_court_interaction = {
host ?= scope:actor
has_trait = order_member
is_ruler = yes
location = { is_sea_province = yes }
location ?= { is_sea_province = yes }
}
}
}
@ -627,6 +634,33 @@ invite_to_court_interaction = {
}
text = nomad_defected_invite_desc
}
custom_tooltip = {
scope:recipient = {
NAND = {
OR = {
has_trait = devoted
has_trait = order_member
}
liege ?= {
government_has_flag = government_is_holy_order
}
has_variable = recent_vows
}
}
text = recently_joined_holy_order_desc
}
custom_tooltip = {
scope:recipient = {
NAND = {
has_trait = devoted
liege ?= {
government_has_flag = government_is_holy_order
}
is_adult = no
}
}
text = child_in_holy_order_desc
}
}
#Pay som gold to persuade a wandering character to come to your court
@ -742,7 +776,7 @@ invite_to_court_interaction = {
}
target = scope:recipient
}
stress_impact = {
stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain
}
}
@ -1166,20 +1200,43 @@ invite_to_court_interaction = {
desc = estate_buildings_with_value_desc
}
# PAM - Ritual Hospitality PT
modifier = {
add = 50
desc = doctrine_parameter_tenet_ritual_hospitality_invite_to_court_acceptance
scope:actor = {
has_personal_tenet_flag = tenet_ritual_hospitality_invite_to_court_acceptance
}
}
modifier = {
add = -1000
desc = MALUS_TO_RECRUITMENT_FOR_IMPERIAL_EUNUCHS
scope:recipient = {
is_eunuch_trigger = yes
liege ?= {
government_allows = administrative
government_has_mechanic = administrative
primary_title.tier >= tier_empire
culture = { has_cultural_parameter = can_appoint_chief_eunuch }
}
}
}
modifier = {
add = -100
desc = INVITE_DEVOTED_TO_CLERICAL_LIEGE
scope:recipient = {
has_trait = devoted
liege ?= {
OR = {
government_has_flag = government_is_theocracy
government_has_flag = government_is_monastic_holy_order
}
faith = scope:recipient.faith
}
}
}
modifier = {
scope:actor.culture = {
has_cultural_parameter = invite_courtiers_reasons
@ -1208,3 +1265,4 @@ invite_to_court_interaction = {
}
}
}