character interactions updating (again)
This commit is contained in:
parent
068d323484
commit
568b018fc5
29 changed files with 4043 additions and 1867 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -37,6 +37,7 @@ ce1_ask_to_promote_legend_interaction = {
|
|||
text = recipient_already_promoting_legend_tt
|
||||
NOT = { exists = promoted_legend }
|
||||
}
|
||||
NOT = { is_at_war_with = scope:puppet_or_actor }
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = recipient_close_or_neighbor_tt
|
||||
|
|
@ -95,6 +96,13 @@ ce1_ask_to_promote_legend_interaction = {
|
|||
}
|
||||
desc = TIER_REASON_EMPEROR
|
||||
}
|
||||
modifier = {
|
||||
add = -40
|
||||
scope:recipient.primary_title = {
|
||||
tier = 6
|
||||
}
|
||||
desc = TIER_REASON_HEGEMON
|
||||
}
|
||||
## Legend
|
||||
# How cool is the legend?
|
||||
modifier = {
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@ offer_vassalization_interaction = {
|
|||
icon = icon_vassal
|
||||
|
||||
desc = offer_vassalization_interaction_desc
|
||||
greeting = positive
|
||||
notification_text = OFFER_VASSALIZATION_INTERACTION_NOTIFICATION
|
||||
|
||||
ai_targets = {
|
||||
ai_recipients = neighboring_rulers
|
||||
|
|
@ -122,9 +124,6 @@ offer_vassalization_interaction = {
|
|||
}
|
||||
}
|
||||
|
||||
greeting = positive
|
||||
notification_text = OFFER_VASSALIZATION_INTERACTION_NOTIFICATION
|
||||
|
||||
cost = {
|
||||
influence = {
|
||||
value = 0
|
||||
|
|
@ -396,6 +395,16 @@ offer_vassalization_interaction = {
|
|||
opinion_target = scope:actor
|
||||
multiplier = 1
|
||||
}
|
||||
|
||||
#GG modifier
|
||||
modifier = {
|
||||
add = -50
|
||||
OR = {
|
||||
gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:actor SECOND = scope:recipient }
|
||||
scope:recipient = { is_gg_undecided_trigger = yes }
|
||||
}
|
||||
desc = RECIPIENT_IS_NOT_YOUR_GG
|
||||
}
|
||||
}
|
||||
|
||||
# Low starting obligations
|
||||
|
|
@ -1149,7 +1158,7 @@ force_vote_in_succession_election_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_gain
|
||||
|
|
@ -1159,6 +1168,82 @@ force_vote_in_succession_election_interaction = {
|
|||
}
|
||||
}
|
||||
|
||||
force_assembly_vote_interaction = {
|
||||
category = interaction_category_diplomacy
|
||||
filter_tags = { assembly_interaction }
|
||||
special_interaction = force_assembly_vote
|
||||
icon = scroll_scales
|
||||
|
||||
greeting = positive
|
||||
notification_text = FORCE_ASSEMBLY_VOTE_INTERACTION_NOTIFICATION
|
||||
force_notification = yes
|
||||
|
||||
desc = force_assembly_vote_interaction_desc
|
||||
|
||||
auto_accept = yes
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
custom_description = {
|
||||
text = must_have_usable_hook_blocker
|
||||
subject = scope:actor
|
||||
object = scope:recipient
|
||||
|
||||
scope:actor = {
|
||||
has_usable_hook = scope:recipient
|
||||
}
|
||||
}
|
||||
|
||||
custom_description = {
|
||||
text = must_have_ongoing_session
|
||||
|
||||
scope:actor = {
|
||||
ongoing_voting_session = yes
|
||||
}
|
||||
}
|
||||
|
||||
custom_description = {
|
||||
text = target_already_forced
|
||||
object = scope:recipient
|
||||
|
||||
scope:recipient = {
|
||||
is_forced_voter = no
|
||||
}
|
||||
}
|
||||
|
||||
custom_description = {
|
||||
text = target_not_law_proposer
|
||||
object = scope:recipient
|
||||
|
||||
NOT = { scope:actor.law_proposer ?= scope:recipient }
|
||||
}
|
||||
}
|
||||
|
||||
is_highlighted = {
|
||||
scope:actor = {
|
||||
has_usable_hook = scope:recipient
|
||||
ongoing_voting_session = yes
|
||||
}
|
||||
}
|
||||
|
||||
should_use_extra_icon = {
|
||||
scope:actor = { has_usable_hook = scope:recipient }
|
||||
}
|
||||
extra_icon = "gfx/interface/icons/character_interactions/hook_icon.dds"
|
||||
|
||||
on_accept = {
|
||||
scope:actor = {
|
||||
send_interface_message = {
|
||||
type = event_title_good
|
||||
title = force_assembly_vote_interaction
|
||||
right_icon = scope:recipient
|
||||
|
||||
use_hook = scope:recipient
|
||||
custom_tooltip = msg_force_assembly_vote_message
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
set_primary_spouse_interaction = {
|
||||
category = interaction_category_diplomacy
|
||||
desc = set_primary_spouse_interaction_desc
|
||||
|
|
@ -1610,7 +1695,7 @@ grant_independence_interaction = {
|
|||
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = medium_unity_loss
|
||||
|
|
@ -1723,6 +1808,10 @@ expose_secret_interaction = {
|
|||
every_known_secret = {
|
||||
limit = {
|
||||
secret_owner = scope:recipient
|
||||
NOR = {
|
||||
secret_target ?= scope:puppet_or_actor
|
||||
any_secret_participant = { this = scope:puppet_or_actor }
|
||||
}
|
||||
}
|
||||
expose_secret = scope:puppet_or_actor
|
||||
}
|
||||
|
|
@ -1793,7 +1882,7 @@ expose_secret_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = major_unity_loss
|
||||
|
|
@ -1924,6 +2013,22 @@ expose_secret_interaction = {
|
|||
evaluate_action_decreasing_house_unity = {
|
||||
VALUE = 100
|
||||
}
|
||||
|
||||
modifier = {
|
||||
NOT = { exists = scope:target }
|
||||
scope:recipient = {
|
||||
NOT = {
|
||||
any_secret = {
|
||||
is_known_by = scope:puppet_or_actor
|
||||
NOR = {
|
||||
secret_target ?= scope:puppet_or_actor
|
||||
any_secret_participant = { this = scope:puppet_or_actor }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -182,6 +182,15 @@
|
|||
empire = 12
|
||||
hegemony = 12
|
||||
}
|
||||
ai_frequency_by_tier_government_override = {
|
||||
government = merchant_government
|
||||
barony = 0
|
||||
county = 108
|
||||
duchy = 0
|
||||
kingdom = 0
|
||||
empire = 0
|
||||
hegemony = 0
|
||||
}
|
||||
|
||||
ai_will_do = {
|
||||
base = 0
|
||||
|
|
@ -324,8 +333,6 @@
|
|||
has_relation_lover = scope:actor
|
||||
has_relation_friend = scope:actor
|
||||
has_secret_relation_lover = scope:actor
|
||||
has_relation_soulmate = scope:actor
|
||||
has_relation_best_friend = scope:actor
|
||||
is_child_of = scope:actor
|
||||
}
|
||||
}
|
||||
|
|
@ -597,6 +604,7 @@ invite_to_court_interaction = {
|
|||
desc = invite_to_court_interaction_desc
|
||||
|
||||
is_shown = {
|
||||
scope:actor = { is_ruler = yes }
|
||||
scope:recipient = {
|
||||
NOR = {
|
||||
is_courtier_of = scope:actor
|
||||
|
|
@ -665,17 +673,13 @@ invite_to_court_interaction = {
|
|||
|
||||
#Pay som gold to persuade a wandering character to come to your court
|
||||
send_option = {
|
||||
is_shown = {
|
||||
exists = scope:recipient
|
||||
}
|
||||
is_shown = { exists = scope:recipient }
|
||||
flag = cover_travel_expenses
|
||||
localization = COVER_TRAVEL_EXPENSES
|
||||
}
|
||||
send_option = { # EP3 Influence
|
||||
is_shown = { # Actor must have a government that uses influence
|
||||
scope:actor = {
|
||||
government_has_flag = government_has_influence
|
||||
}
|
||||
scope:actor = { government_has_flag = government_has_influence }
|
||||
}
|
||||
is_valid = {
|
||||
# Actor has enough influence
|
||||
|
|
@ -688,9 +692,7 @@ invite_to_court_interaction = {
|
|||
}
|
||||
send_option = {
|
||||
is_valid = {
|
||||
scope:actor = {
|
||||
has_usable_hook = scope:recipient
|
||||
}
|
||||
scope:actor = { has_usable_hook = scope:recipient }
|
||||
}
|
||||
flag = hook
|
||||
localization = SCHEME_HOOK
|
||||
|
|
@ -714,57 +716,90 @@ invite_to_court_interaction = {
|
|||
}
|
||||
|
||||
on_accept = {
|
||||
hidden_effect = {
|
||||
scope:recipient = {
|
||||
set_variable = {
|
||||
name = invite_to_court_cooldown
|
||||
years = 5
|
||||
}
|
||||
}
|
||||
|
||||
# Message relevant parties
|
||||
liege ?= {
|
||||
if = {
|
||||
limit = {
|
||||
exists = scope:recipient.liege
|
||||
NOT = { government_has_flag = government_is_merchant }
|
||||
}
|
||||
scope:recipient.liege = {
|
||||
send_interface_message = {
|
||||
type = event_generic_neutral
|
||||
title = msg_courtier_left_court_interaction_title
|
||||
|
||||
right_icon = scope:recipient
|
||||
|
||||
show_as_tooltip = {
|
||||
remove_courtier_or_guest = scope:recipient
|
||||
show_as_tooltip = { remove_courtier_or_guest = scope:recipient }
|
||||
}
|
||||
}
|
||||
else = {
|
||||
send_interface_message = {
|
||||
type = event_generic_bad
|
||||
title = msg_courtier_left_court_interaction_merchant_title
|
||||
right_icon = scope:recipient
|
||||
show_as_tooltip = { remove_courtier_or_guest = scope:recipient }
|
||||
}
|
||||
}
|
||||
# House Relation impact
|
||||
if = { # Only change house relations w vassals or below
|
||||
limit = { this != scope:actor.liege }
|
||||
house ?= {
|
||||
if = {
|
||||
limit = { this != scope:actor.house }
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { has_house_relation_with = scope:actor.house }
|
||||
}
|
||||
set_house_relation = {
|
||||
target = scope:actor.house
|
||||
level = quarrel
|
||||
description = house_relation_poached_talent_desc
|
||||
}
|
||||
}
|
||||
else = {
|
||||
change_house_relation_effect = {
|
||||
HOUSE = scope:actor.house
|
||||
VALUE = house_relation_damage_minor_value
|
||||
REASON = poached_talent
|
||||
CHAR = scope:actor
|
||||
TARGET_CHAR = scope:recipient.liege
|
||||
TITLE = scope:dummy_gender
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
scope:actor = {
|
||||
send_interface_message = {
|
||||
type = event_generic_neutral
|
||||
title = invite_to_court_interaction_notification
|
||||
right_icon = scope:recipient
|
||||
|
||||
scope:recipient = {
|
||||
every_traveling_family_member = {
|
||||
scope:actor = { add_courtier = prev }
|
||||
hidden_effect = {
|
||||
return_to_court = yes
|
||||
hidden_effect = { return_to_court = yes }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = { always = scope:hook }
|
||||
scope:actor = {
|
||||
use_hook = scope:recipient
|
||||
scope:actor = { use_hook = scope:recipient }
|
||||
}
|
||||
if = {
|
||||
limit = { government_has_flag = government_uses_company_sentiment }
|
||||
house ?= {
|
||||
add_unity_value = {
|
||||
value = minor_unity_loss
|
||||
character = scope:recipient
|
||||
desc = merchant_invite_associate_loss
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if = {
|
||||
limit = { always = scope:cover_travel_expenses }
|
||||
|
|
@ -784,7 +819,7 @@ invite_to_court_interaction = {
|
|||
}
|
||||
|
||||
ai_accept = {
|
||||
base = -50
|
||||
base = -80
|
||||
|
||||
#Opinions
|
||||
opinion_modifier = {
|
||||
|
|
@ -964,18 +999,14 @@ invite_to_court_interaction = {
|
|||
add = -50
|
||||
desc = AI_INSPIRED
|
||||
inspiration ?= {
|
||||
NOT = {
|
||||
exists = inspiration_sponsor
|
||||
}
|
||||
NOT = { exists = inspiration_sponsor }
|
||||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
add = -500
|
||||
desc = AI_SPONSORED_INSPIRATION
|
||||
inspiration ?= {
|
||||
exists = inspiration_sponsor
|
||||
}
|
||||
inspiration ?= { exists = inspiration_sponsor }
|
||||
}
|
||||
|
||||
modifier = {
|
||||
|
|
@ -991,9 +1022,7 @@ invite_to_court_interaction = {
|
|||
is_adult = no
|
||||
any_memory = {
|
||||
memory_type = family_castration_fled_memory
|
||||
memory_participant:castrator ?= {
|
||||
this = scope:actor
|
||||
}
|
||||
memory_participant:castrator ?= { this = scope:actor }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1011,9 +1040,7 @@ invite_to_court_interaction = {
|
|||
add = scope:actor.diplomacy
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
faith = scope:actor.faith
|
||||
}
|
||||
limit = { faith = scope:actor.faith }
|
||||
add = 10
|
||||
}
|
||||
else_if = {
|
||||
|
|
@ -1029,16 +1056,12 @@ invite_to_court_interaction = {
|
|||
add = 5
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
culture = scope:actor.culture
|
||||
}
|
||||
limit = { culture = scope:actor.culture }
|
||||
add = 10
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
culture = {
|
||||
has_same_culture_heritage = scope:actor.culture
|
||||
}
|
||||
culture = { has_same_culture_heritage = scope:actor.culture }
|
||||
}
|
||||
add = 5
|
||||
}
|
||||
|
|
@ -1074,15 +1097,11 @@ invite_to_court_interaction = {
|
|||
add = {
|
||||
value = 20
|
||||
if = {
|
||||
limit = {
|
||||
has_trait = greedy
|
||||
}
|
||||
limit = { has_trait = greedy }
|
||||
multiply = 1.5
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_trait = generous
|
||||
}
|
||||
limit = { has_trait = generous }
|
||||
multiply = 0.5
|
||||
}
|
||||
}
|
||||
|
|
@ -1174,15 +1193,47 @@ invite_to_court_interaction = {
|
|||
multiply = 0.5
|
||||
}
|
||||
desc = AI_HOUSE_UNITY
|
||||
scope:actor = { government_has_flag = government_is_clan }
|
||||
scope:actor = {
|
||||
government_has_flag = government_uses_house_unity
|
||||
exists = house
|
||||
exists = scope:actor.house
|
||||
house = scope:actor.house
|
||||
house = {
|
||||
OR = {
|
||||
has_house_unity_stage = harmonious
|
||||
has_house_unity_stage = friendly
|
||||
}
|
||||
house ?= {
|
||||
this = scope:actor.house
|
||||
house_unity_is_positive_trigger = yes
|
||||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
add = {
|
||||
value = scope:actor.house.house_unity_value
|
||||
multiply = 0.5
|
||||
}
|
||||
desc = AI_COMPANY_DIRECTION
|
||||
scope:actor = {
|
||||
government_has_flag = government_uses_company_sentiment
|
||||
exists = house
|
||||
}
|
||||
house ?= {
|
||||
this = scope:actor.house
|
||||
house_unity_is_positive_trigger = yes
|
||||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
add = 50
|
||||
desc = AI_RECIPIENT_COMPANY_SENTIMENT
|
||||
scope:recipient.liege ?= {
|
||||
government_has_flag = government_is_merchant
|
||||
house ?= { has_house_unity_stage = rapacious_cs }
|
||||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
add = 20
|
||||
desc = AI_RECIPIENT_COMPANY_SENTIMENT_OPPORTUNISTIC
|
||||
scope:recipient.liege ?= {
|
||||
government_has_flag = government_is_merchant
|
||||
house ?= { has_house_unity_stage = opportunistic_cs }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1238,9 +1289,7 @@ invite_to_court_interaction = {
|
|||
}
|
||||
|
||||
modifier = {
|
||||
scope:actor.culture = {
|
||||
has_cultural_parameter = invite_courtiers_reasons
|
||||
}
|
||||
scope:actor.culture = { has_cultural_parameter = invite_courtiers_reasons }
|
||||
add = 15
|
||||
desc = invite_courtiers_additional_reason
|
||||
}
|
||||
|
|
@ -1254,7 +1303,57 @@ invite_to_court_interaction = {
|
|||
add = -200
|
||||
desc = cid_1010_no_invite_var_desc
|
||||
}
|
||||
}
|
||||
|
||||
# #Guelphs & Ghibellines
|
||||
# modifier = {
|
||||
# scope:recipient = {
|
||||
# has_opinion_modifier = {
|
||||
# modifier = banished_me
|
||||
# target = scope:actor
|
||||
# }
|
||||
# }
|
||||
# add = -500
|
||||
# desc = RECIPIENT_WAS_BANISHED_BY_ACTOR
|
||||
# }
|
||||
# modifier = {
|
||||
# scope:actor = { is_ghibelline_trigger = yes }
|
||||
# scope:recipient = { exists = var:displaced_ghibelline_ruler }
|
||||
# add = 100
|
||||
# desc = RECIPIENT_WAS_GHIBELLINE_SIDE
|
||||
# }
|
||||
# modifier = {
|
||||
# scope:actor = { is_guelph_trigger = yes }
|
||||
# scope:recipient = { exists = var:displaced_guelph_ruler }
|
||||
# add = 100
|
||||
# desc = RECIPIENT_WAS_GUELPH_SIDE
|
||||
# }
|
||||
# modifier = {
|
||||
# scope:actor = { is_ghibelline_trigger = yes }
|
||||
# scope:recipient = { exists = var:displaced_guelph_ruler }
|
||||
# add = -200
|
||||
# desc = RECIPIENT_WAS_GUELPH_SIDE
|
||||
# }
|
||||
# modifier = {
|
||||
# scope:actor = { is_guelph_trigger = yes }
|
||||
# scope:recipient = { exists = var:displaced_ghibelline_ruler }
|
||||
# add = -200
|
||||
# desc = RECIPIENT_WAS_GHIBELLINE_SIDE
|
||||
# }
|
||||
# modifier = {
|
||||
# OR = {
|
||||
# AND = {
|
||||
# scope:actor = { is_guelph_trigger = yes }
|
||||
# scope:recipient.var:displaced_ghibelline_ruler ?= scope:actor
|
||||
# }
|
||||
# AND = {
|
||||
# scope:actor = { is_ghibelline_trigger = yes }
|
||||
# scope:recipient.var:displaced_guelph_ruler ?= scope:actor
|
||||
# }
|
||||
# }
|
||||
# add = -1000
|
||||
# desc = RECIPIENT_WAS_DISPLACED_BY_ACTOR
|
||||
# }
|
||||
# }
|
||||
|
||||
auto_accept = {
|
||||
custom_description = {
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ request_culture_conversion_interaction = {
|
|||
|
||||
desc = ask_for_conversion_interaction_desc
|
||||
|
||||
notification_text = ask_for_culture_conversion_interaction_notice
|
||||
|
||||
hidden = yes
|
||||
|
||||
is_shown = {
|
||||
|
|
|
|||
|
|
@ -75,6 +75,9 @@ diarch_revoke_title_interaction = {
|
|||
prompt = RETRACT_VASSAL_SELECT_VASSAL_TO_RETRACT
|
||||
|
||||
is_available = {
|
||||
liege ?= {
|
||||
has_diarchy_parameter = unlock_diarch_revoke_title_interaction
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { is_ai = yes }
|
||||
is_diarch = yes
|
||||
|
|
@ -82,9 +85,6 @@ diarch_revoke_title_interaction = {
|
|||
# Loyal diarchs don't engage in skullduggery.
|
||||
diarch_loyalty < diarch_loyalty_visibly_loyal_threshold
|
||||
}
|
||||
liege ?= {
|
||||
has_diarchy_parameter = unlock_diarch_revoke_title_interaction
|
||||
}
|
||||
# If you're not in a diarchy, we don't care.
|
||||
OR = {
|
||||
is_designated_diarch = yes
|
||||
|
|
@ -1828,6 +1828,7 @@ diarch_imprison_interaction = {
|
|||
desc = AI_PRISON_FEUDAL_COMPLEX_PERK
|
||||
scope:actor = {
|
||||
has_perk = prison_feudal_complex_perk
|
||||
NOT = { government_has_flag = government_is_merchant }
|
||||
}
|
||||
}
|
||||
modifier = { #I am a King!
|
||||
|
|
@ -3153,6 +3154,7 @@ diarch_syphon_treasury_interaction = {
|
|||
}
|
||||
# Loyal diarchs don't engage in skullduggery.
|
||||
diarch_loyalty < diarch_loyalty_visibly_loyal_threshold
|
||||
liege ?= { has_diarchy_active_parameter = unlock_syphon_treasury_interaction }
|
||||
}
|
||||
liege ?= { has_diarchy_parameter = unlock_syphon_treasury_interaction }
|
||||
# If you're not in a diarchy, we don't care.
|
||||
|
|
@ -3306,13 +3308,13 @@ diarch_syphon_treasury_interaction = {
|
|||
min = 10
|
||||
desc = diarch_syphon_treasury_interaction.tt.success
|
||||
# Inform scope:actor what type of embezzlement they'll be pursuing.
|
||||
## Very high stewardship characters syphon development growth from a few counties.
|
||||
## Very high stewardship characters syphon prosperity growth from a few counties.
|
||||
if = {
|
||||
limit = {
|
||||
stewardship >= syphon_treasury_stewardship_very_high
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
custom_tooltip = diarch_syphon_treasury_interaction.tt.success.syphon_development_growth
|
||||
custom_tooltip = diarch_syphon_treasury_interaction.tt.success.syphon_prosperity_growth
|
||||
}
|
||||
## Alternatively, herd for nomadic rulers
|
||||
else_if = {
|
||||
|
|
@ -3380,28 +3382,28 @@ diarch_syphon_treasury_interaction = {
|
|||
}
|
||||
## Plus the maluses for the liege.
|
||||
scope:recipient = {
|
||||
# Very high stewardship characters syphon development growth from a few counties.
|
||||
# Very high stewardship characters syphon prosperity growth from a few counties.
|
||||
if = {
|
||||
limit = { scope:actor.stewardship >= syphon_treasury_stewardship_very_high }
|
||||
# Gold transfer was...
|
||||
## Very high.
|
||||
if = {
|
||||
limit = { always = scope:diarch_syphon_treasury_sum_huge }
|
||||
diarch_syphon_treasury_interaction_syphon_development_growth_effect = { LOSS = massive_development_progress_loss }
|
||||
diarch_syphon_treasury_interaction_syphon_prosperity_growth_effect = { LOSS = massive_prosperity_progress_loss }
|
||||
}
|
||||
## High.
|
||||
else_if = {
|
||||
limit = { always = scope:diarch_syphon_treasury_sum_large }
|
||||
diarch_syphon_treasury_interaction_syphon_development_growth_effect = { LOSS = major_development_progress_loss }
|
||||
diarch_syphon_treasury_interaction_syphon_prosperity_growth_effect = { LOSS = major_prosperity_progress_loss }
|
||||
}
|
||||
## Medium.
|
||||
else_if = {
|
||||
limit = { always = scope:diarch_syphon_treasury_sum_medium }
|
||||
diarch_syphon_treasury_interaction_syphon_development_growth_effect = { LOSS = medium_development_progress_loss }
|
||||
diarch_syphon_treasury_interaction_syphon_prosperity_growth_effect = { LOSS = medium_prosperity_progress_loss }
|
||||
}
|
||||
## Low.
|
||||
else = {
|
||||
diarch_syphon_treasury_interaction_syphon_development_growth_effect = { LOSS = minor_development_progress_loss }
|
||||
diarch_syphon_treasury_interaction_syphon_prosperity_growth_effect = { LOSS = minor_prosperity_progress_loss }
|
||||
}
|
||||
}
|
||||
# Alternatively, for nomadic rulers, we steal some herd
|
||||
|
|
@ -4983,6 +4985,7 @@ diarch_coup_liege_interaction = {
|
|||
pre_answer_yes_breakdown_key = diarch_coup_liege_interaction_pre_answer_yes_breakdown_key
|
||||
|
||||
desc = diarch_coup_liege_interaction_desc
|
||||
notification_text = diarch_coup_liege_interaction_notification
|
||||
|
||||
# First, grab every other powerful vassal of your liege & plonk them in a list.
|
||||
populate_recipient_list = {
|
||||
|
|
@ -6512,7 +6515,7 @@ swing_scales_currency_interaction = {
|
|||
is_shown = {
|
||||
# Filter out for the liege in vizierates - they can mulct the vizier, so we don't give them the chance to spend that gold back.
|
||||
interaction_actor_is_liege_with_vizierate_trigger = no
|
||||
NOT = { religious_head_or_challenger ?= scope:recipient }
|
||||
NOT = { scope:actor.religious_head_or_challenger ?= scope:recipient }
|
||||
}
|
||||
is_valid = {
|
||||
diarch_swing_scales_valid_shared_hof_trigger = yes
|
||||
|
|
@ -6865,16 +6868,13 @@ diarch_swing_scales_currency_interaction = {
|
|||
interface_priority = 20
|
||||
|
||||
is_available = {
|
||||
trigger_if = {
|
||||
limit = { is_ai = yes }
|
||||
is_ai = yes
|
||||
is_playable_character = no
|
||||
# Double check due to some irritating errors.
|
||||
is_diarch = yes
|
||||
liege ?= { has_active_diarchy = yes }
|
||||
# Loyal diarchs don't engage in skullduggery.
|
||||
diarch_loyalty < diarch_loyalty_visibly_loyal_threshold
|
||||
liege ?= { has_active_diarchy = yes }
|
||||
}
|
||||
is_playable_character = no
|
||||
is_ai = yes
|
||||
}
|
||||
|
||||
is_shown = {
|
||||
|
|
@ -7097,7 +7097,7 @@ diarch_swing_scales_currency_interaction = {
|
|||
}
|
||||
# HoF
|
||||
send_option = {
|
||||
is_shown = { NOT = { religious_head_or_challenger ?= scope:recipient } }
|
||||
is_shown = { NOT = { scope:actor.religious_head_or_challenger ?= scope:recipient } }
|
||||
is_valid = { diarch_swing_scales_valid_shared_hof_trigger = yes }
|
||||
# Top of the prio order for enablement.
|
||||
starts_enabled = { diarch_swing_scales_valid_shared_hof_trigger = yes }
|
||||
|
|
@ -8413,9 +8413,9 @@ liege_dismiss_vizier_interaction = {
|
|||
has_trait = vengeful
|
||||
can_set_relation_rival_trigger = { CHARACTER = scope:actor }
|
||||
}
|
||||
set_relation_rival = {
|
||||
target = scope:actor
|
||||
reason = rival_dismissed_me_from_vizierate
|
||||
set_relation_rival_effect = {
|
||||
TARGET = scope:actor
|
||||
REASON = rival_dismissed_me_from_vizierate
|
||||
}
|
||||
add_opinion = {
|
||||
target = scope:actor
|
||||
|
|
|
|||
|
|
@ -38,8 +38,9 @@ disinherit_interaction = {
|
|||
|
||||
}
|
||||
scope:recipient = {
|
||||
NOT = {
|
||||
NOR = {
|
||||
has_trait = disinherited
|
||||
has_trait = adopted_no_inheritance
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -184,7 +185,7 @@ disinherit_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = medium_unity_loss
|
||||
|
|
@ -335,10 +336,7 @@ disinherit_interaction = {
|
|||
modifier = {
|
||||
add = 100
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
has_relation_rival = scope:puppet_or_actor
|
||||
has_relation_nemesis = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -438,10 +436,7 @@ disinherit_interaction = {
|
|||
modifier = {
|
||||
factor = 0
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
has_relation_friend = scope:puppet_or_actor
|
||||
has_relation_best_friend = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -484,8 +479,9 @@ disinherit_children_interaction = {
|
|||
has_dynasty_perk = fp2_coterie_legacy_5
|
||||
}
|
||||
scope:recipient = {
|
||||
NOT = {
|
||||
NOR = {
|
||||
has_trait = disinherited
|
||||
has_trait = adopted_no_inheritance
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -592,7 +588,7 @@ disinherit_children_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_loss
|
||||
|
|
@ -654,10 +650,7 @@ disinherit_children_interaction = {
|
|||
modifier = {
|
||||
add = 100
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
has_relation_rival = scope:puppet_or_actor
|
||||
has_relation_nemesis = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -757,10 +750,7 @@ disinherit_children_interaction = {
|
|||
modifier = {
|
||||
factor = 0
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
has_relation_friend = scope:puppet_or_actor
|
||||
has_relation_best_friend = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -795,7 +785,10 @@ restore_inheritance_interaction = {
|
|||
|
||||
}
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
has_trait = disinherited
|
||||
has_trait = adopted_no_inheritance
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -836,7 +829,7 @@ restore_inheritance_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_gain
|
||||
|
|
@ -877,10 +870,7 @@ restore_inheritance_interaction = {
|
|||
modifier = {
|
||||
add = 100
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
has_relation_friend = scope:puppet_or_actor
|
||||
has_relation_best_friend = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -902,10 +892,7 @@ restore_inheritance_interaction = {
|
|||
modifier = {
|
||||
factor = 0
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
has_relation_rival = scope:puppet_or_actor
|
||||
has_relation_nemesis = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1017,7 +1004,7 @@ denounce_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_loss
|
||||
|
|
@ -1107,10 +1094,7 @@ denounce_interaction = {
|
|||
modifier = {
|
||||
add = 100
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
has_relation_rival = scope:puppet_or_actor
|
||||
has_relation_nemesis = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1195,10 +1179,7 @@ denounce_interaction = {
|
|||
modifier = {
|
||||
factor = 0
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
has_relation_friend = scope:puppet_or_actor
|
||||
has_relation_best_friend = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1266,7 +1247,7 @@ forgive_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_gain
|
||||
|
|
@ -1307,10 +1288,7 @@ forgive_interaction = {
|
|||
modifier = {
|
||||
add = 100
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
has_relation_friend = scope:puppet_or_actor
|
||||
has_relation_best_friend = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1332,10 +1310,7 @@ forgive_interaction = {
|
|||
modifier = {
|
||||
factor = 0
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
has_relation_rival = scope:puppet_or_actor
|
||||
has_relation_nemesis = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1790,7 +1765,7 @@ dynast_claim_title_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = medium_unity_loss
|
||||
|
|
@ -1970,7 +1945,7 @@ dynast_legitimize_bastard_interaction = {
|
|||
# category = interaction_category_friendly
|
||||
# interface_priority = 60
|
||||
# icon = send_to_varangian_guard_interaction
|
||||
#
|
||||
|
||||
# desc = send_to_varangian_guard_interaction_desc
|
||||
# use_diplomatic_range = no
|
||||
# common_interaction = yes
|
||||
|
|
@ -1982,7 +1957,7 @@ dynast_legitimize_bastard_interaction = {
|
|||
# dynasty ?= {
|
||||
# has_dynasty_perk = fp1_adventure_legacy_1
|
||||
# }
|
||||
#
|
||||
|
||||
# NOR = {
|
||||
# faith ?= {
|
||||
# has_doctrine_parameter = pacifist
|
||||
|
|
@ -1991,15 +1966,15 @@ dynast_legitimize_bastard_interaction = {
|
|||
# is_at_war_with = title:e_byzantium.holder
|
||||
# has_truce = title:e_byzantium.holder
|
||||
# }
|
||||
#
|
||||
|
||||
# exists = title:e_byzantium.holder
|
||||
# is_at_war = no
|
||||
# }
|
||||
# }
|
||||
#
|
||||
|
||||
# is_shown = {
|
||||
# scope:recipient != scope:puppet_or_actor
|
||||
#
|
||||
|
||||
# scope:puppet_or_actor ?= {
|
||||
# is_dynast = yes
|
||||
# dynasty ?= scope:recipient.dynasty
|
||||
|
|
@ -2021,7 +1996,7 @@ dynast_legitimize_bastard_interaction = {
|
|||
# }
|
||||
#
|
||||
# cooldown = { years = 2 }
|
||||
#
|
||||
|
||||
# is_valid_showing_failures_only = {
|
||||
# scope:puppet_or_actor = {
|
||||
# is_at_war = no
|
||||
|
|
@ -2096,7 +2071,7 @@ dynast_legitimize_bastard_interaction = {
|
|||
# send_interface_toast = {
|
||||
# type = event_toast_effect_neutral
|
||||
# title = send_to_varangian_guard_interaction_toast
|
||||
#
|
||||
|
||||
# left_icon = scope:recipient
|
||||
# right_icon = scope:emperor
|
||||
#
|
||||
|
|
@ -2113,16 +2088,16 @@ dynast_legitimize_bastard_interaction = {
|
|||
# send_interface_toast = {
|
||||
# type = event_toast_effect_neutral
|
||||
# title = send_to_varangian_guard_interaction_toast
|
||||
#
|
||||
|
||||
# left_icon = scope:recipient
|
||||
# right_icon = scope:emperor
|
||||
#
|
||||
|
||||
# custom_tooltip = send_to_varangian_guard_interaction_toast_desc
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
|
||||
# scope:recipient = {
|
||||
# save_scope_as = varangian_candidate
|
||||
#
|
||||
|
|
@ -2144,7 +2119,7 @@ dynast_legitimize_bastard_interaction = {
|
|||
# }
|
||||
#
|
||||
# # If we're a clan this interaction affects unity
|
||||
# add_clan_unity_interaction_effect = {
|
||||
# add_house_unity_interaction_effect = {
|
||||
# CHARACTER = scope:puppet_or_actor
|
||||
# TARGET = scope:recipient
|
||||
# VALUE = miniscule_unity_loss
|
||||
|
|
@ -2164,7 +2139,7 @@ dynast_legitimize_bastard_interaction = {
|
|||
# }
|
||||
#
|
||||
# auto_accept = yes
|
||||
#
|
||||
|
||||
# ai_targets = {
|
||||
# ai_recipients = children
|
||||
# max = 10
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,4 +1,9 @@
|
|||
# Be aware that the actual granting of the title happens in code!
|
||||
# Interactions for players granting titles to their vassals.
|
||||
#
|
||||
# Implementation note:
|
||||
# NPC/AI does not invoke 'grant_titles_interaction' or 'grant_governorship_interaction' by traditional means.
|
||||
# Granting titles is instead handled by custom C++ code which picks the appropriate one given character properties.
|
||||
#
|
||||
# Extra custom Grant Titles functionality:
|
||||
# - scope:government_type may be set when a specific government type will be switched to with the title grant (not set = default government type)
|
||||
#
|
||||
|
|
@ -30,9 +35,8 @@ grant_titles_interaction = {
|
|||
is_shown = {
|
||||
scope:puppet_or_actor != scope:recipient
|
||||
scope:puppet_or_actor ?= {
|
||||
NOT = {
|
||||
government_has_flag = cannot_be_vassal_or_liege
|
||||
}
|
||||
is_landless_adventurer = no
|
||||
is_landless_merchant = no
|
||||
}
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
|
|
@ -75,6 +79,7 @@ grant_titles_interaction = {
|
|||
limit = { is_ruler = no }
|
||||
is_imprisoned = no
|
||||
}
|
||||
NOT = { is_imprisoned_by = scope:puppet_or_actor }
|
||||
# DON'T TAKE OTHER PLAYERS' ACCLAIMED KNIGHTS
|
||||
custom_description = {
|
||||
text = grant_title_stealing_acclaimed_knight
|
||||
|
|
@ -142,6 +147,78 @@ grant_titles_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
# When republics grant titles to other republics
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:actor = { government_has_flag = government_is_republic }
|
||||
scope:recipient = { government_has_flag = government_is_republic }
|
||||
scope:target = { is_noble_family_title = no } # For tooltip reasons, so we don't show more than necessary
|
||||
}
|
||||
# Republic governors can only hold titles neighboring any existing titles
|
||||
scope:recipient = {
|
||||
# Landed being granted additional land
|
||||
trigger_if = {
|
||||
limit = {
|
||||
is_landed = yes
|
||||
scope:target = { is_noble_family_title = no }
|
||||
}
|
||||
# Grant County
|
||||
trigger_if = {
|
||||
limit = { scope:target.tier = tier_county }
|
||||
republic_can_grant_county_to_landed_trigger = yes
|
||||
}
|
||||
# Grant Duchy+
|
||||
trigger_else = { republic_can_grant_duchy_or_higher_to_landed_trigger = yes }
|
||||
}
|
||||
# Landless being granted land for first time
|
||||
trigger_else = {
|
||||
# Duchy+ must be de jure above selected counties
|
||||
trigger_if = {
|
||||
limit = { scope:target.tier > tier_county }
|
||||
republic_can_grant_duchy_or_higher_to_landless_trigger = yes
|
||||
}
|
||||
# County must be neighbor or de jure below selected titles
|
||||
trigger_else = {
|
||||
custom_tooltip = {
|
||||
text = republic_title_must_be_neighboring_desc
|
||||
trigger_if = {
|
||||
limit = {
|
||||
any_in_list = {
|
||||
list = target_titles
|
||||
count > 1
|
||||
}
|
||||
}
|
||||
any_in_list = {
|
||||
list = target_titles
|
||||
count = all
|
||||
trigger_if = {
|
||||
limit = { tier = tier_barony }
|
||||
de_jure_liege = { is_in_list = target_titles }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = { tier = tier_county }
|
||||
OR = {
|
||||
any_title_to_title_neighboring_county = { is_in_list = target_titles }
|
||||
any_in_de_jure_hierarchy = {
|
||||
tier = tier_barony
|
||||
is_in_list = target_titles
|
||||
}
|
||||
}
|
||||
}
|
||||
trigger_else = {
|
||||
any_in_de_jure_hierarchy = {
|
||||
tier = tier_county
|
||||
is_in_list = target_titles
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
can_be_picked_title = {
|
||||
|
|
@ -178,6 +255,16 @@ grant_titles_interaction = {
|
|||
always = no
|
||||
}
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
tier > tier_county
|
||||
scope:recipient = { government_has_flag = government_is_herder }
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = GRANT_TITLES_ITEM_CANT_GIVE_ABOVE_COUNTY_TO_HERDER
|
||||
always = no
|
||||
}
|
||||
}
|
||||
|
||||
trigger_if = {
|
||||
limit = { is_nomad_title = yes }
|
||||
|
|
@ -258,6 +345,7 @@ grant_titles_interaction = {
|
|||
custom_description = {
|
||||
text = grant_titles_interaction_can_only_give_diarch_de_jure_liege_to_diarch
|
||||
subject = scope:puppet_or_actor.diarch
|
||||
object = scope:puppet_or_actor
|
||||
NAND = {
|
||||
# Only applies if we have an active diarchy.
|
||||
scope:puppet_or_actor = { has_active_diarchy = yes }
|
||||
|
|
@ -303,10 +391,75 @@ grant_titles_interaction = {
|
|||
|
||||
custom_description = {
|
||||
text = grant_titles_interaction_title_being_wagered
|
||||
subject = scope:puppet_or_actor
|
||||
NOT = {
|
||||
scope:target = { has_variable = wagered_county }
|
||||
}
|
||||
}
|
||||
|
||||
# When republics grant titles to other republics
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:actor = { government_has_flag = government_is_republic }
|
||||
scope:recipient = { government_has_flag = government_is_republic }
|
||||
scope:target = { is_noble_family_title = no } # For tooltip reasons, so we don't show more than necessary
|
||||
}
|
||||
# Republic governors can only hold titles neighboring any existing titles
|
||||
scope:recipient = {
|
||||
# Landed being granted additional land
|
||||
trigger_if = {
|
||||
limit = {
|
||||
is_landed = yes
|
||||
scope:target = { is_noble_family_title = no }
|
||||
}
|
||||
# Grant County
|
||||
trigger_if = {
|
||||
limit = { scope:target.tier = tier_county }
|
||||
republic_can_grant_county_to_landed_trigger = yes
|
||||
}
|
||||
# Grant Duchy+
|
||||
trigger_else = { republic_can_grant_duchy_or_higher_to_landed_trigger = yes }
|
||||
}
|
||||
# Landless being granted land for first time
|
||||
trigger_else = {
|
||||
# Duchy+ must be de jure above selected counties
|
||||
trigger_if = {
|
||||
limit = { scope:target.tier > tier_county }
|
||||
republic_can_grant_duchy_or_higher_to_landless_trigger = yes
|
||||
}
|
||||
# County must be neighbor or de jure below selected titles
|
||||
trigger_else = {
|
||||
custom_tooltip = {
|
||||
text = republic_title_must_be_neighboring_desc
|
||||
trigger_if = {
|
||||
limit = {
|
||||
any_in_list = {
|
||||
list = target_titles
|
||||
count > 0
|
||||
}
|
||||
}
|
||||
OR = {
|
||||
scope:target = {
|
||||
OR = {
|
||||
is_in_list = target_titles
|
||||
any_title_to_title_neighboring_county = { is_in_list = target_titles }
|
||||
trigger_if = {
|
||||
limit = { tier = tier_barony }
|
||||
de_jure_liege = { is_in_list = target_titles }
|
||||
}
|
||||
}
|
||||
}
|
||||
any_in_list = {
|
||||
list = target_titles
|
||||
is_de_jure_liege_or_above_target = scope:target
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
auto_accept = yes
|
||||
|
|
@ -2301,6 +2454,153 @@ grant_governorship_interaction = {
|
|||
}
|
||||
|
||||
can_be_picked_title = {
|
||||
scope:target = {
|
||||
is_leased_out = no
|
||||
|
||||
scope:recipient = {
|
||||
trigger_if = { # Governors can only be appointed to certain titles
|
||||
limit = {
|
||||
is_governor = yes
|
||||
scope:target = { is_noble_family_title = no } # For tooltip reasons, so we don't show more than necessary
|
||||
}
|
||||
custom_tooltip = { # Only one province of highest rank
|
||||
text = only_one_province_of_highest_rank_tt
|
||||
NAND = {
|
||||
highest_held_title_tier = scope:target.tier
|
||||
scope:target.tier >= main_administrative_tier
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:target.tier >= tier_duchy
|
||||
}
|
||||
scope:target = { # We make an exception if recipient controls at least one de jure county
|
||||
any_de_jure_county = {
|
||||
count < 1
|
||||
OR = {
|
||||
holder = scope:recipient
|
||||
holder = { is_vassal_or_below_of = scope:recipient }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = admin_must_be_de_jure_or_neighboring
|
||||
any_held_title = {
|
||||
OR = {
|
||||
# The target title is part of your de jure structure
|
||||
is_de_jure_liege_or_above_target = scope:target
|
||||
target_is_de_jure_liege_or_above = scope:target
|
||||
# Or is a neighboring county which de jure duchy is not part of your realm
|
||||
AND = {
|
||||
tier >= tier_county
|
||||
any_title_to_title_neighboring_county = { this = scope:target }
|
||||
scope:target = {
|
||||
tier = tier_county
|
||||
duchy = {
|
||||
OR = {
|
||||
NOT = { exists = holder }
|
||||
holder = {
|
||||
NOR = {
|
||||
is_vassal_or_below_of = scope:puppet_or_actor
|
||||
this = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
trigger_if = { # If recipient is landless and only have a family title, target title must be a duchy or above
|
||||
limit = {
|
||||
is_landless_ruler = yes
|
||||
any_held_title = { is_noble_family_title = yes }
|
||||
scope:target.tier < min_appointment_tier
|
||||
}
|
||||
primary_title.tier <= scope:target.tier
|
||||
}
|
||||
trigger_if = { # If recipient is a count, they can get only get counties within the same duchy
|
||||
limit = {
|
||||
highest_held_title_tier = tier_county
|
||||
main_administrative_tier > tier_county
|
||||
is_landed = yes
|
||||
scope:target.tier = tier_county
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = admin_count_grant_only_counties
|
||||
any_held_title = { duchy = scope:target.duchy }
|
||||
}
|
||||
}
|
||||
tgp_is_ceremonial_liege_trigger = no
|
||||
}
|
||||
|
||||
custom_tooltip = {
|
||||
text = GRANT_TITLES_ITEM_CANT_GIVE_ADMIN_PRIMARY
|
||||
this != scope:puppet_or_actor.capital_province.duchy
|
||||
}
|
||||
|
||||
trigger_if = {
|
||||
limit = { is_noble_family_title = yes }
|
||||
custom_tooltip = {
|
||||
text = GRANT_TITLES_ITEM_CANT_GIVE_NOBLE_FAMILY
|
||||
always = no
|
||||
}
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { exists = var:ceremonial_title }
|
||||
custom_tooltip = {
|
||||
text = GRANT_TITLES_ITEM_CANT_GIVE_CEREMONIAL_TITLE
|
||||
always = no
|
||||
}
|
||||
}
|
||||
|
||||
trigger_if = {
|
||||
limit = {
|
||||
list_size:target_titles > 0
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = GRANT_TITLES_ITEM_ADMIN_CANT_GIVE_MORE_THAN_ONE
|
||||
any_in_list = {
|
||||
list = target_titles
|
||||
scope:target ?= this
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
trigger_if = {
|
||||
limit = { scope:target = title:k_fashion }
|
||||
NOT = { scope:target = title:k_fashion }
|
||||
}
|
||||
}
|
||||
|
||||
custom_description = {
|
||||
text = grant_titles_interaction_can_only_give_diarch_de_jure_liege_to_diarch
|
||||
subject = scope:puppet_or_actor.diarch
|
||||
object = scope:puppet_or_actor
|
||||
NAND = {
|
||||
# Only applies if we have an active diarchy.
|
||||
scope:puppet_or_actor = { has_active_diarchy = yes }
|
||||
# Now, prevent us from giving away our diarch's land to invalidate them...
|
||||
scope:target = {
|
||||
any_dejure_vassal_title_holder = { this = scope:puppet_or_actor.diarch }
|
||||
# ... _unless_ we're giving it _to_ the diarch.
|
||||
scope:recipient != scope:puppet_or_actor.diarch
|
||||
# Plus we only care if the title is below our tier.
|
||||
tier < scope:puppet_or_actor.highest_held_title_tier
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
custom_description = {
|
||||
text = grant_titles_interaction_title_being_wagered
|
||||
subject = scope:puppet_or_actor
|
||||
NOT = {
|
||||
scope:target = { has_variable = wagered_county }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
auto_accept = yes
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ break_up_with_lover_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = miniscule_unity_loss
|
||||
|
|
|
|||
|
|
@ -247,7 +247,22 @@
|
|||
title = modify_vassal_contract_interaction_notification
|
||||
right_icon = scope:recipient
|
||||
# Add tyranny for each level increased. Can spend one hook to avoid one level of tyranny hit.
|
||||
add_tyranny = vassal_obligation_increase_tyranny_gain
|
||||
add_tyranny = {
|
||||
value = vassal_obligation_increase_tyranny_gain
|
||||
#HRE should not revoke titles from North Italians
|
||||
if = {
|
||||
limit = {
|
||||
gg_hre_causes_additional_tyranny_trigger = { TARGET = scope:recipient }
|
||||
}
|
||||
multiply = 2
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
gg_hre_causes_additional_tyranny_trigger = { TARGET = scope:recipient }
|
||||
}
|
||||
gg_untargeted_catalyst_effect = { CATALYST = catalyst_gg_imperial_overreach }
|
||||
}
|
||||
if = {
|
||||
limit = { vassal_obligation_increase_tyranny_gain != 0 }
|
||||
stress_and_fulfillment_impact = {
|
||||
|
|
@ -391,6 +406,21 @@ vassal_modify_vassal_contract_interaction = {
|
|||
}
|
||||
}
|
||||
trigger_else = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:puppet_or_actor = { government_has_flag = government_is_republic }
|
||||
}
|
||||
custom_description = {
|
||||
text = "vassal_modify_vassal_contract_republic_requires_hook"
|
||||
subject = scope:puppet_or_actor
|
||||
object = scope:recipient
|
||||
OR = {
|
||||
always = scope:hook
|
||||
always = scope:diarch
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
scope:puppet_or_actor = {
|
||||
has_changed_contract_obligation_trigger = yes
|
||||
}
|
||||
|
|
@ -1425,6 +1455,7 @@ admin_vassal_modify_vassal_contract_interaction = {
|
|||
send_option = {
|
||||
is_shown = {
|
||||
scope:puppet_or_actor = { is_diarch_of_target = scope:recipient }
|
||||
scope:recipient = { has_diarchy_parameter = diarch_gets_a_free_change_on_vassal_contract }
|
||||
}
|
||||
is_valid = {
|
||||
scope:puppet_or_actor = {
|
||||
|
|
@ -1438,6 +1469,7 @@ admin_vassal_modify_vassal_contract_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
scope:recipient = { has_diarchy_active_parameter = diarch_gets_a_free_change_on_vassal_contract }
|
||||
}
|
||||
flag = diarch
|
||||
localization = CALL_IN_DIARCH_RIGHTS
|
||||
|
|
@ -1937,6 +1969,7 @@ nomad_vassal_modify_vassal_contract_interaction = {
|
|||
send_option = {
|
||||
is_shown = {
|
||||
scope:puppet_or_actor = { is_diarch_of_target = scope:recipient }
|
||||
scope:recipient = { has_diarchy_parameter = diarch_gets_a_free_change_on_vassal_contract }
|
||||
}
|
||||
is_valid = {
|
||||
scope:puppet_or_actor = {
|
||||
|
|
@ -1950,6 +1983,7 @@ nomad_vassal_modify_vassal_contract_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
scope:recipient = { has_diarchy_active_parameter = diarch_gets_a_free_change_on_vassal_contract }
|
||||
}
|
||||
flag = diarch
|
||||
localization = CALL_IN_DIARCH_RIGHTS
|
||||
|
|
@ -2341,6 +2375,13 @@ subject_modify_tributary_contract_interaction = {
|
|||
limit = { always = scope:hook }
|
||||
use_hook = scope:recipient
|
||||
}
|
||||
else_if = {
|
||||
limit = { always = scope:gold }
|
||||
pay_short_term_gold = {
|
||||
target = scope:recipient
|
||||
gold = 100
|
||||
}
|
||||
}
|
||||
else = {
|
||||
if = {
|
||||
limit = { subject_standing < 0 } # this means we don't use subject standing
|
||||
|
|
@ -2355,12 +2396,17 @@ subject_modify_tributary_contract_interaction = {
|
|||
}
|
||||
}
|
||||
else = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { government_has_flag = government_is_merchant }
|
||||
}
|
||||
pay_short_term_gold = {
|
||||
target = scope:recipient
|
||||
gold = major_gold_value
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
if = { # the subject tilting the contract in their favor costs Subject Standing
|
||||
limit = { scope:new_value < 0 }
|
||||
|
|
@ -2432,6 +2478,7 @@ subject_modify_tributary_contract_interaction = {
|
|||
send_option = {
|
||||
is_shown = {
|
||||
scope:puppet_or_actor = { is_diarch_of_target = scope:recipient }
|
||||
scope:recipient = { has_diarchy_parameter = diarch_gets_a_free_change_on_vassal_contract }
|
||||
}
|
||||
is_valid = {
|
||||
scope:puppet_or_actor = {
|
||||
|
|
@ -2445,10 +2492,25 @@ subject_modify_tributary_contract_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
scope:recipient = { has_diarchy_active_parameter = diarch_gets_a_free_change_on_vassal_contract }
|
||||
}
|
||||
flag = diarch
|
||||
localization = CALL_IN_DIARCH_RIGHTS
|
||||
}
|
||||
send_option = {
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
government_has_flag = government_is_merchant
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
scope:actor = {
|
||||
|
||||
}
|
||||
}
|
||||
flag = gold
|
||||
localization = REQUEST_CONTRACT_CHANGE_GOLD
|
||||
}
|
||||
should_use_extra_icon = {
|
||||
scope:puppet_or_actor = { has_usable_hook = scope:recipient }
|
||||
}
|
||||
|
|
@ -2460,12 +2522,21 @@ subject_modify_tributary_contract_interaction = {
|
|||
|
||||
# Opinion Factor
|
||||
opinion_modifier = {
|
||||
trigger = { NOT = { scope:actor = { government_has_flag = government_is_merchant } } }
|
||||
who = scope:recipient
|
||||
opinion_target = scope:puppet_or_actor
|
||||
multiplier = 1
|
||||
desc = AI_OPINION_REASON
|
||||
}
|
||||
|
||||
opinion_modifier = {
|
||||
trigger = { scope:actor = { government_has_flag = government_is_merchant } }
|
||||
who = scope:recipient
|
||||
opinion_target = scope:actor
|
||||
multiplier = 0.75
|
||||
desc = AI_OPINION_REASON
|
||||
}
|
||||
|
||||
modifier = {
|
||||
add = {
|
||||
add = scope:new_value
|
||||
|
|
@ -2482,9 +2553,31 @@ subject_modify_tributary_contract_interaction = {
|
|||
}
|
||||
multiply = 0.5
|
||||
}
|
||||
if = { # For merchants, it is a bit rougher making a difference, to see if we can force them to use gold
|
||||
limit = {
|
||||
scope:actor = {
|
||||
has_subject_contract_group = tributary_merchant
|
||||
}
|
||||
}
|
||||
multiply = 3
|
||||
}
|
||||
}
|
||||
desc = AI_CONTRACT_BALANCE
|
||||
}
|
||||
modifier = {
|
||||
scope:gold = yes
|
||||
add = 20
|
||||
desc = AI_GOLD_BALANCE
|
||||
}
|
||||
|
||||
modifier = {
|
||||
add = 15
|
||||
desc = exclusive_contracts_perk_acceptance
|
||||
scope:actor = {
|
||||
government_has_flag = government_is_merchant
|
||||
has_perk = forced_vassalage_perk
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -22,6 +22,7 @@
|
|||
ai_instant_response = yes
|
||||
|
||||
desc = make_clerical_puppet_interaction_desc
|
||||
notification_text = make_clerical_puppet_interaction_notification
|
||||
|
||||
is_available = {
|
||||
can_have_realm_priest_puppet_trigger = yes
|
||||
|
|
@ -33,6 +34,24 @@
|
|||
NOT = {
|
||||
exists = puppet:theological_agent_puppet
|
||||
}
|
||||
cp:councillor_court_chaplain ?= {
|
||||
is_available_quick = {
|
||||
ai = yes
|
||||
adult = yes
|
||||
incapable = no
|
||||
}
|
||||
NOT = { exists = puppeteer }
|
||||
}
|
||||
OR = {
|
||||
piety_level >= 2
|
||||
has_hook = cp:councillor_court_chaplain
|
||||
cp:councillor_court_chaplain = {
|
||||
has_dread_level_towards = {
|
||||
target = root
|
||||
level >= 2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -128,7 +147,7 @@
|
|||
hidden_effect = {
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = make_clerical_puppet_interaction_notification
|
||||
title = make_clerical_puppet_interaction_toast
|
||||
left_icon = scope:actor
|
||||
right_icon = scope:recipient
|
||||
set_puppet = {
|
||||
|
|
@ -259,6 +278,7 @@ make_external_clerical_puppet_interaction = {
|
|||
use_diplomatic_range = no
|
||||
|
||||
desc = make_external_clerical_puppet_interaction_desc
|
||||
notification_text = make_clerical_puppet_interaction_notification
|
||||
|
||||
is_available = {
|
||||
is_adult = yes
|
||||
|
|
@ -445,8 +465,10 @@ make_external_clerical_puppet_interaction = {
|
|||
on_accept = {
|
||||
scope:actor = {
|
||||
trigger_event = pam_interactions_events.0120
|
||||
show_as_tooltip = {
|
||||
pam_generic_set_puppet_interaction_side_effects = yes
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
custom_tooltip = set_external_clerical_puppet_tt
|
||||
}
|
||||
|
|
@ -686,6 +708,8 @@ make_external_ruler_puppet_interaction = {
|
|||
|
||||
desc = make_external_ruler_puppet_interaction_desc
|
||||
|
||||
notification_text = make_external_ruler_puppet_interaction_greetings
|
||||
|
||||
is_available = {
|
||||
is_ai = no
|
||||
trigger_if = {
|
||||
|
|
@ -965,8 +989,10 @@ make_external_ruler_puppet_interaction = {
|
|||
on_accept = {
|
||||
scope:actor = {
|
||||
trigger_event = pam_interactions_events.0121
|
||||
show_as_tooltip = {
|
||||
pam_generic_set_puppet_interaction_side_effects = yes
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
custom_tooltip = set_external_ruler_puppet_tt
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ ask_for_conversion_interaction = {
|
|||
popup_on_receive = yes
|
||||
|
||||
desc = compel_conversion_interaction_desc
|
||||
notification_text = demand_conversion_minister_rites_interaction_notice
|
||||
|
||||
hidden = yes
|
||||
|
||||
|
|
@ -2619,7 +2620,7 @@ seek_indulgences_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = medium_unity_gain
|
||||
|
|
@ -2640,7 +2641,7 @@ seek_indulgences_interaction = {
|
|||
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_loss
|
||||
|
|
@ -2667,6 +2668,15 @@ seek_indulgences_interaction = {
|
|||
empire = 36
|
||||
hegemony = 36
|
||||
}
|
||||
ai_frequency_by_tier_government_override = {
|
||||
government = merchant_government
|
||||
barony = 0
|
||||
county = 108
|
||||
duchy = 0
|
||||
kingdom = 0
|
||||
empire = 0
|
||||
hegemony = 0
|
||||
}
|
||||
|
||||
ai_will_do = {
|
||||
base = -25
|
||||
|
|
@ -3091,6 +3101,16 @@ declaration_of_repentance_interaction = {
|
|||
evaluate_action_decreasing_house_unity = {
|
||||
VALUE = -100
|
||||
}
|
||||
modifier = {
|
||||
add = 40
|
||||
scope:actor = { has_character_modifier = favored_by_pope_modifier }
|
||||
desc = FAVORED_BY_POPE
|
||||
}
|
||||
modifier = {
|
||||
add = -40
|
||||
scope:actor = { has_character_modifier = scorned_pope_modifier }
|
||||
desc = HAS_SCORNED_POPE
|
||||
}
|
||||
}
|
||||
|
||||
ai_min_reply_days = 1
|
||||
|
|
@ -3114,7 +3134,7 @@ declaration_of_repentance_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = medium_unity_gain
|
||||
|
|
@ -3133,7 +3153,7 @@ declaration_of_repentance_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_loss
|
||||
|
|
@ -3310,7 +3330,10 @@ excommunicate_interaction = {
|
|||
}
|
||||
situation:the_christian_church = { trigger_situation_catalyst = catalyst_excommunicate }
|
||||
}
|
||||
else = {
|
||||
else_if = {
|
||||
limit = {
|
||||
situation:the_christian_church = { situation_top_has_catalyst = catalyst_excommunicate_minor }
|
||||
}
|
||||
situation:the_christian_church = { trigger_situation_catalyst = catalyst_excommunicate_minor }
|
||||
}
|
||||
}
|
||||
|
|
@ -3320,7 +3343,6 @@ excommunicate_interaction = {
|
|||
REQUESTING_CHARACTER = scope:puppet_or_actor
|
||||
TARGET_CHARACTER = scope:recipient
|
||||
}
|
||||
|
||||
scope:recipient = {
|
||||
# Letter arrives a few days later; gives time for the trait to land before the player reads it.
|
||||
trigger_event = {
|
||||
|
|
@ -3328,9 +3350,8 @@ excommunicate_interaction = {
|
|||
days = 5
|
||||
}
|
||||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = medium_unity_loss
|
||||
|
|
@ -3372,7 +3393,6 @@ excommunicate_interaction = {
|
|||
scope:recipient = {
|
||||
NOR = {
|
||||
has_relation_rival = scope:puppet_or_actor
|
||||
has_relation_nemesis = scope:puppet_or_actor
|
||||
is_at_war_with = scope:puppet_or_actor
|
||||
has_character_flag = executed_own_hof_unlawfully
|
||||
has_character_flag = executed_senior_cleric_unlawfully
|
||||
|
|
@ -3465,12 +3485,12 @@ lift_excommunication_interaction = {
|
|||
NOT = {
|
||||
religious_head_or_challenger ?= scope:recipient
|
||||
}
|
||||
}
|
||||
scope:puppet_or_actor.faith ?= {
|
||||
faith ?= {
|
||||
has_doctrine = doctrine_spiritual_head
|
||||
faith_has_sacraments_central_trigger = yes
|
||||
this = scope:recipient.faith
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
has_trait = excommunicated
|
||||
this != scope:puppet_or_actor
|
||||
|
|
@ -3488,17 +3508,13 @@ lift_excommunication_interaction = {
|
|||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
scope:puppet_or_actor = {
|
||||
trigger_if = {
|
||||
limit = { scope:is_puppet_action ?= yes }
|
||||
scope:puppet_or_actor = {
|
||||
piety >= lift_excommunication_interaction_cost_value
|
||||
}
|
||||
}
|
||||
scope:puppet_or_actor = {
|
||||
highest_held_title_tier >= tier_duchy
|
||||
NOT = {
|
||||
is_at_war_with = scope:recipient
|
||||
}
|
||||
NOT = { is_at_war_with = scope:recipient }
|
||||
custom_tooltip = {
|
||||
text = HOF_INTERACTION_UNREFORMED_FAITH
|
||||
NOT = {
|
||||
|
|
@ -3536,21 +3552,13 @@ lift_excommunication_interaction = {
|
|||
scope:puppet_or_actor = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
this = scope:recipient
|
||||
}
|
||||
any_character_situation = {
|
||||
situation_type = the_christian_church
|
||||
}
|
||||
situation:the_christian_church ?= {
|
||||
situation_top_has_catalyst = catalyst_lift_excommunication
|
||||
}
|
||||
NOT = { this = scope:recipient }
|
||||
any_character_situation = { situation_type = the_christian_church }
|
||||
situation:the_christian_church ?= { situation_top_has_catalyst = catalyst_lift_excommunication }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:recipient = {
|
||||
highest_held_title_tier >= tier_kingdom
|
||||
}
|
||||
scope:recipient = { highest_held_title_tier >= tier_kingdom }
|
||||
}
|
||||
situation:the_christian_church = { trigger_situation_catalyst = catalyst_lift_excommunication }
|
||||
}
|
||||
|
|
@ -3561,7 +3569,7 @@ lift_excommunication_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = medium_unity_gain
|
||||
|
|
@ -3637,7 +3645,6 @@ lift_excommunication_interaction = {
|
|||
scope:recipient = {
|
||||
NOR = { # Only do this for friends
|
||||
has_relation_friend = scope:puppet_or_actor
|
||||
has_relation_best_friend = scope:puppet_or_actor
|
||||
is_allied_to = scope:puppet_or_actor
|
||||
has_variable = pam_turned_the_other_cheek_var
|
||||
scope:puppet_or_actor = { # Unless you are in the Concord phase
|
||||
|
|
@ -4042,6 +4049,16 @@ request_excommunication_interaction = {
|
|||
has_trait = consecrated_blood
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
add = 40
|
||||
scope:actor = { has_character_modifier = favored_by_pope_modifier }
|
||||
desc = FAVORED_BY_POPE
|
||||
}
|
||||
modifier = {
|
||||
add = -40
|
||||
scope:actor = { has_character_modifier = scorned_pope_modifier }
|
||||
desc = HAS_SCORNED_POPE
|
||||
}
|
||||
modifier = {
|
||||
add = 20
|
||||
scope:puppet_or_actor = { # PAM - Reform phase
|
||||
|
|
@ -4162,7 +4179,7 @@ request_excommunication_interaction = {
|
|||
}
|
||||
}
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = medium_unity_loss
|
||||
|
|
@ -4201,7 +4218,7 @@ request_excommunication_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = miniscule_unity_gain
|
||||
|
|
@ -4229,6 +4246,15 @@ request_excommunication_interaction = {
|
|||
empire = 12
|
||||
hegemony = 12
|
||||
}
|
||||
ai_frequency_by_tier_government_override = {
|
||||
government = merchant_government
|
||||
barony = 0
|
||||
county = 144
|
||||
duchy = 0
|
||||
kingdom = 0
|
||||
empire = 0
|
||||
hegemony = 0
|
||||
}
|
||||
|
||||
ai_will_do = {
|
||||
base = 25
|
||||
|
|
@ -4243,7 +4269,6 @@ request_excommunication_interaction = {
|
|||
scope:secondary_recipient = {
|
||||
NOR = {
|
||||
has_relation_rival = scope:puppet_or_actor
|
||||
has_relation_nemesis = scope:puppet_or_actor
|
||||
is_at_war_with = scope:puppet_or_actor
|
||||
has_character_flag = executed_own_hof_unlawfully
|
||||
has_character_flag = executed_senior_cleric_unlawfully
|
||||
|
|
@ -4374,6 +4399,7 @@ send_to_holy_order_interaction = {
|
|||
limit = { scope:is_puppet_action ?= yes }
|
||||
scope:puppet_or_actor = {
|
||||
dynasty ?= { dynasty_prestige >= take_vows_dynasty_prestige_cost_value }
|
||||
prestige >= take_vows_prestige_cost_value
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
|
|
@ -4480,6 +4506,13 @@ send_to_holy_order_interaction = {
|
|||
multiply = 0
|
||||
}
|
||||
}
|
||||
prestige = {
|
||||
value = take_vows_prestige_cost_value
|
||||
if = {
|
||||
limit = { scope:is_puppet_action ?= yes }
|
||||
multiply = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
on_send = {
|
||||
|
|
@ -4514,6 +4547,15 @@ send_to_holy_order_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { take_vows_prestige_cost_value > 0 }
|
||||
add_prestige = {
|
||||
value = {
|
||||
value = take_vows_prestige_cost_value
|
||||
multiply = -1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:puppet_or_actor = {
|
||||
|
|
@ -4568,7 +4610,11 @@ send_to_holy_order_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
scope:puppet_or_actor = { government_has_flag = government_uses_house_unity }
|
||||
}
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_gain
|
||||
|
|
@ -4576,6 +4622,7 @@ send_to_holy_order_interaction = {
|
|||
REVERSE_NON_HOUSE_TARGET = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
on_decline = {
|
||||
scope:puppet_or_actor = {
|
||||
|
|
@ -4632,7 +4679,7 @@ send_to_holy_order_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_loss
|
||||
|
|
@ -4719,8 +4766,6 @@ send_to_holy_order_interaction = {
|
|||
has_relation_lover = scope:puppet_or_actor.cp:councillor_court_chaplain
|
||||
has_relation_friend = scope:puppet_or_actor.cp:councillor_court_chaplain
|
||||
has_secret_relation_lover = scope:puppet_or_actor.cp:councillor_court_chaplain
|
||||
has_relation_soulmate = scope:puppet_or_actor.cp:councillor_court_chaplain
|
||||
has_relation_best_friend = scope:puppet_or_actor.cp:councillor_court_chaplain
|
||||
opinion = {
|
||||
target = scope:puppet_or_actor.cp:councillor_court_chaplain
|
||||
value >= very_high_positive_opinion
|
||||
|
|
@ -5018,6 +5063,15 @@ send_to_holy_order_interaction = {
|
|||
empire = 24
|
||||
hegemony = 24
|
||||
}
|
||||
ai_frequency_by_tier_government_override = {
|
||||
government = merchant_government
|
||||
barony = 0
|
||||
county = 432
|
||||
duchy = 0
|
||||
kingdom = 0
|
||||
empire = 0
|
||||
hegemony = 0
|
||||
}
|
||||
|
||||
ai_will_do = {
|
||||
base = 0
|
||||
|
|
@ -5030,10 +5084,7 @@ send_to_holy_order_interaction = {
|
|||
modifier = { # Try to send rivals
|
||||
add = 100
|
||||
scope:puppet_or_actor = {
|
||||
OR = {
|
||||
has_relation_rival = scope:recipient
|
||||
has_relation_nemesis = scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -5270,6 +5321,7 @@ take_vows_interaction = {
|
|||
limit = { scope:is_puppet_action ?= yes }
|
||||
scope:puppet_or_actor = {
|
||||
dynasty ?= { dynasty_prestige >= take_vows_dynasty_prestige_cost_value }
|
||||
prestige >= take_vows_prestige_cost_value
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
|
|
@ -5387,6 +5439,13 @@ take_vows_interaction = {
|
|||
multiply = 0
|
||||
}
|
||||
}
|
||||
prestige = {
|
||||
value = take_vows_prestige_cost_value
|
||||
if = {
|
||||
limit = { scope:is_puppet_action ?= yes }
|
||||
multiply = 0
|
||||
}
|
||||
}
|
||||
gold = {
|
||||
value = 0
|
||||
if = {
|
||||
|
|
@ -5428,6 +5487,15 @@ take_vows_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { take_vows_prestige_cost_value > 0 }
|
||||
add_prestige = {
|
||||
value = {
|
||||
value = take_vows_prestige_cost_value
|
||||
multiply = -1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:puppet_or_actor = {
|
||||
|
|
@ -5567,7 +5635,7 @@ take_vows_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_gain
|
||||
|
|
@ -5632,7 +5700,7 @@ take_vows_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_loss
|
||||
|
|
@ -5736,8 +5804,6 @@ take_vows_interaction = {
|
|||
has_relation_lover = scope:puppet_or_actor.cp:councillor_court_chaplain
|
||||
has_relation_friend = scope:puppet_or_actor.cp:councillor_court_chaplain
|
||||
has_secret_relation_lover = scope:puppet_or_actor.cp:councillor_court_chaplain
|
||||
has_relation_soulmate = scope:puppet_or_actor.cp:councillor_court_chaplain
|
||||
has_relation_best_friend = scope:puppet_or_actor.cp:councillor_court_chaplain
|
||||
opinion = {
|
||||
target = scope:puppet_or_actor.cp:councillor_court_chaplain
|
||||
value >= very_high_positive_opinion
|
||||
|
|
@ -6204,10 +6270,7 @@ take_vows_interaction = {
|
|||
modifier = { # Try to send rivals
|
||||
add = 100
|
||||
scope:puppet_or_actor = {
|
||||
OR = {
|
||||
has_relation_rival = scope:recipient
|
||||
has_relation_nemesis = scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -6500,7 +6563,7 @@ temporal_condemnation_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = medium_unity_gain
|
||||
|
|
@ -6574,16 +6637,30 @@ host_honored_guest_interaction = {
|
|||
is_available = {
|
||||
trigger_if = {
|
||||
limit = { is_ai = yes }
|
||||
OR = {
|
||||
AND = {
|
||||
rite ?= { rite_has_parameter = host_honored_guests_active }
|
||||
piety >= major_piety_value
|
||||
}
|
||||
AND = {
|
||||
NOT = { rite ?= { rite_has_parameter = host_honored_guests_active } }
|
||||
prestige >= major_prestige_value
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
is_shown = {
|
||||
scope:recipient != scope:puppet_or_actor
|
||||
scope:puppet_or_actor ?= {
|
||||
is_playable_character = yes
|
||||
is_adult = yes
|
||||
OR = {
|
||||
rite ?= {
|
||||
rite_has_parameter = host_honored_guests_active
|
||||
}
|
||||
culture = { has_cultural_parameter = caravanserai_hospitality }
|
||||
}
|
||||
is_playable_character = yes
|
||||
is_adult = yes
|
||||
}
|
||||
|
|
@ -6684,11 +6761,22 @@ host_honored_guest_interaction = {
|
|||
}
|
||||
# Spend piety based on recipient's tier.
|
||||
scope:puppet_or_actor = {
|
||||
if = {
|
||||
limit = {
|
||||
rite = { rite_has_parameter = host_honored_guests_active }
|
||||
}
|
||||
add_piety = {
|
||||
value = 0
|
||||
subtract = scope:recipient.tier_scaled_piety_value
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_prestige = {
|
||||
value = 0
|
||||
subtract = scope:recipient.tier_scaled_prestige_value
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Increase opinion of recipient.
|
||||
add_opinion = {
|
||||
|
|
@ -6710,10 +6798,11 @@ host_honored_guest_interaction = {
|
|||
limit = {
|
||||
OR = {
|
||||
has_trait = cynical
|
||||
NOT = {
|
||||
NOR = {
|
||||
rite = {
|
||||
rite_has_parameter = host_honored_guests_active
|
||||
}
|
||||
culture = { has_cultural_parameter = caravanserai_hospitality }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6732,7 +6821,7 @@ host_honored_guest_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = miniscule_unity_gain
|
||||
|
|
@ -8015,7 +8104,7 @@ hof_ask_for_claim_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:secondary_recipient
|
||||
VALUE = minor_unity_loss
|
||||
|
|
@ -8431,7 +8520,7 @@ sun_trial_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = major_unity_loss
|
||||
|
|
@ -8546,7 +8635,7 @@ literalist_debate_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = medium_unity_loss
|
||||
|
|
@ -9522,6 +9611,7 @@ take_monastic_vows_interaction = {
|
|||
limit = { scope:is_puppet_action ?= yes }
|
||||
scope:puppet_or_actor = {
|
||||
dynasty ?= { dynasty_prestige >= take_vows_dynasty_prestige_cost_value }
|
||||
prestige >= take_vows_prestige_cost_value
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
|
|
@ -9664,6 +9754,13 @@ take_monastic_vows_interaction = {
|
|||
multiply = 0
|
||||
}
|
||||
}
|
||||
prestige = {
|
||||
value = take_vows_prestige_cost_value
|
||||
if = {
|
||||
limit = { scope:is_puppet_action ?= yes }
|
||||
multiply = 0
|
||||
}
|
||||
}
|
||||
gold = {
|
||||
value = 0
|
||||
if = {
|
||||
|
|
@ -9708,6 +9805,15 @@ take_monastic_vows_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { take_vows_prestige_cost_value > 0 }
|
||||
add_prestige = {
|
||||
value = {
|
||||
value = take_vows_prestige_cost_value
|
||||
multiply = -1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:secondary_recipient = {
|
||||
|
|
@ -9779,7 +9885,7 @@ take_monastic_vows_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_gain
|
||||
|
|
@ -9873,7 +9979,7 @@ take_monastic_vows_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_loss
|
||||
|
|
@ -10000,8 +10106,6 @@ take_monastic_vows_interaction = {
|
|||
has_relation_lover = scope:puppet_or_actor.cp:councillor_court_chaplain
|
||||
has_relation_friend = scope:puppet_or_actor.cp:councillor_court_chaplain
|
||||
has_secret_relation_lover = scope:puppet_or_actor.cp:councillor_court_chaplain
|
||||
has_relation_soulmate = scope:puppet_or_actor.cp:councillor_court_chaplain
|
||||
has_relation_best_friend = scope:puppet_or_actor.cp:councillor_court_chaplain
|
||||
opinion = {
|
||||
target = scope:puppet_or_actor.cp:councillor_court_chaplain
|
||||
value >= very_high_positive_opinion
|
||||
|
|
@ -10446,6 +10550,15 @@ take_monastic_vows_interaction = {
|
|||
empire = 24
|
||||
hegemony = 24
|
||||
}
|
||||
ai_frequency_by_tier_government_override = {
|
||||
government = merchant_government
|
||||
barony = 0
|
||||
county = 432
|
||||
duchy = 0
|
||||
kingdom = 0
|
||||
empire = 0
|
||||
hegemony = 0
|
||||
}
|
||||
|
||||
ai_will_do = {
|
||||
base = 0
|
||||
|
|
@ -10469,10 +10582,7 @@ take_monastic_vows_interaction = {
|
|||
modifier = { # Try to send rivals
|
||||
add = 100
|
||||
scope:puppet_or_actor = {
|
||||
OR = {
|
||||
has_relation_rival = scope:recipient
|
||||
has_relation_nemesis = scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
modifier = { # Has cloister to send the child to
|
||||
|
|
@ -10591,6 +10701,7 @@ take_monastic_vows_interaction = {
|
|||
county.holder.top_liege = scope:puppet_or_actor.top_liege
|
||||
}
|
||||
any_leased_title = {
|
||||
exists = scope:puppet_or_actor.capital_county.kingdom
|
||||
kingdom ?= scope:puppet_or_actor.capital_county.kingdom
|
||||
}
|
||||
}
|
||||
|
|
@ -10687,6 +10798,7 @@ take_monastic_vows_interaction = {
|
|||
empire = scope:target.empire
|
||||
}
|
||||
trigger_else = {
|
||||
exists = scope:puppet_or_actor.capital_county.empire
|
||||
empire = scope:puppet_or_actor.capital_county.empire
|
||||
}
|
||||
}
|
||||
|
|
@ -11223,6 +11335,15 @@ monastic_donation_interaction = {
|
|||
empire = 12
|
||||
hegemony = 12
|
||||
}
|
||||
ai_frequency_by_tier_government_override = {
|
||||
government = merchant_government
|
||||
barony = 0
|
||||
county = 144
|
||||
duchy = 0
|
||||
kingdom = 0
|
||||
empire = 0
|
||||
hegemony = 0
|
||||
}
|
||||
|
||||
ai_will_do = {
|
||||
base = 0
|
||||
|
|
@ -11259,6 +11380,7 @@ monastic_donation_interaction = {
|
|||
county.holder.top_liege = scope:puppet_or_actor.top_liege
|
||||
}
|
||||
any_leased_title = {
|
||||
exists = scope:puppet_or_actor.capital_county
|
||||
kingdom ?= scope:puppet_or_actor.capital_county.kingdom
|
||||
}
|
||||
}
|
||||
|
|
@ -11313,6 +11435,8 @@ monastic_donation_interaction = {
|
|||
|
||||
modifier = {
|
||||
factor = 1.25
|
||||
exists = capital_county.kingdom
|
||||
exists = scope:recipient.capital_county.kingdom
|
||||
capital_county.kingdom = scope:recipient.capital_county.kingdom
|
||||
}
|
||||
|
||||
|
|
@ -11351,6 +11475,7 @@ monastic_donation_interaction = {
|
|||
empire = scope:target.empire
|
||||
}
|
||||
trigger_else = {
|
||||
exists = scope:puppet_or_actor.capital_county
|
||||
empire = scope:puppet_or_actor.capital_county.empire
|
||||
}
|
||||
}
|
||||
|
|
@ -11987,6 +12112,8 @@ lease_title_to_existing_monastic_order_interaction = {
|
|||
|
||||
modifier = {
|
||||
factor = 1.25
|
||||
exists = capital_county.kingdom
|
||||
exists = scope:recipient.capital_county.kingdom
|
||||
capital_county.kingdom = scope:recipient.capital_county.kingdom
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -83,6 +83,22 @@
|
|||
title_revocation_standard_valid_showing_failures_only_trigger = yes
|
||||
# Plus make sure there's a legal right to revoke.
|
||||
scope:puppet_or_actor = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:recipient = {
|
||||
highest_held_title_tier = tier_barony # Can always revoke from barons
|
||||
}
|
||||
}
|
||||
always = yes
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = { realm_law_use_church_authority = yes }
|
||||
custom_description = {
|
||||
text = "has_law_allowing_title_revocation_church"
|
||||
has_realm_law_flag = title_revocation_allowed
|
||||
}
|
||||
}
|
||||
trigger_else = {
|
||||
trigger_if = {
|
||||
limit = { government_has_flag = government_is_tribal }
|
||||
custom_description = {
|
||||
|
|
@ -101,9 +117,9 @@
|
|||
limit = { government_has_mechanic = administrative }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = { realm_law_use_church_authority = yes }
|
||||
limit = { government_has_flag = government_is_republic }
|
||||
custom_description = {
|
||||
text = "has_law_allowing_title_revocation_church"
|
||||
text = "has_law_allowing_title_revocation_republic"
|
||||
has_realm_law_flag = title_revocation_allowed
|
||||
}
|
||||
}
|
||||
|
|
@ -114,6 +130,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:recipient = {
|
||||
|
|
@ -238,6 +255,18 @@
|
|||
has_clerical_region = yes
|
||||
pam_title_is_clerical_elector_trigger = yes
|
||||
pam_title_is_antipope_office_trigger = yes
|
||||
AND = {
|
||||
holder = { government_has_flag = government_is_republic }
|
||||
gdp_is_republic_title_trigger = yes
|
||||
}
|
||||
}
|
||||
custom_description = {
|
||||
text = "character_interactions_not_clerical_elector_title"
|
||||
pam_title_is_clerical_elector_trigger = no
|
||||
}
|
||||
custom_description = {
|
||||
text = "character_interactions_not_antipope_office_title"
|
||||
pam_title_is_antipope_office_trigger = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -441,6 +470,17 @@
|
|||
trigger_event = char_interaction.0199
|
||||
}
|
||||
}
|
||||
# Code hands the revoked primary title's treasury to the revoker, so empty a baron's treasury first
|
||||
scope:recipient = {
|
||||
if = {
|
||||
limit = {
|
||||
scope:landed_title.tier = tier_barony
|
||||
primary_title = scope:landed_title
|
||||
has_treasury = yes
|
||||
}
|
||||
hidden_effect = { empty_treasury_when_abandoning_landed_life_effect = yes }
|
||||
}
|
||||
}
|
||||
revoke_title_interaction_effect = yes
|
||||
|
||||
if = {
|
||||
|
|
@ -612,10 +652,17 @@
|
|||
}
|
||||
}
|
||||
else = {
|
||||
if = {
|
||||
limit = {
|
||||
scope:puppet_or_actor = {
|
||||
NOT = { has_realm_law_flag = republic_vassal_refusal_allowed }
|
||||
}
|
||||
}
|
||||
war_for_revoke_effect = {
|
||||
LIEGE = scope:puppet_or_actor
|
||||
REBEL = scope:recipient
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
add_opinion = {
|
||||
target = scope:puppet_or_actor
|
||||
|
|
@ -956,6 +1003,15 @@
|
|||
}
|
||||
desc = VASSALS_REFUSAL_indomitable_azatani
|
||||
}
|
||||
#GG modifier
|
||||
modifier = {
|
||||
add = -50
|
||||
OR = {
|
||||
gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:actor SECOND = scope:recipient }
|
||||
scope:recipient = { is_gg_undecided_trigger = yes }
|
||||
}
|
||||
desc = RECIPIENT_IS_NOT_YOUR_GG
|
||||
}
|
||||
}
|
||||
|
||||
# AI
|
||||
|
|
@ -964,11 +1020,6 @@
|
|||
}
|
||||
ai_frequency = 0 # This is handled via code instead; see REVOKE_TITLE_TICK in the AI defines. All the logic for *if* to send a revoke though is scripted below
|
||||
|
||||
ai_potential = {
|
||||
has_realm_law_flag = title_revocation_allowed
|
||||
primary_title.tier >= tier_county
|
||||
}
|
||||
|
||||
ai_will_do = {
|
||||
base = -1000
|
||||
|
||||
|
|
@ -1066,6 +1117,11 @@
|
|||
# Always revoke preferred capital and capital duchy
|
||||
modifier = {
|
||||
years_from_game_start >= 3
|
||||
exists = scope:puppet_or_actor.primary_title.title_capital_county
|
||||
OR = {
|
||||
scope:landed_title = scope:puppet_or_actor.primary_title.title_capital_county
|
||||
scope:landed_title = scope:puppet_or_actor.primary_title.title_capital_county.de_jure_liege
|
||||
}
|
||||
OR = {
|
||||
scope:puppet_or_actor = {
|
||||
is_at_war = no
|
||||
|
|
@ -1089,11 +1145,6 @@
|
|||
primary_title = title:e_europa
|
||||
}
|
||||
}
|
||||
exists = scope:puppet_or_actor.primary_title.title_capital_county
|
||||
OR = {
|
||||
scope:landed_title = scope:puppet_or_actor.primary_title.title_capital_county
|
||||
scope:landed_title = scope:puppet_or_actor.primary_title.title_capital_county.de_jure_liege
|
||||
}
|
||||
NAND = { # Don't revoke player titles tyranically, it must be possible to play and succeed as Ulm!
|
||||
scope:landed_title.holder = {
|
||||
is_ai = no
|
||||
|
|
@ -1107,6 +1158,9 @@
|
|||
# If below domain limit, try to revoke counties in your capital duchy despite tyranny, sometimes
|
||||
modifier = {
|
||||
years_from_game_start >= 3
|
||||
scope:landed_title.tier = tier_county # Only Counties
|
||||
exists = scope:puppet_or_actor.primary_title.title_capital_county
|
||||
scope:landed_title.de_jure_liege = scope:puppet_or_actor.primary_title.title_capital_county.de_jure_liege # Under the same Duchy as your capital
|
||||
OR = {
|
||||
scope:puppet_or_actor = {
|
||||
is_at_war = no
|
||||
|
|
@ -1146,14 +1200,12 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
exists = scope:puppet_or_actor.primary_title.title_capital_county
|
||||
OR = {
|
||||
scope:puppet_or_actor.primary_title.title_capital_county.holder = scope:puppet_or_actor # You have your de jure capital already
|
||||
NOT = {
|
||||
scope:puppet_or_actor.primary_title.title_capital_county.holder.top_liege = scope:puppet_or_actor.top_liege # Or your De Jure capital isn't in your realm
|
||||
}
|
||||
}
|
||||
scope:landed_title.tier = tier_county # Only Counties
|
||||
OR = { # The AI gives away wrong-holding counties almost instantly, so we restrict to counties with holdings they can hold
|
||||
scope:landed_title.title_province = { has_holding_type = castle_holding } # Everyone is valid for castles
|
||||
AND = {
|
||||
|
|
@ -1192,8 +1244,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
scope:landed_title.de_jure_liege = scope:puppet_or_actor.primary_title.title_capital_county.de_jure_liege # Under the same Duchy as your capital
|
||||
|
||||
scope:recipient = { # Not from players
|
||||
is_ai = yes
|
||||
}
|
||||
|
|
@ -1289,6 +1339,11 @@
|
|||
modifier = {
|
||||
scope:puppet_or_actor.faith != scope:recipient.faith
|
||||
scope:recipient.primary_title.tier > tier_barony
|
||||
scope:puppet_or_actor = {
|
||||
NOT = {
|
||||
title_revocation_is_tyrannical_trigger = { VASSAL = scope:recipient }
|
||||
}
|
||||
}
|
||||
OR = {
|
||||
scope:puppet_or_actor.faith.religion != scope:recipient.faith.religion
|
||||
scope:puppet_or_actor.ai_zeal >= low_negative_ai_value
|
||||
|
|
@ -1302,9 +1357,9 @@
|
|||
}
|
||||
NOT = {
|
||||
any_vassal = {
|
||||
is_imprisoned_by = scope:puppet_or_actor
|
||||
faith != scope:puppet_or_actor.faith
|
||||
primary_title.tier > tier_barony
|
||||
is_imprisoned_by = scope:puppet_or_actor
|
||||
time_in_prison = { years < 1 }
|
||||
}
|
||||
}
|
||||
|
|
@ -1318,6 +1373,9 @@
|
|||
has_relation_rival = scope:recipient
|
||||
has_relation_nemesis = scope:recipient
|
||||
}
|
||||
NOT = {
|
||||
title_revocation_is_tyrannical_trigger = { VASSAL = scope:recipient }
|
||||
}
|
||||
}
|
||||
add = 100
|
||||
}
|
||||
|
|
@ -1330,9 +1388,7 @@
|
|||
scope:puppet_or_actor = {
|
||||
OR = {
|
||||
has_relation_friend = scope:recipient
|
||||
has_relation_best_friend = scope:recipient
|
||||
has_relation_lover = scope:recipient
|
||||
has_relation_soulmate = scope:recipient
|
||||
is_parent_of = scope:recipient
|
||||
is_grandparent_of = scope:recipient
|
||||
is_great_grandparent_of = scope:recipient
|
||||
|
|
@ -1409,12 +1465,12 @@
|
|||
scope:puppet_or_actor = {
|
||||
government_has_flag = government_is_clan
|
||||
exists = house
|
||||
ai_wants_high_unity = yes
|
||||
}
|
||||
scope:recipient = {
|
||||
government_has_flag = government_is_clan
|
||||
house ?= scope:puppet_or_actor.house
|
||||
}
|
||||
scope:puppet_or_actor = { ai_wants_high_unity = yes }
|
||||
add = -1000
|
||||
} # Admin Government: Do not revoke titles from your house unless it's really needed
|
||||
modifier = {
|
||||
|
|
@ -1471,6 +1527,20 @@
|
|||
}
|
||||
}
|
||||
|
||||
# House Unity: Avoid revoking titles from house members if the AI wants to have high unity
|
||||
modifier = {
|
||||
scope:puppet_or_actor = {
|
||||
government_has_flag = government_uses_house_unity
|
||||
exists = house
|
||||
}
|
||||
scope:recipient = {
|
||||
government_has_flag = government_uses_house_unity
|
||||
house ?= scope:puppet_or_actor.house
|
||||
}
|
||||
scope:puppet_or_actor = { ai_wants_high_unity = yes }
|
||||
add = -1000
|
||||
}
|
||||
|
||||
# Don't take a title off anyone when refusing would raise half the realm against us. A prisoner, baron and lawful revocations are exempt, because they don't cause civil wars
|
||||
modifier = {
|
||||
factor = 0
|
||||
|
|
@ -1553,5 +1623,11 @@
|
|||
# }
|
||||
# factor = 0
|
||||
# }
|
||||
modifier = {
|
||||
scope:actor = {
|
||||
gg_hre_causes_additional_tyranny_trigger = { TARGET = scope:recipient }
|
||||
}
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -53,17 +53,10 @@ start_murder_interaction = {
|
|||
}
|
||||
}
|
||||
scope:recipient = { NOT = { has_strong_hook = scope:puppet_or_actor } }
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:puppet_or_actor = {
|
||||
has_government = landless_adventurer_government
|
||||
}
|
||||
}
|
||||
#Has to be used instead of diplo range checks in laamp to landed interactions
|
||||
ep3_laamp_diplo_range_trigger = {
|
||||
#limit range for landless adventurers/merchants
|
||||
exceptional_diplo_range_trigger = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
LAAMP = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { scope:puppet_or_actor = { has_variable = no_scheming_allowed_var } }
|
||||
|
|
@ -129,13 +122,22 @@ start_murder_interaction = {
|
|||
scope:puppet_or_actor = {
|
||||
if = { # Only get stressed/SP penalties if you don't have the parameter
|
||||
limit = {
|
||||
NOT = { has_fulfillment_parameter = sp_murder_yields_no_sp_or_stress_loss }
|
||||
NOR = {
|
||||
has_fulfillment_parameter = sp_murder_yields_no_sp_or_stress_loss
|
||||
has_variable = recently_troubled_by_murder_plot
|
||||
}
|
||||
}
|
||||
stress_and_fulfillment_impact = {
|
||||
compassionate = major_stress_impact_gain
|
||||
honest = medium_stress_impact_gain
|
||||
just = medium_stress_impact_gain
|
||||
}
|
||||
hidden_effect = {
|
||||
set_variable = {
|
||||
name = recently_troubled_by_murder_plot
|
||||
years = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_neutral
|
||||
|
|
@ -218,14 +220,15 @@ start_murder_interaction = {
|
|||
# Hand over the modifier.
|
||||
random_scheme = {
|
||||
type = murder
|
||||
limit = {
|
||||
scheme_target_character = scope:recipient
|
||||
}
|
||||
limit = { scheme_target_character = scope:recipient }
|
||||
add_scheme_modifier = { type = feast_learnt_habits_modifier }
|
||||
}
|
||||
# Remove the variable now that we're done with it.
|
||||
remove_variable = feast_events_ewan_0001_bonus_value
|
||||
}
|
||||
# #Guelphs & Ghibellines
|
||||
# gg_scheme_catalyst_warning_effect = { SCHEME = murder }
|
||||
# gg_involvement_scheme_tooltip_effect = yes
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -327,18 +330,10 @@ start_abduct = {
|
|||
}
|
||||
}
|
||||
scope:recipient = { NOT = { has_strong_hook = scope:puppet_or_actor } }
|
||||
#limit range for landless adventurers
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:puppet_or_actor = {
|
||||
has_government = landless_adventurer_government
|
||||
}
|
||||
}
|
||||
#Has to be used instead of diplo range checks in laamp to landed interactions
|
||||
ep3_laamp_diplo_range_trigger = {
|
||||
#limit range for landless adventurers/merchants
|
||||
exceptional_diplo_range_trigger = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
LAAMP = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { scope:puppet_or_actor = { has_variable = no_scheming_allowed_var } }
|
||||
|
|
@ -488,6 +483,9 @@ start_abduct = {
|
|||
}
|
||||
}
|
||||
}
|
||||
#Guelphs & Ghibellines
|
||||
gg_scheme_catalyst_warning_effect = { SCHEME = abduct }
|
||||
gg_involvement_scheme_tooltip_effect = yes
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -582,6 +580,58 @@ start_abduct = {
|
|||
}
|
||||
always = yes
|
||||
}
|
||||
#The target is quite the GG meddler
|
||||
modifier = {
|
||||
add = {
|
||||
value = 0
|
||||
#More weight if they have high involvement, stacking
|
||||
if = {
|
||||
limit = {
|
||||
scope:recipient = {
|
||||
exists = var:gg_involvement
|
||||
var:gg_involvement >= gg_involvement_major_value
|
||||
}
|
||||
}
|
||||
add = 25
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:recipient = {
|
||||
exists = var:gg_involvement
|
||||
var:gg_involvement >= gg_involvement_massive_value
|
||||
}
|
||||
}
|
||||
add = 25
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:recipient = {
|
||||
exists = var:gg_involvement
|
||||
var:gg_involvement >= gg_involvement_omega_value
|
||||
}
|
||||
}
|
||||
add = 25
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:recipient = {
|
||||
exists = var:gg_involvement
|
||||
var:gg_involvement >= gg_involvement_capped_value
|
||||
}
|
||||
}
|
||||
add = 25
|
||||
}
|
||||
#Double if the target banished someone from your side
|
||||
if = {
|
||||
limit = {
|
||||
scope:recipient = { has_character_modifier = vilified_ruler_modifier }
|
||||
}
|
||||
multiply = 2
|
||||
}
|
||||
}
|
||||
exists = situation:guelph_ghibelline
|
||||
gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:actor SECOND = scope:recipient }
|
||||
}
|
||||
#Promised to abstain from sin
|
||||
modifier = {
|
||||
OR = {
|
||||
|
|
@ -689,18 +739,10 @@ befriend_interaction = {
|
|||
target_character = scope:recipient
|
||||
}
|
||||
}
|
||||
#limit range for landless adventurers
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:puppet_or_actor = {
|
||||
has_government = landless_adventurer_government
|
||||
}
|
||||
}
|
||||
#Has to be used instead of diplo range checks in laamp to landed interactions
|
||||
ep3_laamp_diplo_range_trigger = {
|
||||
#limit range for landless adventurers/merchants
|
||||
exceptional_diplo_range_trigger = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
LAAMP = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { scope:is_puppet_action ?= yes }
|
||||
|
|
@ -1112,6 +1154,15 @@ seduce_interaction = {
|
|||
empire = 12
|
||||
hegemony = 12
|
||||
}
|
||||
ai_frequency_by_tier_government_override = {
|
||||
government = merchant_government
|
||||
barony = 0
|
||||
county = 216
|
||||
duchy = 0
|
||||
kingdom = 0
|
||||
empire = 0
|
||||
hegemony = 0
|
||||
}
|
||||
|
||||
is_available = {
|
||||
trigger_if = {
|
||||
|
|
@ -1260,18 +1311,10 @@ seduce_interaction = {
|
|||
}
|
||||
scope:recipient = { primary_spouse = { NOT = { has_strong_hook = scope:puppet_or_actor } } }
|
||||
}
|
||||
#limit range for landless adventurers
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:puppet_or_actor = {
|
||||
has_government = landless_adventurer_government
|
||||
}
|
||||
}
|
||||
#Has to be used instead of diplo range checks in laamp to landed interactions
|
||||
ep3_laamp_diplo_range_trigger = {
|
||||
#limit range for landless adventurers/merchants
|
||||
exceptional_diplo_range_trigger = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
LAAMP = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1455,10 +1498,7 @@ seduce_interaction = {
|
|||
add = 25
|
||||
scope:recipient = {
|
||||
primary_spouse ?= {
|
||||
OR = {
|
||||
has_relation_rival = scope:puppet_or_actor
|
||||
has_relation_nemesis = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1922,18 +1962,10 @@ court_interaction = {
|
|||
NOT = { has_character_modifier = clerical_chastity_vow_modifier }
|
||||
}
|
||||
}
|
||||
#limit range for landless adventurers
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:puppet_or_actor = {
|
||||
has_government = landless_adventurer_government
|
||||
}
|
||||
}
|
||||
#Has to be used instead of diplo range checks in laamp to landed interactions
|
||||
ep3_laamp_diplo_range_trigger = {
|
||||
#limit range for landless adventurers/merchants
|
||||
exceptional_diplo_range_trigger = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
LAAMP = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2258,6 +2290,15 @@ sway_interaction = {
|
|||
empire = 6
|
||||
hegemony = 6
|
||||
}
|
||||
ai_frequency_by_tier_government_override = {
|
||||
government = merchant_government
|
||||
barony = 0
|
||||
county = 360
|
||||
duchy = 0
|
||||
kingdom = 0
|
||||
empire = 0
|
||||
hegemony = 0
|
||||
}
|
||||
|
||||
is_available = {
|
||||
trigger_if = {
|
||||
|
|
@ -2347,18 +2388,10 @@ sway_interaction = {
|
|||
target_character = scope:recipient
|
||||
}
|
||||
}
|
||||
#limit range for landless adventurers
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:puppet_or_actor = {
|
||||
has_government = landless_adventurer_government
|
||||
}
|
||||
}
|
||||
#Has to be used instead of diplo range checks in laamp to landed interactions
|
||||
ep3_laamp_diplo_range_trigger = {
|
||||
#limit range for landless adventurers/merchants
|
||||
exceptional_diplo_range_trigger = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
LAAMP = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2664,18 +2697,10 @@ learn_language_interaction = {
|
|||
target_character = scope:recipient
|
||||
}
|
||||
}
|
||||
#limit range for landless adventurers
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:puppet_or_actor = {
|
||||
has_government = landless_adventurer_government
|
||||
}
|
||||
}
|
||||
#Has to be used instead of diplo range checks in laamp to landed interactions
|
||||
ep3_laamp_diplo_range_trigger = {
|
||||
#limit range for landless adventurers/merchants
|
||||
exceptional_diplo_range_trigger = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
LAAMP = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2784,6 +2809,23 @@ learn_language_interaction = {
|
|||
scope:puppet_or_actor.religion = scope:recipient.religion
|
||||
}
|
||||
|
||||
modifier = {
|
||||
add = 50
|
||||
scope:puppet_or_actor = {
|
||||
culture = {
|
||||
has_cultural_parameter = wants_to_learn_chinese
|
||||
}
|
||||
NOT = {
|
||||
knows_language = language_chinese
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
culture = {
|
||||
has_cultural_pillar = language_chinese
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
add = 25
|
||||
scope:puppet_or_actor = {
|
||||
|
|
@ -2969,7 +3011,7 @@ learn_language_interaction = {
|
|||
modifier = {
|
||||
add = 100
|
||||
scope:puppet_or_actor.culture = {
|
||||
has_cultural_tradition = tradition_loyal_soldiers
|
||||
has_cultural_parameter = wants_to_learn_liege_language
|
||||
}
|
||||
top_liege != this
|
||||
scope:puppet_or_actor = {
|
||||
|
|
@ -3057,6 +3099,15 @@ study_faith_interaction = {
|
|||
empire = 36
|
||||
hegemony = 36
|
||||
}
|
||||
ai_frequency_by_tier_government_override = {
|
||||
government = merchant_government
|
||||
barony = 0
|
||||
county = 216
|
||||
duchy = 0
|
||||
kingdom = 0
|
||||
empire = 0
|
||||
hegemony = 0
|
||||
}
|
||||
|
||||
is_available = {
|
||||
trigger_if = {
|
||||
|
|
@ -3104,18 +3155,10 @@ study_faith_interaction = {
|
|||
target_character = scope:recipient
|
||||
}
|
||||
}
|
||||
#limit range for landless adventurers
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:puppet_or_actor = {
|
||||
has_government = landless_adventurer_government
|
||||
}
|
||||
}
|
||||
#Has to be used instead of diplo range checks in laamp to landed interactions
|
||||
ep3_laamp_diplo_range_trigger = {
|
||||
#limit range for landless adventurers/merchants
|
||||
exceptional_diplo_range_trigger = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
LAAMP = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { scope:is_puppet_action ?= yes }
|
||||
|
|
@ -3521,3 +3564,350 @@ study_faith_interaction = {
|
|||
}
|
||||
}
|
||||
|
||||
influence_house_ambition_interaction = {
|
||||
icon = influence_house_ambition
|
||||
category = interaction_category_friendly
|
||||
common_interaction = yes
|
||||
|
||||
send_name = START_SCHEME
|
||||
|
||||
interface_priority = 75
|
||||
|
||||
scheme = influence_house_ambition
|
||||
ignores_pending_interaction_block = yes
|
||||
|
||||
ai_targets = {
|
||||
ai_recipients = liege
|
||||
ai_recipients = neighboring_rulers
|
||||
max = 10
|
||||
}
|
||||
ai_targets = {
|
||||
ai_recipients = vassals
|
||||
ai_recipients = peer_vassals
|
||||
max = 10
|
||||
}
|
||||
ai_frequency_by_tier = {
|
||||
barony = 0
|
||||
county = 120
|
||||
duchy = 24
|
||||
kingdom = 6
|
||||
empire = 6
|
||||
hegemony = 6
|
||||
}
|
||||
|
||||
is_available = {
|
||||
government_has_flag = government_is_republic
|
||||
this = house.house_head
|
||||
NOT = {
|
||||
house = {
|
||||
has_house_aspiration_parameter = republic_no_ambition
|
||||
}
|
||||
}
|
||||
NOR = {
|
||||
scheme_generic_ai_blocker_trigger = yes
|
||||
primary_title = {
|
||||
is_mercenary_company = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
is_shown = {
|
||||
scope:actor != scope:recipient
|
||||
scope:recipient = {
|
||||
government_has_flag = government_is_republic
|
||||
this = house.house_head
|
||||
}
|
||||
}
|
||||
is_valid_showing_failures_only = {
|
||||
scope:actor = {
|
||||
can_start_scheme = {
|
||||
type = sway
|
||||
target_character = scope:recipient
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
scope:actor.house = {
|
||||
NOT = {
|
||||
has_same_house_aspiration_as = scope:recipient.house
|
||||
}
|
||||
}
|
||||
|
||||
text = influence_house_ambition_same_ambition
|
||||
}
|
||||
}
|
||||
|
||||
desc = scheme_interaction_tt_influence_house_ambition_approved
|
||||
|
||||
on_accept = {
|
||||
scope:actor = {
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_neutral
|
||||
title = influence_house_ambition_interaction_notification
|
||||
|
||||
left_icon = scope:actor
|
||||
right_icon = scope:recipient
|
||||
|
||||
begin_scheme_basic_effect = {
|
||||
SCHEME_TYPE = influence_house_ambition
|
||||
TARGET_TYPE = target_character
|
||||
TARGET_SCOPE = scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
auto_accept = yes
|
||||
|
||||
ai_will_do = {
|
||||
base = 10
|
||||
|
||||
modifier = { # Prefer seducing if you've got the focus for it
|
||||
add = -20
|
||||
scope:actor = {
|
||||
has_focus = intrigue_temptation_focus
|
||||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
add = 10
|
||||
scope:recipient = {
|
||||
is_vassal_of = scope:actor
|
||||
}
|
||||
}
|
||||
|
||||
modifier = { # Try to sway those who you might want to vassalize
|
||||
add = 30
|
||||
scope:actor = {
|
||||
top_liege = this
|
||||
primary_title.tier >= tier_county
|
||||
NOT = {
|
||||
any_targeting_faction = {
|
||||
exists = yes
|
||||
OR = {
|
||||
faction_is_type = liberty_faction
|
||||
faction_is_type = claimant_faction
|
||||
faction_is_type = independence_faction
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
top_liege = this
|
||||
is_playable_character = yes
|
||||
primary_title.tier < scope:actor.primary_title.tier
|
||||
OR = {
|
||||
faith.religion = scope:actor.faith.religion
|
||||
AND = {
|
||||
faith = {
|
||||
has_doctrine = doctrine_pluralism_pluralistic
|
||||
}
|
||||
scope:actor.faith = {
|
||||
has_doctrine = doctrine_pluralism_pluralistic
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
add = 10
|
||||
scope:recipient = {
|
||||
joined_faction ?= {
|
||||
faction_target = scope:actor
|
||||
faction_is_type = liberty_faction
|
||||
faction_is_at_war = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
add = 20
|
||||
scope:recipient = {
|
||||
joined_faction ?= {
|
||||
faction_target = scope:actor
|
||||
faction_is_type = claimant_faction
|
||||
faction_is_at_war = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
add = 30
|
||||
scope:recipient = {
|
||||
joined_faction ?= {
|
||||
faction_target = scope:actor
|
||||
faction_is_type = independence_faction
|
||||
faction_is_at_war = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
factor = 2
|
||||
scope:recipient = {
|
||||
is_a_faction_leader = yes
|
||||
is_vassal_of = scope:actor
|
||||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
factor = 3
|
||||
scope:recipient = {
|
||||
is_vassal_of = scope:actor
|
||||
opinion = {
|
||||
target = scope:actor
|
||||
value < 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
factor = 4
|
||||
scope:recipient = {
|
||||
is_powerful_vassal_of = scope:actor
|
||||
opinion = {
|
||||
target = scope:actor
|
||||
value < 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
factor = 0.5
|
||||
scope:recipient.faith != scope:actor.faith
|
||||
}
|
||||
|
||||
modifier = {
|
||||
factor = 0.25
|
||||
scope:actor = {
|
||||
is_ruler = yes
|
||||
tier_difference = {
|
||||
target = scope:recipient
|
||||
value > 2
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
is_theocratic_lessee = no
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = 0.5
|
||||
scope:actor = {
|
||||
has_personality_malicious_trigger = yes
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = 2
|
||||
scope:actor = {
|
||||
OR = {
|
||||
has_trait = gregarious
|
||||
has_trait = diplomat
|
||||
has_trait = family_first
|
||||
has_trait = august
|
||||
}
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = 0.75
|
||||
scope:recipient = {
|
||||
is_child_of = scope:actor
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = 2
|
||||
scope:actor = {
|
||||
is_child_of = scope:recipient
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = 0.25
|
||||
scope:recipient = {
|
||||
any_claim = {
|
||||
this = scope:actor.primary_title
|
||||
}
|
||||
}
|
||||
}
|
||||
modifier = { # Butter up the realm priest
|
||||
factor = 10
|
||||
scope:recipient = {
|
||||
is_theocratic_lessee = yes
|
||||
opinion = {
|
||||
target = scope:actor
|
||||
value <= 50
|
||||
}
|
||||
}
|
||||
}
|
||||
modifier = { # Try to make your tax collectors like you
|
||||
factor = 10
|
||||
scope:actor = {
|
||||
government_has_flag = government_is_clan
|
||||
}
|
||||
scope:recipient = {
|
||||
is_tax_collector = yes
|
||||
opinion = {
|
||||
target = scope:actor
|
||||
value <= 50
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
modifier = { # No point in swaying if opinion is already at 100
|
||||
factor = 0
|
||||
scope:recipient = {
|
||||
opinion = {
|
||||
target = scope:actor
|
||||
value >= 100
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
modifier = { # Unlanded only if a realm priest, spymaster, or clan tax collector
|
||||
factor = 0
|
||||
scope:recipient = {
|
||||
is_ruler = no
|
||||
NOR = {
|
||||
is_theocratic_lessee = yes
|
||||
has_council_position = councillor_spymaster
|
||||
AND = {
|
||||
is_tax_collector = yes
|
||||
scope:actor = { government_has_flag = government_is_clan }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
modifier = { # Ignore rivals unless forgiving
|
||||
factor = 0
|
||||
scope:actor = {
|
||||
has_relation_rival = scope:recipient
|
||||
NOT = { has_trait = forgiving }
|
||||
}
|
||||
}
|
||||
|
||||
modifier = { # Ignore non-councillor barons
|
||||
factor = 0
|
||||
scope:recipient = {
|
||||
primary_title.tier = tier_barony
|
||||
is_councillor = no
|
||||
}
|
||||
}
|
||||
|
||||
modifier = { # Ignore neighboring Kings+
|
||||
factor = 0
|
||||
scope:recipient = {
|
||||
top_liege = this
|
||||
is_playable_character = yes
|
||||
primary_title.tier >= tier_kingdom
|
||||
}
|
||||
}
|
||||
|
||||
modifier = { # Ignore neighboring Herders
|
||||
factor = 0
|
||||
scope:recipient = {
|
||||
government_has_flag = government_is_herder
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -319,7 +319,7 @@ appoint_podesta_interaction = {
|
|||
any_county_province = {
|
||||
has_holding_type = city_holding
|
||||
}
|
||||
development_level > 20
|
||||
prosperity_level > 20
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -412,7 +412,7 @@ appoint_podesta_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_gain
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@
|
|||
limit = { tier <= tier_county }
|
||||
title_province = {
|
||||
barony_controller = scope:actor
|
||||
has_ongoing_construction = no
|
||||
has_ongoing_holding_construction = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -139,7 +139,7 @@ tribalize_holding_interaction = {
|
|||
limit = { tier <= tier_county }
|
||||
title_province = {
|
||||
barony_controller = scope:actor
|
||||
has_ongoing_construction = no
|
||||
has_ongoing_holding_construction = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -290,7 +290,7 @@ support_feudalize_tribal_holding_interaction = {
|
|||
limit = { tier <= tier_county }
|
||||
title_province = {
|
||||
barony_controller = scope:recipient
|
||||
has_ongoing_construction = no
|
||||
has_ongoing_holding_construction = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,9 +11,25 @@ become_tributary_interaction = {
|
|||
|
||||
desc = become_tributary_interaction_desc
|
||||
|
||||
is_available = {
|
||||
is_landed = yes # Landless have no realm to render tribute from;
|
||||
is_independent_ruler = yes # You have to be independent - This check exists to prevent a lot of edge-cases where you can change liege
|
||||
is_confederation_member = no
|
||||
NOT = {
|
||||
government_has_flag = cannot_be_vassal_or_liege
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
is_ai = yes
|
||||
}
|
||||
is_at_war = no
|
||||
is_available_allow_travelling = yes
|
||||
}
|
||||
}
|
||||
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
is_independent_ruler = yes # while it's possible for tributaries to have their own tributaries, it should not be possible to create a tributary relationship with a non-independent ruler
|
||||
this = top_liege # while it's possible for tributaries to have their own tributaries, it should not be possible to create a tributary relationship with a non-independent ruler
|
||||
NOR = {
|
||||
this = scope:actor
|
||||
this = scope:actor.suzerain
|
||||
|
|
@ -26,6 +42,18 @@ become_tributary_interaction = {
|
|||
limit = { is_ai = yes }
|
||||
current_military_strength < scope:recipient.one_and_a_half_times_current_military_strength
|
||||
primary_title.tier < scope:recipient.primary_title.tier
|
||||
# We skip recipients that ai_will_do weights down so far the AI never picks them
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
government_has_flag = government_is_mandala
|
||||
government_has_flag = government_is_tribal
|
||||
NOR = {
|
||||
government_has_mechanic = administrative
|
||||
government_is_japanese_trigger = yes
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -34,7 +62,7 @@ become_tributary_interaction = {
|
|||
#These triggers need to match the Tribute Mission Decision
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:recipient = { primary_title.tier = tier_hegemony }
|
||||
scope:recipient = { highest_held_title_tier = tier_hegemony }
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = become_tributary_interaction_hegemony_not_neighbor_tt
|
||||
|
|
@ -279,13 +307,6 @@ become_tributary_interaction = {
|
|||
}
|
||||
}
|
||||
|
||||
is_available = {
|
||||
is_landed = yes # Landless have no realm to render tribute from;
|
||||
top_liege ?= this # You have to be independent - This check exists to prevent a lot of edge-cases where you can change liege
|
||||
is_confederation_member = no
|
||||
NOT = { government_has_flag = cannot_be_vassal_or_liege }
|
||||
}
|
||||
|
||||
ai_targets = {
|
||||
ai_recipients = neighboring_rulers_including_tributary_borders
|
||||
max = 5
|
||||
|
|
@ -414,23 +435,23 @@ become_tributary_interaction = {
|
|||
### MANDALA ###
|
||||
#Added threshold for Mandalas who already are Tributaries
|
||||
modifier = {
|
||||
scope:recipient = { is_tributary = yes }
|
||||
NOT = { scope:recipient.suzerain = scope:actor }
|
||||
scope:recipient.suzerain = { primary_title.tier = tier_duchy }
|
||||
scope:actor = { is_tributary = yes }
|
||||
NOT = { scope:actor.suzerain = scope:recipient }
|
||||
scope:actor.suzerain = { primary_title.tier = tier_duchy }
|
||||
add = -25
|
||||
desc = already_tributary_threshold
|
||||
}
|
||||
modifier = {
|
||||
scope:recipient = { is_tributary = yes }
|
||||
NOT = { scope:recipient.suzerain = scope:actor }
|
||||
scope:recipient.suzerain = { primary_title.tier = tier_kingdom }
|
||||
scope:actor = { is_tributary = yes }
|
||||
NOT = { scope:actor.suzerain = scope:recipient }
|
||||
scope:actor.suzerain = { primary_title.tier = tier_kingdom }
|
||||
add = -50
|
||||
desc = already_tributary_threshold
|
||||
}
|
||||
modifier = {
|
||||
scope:recipient = { is_tributary = yes }
|
||||
NOT = { scope:recipient.suzerain = scope:actor }
|
||||
scope:recipient.suzerain = { primary_title.tier >= tier_empire }
|
||||
scope:actor = { is_tributary = yes }
|
||||
NOT = { scope:actor.suzerain = scope:recipient }
|
||||
scope:actor.suzerain = { primary_title.tier >= tier_empire }
|
||||
add = -75
|
||||
desc = already_tributary_threshold
|
||||
}
|
||||
|
|
@ -479,7 +500,6 @@ become_tributary_interaction = {
|
|||
modifier = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:recipient = { has_unruined_mandala_capital_trigger = yes }
|
||||
scope:actor = {
|
||||
is_tributary = no
|
||||
OR = {
|
||||
|
|
@ -487,6 +507,7 @@ become_tributary_interaction = {
|
|||
government_has_flag = government_is_tribal
|
||||
}
|
||||
}
|
||||
scope:recipient = { has_unruined_mandala_capital_trigger = yes }
|
||||
}
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
|
|
@ -754,7 +775,7 @@ become_tributary_interaction = {
|
|||
modifier = { # Can't flee the conqueror this way
|
||||
add = -1000
|
||||
desc = NO_FRIVOLOUS_ACTIVITIES_REASON
|
||||
scope:actor = { has_variable = conqueror }
|
||||
scope:recipient = { has_variable = conqueror }
|
||||
}
|
||||
|
||||
modifier = { # Wide difference in rank
|
||||
|
|
@ -777,6 +798,8 @@ become_tributary_interaction = {
|
|||
any_neighboring_top_liege_realm_owner = { this = scope:recipient }
|
||||
}
|
||||
}
|
||||
exists = scope:actor.capital_province
|
||||
exists = scope:recipient.capital_province
|
||||
scope:actor.capital_province = { squared_distance = { target = scope:recipient.capital_province value < squared_distance_major } }
|
||||
}
|
||||
add = -15
|
||||
|
|
@ -789,6 +812,8 @@ become_tributary_interaction = {
|
|||
any_neighboring_top_liege_realm_owner = { this = scope:recipient }
|
||||
}
|
||||
}
|
||||
exists = scope:actor.capital_province
|
||||
exists = scope:recipient.capital_province
|
||||
scope:actor.capital_province = { squared_distance = { target = scope:recipient.capital_province value >= squared_distance_major } }
|
||||
}
|
||||
add = -25
|
||||
|
|
@ -929,7 +954,7 @@ demand_tributary_interaction = {
|
|||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
scope:puppet_or_actor = {
|
||||
scope:puppet_or_actor ?= {
|
||||
NOT = { has_truce = scope:recipient }
|
||||
is_available_allow_travelling = yes
|
||||
}
|
||||
|
|
@ -1210,11 +1235,16 @@ demand_tributary_interaction = {
|
|||
}
|
||||
|
||||
# if the actor is a major threat to the recipient they're more likely to accept
|
||||
ai_military_threat_modifier_with_cbs = {
|
||||
SENDER = scope:recipient
|
||||
RECEIVER = scope:puppet_or_actor
|
||||
MULTIPLIER = 1
|
||||
modifier = { # Casus bellis on target
|
||||
scope:recipient ?= { NOT = { has_government = herder_government } } # herders don't care
|
||||
scope:puppet_or_actor ?= { NOT = { has_any_cb_on = scope:recipient } }
|
||||
add = {
|
||||
add = dominant_negative_ai_value
|
||||
multiply = 1
|
||||
}
|
||||
desc = NO_CASUS_BELLI_REASON
|
||||
}
|
||||
ai_military_threat_modifier = { SENDER = scope:recipient RECEIVER = scope:puppet_or_actor MULTIPLIER = 1 }
|
||||
|
||||
modifier = { # They are a King
|
||||
desc = tributary_interaction_aibehavior_recipient_tier_tt
|
||||
|
|
@ -1386,7 +1416,10 @@ demand_tributary_interaction = {
|
|||
add = {
|
||||
add = -10
|
||||
if = {
|
||||
limit = { scope:puppet_or_actor.culture ?= { has_cultural_pillar = ethos_bellicose } }
|
||||
limit = {
|
||||
exists = scope:puppet_or_actor
|
||||
scope:puppet_or_actor.culture = { has_cultural_pillar = ethos_bellicose }
|
||||
}
|
||||
add = -10
|
||||
}
|
||||
}
|
||||
|
|
@ -1495,10 +1528,13 @@ cease_paying_tribute_interaction = {
|
|||
is_available = {
|
||||
trigger_if = {
|
||||
limit = { is_ai = yes }
|
||||
is_at_war = no
|
||||
is_migrating = no
|
||||
suzerain ?= {
|
||||
is_migrating = no
|
||||
|
||||
OR = {
|
||||
is_landed = no
|
||||
AND = {
|
||||
NOT = { root = { government_has_flag = government_is_herder } }
|
||||
trigger_if = { # Obedience is a hard blocker, but only if suzerain is landed
|
||||
|
|
@ -1513,7 +1549,6 @@ cease_paying_tribute_interaction = {
|
|||
this = root
|
||||
}
|
||||
}
|
||||
is_landed = no
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
|
|
@ -1533,7 +1568,6 @@ cease_paying_tribute_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
is_at_war = no
|
||||
trigger_if = {
|
||||
limit = {
|
||||
suzerain = {
|
||||
|
|
@ -1542,7 +1576,6 @@ cease_paying_tribute_interaction = {
|
|||
}
|
||||
subject_standing < 20
|
||||
}
|
||||
is_migrating = no
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1551,6 +1584,7 @@ cease_paying_tribute_interaction = {
|
|||
this != scope:recipient
|
||||
suzerain ?= scope:recipient
|
||||
is_tributary = yes
|
||||
NOT = { government_has_flag = government_is_merchant }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1966,7 +2000,7 @@ cease_paying_tribute_interaction = {
|
|||
government_has_flag = government_is_mandala
|
||||
capital_province = {
|
||||
has_building_with_flag = mandala_capital_building
|
||||
has_ruined_great_building = no
|
||||
has_ruined_great_district = no
|
||||
}
|
||||
}
|
||||
add = 50
|
||||
|
|
@ -1985,7 +2019,7 @@ cease_paying_tribute_interaction = {
|
|||
faith = scope:puppet_or_actor.faith
|
||||
capital_province = {
|
||||
has_building_with_flag = mandala_capital_building
|
||||
has_ruined_great_building = no
|
||||
has_ruined_great_district = no
|
||||
}
|
||||
}
|
||||
add = -10
|
||||
|
|
@ -2041,6 +2075,7 @@ release_tributary_interaction = {
|
|||
scope:recipient = {
|
||||
this != scope:puppet_or_actor
|
||||
suzerain ?= scope:puppet_or_actor
|
||||
NOT = { government_has_flag = government_is_merchant }
|
||||
OR = { # AI should only ever consider releasing unruly subjects
|
||||
scope:actor = { is_ai = no }
|
||||
NOT = { is_obedient_to = scope:puppet_or_actor }
|
||||
|
|
@ -2287,7 +2322,10 @@ exact_tribute_interaction = {
|
|||
desc = exact_tribute_interaction_desc
|
||||
|
||||
is_shown = {
|
||||
scope:recipient = { is_ai = yes }
|
||||
scope:recipient = {
|
||||
is_ai = yes
|
||||
NOT = { government_has_flag = government_is_merchant }
|
||||
}
|
||||
scope:actor = {
|
||||
OR = {
|
||||
highest_held_title_tier >= tier_hegemony
|
||||
|
|
@ -2773,19 +2811,19 @@ exact_tribute_interaction = {
|
|||
add = 25
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
NOT = { scope:recipient.primary_title = title:h_china }
|
||||
government_has_flag = government_is_meritocratic
|
||||
NAND = {
|
||||
primary_title = title:h_china
|
||||
government_has_flag = government_is_celestial
|
||||
}
|
||||
}
|
||||
add = 25
|
||||
}
|
||||
}
|
||||
desc = tributary_interaction_aibehavior_recipient_hegemon_tier_tt
|
||||
desc = tributary_interaction_aibehavior_actor_hegemon_tier_tt
|
||||
}
|
||||
# Unstable Phase
|
||||
modifier = {
|
||||
scope:actor = { highest_held_title_tier >= tier_hegemony }
|
||||
scope:actor = { has_title = title:h_china }
|
||||
situation:dynastic_cycle ?= {
|
||||
OR = {
|
||||
situation_current_phase = situation_dynastic_cycle_phase_instability
|
||||
|
|
@ -2798,7 +2836,7 @@ exact_tribute_interaction = {
|
|||
# Stable Phase
|
||||
modifier = {
|
||||
scope:actor = {
|
||||
highest_held_title_tier >= tier_hegemony
|
||||
has_title = title:h_china
|
||||
legitimacy_level < dynastic_cycle_legitimacy_expectation
|
||||
}
|
||||
situation:dynastic_cycle ?= {
|
||||
|
|
@ -2812,7 +2850,7 @@ exact_tribute_interaction = {
|
|||
}
|
||||
modifier = {
|
||||
scope:actor = {
|
||||
highest_held_title_tier >= tier_hegemony
|
||||
has_title = title:h_china
|
||||
legitimacy_level > dynastic_cycle_legitimacy_expectation
|
||||
}
|
||||
situation:dynastic_cycle ?= {
|
||||
|
|
@ -2941,7 +2979,10 @@ exact_tribute_player_interaction = {
|
|||
desc = exact_tribute_player_interaction_desc
|
||||
|
||||
is_shown = {
|
||||
scope:recipient = { is_ai = no }
|
||||
scope:recipient = {
|
||||
is_ai = no
|
||||
NOT = { government_has_flag = government_is_merchant }
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:actor = { highest_held_title_tier >= tier_hegemony }
|
||||
|
|
@ -3220,6 +3261,9 @@ offer_courtier_interaction = {
|
|||
|
||||
is_shown = {
|
||||
scope:actor != scope:recipient
|
||||
scope:actor = {
|
||||
NOT = { government_has_flag = government_is_merchant }
|
||||
}
|
||||
scope:recipient = {
|
||||
is_ruler = yes
|
||||
NOT = { government_has_flag = government_is_herder }
|
||||
|
|
@ -3251,16 +3295,10 @@ offer_courtier_interaction = {
|
|||
}
|
||||
}
|
||||
|
||||
trigger_if = { #For adventurers we check range
|
||||
limit = {
|
||||
scope:actor = {
|
||||
is_landless_adventurer = yes
|
||||
}
|
||||
}
|
||||
ep3_laamp_diplo_range_trigger = {
|
||||
#limit range for landless adventurers/merchants
|
||||
exceptional_diplo_range_trigger = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
LAAMP = scope:actor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3312,15 +3350,15 @@ offer_courtier_interaction = {
|
|||
prowess >= extremely_high_skill_rating
|
||||
AND = {
|
||||
diplomacy >= monumentally_high_skill_rating
|
||||
scope:actor.cp:councillor_chancellor ?= { diplomacy < monumentally_high_skill_rating }
|
||||
scope:recipient.cp:councillor_chancellor ?= { diplomacy < monumentally_high_skill_rating }
|
||||
}
|
||||
AND = {
|
||||
diplomacy >= monumentally_high_skill_rating
|
||||
scope:actor.cp:councillor_steward ?= { stewardship < monumentally_high_skill_rating }
|
||||
stewardship >= monumentally_high_skill_rating
|
||||
scope:recipient.cp:councillor_steward ?= { stewardship < monumentally_high_skill_rating }
|
||||
}
|
||||
AND = {
|
||||
diplomacy >= monumentally_high_skill_rating
|
||||
scope:actor.cp:councillor_spymaster ?= { intrigue < monumentally_high_skill_rating }
|
||||
intrigue >= monumentally_high_skill_rating
|
||||
scope:recipient.cp:councillor_spymaster ?= { intrigue < monumentally_high_skill_rating }
|
||||
}
|
||||
has_relation_lover = scope:recipient # Shhh, don't tell anyone, of course you're 'skilled'!
|
||||
trigger_if = {
|
||||
|
|
@ -3479,15 +3517,15 @@ offer_courtier_interaction = {
|
|||
exists = inspiration
|
||||
AND = {
|
||||
diplomacy >= monumentally_high_skill_rating
|
||||
scope:actor.cp:councillor_chancellor ?= { diplomacy < monumentally_high_skill_rating }
|
||||
scope:recipient.cp:councillor_chancellor ?= { diplomacy < monumentally_high_skill_rating }
|
||||
}
|
||||
AND = {
|
||||
diplomacy >= monumentally_high_skill_rating
|
||||
scope:actor.cp:councillor_steward ?= { stewardship < monumentally_high_skill_rating }
|
||||
stewardship >= monumentally_high_skill_rating
|
||||
scope:recipient.cp:councillor_steward ?= { stewardship < monumentally_high_skill_rating }
|
||||
}
|
||||
AND = {
|
||||
diplomacy >= monumentally_high_skill_rating
|
||||
scope:actor.cp:councillor_spymaster ?= { intrigue < monumentally_high_skill_rating }
|
||||
intrigue >= monumentally_high_skill_rating
|
||||
scope:recipient.cp:councillor_spymaster ?= { intrigue < monumentally_high_skill_rating }
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
|
|
@ -3709,11 +3747,11 @@ demand_courtier_interaction = {
|
|||
scope:actor.cp:councillor_chancellor ?= { diplomacy < monumentally_high_skill_rating }
|
||||
}
|
||||
AND = {
|
||||
diplomacy >= monumentally_high_skill_rating
|
||||
stewardship >= monumentally_high_skill_rating
|
||||
scope:actor.cp:councillor_steward ?= { stewardship < monumentally_high_skill_rating }
|
||||
}
|
||||
AND = {
|
||||
diplomacy >= monumentally_high_skill_rating
|
||||
intrigue >= monumentally_high_skill_rating
|
||||
scope:actor.cp:councillor_spymaster ?= { intrigue < monumentally_high_skill_rating }
|
||||
}
|
||||
trigger_if = {
|
||||
|
|
@ -3777,6 +3815,7 @@ demand_courtier_interaction = {
|
|||
is_shown = {
|
||||
scope:actor != scope:recipient
|
||||
scope:recipient = {
|
||||
NOT = { government_has_flag = government_is_merchant }
|
||||
OR = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
|
|
@ -3990,11 +4029,11 @@ demand_courtier_interaction = {
|
|||
scope:actor.cp:councillor_chancellor ?= { diplomacy < monumentally_high_skill_rating }
|
||||
}
|
||||
AND = {
|
||||
diplomacy >= monumentally_high_skill_rating
|
||||
stewardship >= monumentally_high_skill_rating
|
||||
scope:actor.cp:councillor_steward ?= { stewardship < monumentally_high_skill_rating }
|
||||
}
|
||||
AND = {
|
||||
diplomacy >= monumentally_high_skill_rating
|
||||
intrigue >= monumentally_high_skill_rating
|
||||
scope:actor.cp:councillor_spymaster ?= { intrigue < monumentally_high_skill_rating }
|
||||
}
|
||||
trigger_if = {
|
||||
|
|
@ -4128,7 +4167,10 @@ demand_courtier_interaction = {
|
|||
}
|
||||
# Use Hook
|
||||
if = {
|
||||
limit = { scope:hook = yes }
|
||||
limit = {
|
||||
scope:hook = yes
|
||||
has_usable_hook = scope:recipient
|
||||
}
|
||||
use_hook = scope:recipient
|
||||
}
|
||||
}
|
||||
|
|
@ -4395,11 +4437,11 @@ demand_concubine_interaction = {
|
|||
scope:actor.cp:councillor_chancellor ?= { diplomacy < monumentally_high_skill_rating }
|
||||
}
|
||||
AND = {
|
||||
diplomacy >= monumentally_high_skill_rating
|
||||
stewardship >= monumentally_high_skill_rating
|
||||
scope:actor.cp:councillor_steward ?= { stewardship < monumentally_high_skill_rating }
|
||||
}
|
||||
AND = {
|
||||
diplomacy >= monumentally_high_skill_rating
|
||||
intrigue >= monumentally_high_skill_rating
|
||||
scope:actor.cp:councillor_spymaster ?= { intrigue < monumentally_high_skill_rating }
|
||||
}
|
||||
has_conventionally_attractive_trigger = yes
|
||||
|
|
@ -4677,7 +4719,10 @@ offer_tributary_status_interaction = { #Embrace as Tributary
|
|||
if = {
|
||||
limit = {
|
||||
is_confederation_member = yes
|
||||
confederation ?= { is_house_based = no }
|
||||
confederation ?= {
|
||||
is_house_based = no
|
||||
is_title_based = no
|
||||
}
|
||||
}
|
||||
confederation = { remove_confederation_member = scope:recipient }
|
||||
}
|
||||
|
|
@ -4921,7 +4966,7 @@ offer_tributary_status_interaction = { #Embrace as Tributary
|
|||
trigger = {
|
||||
scope:recipient.capital_province ?= {
|
||||
has_building_with_flag = mandala_capital_building
|
||||
has_ruined_great_building = no
|
||||
has_ruined_great_district = no
|
||||
}
|
||||
}
|
||||
add = -200
|
||||
|
|
@ -4948,7 +4993,7 @@ offer_tributary_status_interaction = { #Embrace as Tributary
|
|||
scope:actor.faith = scope:recipient.faith
|
||||
scope:actor.capital_province = {
|
||||
has_building_with_flag = mandala_capital_building
|
||||
has_ruined_great_building = no
|
||||
has_ruined_great_district = no
|
||||
}
|
||||
}
|
||||
add = {
|
||||
|
|
@ -5361,6 +5406,7 @@ reassert_tributary_interaction = {
|
|||
is_shown = {
|
||||
scope:recipient = {
|
||||
is_tributary_of = scope:actor
|
||||
NOT = { government_has_flag = government_is_merchant }
|
||||
is_ai = yes
|
||||
cease_tribute_payments_ai_chance > 0
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,6 +45,14 @@ grant_vassal_interaction = {
|
|||
}
|
||||
}
|
||||
scope:recipient.highest_held_title_tier > tier_barony
|
||||
scope:actor = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_republic
|
||||
}
|
||||
is_landed = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
|
|
@ -266,7 +274,7 @@ grant_vassal_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = miniscule_unity_gain
|
||||
|
|
@ -424,7 +432,7 @@ grant_vassal_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:recipient
|
||||
TARGET = scope:puppet_or_actor
|
||||
VALUE = miniscule_unity_loss
|
||||
|
|
@ -513,6 +521,15 @@ retract_vassal_interaction = {
|
|||
has_realm_law_flag = vassal_retraction_allowed
|
||||
}
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_republic
|
||||
}
|
||||
custom_description = {
|
||||
text = "has_law_allowing_vassal_retraction_republic"
|
||||
has_realm_law_flag = vassal_retraction_allowed
|
||||
}
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
realm_law_use_church_authority = yes
|
||||
|
|
@ -596,11 +613,18 @@ retract_vassal_interaction = {
|
|||
|
||||
on_decline = {
|
||||
scope:puppet_or_actor = { vassal_revocation_tyranny_effect = yes }
|
||||
if = {
|
||||
limit = {
|
||||
scope:puppet_or_actor = {
|
||||
NOT = { has_realm_law_flag = republic_vassal_refusal_allowed }
|
||||
}
|
||||
}
|
||||
war_for_retraction_effect = {
|
||||
LIEGE = scope:puppet_or_actor
|
||||
REBEL = scope:recipient
|
||||
SUBVASSAL = scope:secondary_recipient
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
add_opinion = {
|
||||
target = scope:puppet_or_actor
|
||||
|
|
@ -909,6 +933,15 @@ retract_vassal_interaction = {
|
|||
}
|
||||
desc = VASSALS_REFUSAL_indomitable_azatani
|
||||
}
|
||||
#GG modifier
|
||||
modifier = {
|
||||
add = -50
|
||||
OR = {
|
||||
gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:actor SECOND = scope:recipient }
|
||||
scope:recipient = { is_gg_undecided_trigger = yes }
|
||||
}
|
||||
desc = RECIPIENT_IS_NOT_YOUR_GG
|
||||
}
|
||||
}
|
||||
|
||||
#Use hook
|
||||
|
|
@ -1161,9 +1194,7 @@ retract_vassal_interaction = {
|
|||
scope:puppet_or_actor = {
|
||||
OR = {
|
||||
has_relation_friend = scope:recipient
|
||||
has_relation_best_friend = scope:recipient
|
||||
has_relation_lover = scope:recipient
|
||||
has_relation_soulmate = scope:recipient
|
||||
is_heir_of = scope:recipient
|
||||
}
|
||||
}
|
||||
|
|
@ -1224,6 +1255,13 @@ retract_vassal_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
scope:actor = {
|
||||
gg_hre_causes_additional_tyranny_trigger = { TARGET = scope:recipient }
|
||||
}
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1382,6 +1420,12 @@ create_claimant_faction_against_interaction = {
|
|||
text = "faction_can_join_create_in_another_faction"
|
||||
is_a_faction_member = no
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_republic
|
||||
}
|
||||
is_landed = yes
|
||||
}
|
||||
}
|
||||
|
||||
is_shown = {
|
||||
|
|
@ -1485,7 +1529,7 @@ create_claimant_faction_against_interaction = {
|
|||
trigger_if = {
|
||||
limit = {
|
||||
exists = scope:landed_title
|
||||
scope:actor.top_liege.primary_title.var:administrative_ui_special_title ?= scope:landed_title
|
||||
scope:actor.ceremonial_liege_title ?= scope:landed_title
|
||||
}
|
||||
scope:recipient = {
|
||||
tgp_is_in_ceremonial_house_trigger = yes
|
||||
|
|
@ -1611,9 +1655,7 @@ invite_to_council_position_interaction = {
|
|||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:recipient = {
|
||||
is_councillor_of = scope:actor
|
||||
}
|
||||
scope:recipient = { is_councillor_of = scope:actor }
|
||||
}
|
||||
desc = liege_offer_council_position_exchange
|
||||
}
|
||||
|
|
@ -1641,9 +1683,7 @@ invite_to_council_position_interaction = {
|
|||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:recipient = {
|
||||
is_powerful_vassal_of = scope:actor
|
||||
}
|
||||
scope:recipient = { is_powerful_vassal_of = scope:actor }
|
||||
}
|
||||
desc = liege_offer_council_position_powerful
|
||||
}
|
||||
|
|
@ -1666,14 +1706,13 @@ invite_to_council_position_interaction = {
|
|||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
scope:recipient.liege = scope:actor
|
||||
ALL_FALSE = {
|
||||
scope:recipient.council_task = scope:target
|
||||
scope:actor = { is_at_war_with = scope:recipient }
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
exists = scope:target.councillor
|
||||
}
|
||||
limit = { exists = scope:target.councillor }
|
||||
scope:target = { can_fire_position = yes }
|
||||
NOT = {
|
||||
scope:target.councillor = {
|
||||
|
|
@ -1709,7 +1748,7 @@ invite_to_council_position_interaction = {
|
|||
# If we're a clan this interaction affects unity
|
||||
#if = {
|
||||
# limit = { scope:actor = { NOT = { has_character_flag = fp3_consulted_house } } }
|
||||
# add_clan_unity_interaction_effect = {
|
||||
# add_house_unity_interaction_effect = {
|
||||
# CHARACTER = scope:actor
|
||||
# TARGET = scope:recipient
|
||||
# VALUE = miniscule_unity_gain
|
||||
|
|
@ -1898,7 +1937,7 @@ force_onto_council = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = medium_unity_loss
|
||||
|
|
@ -2132,8 +2171,6 @@ force_onto_council = {
|
|||
OR = {
|
||||
has_relation_friend = scope:recipient
|
||||
has_relation_lover = scope:recipient
|
||||
has_relation_best_friend = scope:recipient
|
||||
has_relation_soulmate = scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2245,7 +2282,7 @@ stop_attacker_vassal_war_interaction = {
|
|||
exists = scope:actor.house
|
||||
scope:recipient.house != scope:actor.house
|
||||
}
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:target.primary_defender
|
||||
VALUE = medium_unity_gain
|
||||
|
|
@ -2259,7 +2296,7 @@ stop_attacker_vassal_war_interaction = {
|
|||
exists = scope:target.primary_defender.house
|
||||
scope:target.primary_defender.house != scope:actor.house
|
||||
}
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = medium_unity_loss
|
||||
|
|
@ -2381,7 +2418,7 @@ stop_defender_vassal_war_interaction = {
|
|||
exists = scope:target.primary_attacker.house
|
||||
scope:target.primary_attacker.house != scope:actor.house
|
||||
}
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = medium_unity_loss
|
||||
|
|
@ -2395,7 +2432,7 @@ stop_defender_vassal_war_interaction = {
|
|||
exists = scope:recipient.house
|
||||
scope:recipient.house != scope:actor.house
|
||||
}
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:target.primary_attacker
|
||||
VALUE = medium_unity_gain
|
||||
|
|
@ -2552,7 +2589,7 @@ ask_for_pardon_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_gain
|
||||
|
|
@ -2610,7 +2647,7 @@ ask_for_pardon_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:recipient
|
||||
TARGET = scope:actor
|
||||
VALUE = minor_unity_loss
|
||||
|
|
@ -2984,7 +3021,7 @@ pardon_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_gain
|
||||
|
|
@ -3016,9 +3053,7 @@ pardon_interaction = {
|
|||
scope:recipient = {
|
||||
OR = {
|
||||
has_relation_friend = scope:puppet_or_actor
|
||||
has_relation_best_friend = scope:puppet_or_actor
|
||||
has_relation_lover = scope:puppet_or_actor
|
||||
has_relation_soulmate = scope:puppet_or_actor
|
||||
is_primary_heir_of = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
|
|
@ -3108,6 +3143,12 @@ vassal_claim_liege_title_interaction = {
|
|||
|
||||
scope:puppet_or_actor ?= {
|
||||
is_physically_able_adult = yes
|
||||
trigger_if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_republic
|
||||
}
|
||||
is_landed = yes
|
||||
}
|
||||
}
|
||||
|
||||
scope:recipient = scope:puppet_or_actor.liege
|
||||
|
|
@ -3377,7 +3418,7 @@ vassal_claim_liege_title_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = major_unity_loss
|
||||
|
|
@ -3438,10 +3479,7 @@ vassal_claim_liege_title_interaction = {
|
|||
modifier = {
|
||||
add = 25
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
has_relation_rival = scope:puppet_or_actor
|
||||
has_relation_nemesis = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3566,7 +3604,6 @@ vassal_claim_liege_title_interaction = {
|
|||
scope:recipient = {
|
||||
OR = {
|
||||
has_relation_friend = scope:puppet_or_actor
|
||||
has_relation_best_friend = scope:puppet_or_actor
|
||||
has_relation_soulmate = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
|
|
@ -3618,7 +3655,7 @@ give_vassal_directive_interaction = {
|
|||
}
|
||||
|
||||
send_option = {
|
||||
flag = improve_development
|
||||
flag = improve_prosperity
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
government_has_mechanic = administrative
|
||||
|
|
@ -3810,7 +3847,7 @@ give_vassal_directive_interaction = {
|
|||
text = has_any_directive
|
||||
scope:recipient = {
|
||||
has_variable = {
|
||||
name = vassal_directive_improve_development
|
||||
name = vassal_directive_improve_prosperity
|
||||
name = vassal_directive_train_commanders
|
||||
name = vassal_directive_build_maa
|
||||
name = vassal_directive_convert_faith
|
||||
|
|
@ -3834,7 +3871,7 @@ give_vassal_directive_interaction = {
|
|||
if = {
|
||||
limit = {
|
||||
has_variable = {
|
||||
name = vassal_directive_improve_development
|
||||
name = vassal_directive_improve_prosperity
|
||||
name = vassal_directive_train_commanders
|
||||
name = vassal_directive_build_maa
|
||||
name = vassal_directive_convert_faith
|
||||
|
|
@ -3857,11 +3894,11 @@ give_vassal_directive_interaction = {
|
|||
switch = {
|
||||
trigger = yes
|
||||
|
||||
scope:improve_development ?= {
|
||||
scope:improve_prosperity ?= {
|
||||
custom_tooltip = {
|
||||
text = vassal_directive_improve_development
|
||||
text = vassal_directive_improve_prosperity
|
||||
remove_vassal_directives = yes
|
||||
add_character_flag = vassal_directive_improve_development
|
||||
add_character_flag = vassal_directive_improve_prosperity
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3984,11 +4021,11 @@ give_vassal_directive_interaction = {
|
|||
|
||||
modifier = {
|
||||
add = 100
|
||||
scope:improve_development ?= yes
|
||||
scope:improve_prosperity ?= yes
|
||||
scope:recipient = {
|
||||
has_none_of_variables = {
|
||||
name = vassal_directive_building_focus_economy
|
||||
name = vassal_directive_improve_development
|
||||
name = vassal_directive_improve_prosperity
|
||||
}
|
||||
OR = {
|
||||
vassal_contract_has_flag = admin_theme_civilian
|
||||
|
|
@ -4003,7 +4040,7 @@ give_vassal_directive_interaction = {
|
|||
scope:recipient = {
|
||||
has_none_of_variables = {
|
||||
name = vassal_directive_building_focus_economy
|
||||
name = vassal_directive_improve_development
|
||||
name = vassal_directive_improve_prosperity
|
||||
}
|
||||
OR = {
|
||||
vassal_contract_has_flag = admin_theme_civilian
|
||||
|
|
|
|||
|
|
@ -30,16 +30,13 @@ fund_inspiration_interaction = {
|
|||
is_shown = {
|
||||
scope:recipient = {
|
||||
is_ruler = no
|
||||
inspiration ?= {
|
||||
NOT = {
|
||||
exists = inspiration_sponsor
|
||||
}
|
||||
exists = inspiration
|
||||
any_inspiration = {
|
||||
NOT = { exists = inspiration_sponsor }
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
any_courtier_or_guest = {
|
||||
this = scope:recipient
|
||||
}
|
||||
any_courtier_or_guest = { this = scope:recipient }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -62,8 +59,17 @@ fund_inspiration_interaction = {
|
|||
}
|
||||
}
|
||||
scope:actor = {
|
||||
can_sponsor_inspiration = scope:recipient.inspiration
|
||||
gold >= scope:recipient.inspiration.base_inspiration_gold_cost
|
||||
trigger_if = {
|
||||
limit = { government_has_flag = government_is_merchant }
|
||||
has_realm_law = company_purpose_artisan
|
||||
}
|
||||
trigger_else = {
|
||||
custom_description = {
|
||||
text = needs_inspiration_to_sponsor_tt
|
||||
can_sponsor_inspiration = scope:recipient.inspiration
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -134,7 +140,7 @@ fund_inspiration_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = miniscule_unity_gain
|
||||
|
|
@ -344,7 +350,7 @@ indebt_guest_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = miniscule_unity_loss
|
||||
|
|
@ -368,7 +374,7 @@ indebt_guest_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = miniscule_unity_loss
|
||||
|
|
|
|||
|
|
@ -368,7 +368,7 @@ share_known_secrets_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_loss
|
||||
|
|
@ -620,7 +620,7 @@ propose_best_friendship_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_gain
|
||||
|
|
@ -669,7 +669,7 @@ propose_best_friendship_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_loss
|
||||
|
|
@ -807,7 +807,7 @@ reaffirm_best_friendship_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_gain
|
||||
|
|
@ -851,7 +851,7 @@ reaffirm_best_friendship_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_loss
|
||||
|
|
@ -978,7 +978,7 @@ synergise_friendship_interaction = {
|
|||
synergise_friendship_interaction_actual_effect = yes
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_gain
|
||||
|
|
@ -1012,7 +1012,7 @@ synergise_friendship_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_loss
|
||||
|
|
@ -1138,18 +1138,10 @@ challenge_to_2p_chess_interaction = {
|
|||
bg_can_start_board_game_is_scope_banned_checks_trigger = no
|
||||
}
|
||||
}
|
||||
#limit range for landless adventurers
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:actor = {
|
||||
has_government = landless_adventurer_government
|
||||
}
|
||||
}
|
||||
#Has to be used instead of diplo range checks in laamp to landed interactions
|
||||
ep3_laamp_diplo_range_trigger = {
|
||||
#limit range for landless adventurers/merchants
|
||||
exceptional_diplo_range_trigger = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
LAAMP = scope:actor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1379,7 +1371,7 @@ challenge_to_2p_chess_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = miniscule_unity_loss
|
||||
|
|
@ -1425,7 +1417,7 @@ challenge_to_2p_chess_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:recipient
|
||||
TARGET = scope:actor
|
||||
VALUE = miniscule_unity_loss
|
||||
|
|
@ -2149,18 +2141,10 @@ purchase_truce_interaction = {
|
|||
NOT = { any_truce_holder = { this = scope:recipient } }
|
||||
}
|
||||
}
|
||||
#limit range for landless adventurers
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:puppet_or_actor = {
|
||||
has_government = landless_adventurer_government
|
||||
}
|
||||
}
|
||||
#Has to be used instead of diplo range checks in laamp to landed interactions
|
||||
ep3_laamp_diplo_range_trigger = {
|
||||
#limit range for landless adventurers/merchants
|
||||
exceptional_diplo_range_trigger = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
LAAMP = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2234,7 +2218,7 @@ purchase_truce_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_gain
|
||||
|
|
@ -2281,7 +2265,7 @@ purchase_truce_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:recipient
|
||||
TARGET = scope:puppet_or_actor
|
||||
VALUE = minor_unity_loss
|
||||
|
|
@ -2656,6 +2640,15 @@ purchase_truce_interaction = {
|
|||
empire = 0
|
||||
hegemony = 0
|
||||
}
|
||||
ai_frequency_by_tier_government_override = {
|
||||
government = merchant_government
|
||||
barony = 0
|
||||
county = 180
|
||||
duchy = 0
|
||||
kingdom = 0
|
||||
empire = 0
|
||||
hegemony = 0
|
||||
}
|
||||
ai_will_do = {
|
||||
base = 0
|
||||
|
||||
|
|
@ -2899,7 +2892,7 @@ incite_revolts_interaction = {
|
|||
any_sub_realm_county = {
|
||||
count > 0
|
||||
holder = scope:recipient
|
||||
county_opinion < 0
|
||||
popular_opinion < 0
|
||||
NOR = {
|
||||
has_county_modifier = small_investment_in_revolt_modifier
|
||||
has_county_modifier = medium_investment_in_revolt_modifier
|
||||
|
|
@ -2954,7 +2947,7 @@ incite_revolts_interaction = {
|
|||
has_county_modifier = medium_investment_in_revolt_modifier
|
||||
has_county_modifier = high_investment_in_revolt_modifier
|
||||
}
|
||||
county_opinion < 0
|
||||
popular_opinion < 0
|
||||
holder = scope:recipient
|
||||
}
|
||||
weight = {
|
||||
|
|
@ -3005,10 +2998,7 @@ incite_revolts_interaction = {
|
|||
if = {
|
||||
limit = {
|
||||
scope:actor = {
|
||||
OR = {
|
||||
has_relation_rival = scope:recipient
|
||||
has_relation_nemesis = scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
stress_and_fulfillment_impact = {
|
||||
|
|
@ -3183,7 +3173,7 @@ incite_revolts_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = medium_unity_loss
|
||||
|
|
@ -3289,10 +3279,7 @@ incite_revolts_interaction = {
|
|||
modifier = {
|
||||
add = 50
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
has_relation_rival = scope:actor
|
||||
has_relation_nemesis = scope:actor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3312,8 +3299,6 @@ incite_revolts_interaction = {
|
|||
OR = {
|
||||
has_relation_friend = scope:actor
|
||||
has_relation_lover = scope:actor
|
||||
has_relation_soulmate = scope:actor
|
||||
has_relation_best_friend = scope:actor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3333,16 +3318,16 @@ incite_revolts_interaction = {
|
|||
# special_interaction = interfere_in_war_interaction
|
||||
# popup_on_receive = yes
|
||||
# pause_on_receive = yes
|
||||
#
|
||||
|
||||
# ai_maybe = yes
|
||||
# desc = contract_assistance_interaction_desc
|
||||
# icon = icon_gold
|
||||
#
|
||||
|
||||
# greeting = positive
|
||||
# notification_text = contract_assistance_interaction_notification
|
||||
#
|
||||
|
||||
# cooldown_against_recipient = { years = 5 }
|
||||
#
|
||||
|
||||
# is_available = {
|
||||
# trigger_if = {
|
||||
# limit = { is_ai = yes }
|
||||
|
|
@ -3361,7 +3346,7 @@ incite_revolts_interaction = {
|
|||
# }
|
||||
# NOT = { government_has_flag = government_is_herder }
|
||||
# }
|
||||
#
|
||||
|
||||
# is_shown = {
|
||||
# # Recipient is Involved in Struggle, at war, and not at war with Actor
|
||||
# scope:recipient = {
|
||||
|
|
@ -3386,15 +3371,15 @@ incite_revolts_interaction = {
|
|||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
|
||||
# has_valid_target = {
|
||||
# exists = scope:target
|
||||
# }
|
||||
#
|
||||
|
||||
# has_valid_target_showing_failures_only = {
|
||||
# scope:target = { is_war_leader = scope:recipient }
|
||||
# }
|
||||
#
|
||||
|
||||
# is_valid_showing_failures_only = {
|
||||
# scope:recipient = {
|
||||
# # Cannot demand gold from allies
|
||||
|
|
@ -3415,7 +3400,7 @@ incite_revolts_interaction = {
|
|||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
|
||||
# # Recipient is not in (any) war against your liege(s)
|
||||
# trigger_if = {
|
||||
# limit = { exists = scope:actor.liege }
|
||||
|
|
@ -3427,7 +3412,7 @@ incite_revolts_interaction = {
|
|||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
|
||||
# # Cannot join wars with raised armies
|
||||
# scope:actor = {
|
||||
# has_raised_armies = no
|
||||
|
|
@ -3442,13 +3427,13 @@ incite_revolts_interaction = {
|
|||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
|
||||
# # Can only contract one war at a time
|
||||
# custom_tooltip = {
|
||||
# text = contract_assistance_war_already_contracted_tt
|
||||
# scope:actor = { NOT = { has_variable = owed_contract_assistance_war } }
|
||||
# }
|
||||
#
|
||||
|
||||
# # Adventurers can't join wars in places they're exiled from.
|
||||
# custom_tooltip = {
|
||||
# text = the_wake_1
|
||||
|
|
@ -3459,7 +3444,7 @@ incite_revolts_interaction = {
|
|||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
|
||||
# # Sensible restrictions to keep CulTrads from making this OP.
|
||||
# scope:recipient = {
|
||||
# custom_tooltip = {
|
||||
|
|
@ -3506,7 +3491,7 @@ incite_revolts_interaction = {
|
|||
# # Liege checks
|
||||
# can_join_war_liege_vassal_check_trigger = { WARRIOR = scope:recipient JOINER = scope:actor }
|
||||
# }
|
||||
#
|
||||
|
||||
# is_highlighted = {
|
||||
# scope:actor = {
|
||||
# has_realm_law = camp_purpose_mercenaries
|
||||
|
|
@ -3541,7 +3526,7 @@ incite_revolts_interaction = {
|
|||
# craven = medium_stress_impact_gain
|
||||
# shy = minor_stress_impact_gain
|
||||
# }
|
||||
#
|
||||
|
||||
# # Struggle Catalyst
|
||||
# if = {
|
||||
# limit = {
|
||||
|
|
@ -3587,9 +3572,9 @@ incite_revolts_interaction = {
|
|||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
|
||||
# # If we're a clan this interaction affects unity
|
||||
# add_clan_unity_interaction_effect = {
|
||||
# add_house_unity_interaction_effect = {
|
||||
# CHARACTER = scope:actor
|
||||
# TARGET = scope:recipient
|
||||
# VALUE = medium_unity_loss
|
||||
|
|
@ -3597,13 +3582,13 @@ incite_revolts_interaction = {
|
|||
# REVERSE_NON_HOUSE_TARGET = no
|
||||
# }
|
||||
# }
|
||||
#
|
||||
|
||||
# on_decline = {
|
||||
# # Refusal notification
|
||||
# scope:actor = { trigger_event = char_interaction.0236 }
|
||||
#
|
||||
|
||||
# # If we're a clan this interaction affects unity
|
||||
# add_clan_unity_interaction_effect = {
|
||||
# add_house_unity_interaction_effect = {
|
||||
# CHARACTER = scope:recipient
|
||||
# TARGET = scope:actor
|
||||
# VALUE = minor_unity_gain
|
||||
|
|
@ -3802,7 +3787,7 @@ incite_revolts_interaction = {
|
|||
# multiplier = 0.25
|
||||
# desc = AI_OPINION_REASON
|
||||
# }
|
||||
#
|
||||
|
||||
# modifier = {
|
||||
# add = {
|
||||
# value = ai_greed
|
||||
|
|
@ -3811,7 +3796,7 @@ incite_revolts_interaction = {
|
|||
# ai_greed <= 0.5
|
||||
# desc = AI_VALUE_MODIFIER_GREED
|
||||
# }
|
||||
#
|
||||
|
||||
# modifier = {
|
||||
# add = {
|
||||
# value = ai_boldness
|
||||
|
|
@ -3820,7 +3805,7 @@ incite_revolts_interaction = {
|
|||
# NOT = { ai_boldness = 0 }
|
||||
# desc = AI_VALUE_MODIFIER_BOLDNESS
|
||||
# }
|
||||
#
|
||||
|
||||
# modifier = {
|
||||
# add = 50
|
||||
# desc = camp_purpose_mercenaries_reason
|
||||
|
|
@ -3834,12 +3819,12 @@ incite_revolts_interaction = {
|
|||
# # WARJOINER = scope:actor
|
||||
# # }
|
||||
# }
|
||||
#
|
||||
|
||||
# ai_target_quick_trigger = { adult = yes }
|
||||
# ai_targets = {
|
||||
# ai_recipients = neighboring_rulers
|
||||
# }
|
||||
#
|
||||
|
||||
# ai_set_target = {
|
||||
# scope:recipient = {
|
||||
# ordered_character_war = { #We offer our services for the war where the character is losing the most
|
||||
|
|
@ -3881,10 +3866,10 @@ incite_revolts_interaction = {
|
|||
# empire = 12
|
||||
# hegemony = 12
|
||||
# }
|
||||
#
|
||||
|
||||
# ai_will_do = {
|
||||
# base = 0
|
||||
#
|
||||
|
||||
# modifier = { # Increase chance if recipient is losing a war
|
||||
# trigger_if = {
|
||||
# limit = { exists = scope:target }
|
||||
|
|
@ -3896,7 +3881,7 @@ incite_revolts_interaction = {
|
|||
# modifier = { # Increase chance with amount of gold of recipient over interaction cost
|
||||
# factor = offer_assistance_interaction_gold_modifier_value
|
||||
# }
|
||||
#
|
||||
|
||||
# modifier = { # Increase chance if likes recipient more than enemy
|
||||
# scope:actor = {
|
||||
# save_temporary_opinion_value_as = {
|
||||
|
|
@ -3919,7 +3904,7 @@ incite_revolts_interaction = {
|
|||
# }
|
||||
# add = 25
|
||||
# }
|
||||
#
|
||||
|
||||
# modifier = { # Increase chance for family
|
||||
# scope:recipient = {
|
||||
# OR = {
|
||||
|
|
@ -3929,7 +3914,7 @@ incite_revolts_interaction = {
|
|||
# }
|
||||
# add = 25
|
||||
# }
|
||||
#
|
||||
|
||||
# modifier = { # Decrease chance if army is small
|
||||
# trigger_if = {
|
||||
# limit = { exists = scope:target }
|
||||
|
|
@ -3937,7 +3922,7 @@ incite_revolts_interaction = {
|
|||
# }
|
||||
# add = -50
|
||||
# }
|
||||
#
|
||||
|
||||
# modifier = { # Increase chance for rivalry
|
||||
# trigger_if = {
|
||||
# limit = { exists = scope:target }
|
||||
|
|
@ -3951,7 +3936,7 @@ incite_revolts_interaction = {
|
|||
# }
|
||||
# add = 25
|
||||
# }
|
||||
#
|
||||
|
||||
# # Higher chance to target a human player
|
||||
# modifier = {
|
||||
# scope:recipient = { is_ai = no }
|
||||
|
|
@ -3973,16 +3958,16 @@ incite_revolts_interaction = {
|
|||
# special_interaction = call_ally_interaction
|
||||
# popup_on_receive = yes
|
||||
# pause_on_receive = yes
|
||||
#
|
||||
|
||||
# ai_maybe = yes
|
||||
# desc = request_contract_assistance_interaction_desc
|
||||
# icon = icon_gold
|
||||
#
|
||||
|
||||
# greeting = positive
|
||||
# notification_text = request_contract_assistance_interaction_notification
|
||||
#
|
||||
|
||||
# cooldown_against_recipient = { years = 5 }
|
||||
#
|
||||
|
||||
# is_available = {
|
||||
# is_at_war = yes
|
||||
# any_character_struggle = {
|
||||
|
|
@ -3997,7 +3982,7 @@ incite_revolts_interaction = {
|
|||
# is_imprisoned = no
|
||||
# }
|
||||
# }
|
||||
#
|
||||
|
||||
# is_shown = {
|
||||
# # Actor is Involved in Struggle
|
||||
# scope:actor = {
|
||||
|
|
@ -4014,15 +3999,15 @@ incite_revolts_interaction = {
|
|||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
|
||||
# has_valid_target = {
|
||||
# exists = scope:target
|
||||
# }
|
||||
#
|
||||
|
||||
# has_valid_target_showing_failures_only = {
|
||||
# scope:target = {
|
||||
# is_war_leader = scope:actor
|
||||
#
|
||||
|
||||
# # Cannot contract against allies
|
||||
# trigger_if = {
|
||||
# limit = {
|
||||
|
|
@ -4038,7 +4023,7 @@ incite_revolts_interaction = {
|
|||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
|
||||
# # Adventurers can't join wars in places they're exiled from.
|
||||
# trigger_if = {
|
||||
# limit = {
|
||||
|
|
@ -4055,7 +4040,7 @@ incite_revolts_interaction = {
|
|||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
|
||||
# is_valid_showing_failures_only = {
|
||||
# scope:recipient = {
|
||||
# # Cannot demand gold from allies
|
||||
|
|
@ -4074,10 +4059,10 @@ incite_revolts_interaction = {
|
|||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
|
||||
# # Cannot join wars with raised armies
|
||||
# scope:recipient = { has_raised_armies = no }
|
||||
#
|
||||
|
||||
# # Can only contract one war at a time
|
||||
# custom_tooltip = {
|
||||
# text = contract_assistance_war_already_contracted_tt
|
||||
|
|
@ -4086,7 +4071,7 @@ incite_revolts_interaction = {
|
|||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
|
||||
# can_be_picked = {
|
||||
# # Recipient is war leader in chosen war
|
||||
# scope:target = {
|
||||
|
|
@ -4103,7 +4088,7 @@ incite_revolts_interaction = {
|
|||
# # Liege checks
|
||||
# can_join_war_liege_vassal_check_trigger = { WARRIOR = scope:actor JOINER = scope:recipient }
|
||||
# }
|
||||
#
|
||||
|
||||
# on_accept = {
|
||||
# # Add Actor to Recipient's war
|
||||
# scope:target = {
|
||||
|
|
@ -4133,8 +4118,8 @@ incite_revolts_interaction = {
|
|||
# craven = medium_stress_impact_gain
|
||||
# shy = minor_stress_impact_gain
|
||||
# }
|
||||
#
|
||||
#
|
||||
|
||||
|
||||
# # Struggle Catalyst
|
||||
# if = {
|
||||
# limit = {
|
||||
|
|
@ -4180,9 +4165,9 @@ incite_revolts_interaction = {
|
|||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
|
||||
# # If we're a clan this interaction affects unity
|
||||
# add_clan_unity_interaction_effect = {
|
||||
# add_house_unity_interaction_effect = {
|
||||
# CHARACTER = scope:actor
|
||||
# TARGET = scope:recipient
|
||||
# VALUE = medium_unity_loss
|
||||
|
|
@ -4190,13 +4175,13 @@ incite_revolts_interaction = {
|
|||
# REVERSE_NON_HOUSE_TARGET = no
|
||||
# }
|
||||
# }
|
||||
#
|
||||
|
||||
# on_decline = {
|
||||
# # Refusal notification
|
||||
# scope:actor = { trigger_event = char_interaction.0236 }
|
||||
#
|
||||
|
||||
# # If we're a clan this interaction affects unity
|
||||
# add_clan_unity_interaction_effect = {
|
||||
# add_house_unity_interaction_effect = {
|
||||
# CHARACTER = scope:recipient
|
||||
# TARGET = scope:actor
|
||||
# VALUE = minor_unity_gain
|
||||
|
|
@ -4204,10 +4189,10 @@ incite_revolts_interaction = {
|
|||
# REVERSE_NON_HOUSE_TARGET = no
|
||||
# }
|
||||
# }
|
||||
#
|
||||
|
||||
# ai_accept = {
|
||||
# base = 0 # Reluctant to spend money without good reason
|
||||
#
|
||||
|
||||
# # Recipient has low cash
|
||||
# modifier = {
|
||||
# add = {
|
||||
|
|
@ -4291,7 +4276,7 @@ incite_revolts_interaction = {
|
|||
# multiplier = 0.25
|
||||
# desc = AI_OPINION_REASON
|
||||
# }
|
||||
#
|
||||
|
||||
# modifier = {
|
||||
# add = {
|
||||
# value = ai_greed
|
||||
|
|
@ -4300,7 +4285,7 @@ incite_revolts_interaction = {
|
|||
# ai_greed <= 0.5
|
||||
# desc = AI_VALUE_MODIFIER_GREED
|
||||
# }
|
||||
#
|
||||
|
||||
# modifier = {
|
||||
# add = {
|
||||
# value = ai_boldness
|
||||
|
|
@ -4309,19 +4294,19 @@ incite_revolts_interaction = {
|
|||
# NOT = { ai_boldness = 0 }
|
||||
# desc = AI_VALUE_MODIFIER_BOLDNESS
|
||||
# }
|
||||
#
|
||||
|
||||
# # Allegiances
|
||||
# fp2_contracting_ally_modifier = {
|
||||
# WARMONGER = scope:actor
|
||||
# WARJOINER = scope:recipient
|
||||
# }
|
||||
# }
|
||||
#
|
||||
|
||||
# ai_target_quick_trigger = { adult = yes }
|
||||
# ai_targets = {
|
||||
# ai_recipients = neighboring_rulers
|
||||
# }
|
||||
#
|
||||
|
||||
# ai_set_target = {
|
||||
# scope:actor = {
|
||||
# ordered_character_war = { #We offer our services for the war where the character is losing the most
|
||||
|
|
@ -4350,7 +4335,7 @@ incite_revolts_interaction = {
|
|||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
|
||||
# ai_targets = {
|
||||
# ai_recipients = peer_vassals
|
||||
# }
|
||||
|
|
@ -4362,10 +4347,10 @@ incite_revolts_interaction = {
|
|||
# empire = 36
|
||||
# hegemony = 0
|
||||
# }
|
||||
#
|
||||
|
||||
# ai_will_do = {
|
||||
# base = 0
|
||||
#
|
||||
|
||||
# modifier = { # AI is losing the war
|
||||
# trigger_if = {
|
||||
# limit = { exists = scope:target }
|
||||
|
|
@ -4381,7 +4366,7 @@ incite_revolts_interaction = {
|
|||
# }
|
||||
# add = 15
|
||||
# }
|
||||
#
|
||||
|
||||
# modifier = { # Increase chance for asking family
|
||||
# scope:recipient = {
|
||||
# OR = {
|
||||
|
|
@ -4391,7 +4376,7 @@ incite_revolts_interaction = {
|
|||
# }
|
||||
# factor = 2
|
||||
# }
|
||||
#
|
||||
|
||||
# modifier = { # Decrease chance if army is small
|
||||
# trigger_if = {
|
||||
# limit = { exists = scope:target }
|
||||
|
|
@ -4407,7 +4392,7 @@ incite_revolts_interaction = {
|
|||
# }
|
||||
# add = -50
|
||||
# }
|
||||
#
|
||||
|
||||
# modifier = { # Increase chance for rivalry
|
||||
# trigger_if = {
|
||||
# limit = { exists = scope:target }
|
||||
|
|
@ -4421,7 +4406,7 @@ incite_revolts_interaction = {
|
|||
# }
|
||||
# add = 25
|
||||
# }
|
||||
#
|
||||
|
||||
# modifier = { # AI is extremely rich
|
||||
# short_term_gold >= ai_war_chest_desired_gold_value
|
||||
# add = 50
|
||||
|
|
@ -4739,7 +4724,7 @@ enforce_truce_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = medium_unity_gain
|
||||
|
|
@ -4753,7 +4738,7 @@ enforce_truce_interaction = {
|
|||
scope:actor = { trigger_event = char_interaction.0236 }
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:recipient
|
||||
TARGET = scope:actor
|
||||
VALUE = medium_unity_loss
|
||||
|
|
@ -5092,7 +5077,7 @@ bargain_fealty_interaction = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = medium_unity_gain
|
||||
|
|
@ -5106,7 +5091,7 @@ bargain_fealty_interaction = {
|
|||
scope:actor = { trigger_event = char_interaction.0236 }
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:recipient
|
||||
TARGET = scope:actor
|
||||
VALUE = minor_unity_loss
|
||||
|
|
|
|||
|
|
@ -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,12 +273,7 @@ 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 = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = medium_unity_loss
|
||||
|
|
@ -266,7 +281,6 @@ offer_hostage_interaction = {
|
|||
REVERSE_NON_HOUSE_TARGET = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
on_decline = {
|
||||
scope:actor = {
|
||||
|
|
@ -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,12 +946,7 @@ 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 = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_loss
|
||||
|
|
@ -910,7 +954,6 @@ demand_hostage_interaction = {
|
|||
REVERSE_NON_HOUSE_TARGET = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
on_decline = {
|
||||
show_as_tooltip = {
|
||||
|
|
@ -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,19 +1702,13 @@ 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 = {
|
||||
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 = {
|
||||
HOUSE = scope:recipient.house
|
||||
|
|
|
|||
|
|
@ -1151,10 +1151,9 @@ support_candidacy_interaction = {
|
|||
|
||||
# No one promoting... ripe for the taking
|
||||
modifier = {
|
||||
scope:major_influence_option = yes
|
||||
scope:target = {
|
||||
holder = {
|
||||
has_realm_law_flag = appointment_type_succession
|
||||
}
|
||||
has_order_of_succession = appointment
|
||||
current_heir ?= {
|
||||
NOR = {
|
||||
AND = {
|
||||
|
|
@ -1177,28 +1176,33 @@ support_candidacy_interaction = {
|
|||
|
||||
# Promote characters we like
|
||||
modifier = {
|
||||
scope:major_influence_option = yes
|
||||
scope:secondary_recipient ?= house.house_confederation.leading_house.house_head
|
||||
factor = 5
|
||||
}
|
||||
modifier = {
|
||||
scope:major_influence_option = yes
|
||||
scope:secondary_recipient ?= {
|
||||
is_close_family_of = scope:actor
|
||||
}
|
||||
factor = 3
|
||||
}
|
||||
modifier = {
|
||||
scope:major_influence_option = yes
|
||||
scope:secondary_recipient ?= {
|
||||
is_extended_family_of = scope:actor
|
||||
}
|
||||
factor = 1.5
|
||||
}
|
||||
modifier = {
|
||||
scope:major_influence_option = yes
|
||||
scope:actor = {
|
||||
has_relation_friend = scope:secondary_recipient
|
||||
}
|
||||
factor = 2
|
||||
}
|
||||
modifier = {
|
||||
scope:major_influence_option = yes
|
||||
scope:actor = {
|
||||
has_relation_best_friend = scope:secondary_recipient
|
||||
}
|
||||
|
|
@ -1207,6 +1211,7 @@ support_candidacy_interaction = {
|
|||
|
||||
# For the imperial title, we want to promote ourselves
|
||||
modifier = {
|
||||
scope:major_influence_option = yes
|
||||
scope:target.tier >= tier_empire
|
||||
scope:actor = scope:secondary_recipient
|
||||
factor = 5
|
||||
|
|
@ -1214,6 +1219,7 @@ support_candidacy_interaction = {
|
|||
|
||||
# Prefer unlanded relatives
|
||||
modifier = {
|
||||
scope:major_influence_option = yes
|
||||
scope:target.tier < tier_empire
|
||||
scope:secondary_recipient ?= {
|
||||
is_ruler = no
|
||||
|
|
@ -1223,6 +1229,7 @@ support_candidacy_interaction = {
|
|||
|
||||
# Prefer titles that are somewhat close to the capital
|
||||
modifier = {
|
||||
scope:major_influence_option = yes
|
||||
exists = scope:recipient.capital_province # Make sure the top liege has a capital
|
||||
scope:target = {
|
||||
title_capital_county ?= {
|
||||
|
|
@ -1237,6 +1244,7 @@ support_candidacy_interaction = {
|
|||
|
||||
# Try to avoid promoting the same candidate for multiple titles if they are winning a title already
|
||||
modifier = {
|
||||
scope:major_influence_option = yes
|
||||
scope:secondary_recipient ?= {
|
||||
any_heir_title = {
|
||||
is_noble_family_title = no
|
||||
|
|
@ -1250,10 +1258,15 @@ support_candidacy_interaction = {
|
|||
|
||||
# Promote only one house member for each title
|
||||
modifier = {
|
||||
scope:target = {
|
||||
holder = {
|
||||
has_realm_law_flag = appointment_type_succession
|
||||
scope:major_influence_option = yes
|
||||
scope:target = { has_order_of_succession = appointment }
|
||||
scope:secondary_recipient ?= {
|
||||
exists = house
|
||||
exists = scope:actor.house
|
||||
house = scope:actor.house
|
||||
"appointment_candidate_accumulated_score(scope:target)" <= 0
|
||||
}
|
||||
scope:target = {
|
||||
any_title_heir = {
|
||||
exists = house
|
||||
exists = scope:actor.house
|
||||
|
|
@ -1261,17 +1274,12 @@ support_candidacy_interaction = {
|
|||
"appointment_candidate_accumulated_score(scope:target)" > 0
|
||||
}
|
||||
}
|
||||
scope:secondary_recipient ?= {
|
||||
exists = house
|
||||
exists = scope:actor.house
|
||||
house = scope:actor.house
|
||||
"appointment_candidate_accumulated_score(scope:target)" <= 0
|
||||
}
|
||||
factor = 0
|
||||
}
|
||||
|
||||
# Don't outcompete our own house/candidate at the top, or someone we like in the top 3
|
||||
modifier = {
|
||||
scope:major_influence_option = yes
|
||||
scope:target = {
|
||||
any_title_heir = {
|
||||
save_temporary_scope_as = heir
|
||||
|
|
@ -1283,12 +1291,6 @@ support_candidacy_interaction = {
|
|||
}
|
||||
OR = {
|
||||
AND = {
|
||||
scope:target = {
|
||||
place_in_line_of_succession = {
|
||||
target = scope:heir
|
||||
value = 1
|
||||
}
|
||||
}
|
||||
OR = {
|
||||
scope:heir = scope:secondary_recipient
|
||||
AND = {
|
||||
|
|
@ -1297,6 +1299,12 @@ support_candidacy_interaction = {
|
|||
scope:heir.house = scope:actor.house
|
||||
}
|
||||
}
|
||||
scope:target = {
|
||||
place_in_line_of_succession = {
|
||||
target = scope:heir
|
||||
value = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
has_any_good_relationship_with_character_trigger = { CHARACTER = scope:heir }
|
||||
|
|
@ -1309,6 +1317,7 @@ support_candidacy_interaction = {
|
|||
|
||||
# Don't support someone who has renounced their aspirations for the throne
|
||||
modifier = {
|
||||
scope:major_influence_option = yes
|
||||
scope:secondary_recipient = {
|
||||
OR = {
|
||||
has_character_modifier = ep3_admin_renounce_throne_personal
|
||||
|
|
@ -1318,6 +1327,12 @@ support_candidacy_interaction = {
|
|||
scope:target.tier = scope:recipient.highest_held_title_tier
|
||||
factor = 0
|
||||
}
|
||||
|
||||
# The major option always wins because of the factor above, so we don't score the others
|
||||
modifier = {
|
||||
scope:major_influence_option = no
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3898,8 +3913,6 @@ request_council_interaction = {
|
|||
OR = {
|
||||
has_relation_friend = scope:recipient
|
||||
has_relation_lover = scope:recipient
|
||||
has_relation_best_friend = scope:recipient
|
||||
has_relation_soulmate = scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -4162,6 +4175,7 @@ transfer_county_interaction = {
|
|||
custom_description = {
|
||||
text = grant_titles_interaction_can_only_give_diarch_de_jure_liege_to_diarch
|
||||
subject = scope:actor.diarch
|
||||
object = scope:actor
|
||||
NAND = {
|
||||
# Only applies if we have an active diarchy.
|
||||
scope:actor = { has_active_diarchy = yes }
|
||||
|
|
@ -4178,6 +4192,7 @@ transfer_county_interaction = {
|
|||
|
||||
custom_description = {
|
||||
text = grant_titles_interaction_title_being_wagered
|
||||
subject = scope:actor
|
||||
NOT = {
|
||||
scope:target = { has_variable = wagered_county }
|
||||
}
|
||||
|
|
@ -4752,15 +4767,13 @@ castrate_child_interaction = {
|
|||
scope:actor = {
|
||||
remove_courtier_or_guest = scope:recipient
|
||||
if = {
|
||||
limit = {
|
||||
has_hook = scope:recipient
|
||||
}
|
||||
limit = { has_hook = scope:recipient }
|
||||
remove_hook = { target = scope:recipient }
|
||||
}
|
||||
scope:recipient = {
|
||||
set_relation_rival = {
|
||||
target = scope:actor
|
||||
reason = rival_attempted_castration
|
||||
set_relation_rival_effect = {
|
||||
TARGET = scope:actor
|
||||
REASON = rival_attempted_castration
|
||||
}
|
||||
add_stress = medium_stress_gain
|
||||
|
||||
|
|
@ -5789,6 +5802,11 @@ boost_efficiency_interaction = {
|
|||
trigger_if = {
|
||||
limit = { is_ai = yes }
|
||||
government_has_mechanic = administrative
|
||||
is_adult = yes
|
||||
trigger_if = {
|
||||
limit = { exists = top_participant_group:dynastic_cycle }
|
||||
top_participant_group:dynastic_cycle = { participant_group_type = advancement_movement }
|
||||
}
|
||||
top_liege ?= {
|
||||
any_vassal = {
|
||||
is_governor = yes
|
||||
|
|
@ -6064,6 +6082,13 @@ damage_efficiency_interaction = {
|
|||
trigger_if = {
|
||||
limit = { is_ai = yes }
|
||||
government_has_mechanic = administrative
|
||||
is_adult = yes
|
||||
trigger_if = {
|
||||
limit = { exists = top_participant_group:dynastic_cycle }
|
||||
top_participant_group:dynastic_cycle = {
|
||||
NOT = { participant_group_type = advancement_movement }
|
||||
}
|
||||
}
|
||||
top_liege ?= {
|
||||
any_vassal = {
|
||||
is_governor = yes
|
||||
|
|
@ -6597,7 +6622,6 @@ governor_removal_interaction = {
|
|||
house ?= scope:recipient.house
|
||||
}
|
||||
has_relation_friend = scope:recipient
|
||||
has_relation_best_friend = scope:recipient
|
||||
is_allied_to = scope:recipient
|
||||
has_relation_soulmate = scope:recipient
|
||||
is_spouse_of = scope:recipient
|
||||
|
|
@ -6621,7 +6645,6 @@ governor_removal_interaction = {
|
|||
house ?= scope:recipient.house
|
||||
}
|
||||
has_relation_friend = scope:recipient
|
||||
has_relation_best_friend = scope:recipient
|
||||
is_allied_to = scope:recipient
|
||||
has_relation_soulmate = scope:recipient
|
||||
is_spouse_of = scope:recipient
|
||||
|
|
@ -6836,6 +6859,18 @@ force_governor_removal_interaction = {
|
|||
ai_min_reply_days = 4
|
||||
ai_max_reply_days = 9
|
||||
|
||||
is_available = {
|
||||
government_has_mechanic = administrative
|
||||
trigger_if = {
|
||||
limit = {
|
||||
is_ai = yes
|
||||
}
|
||||
influence > massive_influence_value
|
||||
}
|
||||
is_independent_ruler = no
|
||||
top_liege ?= { government_has_mechanic = administrative }
|
||||
}
|
||||
|
||||
is_shown = {
|
||||
scope:secondary_recipient ?= {
|
||||
is_governor = yes
|
||||
|
|
@ -6847,10 +6882,7 @@ force_governor_removal_interaction = {
|
|||
trigger_if = {
|
||||
limit = {
|
||||
top_liege = {
|
||||
NAND = {
|
||||
highest_held_title_tier >= tier_hegemony
|
||||
government_has_flag = government_is_celestial
|
||||
}
|
||||
tgp_has_access_to_ministry_trigger = no
|
||||
}
|
||||
}
|
||||
is_vassal_of = scope:recipient
|
||||
|
|
@ -7346,18 +7378,6 @@ force_governor_removal_interaction = {
|
|||
hegemony = 12
|
||||
}
|
||||
|
||||
is_available = {
|
||||
government_has_mechanic = administrative
|
||||
trigger_if = {
|
||||
limit = {
|
||||
is_ai = yes
|
||||
}
|
||||
influence > massive_influence_value
|
||||
}
|
||||
top_liege != this
|
||||
top_liege ?= { government_has_mechanic = administrative }
|
||||
}
|
||||
|
||||
ai_accept = {
|
||||
base = -50
|
||||
# SEND OPTIONS
|
||||
|
|
@ -7639,7 +7659,7 @@ force_step_down_interaction = {
|
|||
government_has_mechanic = administrative
|
||||
trigger_if = {
|
||||
limit = { is_ai = yes }
|
||||
highest_held_title_tier >= tier_duchy
|
||||
highest_held_title_tier >= main_administrative_tier
|
||||
NOT = {
|
||||
any_scheme = {
|
||||
is_scheme_category = political
|
||||
|
|
@ -7657,6 +7677,7 @@ force_step_down_interaction = {
|
|||
government_has_mechanic = administrative
|
||||
is_governor = yes
|
||||
top_liege ?= scope:actor.top_liege
|
||||
highest_held_title_tier >= main_administrative_tier
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -7793,10 +7814,12 @@ force_step_down_interaction = {
|
|||
}
|
||||
}
|
||||
if = {
|
||||
limit = { can_set_relation_rival_trigger = { CHARACTER = scope:actor } }
|
||||
set_relation_rival = {
|
||||
target = scope:actor
|
||||
reason = rival_forced_my_resignation_reason
|
||||
limit = {
|
||||
can_set_relation_rival_trigger = { CHARACTER = scope:actor }
|
||||
}
|
||||
set_relation_rival_effect = {
|
||||
TARGET = scope:actor
|
||||
REASON = rival_forced_my_resignation_reason
|
||||
}
|
||||
}
|
||||
house ?= {
|
||||
|
|
@ -7847,10 +7870,12 @@ force_step_down_interaction = {
|
|||
modifier = attempted_force_step_down_opinion
|
||||
}
|
||||
if = {
|
||||
limit = { can_set_relation_rival_trigger = { CHARACTER = scope:actor } }
|
||||
set_relation_rival = {
|
||||
target = scope:actor
|
||||
reason = rival_attempted_to_force_my_resignation_reason
|
||||
limit = {
|
||||
can_set_relation_rival_trigger = { CHARACTER = scope:actor }
|
||||
}
|
||||
set_relation_rival_effect = {
|
||||
TARGET = scope:actor
|
||||
REASON = rival_attempted_to_force_my_resignation_reason
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -8186,10 +8211,6 @@ request_governorship_interaction = {
|
|||
|
||||
cooldown_against_recipient = { years = 10 }
|
||||
|
||||
redirect = {
|
||||
scope:recipient = { save_scope_as = secondary_recipient }
|
||||
}
|
||||
|
||||
cost = {
|
||||
influence = {
|
||||
add = {
|
||||
|
|
@ -8199,7 +8220,7 @@ request_governorship_interaction = {
|
|||
}
|
||||
desc = BASE
|
||||
}
|
||||
# Province Size
|
||||
# Settlement Size
|
||||
add = {
|
||||
value = 0
|
||||
if = {
|
||||
|
|
@ -8256,16 +8277,21 @@ request_governorship_interaction = {
|
|||
}
|
||||
|
||||
is_shown = {
|
||||
scope:recipient != scope:actor
|
||||
OR = {
|
||||
scope:recipient = scope:actor.top_liege
|
||||
scope:recipient = {
|
||||
liege ?= scope:actor.top_liege
|
||||
has_title = title:e_minister_of_personnel
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
government_has_mechanic = administrative
|
||||
NOT = { this = scope:actor }
|
||||
}
|
||||
scope:actor.top_liege = {
|
||||
OR = {
|
||||
this = scope:recipient
|
||||
trigger_if = {
|
||||
limit = {
|
||||
tgp_has_access_to_ministry_trigger = yes
|
||||
exists = cp:minister_personnel
|
||||
}
|
||||
cp:minister_personnel = scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -8273,14 +8299,19 @@ request_governorship_interaction = {
|
|||
if = {
|
||||
limit = {
|
||||
scope:actor.top_liege = {
|
||||
this = scope:recipient # prevents redirect making this shown for everyone with same top_liege
|
||||
tgp_has_access_to_ministry_trigger = yes
|
||||
exists = cp:minister_personnel
|
||||
}
|
||||
}
|
||||
title:e_minister_of_personnel.holder ?= {
|
||||
scope:actor.top_liege.cp:minister_personnel ?= {
|
||||
save_scope_as = recipient
|
||||
save_scope_as = secondary_recipient
|
||||
}
|
||||
}
|
||||
else = {
|
||||
scope:recipient = { save_scope_as = secondary_recipient }
|
||||
}
|
||||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
|
|
@ -8294,6 +8325,10 @@ request_governorship_interaction = {
|
|||
text = is_a_minister_desc
|
||||
tgp_is_any_minister = no
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { government_allows = merit }
|
||||
merit_level >= 3
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -8344,13 +8379,16 @@ request_governorship_interaction = {
|
|||
any_de_jure_county = { holder = scope:actor.top_liege }
|
||||
}
|
||||
}
|
||||
|
||||
trigger_if = {
|
||||
limit = {
|
||||
min_appointment_level > 0
|
||||
}
|
||||
scope:actor = { has_appointment_level_for_title = scope:target }
|
||||
}
|
||||
custom_tooltip = { # Titles below the holder's primary tier are inherited alongside it, so they cannot be contested on their own
|
||||
text = follows_other_title_appointment_tt
|
||||
holder ?= { primary_title.tier = scope:target.tier }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -8440,7 +8478,7 @@ request_governorship_interaction = {
|
|||
}
|
||||
desc = BASE
|
||||
}
|
||||
# Province Size
|
||||
# Settlement Size
|
||||
add = {
|
||||
value = 0
|
||||
if = {
|
||||
|
|
@ -8705,11 +8743,8 @@ request_governorship_interaction = {
|
|||
# Your Efficiency
|
||||
modifier = {
|
||||
add = {
|
||||
value = {
|
||||
value = scope:actor.governor_efficiency
|
||||
multiply = 25
|
||||
}
|
||||
round = yes
|
||||
value = scope:actor.governor_efficiency_presented
|
||||
multiply = 0.5
|
||||
}
|
||||
desc = AI_GOVERNOR_EFFICIENCY
|
||||
}
|
||||
|
|
@ -8722,10 +8757,9 @@ request_governorship_interaction = {
|
|||
}
|
||||
add = {
|
||||
value = {
|
||||
value = scope:target.current_heir.governor_efficiency
|
||||
multiply = -50
|
||||
value = scope:target.current_heir.governor_efficiency_presented
|
||||
multiply = -1
|
||||
}
|
||||
round = yes
|
||||
}
|
||||
desc = AI_GOVERNOR_EFFICIENCY_HEIR
|
||||
}
|
||||
|
|
@ -11055,7 +11089,7 @@ request_co_emperor_interaction = {
|
|||
desc = declare_me_regent_interaction.tt.actor_is.close_family
|
||||
is_close_family_of = scope:actor
|
||||
# Make sure this isn't cancelled out by the incumbent sharing the relation.
|
||||
diarchy_successor = {
|
||||
diarchy_successor ?= {
|
||||
NOT = { is_close_family_of = scope:recipient }
|
||||
}
|
||||
}
|
||||
|
|
@ -11065,7 +11099,7 @@ request_co_emperor_interaction = {
|
|||
desc = declare_me_regent_interaction.tt.actor_is.extended_family
|
||||
is_extended_family_of = scope:actor
|
||||
# Make sure this isn't cancelled out by the incumbent sharing the relation.
|
||||
diarchy_successor = {
|
||||
diarchy_successor ?= {
|
||||
NOT = { is_extended_family_of = scope:recipient }
|
||||
}
|
||||
}
|
||||
|
|
@ -11076,7 +11110,7 @@ request_co_emperor_interaction = {
|
|||
house = scope:actor.house
|
||||
NOT = { is_close_or_extended_family_of = scope:actor }
|
||||
# Make sure this isn't cancelled out by the incumbent sharing the relation.
|
||||
diarchy_successor = {
|
||||
diarchy_successor ?= {
|
||||
house != scope:recipient.house
|
||||
}
|
||||
}
|
||||
|
|
@ -12799,6 +12833,17 @@ ep3_hof_ask_for_influence_interaction = {
|
|||
}
|
||||
desc = you_have_faithful_nobles_attribute_with_value_desc
|
||||
}
|
||||
|
||||
modifier = {
|
||||
add = 40
|
||||
scope:actor = { has_character_modifier = favored_by_pope_modifier }
|
||||
desc = FAVORED_BY_POPE
|
||||
}
|
||||
modifier = {
|
||||
add = -40
|
||||
scope:actor = { has_character_modifier = scorned_pope_modifier }
|
||||
desc = HAS_SCORNED_POPE
|
||||
}
|
||||
secular_to_ecclesiastical_pam_factors_acceptance_modifier = yes
|
||||
|
||||
modifier = {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
purchase_land_interaction = {
|
||||
category = interaction_category_laamp
|
||||
icon = purchase_land_interaction
|
||||
|
||||
desc = purchase_land_interaction_desc
|
||||
target_type = title
|
||||
target_filter = recipient_de_jure_titles
|
||||
|
|
@ -17,7 +16,7 @@ purchase_land_interaction = {
|
|||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:recipient = { top_liege != this }
|
||||
scope:recipient.top_liege != this
|
||||
scope:target = {
|
||||
trigger_if = {
|
||||
limit = { tier = tier_duchy }
|
||||
|
|
@ -61,33 +60,23 @@ purchase_land_interaction = {
|
|||
}
|
||||
|
||||
is_shown = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
scope:actor = {
|
||||
this != scope:recipient
|
||||
}
|
||||
scope:recipient = {
|
||||
is_landed = yes
|
||||
# Need to own the land/cannot directly buy a governorship (procure estate first)
|
||||
NOT = { government_allows = noble_families }
|
||||
NOR = {
|
||||
government_allows = noble_families
|
||||
government_has_flag = government_is_republic # join instead
|
||||
}
|
||||
}
|
||||
scope:recipient != scope:actor
|
||||
}
|
||||
|
||||
has_valid_target = {
|
||||
custom_tooltip = { #prevent unwanted trigger tooltip
|
||||
text = blank_line
|
||||
scope:target ?= {
|
||||
is_title_created = yes
|
||||
holder = {
|
||||
is_ai = yes
|
||||
this = scope:recipient
|
||||
}
|
||||
OR = { #flatten the selection
|
||||
tier = tier_duchy
|
||||
tier = tier_county
|
||||
}
|
||||
NOR = {
|
||||
this = scope:recipient.capital_county
|
||||
this = scope:recipient.capital_county.duchy
|
||||
}
|
||||
}
|
||||
scope:target ?= { is_purchasable_title_trigger = yes }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -100,9 +89,7 @@ purchase_land_interaction = {
|
|||
send_option = {
|
||||
flag = hook
|
||||
is_valid = {
|
||||
scope:actor = {
|
||||
has_usable_hook = scope:recipient
|
||||
}
|
||||
scope:actor = { has_usable_hook = scope:recipient }
|
||||
}
|
||||
localization = GENERIC_SPEND_A_HOOK
|
||||
}
|
||||
|
|
@ -111,9 +98,7 @@ purchase_land_interaction = {
|
|||
flag = offer_hook
|
||||
is_valid = {
|
||||
NOT = {
|
||||
scope:recipient = {
|
||||
has_usable_hook = scope:actor
|
||||
}
|
||||
scope:recipient = { has_usable_hook = scope:actor }
|
||||
}
|
||||
}
|
||||
localization = purchase_land_interaction_offer_hook
|
||||
|
|
@ -123,53 +108,17 @@ purchase_land_interaction = {
|
|||
send_option = {
|
||||
flag = vassal_obligation
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
government_has_flag = government_is_feudal
|
||||
}
|
||||
scope:recipient = { government_has_flag = government_is_feudal }
|
||||
}
|
||||
localization = purchase_land_interaction_offer_obligations
|
||||
current_description = purchase_land_interaction_offer_obligations_desc
|
||||
}
|
||||
|
||||
can_be_picked_title = {
|
||||
custom_tooltip = {
|
||||
text = purchase_land_tier_tt
|
||||
scope:target = {
|
||||
tier >= tier_county
|
||||
tier <= tier_duchy
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = purchase_land_capital_tt
|
||||
scope:target != scope:recipient.capital_county
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = purchase_land_primary_tt
|
||||
scope:target != scope:recipient.primary_title
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = purchase_land_duchy_tt
|
||||
scope:target = {
|
||||
trigger_if = {
|
||||
limit = { tier = tier_duchy }
|
||||
scope:actor = {
|
||||
prestige_level >= 3
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = PURCHASE_LAND_COMPLETE_CONTROL_TT
|
||||
trigger_if = {
|
||||
limit = { scope:target = { tier = tier_duchy } }
|
||||
scope:recipient = {
|
||||
completely_controls = scope:target
|
||||
}
|
||||
}
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { exists = scope:target.holder }
|
||||
scope:target.holder = scope:recipient
|
||||
is_title_purchasable_shared_trigger = {
|
||||
TITLE = scope:target
|
||||
BUYER = scope:actor
|
||||
SELLER = scope:recipient
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -184,64 +133,17 @@ purchase_land_interaction = {
|
|||
}
|
||||
scope:recipient = {
|
||||
is_contact_of = scope:actor
|
||||
is_at_war = no
|
||||
NOT = { has_strong_hook = scope:actor }
|
||||
}
|
||||
trigger_if = { # Can't purchase Baronies
|
||||
limit = {
|
||||
scope:target ?= { tier = tier_barony }
|
||||
}
|
||||
custom_description = {
|
||||
text = purchase_land_barony_tt
|
||||
always = no
|
||||
}
|
||||
}
|
||||
trigger_if = { # Can't purchase Kingdoms or Empires
|
||||
limit = {
|
||||
scope:target ?= { tier >= tier_kingdom }
|
||||
}
|
||||
custom_description = {
|
||||
text = purchase_land_kingdom_tt
|
||||
always = no
|
||||
}
|
||||
}
|
||||
trigger_if = { # Can't purchase HoF titles
|
||||
limit = {
|
||||
scope:target ?= { is_head_of_faith = yes }
|
||||
}
|
||||
custom_description = {
|
||||
text = purchase_land_religious_tt
|
||||
always = no
|
||||
}
|
||||
}
|
||||
trigger_if = { # Can't purchase nf titles
|
||||
limit = {
|
||||
scope:target ?= { is_noble_family_title = yes }
|
||||
}
|
||||
custom_description = {
|
||||
text = purchase_land_noble_family_tt
|
||||
always = no
|
||||
}
|
||||
}
|
||||
trigger_if = { # Can't purchase laamp titles
|
||||
limit = {
|
||||
scope:target ?= { has_variable = adventurer_creation_reason }
|
||||
}
|
||||
custom_description = {
|
||||
text = purchase_land_landless_adventurer_tt
|
||||
always = no
|
||||
custom_tooltip = {
|
||||
text = purchase_land_no_land_tt
|
||||
any_held_title = { is_purchasable_title_trigger = yes }
|
||||
}
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:recipient = {
|
||||
any_held_county = { count < 2 }
|
||||
}
|
||||
}
|
||||
custom_description = {
|
||||
text = purchase_land_minimum_county_tt
|
||||
object = scope:recipient
|
||||
always = no
|
||||
limit = { exists = scope:target }
|
||||
is_title_purchase_valid_shared_trigger = {
|
||||
TITLE = scope:target
|
||||
BUYER = scope:actor
|
||||
SELLER = scope:recipient
|
||||
}
|
||||
}
|
||||
#Has to be used instead of diplo range checks in laamp to landed interactions
|
||||
|
|
@ -290,102 +192,12 @@ purchase_land_interaction = {
|
|||
}
|
||||
|
||||
on_accept = {
|
||||
scope:actor = { save_scope_as = adventurer }
|
||||
scope:target = {
|
||||
save_scope_as = purchase_land_target
|
||||
add_to_list = purchased_titles
|
||||
if = {
|
||||
limit = { tier = tier_duchy }
|
||||
every_de_jure_county = {
|
||||
limit = {
|
||||
holder ?= {
|
||||
OR = {
|
||||
this = scope:recipient
|
||||
target_is_liege_or_above = scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { holder = scope:recipient }
|
||||
add_to_list = purchased_titles
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
holder ?= {
|
||||
highest_held_title_tier < scope:purchase_land_target.tier
|
||||
NOT = { government_has_flag = government_is_administrative }
|
||||
target_is_liege_or_above = scope:recipient
|
||||
}
|
||||
}
|
||||
holder = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { is_in_list = purchase_land_vassals_taken }
|
||||
}
|
||||
add_to_list = purchase_land_vassals_taken
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_to_list = purchased_titles
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
ordered_in_list = {
|
||||
list = purchased_titles
|
||||
order_by = tier
|
||||
save_scope_as = new_primary_title
|
||||
}
|
||||
save_scope_value_as = {
|
||||
name = purchase_land_cost
|
||||
value = {
|
||||
if = {
|
||||
limit = { scope:target.tier = tier_county }
|
||||
add = purchase_land_county_cost_value
|
||||
}
|
||||
else = {
|
||||
add = purchase_land_duchy_cost_value
|
||||
scope:target = {
|
||||
every_de_jure_county = {
|
||||
limit = { ep3_purchase_land_valid_county_trigger = yes }
|
||||
add = purchase_land_county_cost_value
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:actor = { has_variable = ep3_grace_to_the_family_var }
|
||||
}
|
||||
multiply = 0.5
|
||||
}
|
||||
if = {
|
||||
limit = { scope:offer_gold = yes }
|
||||
multiply = 2
|
||||
}
|
||||
}
|
||||
}
|
||||
save_scope_value_as = {
|
||||
name = purchase_land_legitimacy_cost
|
||||
value = {
|
||||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
scope:target.holder != scope:recipient
|
||||
}
|
||||
every_in_list = {
|
||||
list = purchased_titles
|
||||
if = {
|
||||
limit = { tier = tier_county }
|
||||
add = minor_legitimacy_loss
|
||||
}
|
||||
else = { add = medium_legitimacy_loss }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
purchase_land_interaction_save_scopes_effect = yes
|
||||
show_as_tooltip = {
|
||||
scope:actor = { purchase_land_interaction_effect = yes }
|
||||
purchase_land_interaction_shortened_effect = {
|
||||
TITLE_RECEIVER = scope:actor
|
||||
TITLE_GIVER = scope:recipient
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { always = scope:hook }
|
||||
|
|
@ -400,10 +212,7 @@ purchase_land_interaction = {
|
|||
}
|
||||
|
||||
on_decline = {
|
||||
scope:actor = {
|
||||
save_scope_as = adventurer
|
||||
trigger_event = ep3_laamps.0102
|
||||
}
|
||||
scope:actor = { trigger_event = ep3_laamps.0102 }
|
||||
}
|
||||
|
||||
ai_targets = {
|
||||
|
|
@ -420,7 +229,7 @@ purchase_land_interaction = {
|
|||
ai_frequency_by_tier = {
|
||||
barony = 0
|
||||
county = 0
|
||||
duchy = 60
|
||||
duchy = 60 # adventurers are dukes
|
||||
kingdom = 0
|
||||
empire = 0
|
||||
hegemony = 0
|
||||
|
|
@ -464,7 +273,7 @@ purchase_land_interaction = {
|
|||
value = 0
|
||||
if = {
|
||||
limit = { scope:target.tier = tier_county }
|
||||
add = scope:target.development_level
|
||||
add = scope:target.prosperity_level
|
||||
scope:target = {
|
||||
every_county_province = { add = num_buildings }
|
||||
}
|
||||
|
|
@ -473,7 +282,7 @@ purchase_land_interaction = {
|
|||
scope:target = {
|
||||
every_de_jure_county = {
|
||||
limit = { ep3_purchase_land_valid_county_trigger = yes }
|
||||
add = development_level
|
||||
add = prosperity_level
|
||||
every_county_province = { add = num_buildings }
|
||||
}
|
||||
}
|
||||
|
|
@ -1113,7 +922,10 @@ purchase_sacred_land_interaction = {
|
|||
}
|
||||
}
|
||||
show_as_tooltip = {
|
||||
scope:actor = { purchase_land_interaction_effect = yes }
|
||||
purchase_land_interaction_effect = {
|
||||
TITLE_RECEIVER = scope:actor
|
||||
TITLE_GIVER = scope:recipient
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
if = {
|
||||
|
|
@ -1197,7 +1009,7 @@ purchase_sacred_land_interaction = {
|
|||
value = 0
|
||||
if = {
|
||||
limit = { exists = scope:target }
|
||||
add = scope:target.development_level
|
||||
add = scope:target.prosperity_level
|
||||
scope:target = {
|
||||
every_county_province = { add = num_buildings }
|
||||
}
|
||||
|
|
@ -1420,7 +1232,7 @@ request_laamp_invasion_sponsorship_interaction = {
|
|||
is_shown = {
|
||||
scope:actor = { OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority } }
|
||||
NOT = { scope:actor = { has_realm_law = camp_purpose_legitimists } }
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
scope:recipient = { is_landed = yes }
|
||||
scope:recipient != scope:actor
|
||||
}
|
||||
|
|
@ -1905,7 +1717,7 @@ negotiate_settlement_interaction = {
|
|||
}
|
||||
}
|
||||
is_landed = yes
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
}
|
||||
|
||||
is_shown = {
|
||||
|
|
@ -2008,6 +1820,15 @@ negotiate_settlement_interaction = {
|
|||
always = no
|
||||
}
|
||||
}
|
||||
trigger_if = { # Can't purchase merchant titles
|
||||
limit = {
|
||||
scope:target ?= { has_variable = merchant_creation_reason }
|
||||
}
|
||||
custom_description = {
|
||||
text = negotiate_settlement_merchant_tt
|
||||
always = no
|
||||
}
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:actor = { government_has_flag = government_is_administrative }
|
||||
|
|
@ -2319,7 +2140,7 @@ negotiate_settlement_interaction = {
|
|||
value = 0
|
||||
if = {
|
||||
limit = { scope:target.tier = tier_county }
|
||||
add = scope:target.development_level
|
||||
add = scope:target.prosperity_level
|
||||
scope:target = {
|
||||
every_county_province = { add = num_buildings }
|
||||
}
|
||||
|
|
@ -2328,7 +2149,7 @@ negotiate_settlement_interaction = {
|
|||
scope:target = {
|
||||
every_de_jure_county = {
|
||||
limit = { ep3_negotiate_settlement_valid_county_trigger = yes }
|
||||
add = development_level
|
||||
add = prosperity_level
|
||||
every_county_province = { add = num_buildings }
|
||||
}
|
||||
}
|
||||
|
|
@ -2813,13 +2634,13 @@ negotiate_settlement_interaction = {
|
|||
limit = {
|
||||
scope:target.tier = tier_county
|
||||
}
|
||||
subtract = scope:target.development_level
|
||||
subtract = scope:target.prosperity_level
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:target.tier > tier_county
|
||||
}
|
||||
subtract = scope:target.title_capital_county.development_level
|
||||
subtract = scope:target.title_capital_county.prosperity_level
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3221,7 +3042,7 @@ complete_task_contract_interaction = {
|
|||
pause_on_receive = yes
|
||||
|
||||
is_shown = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
scope:actor = {
|
||||
any_character_active_contract = {
|
||||
OR = {
|
||||
|
|
@ -3440,7 +3261,7 @@ contact_list_request_interaction = { # make a request, make_a_request
|
|||
|
||||
is_shown = {
|
||||
scope:actor = { OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority } }
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
scope:actor != scope:recipient
|
||||
}
|
||||
is_valid_showing_failures_only = {
|
||||
|
|
@ -3450,7 +3271,6 @@ contact_list_request_interaction = { # make a request, make_a_request
|
|||
NOR = {
|
||||
is_at_war_with = scope:actor
|
||||
has_relation_rival = scope:actor
|
||||
has_relation_nemesis = scope:actor
|
||||
has_opinion_modifier = {
|
||||
target = scope:actor
|
||||
modifier = released_from_prison
|
||||
|
|
@ -3934,7 +3754,7 @@ contact_list_request_interaction = { # make a request, make_a_request
|
|||
name = provisions_transformed_to_gold_value
|
||||
value = {
|
||||
value = scope:provisions_overflow_value
|
||||
multiply = 0.05
|
||||
multiply = 0.02
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3996,7 +3816,7 @@ contact_list_request_interaction = { # make a request, make_a_request
|
|||
name = requested_gold_value
|
||||
value = {
|
||||
value = scope:recipient.gold
|
||||
divide = 4
|
||||
divide = 8
|
||||
multiply = {
|
||||
value = scope:recipient.ai_greed
|
||||
divide = -300
|
||||
|
|
@ -4626,6 +4446,7 @@ contact_list_request_interaction = { # make a request, make_a_request
|
|||
}
|
||||
ai_targets = { ai_recipients = contacts }
|
||||
ai_targets = { ai_recipients = hooked_characters }
|
||||
ai_target_quick_trigger = { adult = yes }
|
||||
auto_accept = {
|
||||
scope:actor = { has_usable_hook = scope:recipient }
|
||||
scope:recipient = { is_ai = yes }
|
||||
|
|
@ -5164,7 +4985,7 @@ reinforce_soldiers_interaction = {
|
|||
}
|
||||
|
||||
is_shown = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
scope:recipient = scope:actor
|
||||
}
|
||||
|
||||
|
|
@ -5418,15 +5239,33 @@ hire_laamp_mercenaries_interaction = {
|
|||
is_available = {
|
||||
trigger_if = {
|
||||
limit = { is_ai = yes }
|
||||
debt_level <= 1
|
||||
any_character_war = {
|
||||
is_war_leader = prev
|
||||
}
|
||||
war_chest_gold >= quarter_ai_war_chest_gold_maximum
|
||||
any_war_ally = {
|
||||
count < 3
|
||||
has_government = landless_adventurer_government
|
||||
}
|
||||
any_character_war = {
|
||||
count = all
|
||||
OR = {
|
||||
AND = {
|
||||
primary_attacker = root
|
||||
defender_war_score <= 95
|
||||
}
|
||||
AND = {
|
||||
primary_defender = root
|
||||
attacker_war_score <= 95
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
is_shown = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
has_government = landless_adventurer_government
|
||||
|
|
@ -5479,6 +5318,11 @@ hire_laamp_mercenaries_interaction = {
|
|||
has_government = landless_minority_government
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
at_mercenary_limit = yes
|
||||
text = MERCENARY_HIRE_LIMIT_REACHED
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
scope:puppet_or_actor = {
|
||||
|
|
@ -5610,7 +5454,7 @@ hire_laamp_mercenaries_interaction = {
|
|||
value = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = medium_unity_gain
|
||||
|
|
@ -5654,7 +5498,7 @@ hire_laamp_mercenaries_interaction = {
|
|||
# add = 1
|
||||
# }
|
||||
#}
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_loss
|
||||
|
|
@ -5686,6 +5530,15 @@ hire_laamp_mercenaries_interaction = {
|
|||
empire = 6
|
||||
hegemony = 6
|
||||
}
|
||||
ai_frequency_by_tier_government_override = {
|
||||
government = merchant_government
|
||||
barony = 0
|
||||
county = 36
|
||||
duchy = 0
|
||||
kingdom = 0
|
||||
empire = 0
|
||||
hegemony = 0
|
||||
}
|
||||
ai_targets = {
|
||||
ai_recipients = nearby_domicile_owners
|
||||
}
|
||||
|
|
@ -6161,7 +6014,7 @@ refill_maa_interaction = {
|
|||
}
|
||||
|
||||
is_shown = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
scope:recipient = scope:actor
|
||||
}
|
||||
|
||||
|
|
@ -6312,7 +6165,7 @@ evict_adventurer_interaction = {
|
|||
|
||||
is_shown = {
|
||||
scope:puppet_or_actor ?= { is_landed = yes }
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
scope:recipient != scope:puppet_or_actor
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
|
|
@ -6694,7 +6547,7 @@ procure_estate_interaction = {
|
|||
|
||||
is_shown = {
|
||||
scope:actor = { OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority } }
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
scope:recipient = {
|
||||
is_landed = yes
|
||||
government_allows = noble_families
|
||||
|
|
@ -7375,7 +7228,7 @@ request_laamp_legitimist_support = {
|
|||
}
|
||||
|
||||
is_shown = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
scope:recipient = {
|
||||
is_landed = yes
|
||||
is_ai = yes
|
||||
|
|
@ -7404,12 +7257,8 @@ request_laamp_legitimist_support = {
|
|||
NOT = {
|
||||
any_claim = {
|
||||
OR = {
|
||||
holder = {
|
||||
this = scope:recipient
|
||||
}
|
||||
holder.top_liege = {
|
||||
this = scope:recipient
|
||||
}
|
||||
holder ?= scope:recipient
|
||||
holder.top_liege ?= scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -7646,7 +7495,7 @@ task_contract_train_knight_interaction = {
|
|||
}
|
||||
|
||||
is_shown = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
scope:actor = {
|
||||
any_character_active_contract = {
|
||||
task_contract_type = laamp_help_train_commanders_contract
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
}
|
||||
}
|
||||
age >= 6
|
||||
is_imprisoned = no
|
||||
}
|
||||
is_playable_character = yes
|
||||
}
|
||||
|
|
@ -732,6 +733,7 @@
|
|||
}
|
||||
has_trait = denounced
|
||||
has_trait = disinherited
|
||||
has_trait = adopted_no_inheritance
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1430,7 +1432,7 @@
|
|||
scope:actor = {
|
||||
custom_tooltip = create_confederation_tt
|
||||
custom_tooltip = confederation_defensive_wars_tt
|
||||
custom_tooltip = unlock_leave_confederation_interaction_tt
|
||||
custom_tooltip = unlock_leave_confederation_decision_tt
|
||||
if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_nomadic
|
||||
|
|
@ -2546,6 +2548,7 @@ migration_interaction = {
|
|||
}
|
||||
|
||||
desc = migration_interaction_desc
|
||||
notification_text = migration_interaction_notification
|
||||
|
||||
is_available = {
|
||||
government_has_flag = government_is_nomadic
|
||||
|
|
@ -2563,6 +2566,7 @@ migration_interaction = {
|
|||
is_imprisoned = no
|
||||
is_independent_ruler = yes
|
||||
is_travelling = no
|
||||
has_raised_armies = no
|
||||
custom_tooltip = {
|
||||
text = no_primary_wars_tt
|
||||
NOT = {
|
||||
|
|
@ -4301,6 +4305,10 @@ mpo_interaction_leverage_khan_authority = {
|
|||
NOT = {
|
||||
has_character_flag = established_paiza_system
|
||||
}
|
||||
any_character_artifact = {
|
||||
has_variable = paiza_patron
|
||||
root = { can_benefit_from_artifact = prev }
|
||||
}
|
||||
}
|
||||
|
||||
is_shown = {
|
||||
|
|
@ -4308,8 +4316,12 @@ mpo_interaction_leverage_khan_authority = {
|
|||
is_ai = yes
|
||||
is_gurkhan = no
|
||||
age >= 12
|
||||
NOT = {
|
||||
has_character_flag = established_paiza_system
|
||||
NOT = { has_character_flag = established_paiza_system }
|
||||
# Implied by the artifact check below: a paiza only benefits while its patron is the gurkhan
|
||||
OR = {
|
||||
top_liege ?= situation:the_great_steppe.situation_top_herd
|
||||
AND = { is_independent_ruler = yes primary_title.tier < scope:actor.primary_title.tier government_has_flag = government_is_nomadic }
|
||||
liege ?= { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
|
|
@ -4318,19 +4330,10 @@ mpo_interaction_leverage_khan_authority = {
|
|||
scope:actor = { can_benefit_from_artifact = prev }
|
||||
OR = {
|
||||
scope:recipient.top_liege ?= var:paiza_patron
|
||||
scope:recipient = {
|
||||
is_independent_ruler = yes
|
||||
primary_title.tier < scope:actor.primary_title.tier
|
||||
scope:recipient = { is_independent_ruler = yes primary_title.tier < scope:actor.primary_title.tier government_has_flag = government_is_nomadic }
|
||||
scope:recipient.liege ?= {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
scope:recipient = {
|
||||
liege = {
|
||||
OR = {
|
||||
government_has_flag = government_is_nomadic
|
||||
scope:recipient.top_liege ?= prev.var:paiza_patron
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -4441,23 +4444,38 @@ mpo_interaction_leverage_khan_authority = {
|
|||
}
|
||||
modifier = {
|
||||
add = -10
|
||||
scope:actor = {
|
||||
any_character_artifact = {
|
||||
scope:actor = { can_benefit_from_artifact = prev }
|
||||
var:paiza_patron ?= {
|
||||
domicile ?= { has_domicile_parameter = nomad_yurt_paiza_abuse_less_likely_lvl_1 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
add = -20
|
||||
scope:actor = {
|
||||
any_character_artifact = {
|
||||
scope:actor = { can_benefit_from_artifact = prev }
|
||||
var:paiza_patron ?= {
|
||||
domicile ?= { has_domicile_parameter = nomad_yurt_paiza_abuse_less_likely_lvl_2 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
add = -35
|
||||
scope:actor = {
|
||||
any_character_artifact = {
|
||||
scope:actor = { can_benefit_from_artifact = prev }
|
||||
var:paiza_patron ?= {
|
||||
domicile ?= { has_domicile_parameter = nomad_yurt_paiza_abuse_less_likely_lvl_3 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ai_targets = {
|
||||
ai_recipients = peer_vassals
|
||||
|
|
@ -4471,6 +4489,8 @@ mpo_interaction_leverage_khan_authority = {
|
|||
title = mpo_interaction_leverage_khan_authority
|
||||
make_obedient_recipient_to_actor_effect = yes
|
||||
scope:recipient = {
|
||||
if = {
|
||||
limit = { gold > 0 }
|
||||
pay_short_term_gold = {
|
||||
target = scope:actor
|
||||
gold = {
|
||||
|
|
@ -4478,10 +4498,12 @@ mpo_interaction_leverage_khan_authority = {
|
|||
divide = 2
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_nomadic
|
||||
scope:recipient = {
|
||||
domicile ?= { herd > 0 }
|
||||
scope:actor = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
}
|
||||
|
|
@ -4508,22 +4530,6 @@ mpo_interaction_leverage_khan_authority = {
|
|||
add_prestige = minor_prestige_value
|
||||
}
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_nomadic
|
||||
scope:recipient = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
}
|
||||
pay_herd = {
|
||||
target = scope:actor
|
||||
value = {
|
||||
value = domicile.herd
|
||||
multiply = 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
scope:actor = {
|
||||
|
|
@ -6874,7 +6880,7 @@ mpo_make_blood_brother = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_gain
|
||||
|
|
@ -6954,7 +6960,7 @@ mpo_make_blood_brother = {
|
|||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_clan_unity_interaction_effect = {
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = minor_unity_loss
|
||||
|
|
@ -7176,7 +7182,7 @@ feudalize_nomadic_holding_interaction = {
|
|||
}
|
||||
trigger_else = {
|
||||
custom_description = {
|
||||
text = "feudalize_nomadic_holding_interaction_title_not_county_or_below"
|
||||
text = "feudalize_holding_interaction_title_not_county_or_below"
|
||||
always = no
|
||||
}
|
||||
}
|
||||
|
|
@ -7189,7 +7195,7 @@ feudalize_nomadic_holding_interaction = {
|
|||
limit = { tier <= tier_county }
|
||||
title_province = {
|
||||
barony_controller = scope:actor
|
||||
has_ongoing_construction = no
|
||||
has_ongoing_holding_construction = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -7319,7 +7325,7 @@ feudalize_herder_holding_interaction = {
|
|||
}
|
||||
trigger_else = {
|
||||
custom_description = {
|
||||
text = "feudalize_herder_holding_interaction_title_not_county_or_below"
|
||||
text = "feudalize_holding_interaction_title_not_county_or_below"
|
||||
always = no
|
||||
}
|
||||
}
|
||||
|
|
@ -7332,7 +7338,7 @@ feudalize_herder_holding_interaction = {
|
|||
limit = { tier <= tier_county }
|
||||
title_province = {
|
||||
barony_controller = scope:actor
|
||||
has_ongoing_construction = no
|
||||
has_ongoing_holding_construction = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -7498,12 +7504,9 @@ mpo_retrieve_land_from_herder_interaction = {
|
|||
is_vassal_of = scope:actor
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = mpo_retrieve_land_migration_tt
|
||||
capital_county = { is_migration_target = no }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
can_be_picked_title = {
|
||||
scope:target = {
|
||||
|
|
@ -8043,9 +8046,7 @@ mpo_gift_herd_interaction = {
|
|||
}
|
||||
has_secret_relation_lover = scope:actor
|
||||
has_relation_lover = scope:actor
|
||||
has_relation_soulmate = scope:actor
|
||||
has_relation_friend = scope:actor
|
||||
has_relation_best_friend = scope:actor
|
||||
}
|
||||
domicile.herd < minor_herd_value_static
|
||||
}
|
||||
|
|
@ -8053,9 +8054,7 @@ mpo_gift_herd_interaction = {
|
|||
OR = {
|
||||
has_secret_relation_lover = scope:actor
|
||||
has_relation_lover = scope:actor
|
||||
has_relation_soulmate = scope:actor
|
||||
has_relation_friend = scope:actor
|
||||
has_relation_best_friend = scope:actor
|
||||
}
|
||||
scope:actor = {
|
||||
OR = {
|
||||
|
|
@ -8086,7 +8085,6 @@ mpo_gift_herd_interaction = {
|
|||
OR = {
|
||||
scope:actor.liege ?= this
|
||||
has_relation_friend = scope:actor
|
||||
has_relation_best_friend = scope:actor
|
||||
is_allied_to = scope:actor
|
||||
is_close_or_extended_family_of = scope:actor
|
||||
}
|
||||
|
|
@ -8361,7 +8359,6 @@ mpo_offer_submission_or_ruin = {
|
|||
ceiling = yes
|
||||
}
|
||||
}
|
||||
|
||||
# TRAITS/PERSONALITY
|
||||
modifier = { # Ambitious
|
||||
desc = TAKE_THE_VOWS_AMBITIOUS
|
||||
|
|
@ -9861,6 +9858,7 @@ join_confederation_interaction = {
|
|||
}
|
||||
has_trait = denounced
|
||||
has_trait = disinherited
|
||||
has_trait = adopted_no_inheritance
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -10306,7 +10304,7 @@ join_confederation_interaction = {
|
|||
scope:actor = {
|
||||
custom_tooltip = join_confederation_recipient_tt
|
||||
custom_tooltip = confederation_defensive_wars_tt
|
||||
custom_tooltip = unlock_leave_confederation_interaction_tt
|
||||
custom_tooltip = unlock_leave_confederation_decision_tt
|
||||
}
|
||||
}
|
||||
if = {
|
||||
|
|
|
|||
|
|
@ -1,12 +1,11 @@
|
|||
### Apply some impact to the relation between two houses.
|
||||
#
|
||||
debug_impact_house_relation_interaction = {
|
||||
category = interaction_debug_tgp
|
||||
category = interaction_debug_extra
|
||||
desc = debug_impact_house_relation_interaction_desc
|
||||
use_diplomatic_range = no
|
||||
ignores_pending_interaction_block = yes
|
||||
icon = debug_chars
|
||||
common_interaction = yes
|
||||
|
||||
is_shown = {
|
||||
debug_only = yes
|
||||
|
|
@ -162,10 +161,9 @@ debug_impact_house_relation_interaction = {
|
|||
|
||||
|
||||
debug_spawn_natural_disaster = {
|
||||
category = interaction_debug_tgp
|
||||
category = interaction_debug_extra
|
||||
use_diplomatic_range = no
|
||||
ignores_pending_interaction_block = yes
|
||||
common_interaction = yes
|
||||
icon = debug_bad
|
||||
auto_accept = yes
|
||||
is_shown = {
|
||||
|
|
@ -248,10 +246,9 @@ debug_spawn_natural_disaster = {
|
|||
|
||||
|
||||
debug_change_bloc_cohesion = {
|
||||
category = interaction_debug_tgp
|
||||
category = interaction_debug_extra
|
||||
use_diplomatic_range = no
|
||||
ignores_pending_interaction_block = yes
|
||||
common_interaction = yes
|
||||
icon = icon_leave_bloc
|
||||
auto_accept = yes
|
||||
is_shown = {
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue