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

@ -12,14 +12,22 @@ ce1_ask_to_promote_legend_interaction = {
greeting = positive
notification_text = PROMOTE_LEGEND_NOTIFICATION
is_available = {
trigger_if = {
limit = { is_ai = yes }
is_physically_able = yes
}
}
is_shown = {
scope:actor.promoted_legend.legend_owner ?= scope:actor
scope:actor != scope:recipient
scope:puppet_or_actor.promoted_legend.legend_owner ?= scope:puppet_or_actor
exists = scope:puppet_or_actor
scope:puppet_or_actor != scope:recipient
scope:recipient = {
is_landed = yes
age >= 12
is_physically_able = yes
NOT = { government_has_flag = government_is_true_herder }
NOT = { government_has_flag = government_is_herder }
}
}
@ -33,16 +41,16 @@ ce1_ask_to_promote_legend_interaction = {
custom_tooltip = {
text = recipient_close_or_neighbor_tt
OR = {
scope:recipient.dynasty = scope:actor.dynasty
scope:recipient = { knows_language_of_culture = scope:actor.culture }
scope:actor = {
scope:recipient.dynasty = scope:puppet_or_actor.dynasty
scope:recipient = { knows_language_of_culture = scope:puppet_or_actor.culture }
scope:puppet_or_actor = {
has_any_moderate_good_relationship_with_character_trigger = { CHARACTER = scope:recipient }
}
scope:recipient = {
any_character_to_title_neighboring_county = {
any_county_province = {
any_province_legend = {
this = scope:actor.promoted_legend
this = scope:puppet_or_actor.promoted_legend
}
}
}
@ -92,7 +100,7 @@ ce1_ask_to_promote_legend_interaction = {
modifier = {
add = 10
desc = REASON_ILLUSTRIOUS_LEGEND
scope:actor = {
scope:puppet_or_actor = {
promoted_legend = {
legend_quality = illustrious
}
@ -101,7 +109,7 @@ ce1_ask_to_promote_legend_interaction = {
modifier = {
add = 20
desc = REASON_MYTHICAL_LEGEND
scope:actor = {
scope:puppet_or_actor = {
promoted_legend = {
legend_quality = mythical
}
@ -127,7 +135,7 @@ ce1_ask_to_promote_legend_interaction = {
# Do they like you?
opinion_modifier = {
who = scope:recipient
opinion_target = scope:actor
opinion_target = scope:puppet_or_actor
multiplier = 1
desc = AI_OPINION_REASON
}
@ -181,7 +189,7 @@ ce1_ask_to_promote_legend_interaction = {
add = intimidated_halved_reason_value
scope:recipient = {
has_dread_level_towards = {
target = scope:actor
target = scope:puppet_or_actor
level = 1
}
}
@ -191,7 +199,7 @@ ce1_ask_to_promote_legend_interaction = {
add = cowed_halved_reason_value
scope:recipient = {
has_dread_level_towards = {
target = scope:actor
target = scope:puppet_or_actor
level = 2
}
}
@ -208,7 +216,7 @@ ce1_ask_to_promote_legend_interaction = {
## Low Gold
modifier = {
add = -100
scope:actor.promoted_legend = {
scope:puppet_or_actor.promoted_legend = {
legend_quality = famed
}
scope:recipient = {
@ -218,7 +226,7 @@ ce1_ask_to_promote_legend_interaction = {
}
modifier = {
add = -100
scope:actor.promoted_legend = {
scope:puppet_or_actor.promoted_legend = {
legend_quality = illustrious
}
scope:recipient = {
@ -228,7 +236,7 @@ ce1_ask_to_promote_legend_interaction = {
}
modifier = {
add = -100
scope:actor.promoted_legend = {
scope:puppet_or_actor.promoted_legend = {
legend_quality = mythical
}
scope:recipient = {
@ -239,21 +247,21 @@ ce1_ask_to_promote_legend_interaction = {
modifier = {
add = 25
scope:recipient = {
is_contact_of = scope:actor
is_contact_of = scope:puppet_or_actor
}
desc = IS_CONTACT_REASON
}
}
on_accept = {
scope:actor.promoted_legend = {
scope:puppet_or_actor.promoted_legend = {
save_scope_as = promoted_legend
}
scope:actor = {
scope:puppet_or_actor = {
send_interface_toast = {
type = event_toast_effect_good
title = ce1_ask_to_promote_legend_acceptance_tt
left_icon = scope:actor
left_icon = scope:puppet_or_actor
right_icon = scope:recipient
if = {
@ -275,21 +283,49 @@ ce1_ask_to_promote_legend_interaction = {
}
}
scope:recipient = {
set_promoted_legend = scope:actor.promoted_legend
set_promoted_legend = scope:puppet_or_actor.promoted_legend
}
}
}
if = {
limit = {
scope:is_puppet_action ?= yes
scope:actor != scope:recipient
}
scope:actor = {
send_interface_toast = {
type = event_toast_effect_good
title = ce1_ask_to_promote_legend_acceptance_tt_puppeteer
left_icon = scope:puppet_or_actor
right_icon = scope:recipient
}
}
}
}
on_decline = {
scope:actor = {
scope:puppet_or_actor = {
send_interface_toast = {
type = event_toast_effect_bad
title = ce1_ask_to_promote_legend_decline_tt
left_icon = scope:actor
left_icon = scope:puppet_or_actor
right_icon = scope:recipient
}
}
if = {
limit = {
scope:is_puppet_action ?= yes
scope:actor != scope:recipient
}
scope:actor = {
send_interface_toast = {
type = event_toast_effect_bad
title = ce1_ask_to_promote_legend_decline_tt_puppeteer
left_icon = scope:puppet_or_actor
right_icon = scope:recipient
}
}
}
}
# Use gold to increase acceptance
@ -300,7 +336,7 @@ ce1_ask_to_promote_legend_interaction = {
send_option = {
flag = hook
is_valid = {
scope:actor = {
scope:puppet_or_actor = {
has_usable_hook = scope:recipient
}
}
@ -308,10 +344,6 @@ ce1_ask_to_promote_legend_interaction = {
}
send_options_exclusive = no
ai_potential = {
is_physically_able = yes
}
ai_targets = {
ai_recipients = neighboring_rulers
}