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,12 +12,40 @@
greeting = positive
notification_text = REQUEST_SPARRING_TEXT
filter_tags = { accolade }
is_available = {
trigger_if = {
limit = { is_ai = yes }
number_of_knights > 0
OR = {
culture ?= {
has_cultural_parameter = can_use_sparring_duel
}
has_personal_tenet_flag = tenet_unrelenting_faith_sparring
}
NOT = { has_trait = craven }
can_start_single_combat_trigger = yes
is_imprisoned = no
}
OR = {
culture ?= {
has_cultural_parameter = can_use_sparring_duel
}
has_personal_tenet_flag = tenet_unrelenting_faith_sparring
top_participant_group:dynastic_cycle ?= {
participant_group_type = expansion_movement
}
}
}
is_shown = {
scope:actor = {
OR = {
culture = {
has_cultural_parameter = can_use_sparring_duel
}
has_personal_tenet_flag = tenet_unrelenting_faith_sparring
top_participant_group:dynastic_cycle ?= {
participant_group_type = expansion_movement
}
@ -137,17 +165,6 @@
}
}
# AI
ai_potential = {
culture = {
has_cultural_parameter = can_use_sparring_duel
}
NOT = { has_trait = craven }
is_imprisoned = no
can_start_single_combat_trigger = yes
number_of_knights > 0
}
ai_target_quick_trigger = {
adult = yes
}
@ -217,25 +234,30 @@ appoint_podesta_interaction = {
greeting = positive
notification_text = REQUEST_REPUBLIC_TEXT
is_shown = {
scope:actor != scope:recipient # Can't make yourself a Podesta.
scope:actor = {
culture = {
is_available = {
trigger_if = {
limit = { is_ai = yes }
culture ?= {
has_cultural_era_or_later = culture_era_high_medieval
has_cultural_parameter = can_make_republican_vassals
}
any_held_title = {
count > 1
}
primary_title.tier > tier_county
}
culture ?= {
has_cultural_parameter = can_make_republican_vassals
}
any_held_title = {
count > 1
}
}
is_shown = {
scope:actor != scope:recipient # Can't make yourself a Podesta.
scope:recipient = {
is_ai = yes
is_landed = yes
target_is_liege_or_above = scope:actor
NOR = {
government_has_flag = government_is_republic
government_has_flag = government_is_prepublic
government_has_flag = government_is_urepublic
}
NOT = { government_has_flag = government_is_republic }
}
}
@ -258,11 +280,7 @@ appoint_podesta_interaction = {
scope:recipient = {
target_is_liege_or_above = scope:actor
NOR = {
government_has_flag = government_is_republic
government_has_flag = government_is_prepublic
government_has_flag = government_is_urepublic
}
NOT = { government_has_flag = government_is_republic }
is_claimant = no
custom_description = {
@ -310,15 +328,9 @@ appoint_podesta_interaction = {
any_held_title = {
count = 1
title_tier = county
OR = {
any_county_province = {
culture = {
has_cultural_parameter = can_make_republican_vassals
}
}
OR = {
government_has_flag = government_is_prepublic
government_has_flag = government_is_urepublic
any_county_province = {
culture = {
has_cultural_parameter = can_make_republican_vassals
}
}
}
@ -350,71 +362,14 @@ appoint_podesta_interaction = {
left_icon = scope:actor
right_icon = scope:recipient
if = {
limit = {
scope:actor = { government_has_flag = government_is_urepublic }
}
scope:recipient = {
show_as_tooltip = {
change_government = urbanrepublic_government
create_title_and_vassal_change = {
type = returned
save_scope_as = change
add_claim_on_loss = no
}
primary_title = {
add_to_global_variable_list = {
name = urepublic_list
target = prev
}
}
every_vassal = {
limit = {
government_has_flag = government_is_republic
}
every_held_title = {
change_title_holder = {
holder = scope:recipient
change = scope:change
take_baronies = yes
}
}
}
resolve_title_and_vassal_change = scope:change
}
}
}
else_if = {
limit = {
scope:actor = { government_has_flag = government_is_prepublic }
}
scope:recipient = {
show_as_tooltip = {
change_government = peasantrepublic_government
create_title_and_vassal_change = {
type = returned
save_scope_as = change
add_claim_on_loss = no
}
primary_title = {
add_to_global_variable_list = {
name = prepublic_list
target = prev
}
}
every_vassal = {
limit = {
government_has_flag = government_is_republic
}
every_held_title = {
change_title_holder = {
holder = scope:recipient
change = scope:change
take_baronies = yes
}
}
}
resolve_title_and_vassal_change = scope:change
scope:recipient = {
show_as_tooltip = {
change_government = republic_government
create_title_and_vassal_change = {
type = returned
save_scope_as = change
add_claim_on_loss = no
}
every_vassal = {
limit = {
@ -468,15 +423,6 @@ appoint_podesta_interaction = {
auto_accept = yes
# AI
ai_potential = {
culture = {
has_cultural_parameter = can_make_republican_vassals
has_cultural_era_or_later = culture_era_high_medieval
}
primary_title.tier > tier_county
}
ai_target_quick_trigger = {
adult = yes
}