Alignment
This commit is contained in:
parent
f7a954eb51
commit
15a5108e23
250 changed files with 31104 additions and 25806 deletions
|
|
@ -3760,7 +3760,7 @@ join_war_interaction = {
|
|||
}
|
||||
scope:recipient = {
|
||||
show_as_tooltip = {
|
||||
if = {
|
||||
if = { # if war leader is AI, will directly increase friendship for contributing
|
||||
limit = {
|
||||
is_ai = yes
|
||||
}
|
||||
|
|
@ -3770,7 +3770,7 @@ join_war_interaction = {
|
|||
REASON = friend_alliance
|
||||
}
|
||||
}
|
||||
else = {
|
||||
else = { # otherwise will create potential friendship
|
||||
hidden_effect = { #To nudge friendship
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -4058,6 +4058,7 @@ join_vassal_war_interaction = {
|
|||
}
|
||||
any_in_list = {
|
||||
list = target_titles
|
||||
tier <= tier_duchy
|
||||
count = 1
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ ce1_ask_to_promote_legend_interaction = {
|
|||
scope:recipient.dynasty = scope:actor.dynasty
|
||||
scope:recipient = { knows_language_of_culture = scope:actor.culture }
|
||||
scope:actor = {
|
||||
has_friendly_relationship_with_character_trigger = { CHARACTER = scope:recipient }
|
||||
has_any_moderate_good_relationship_with_character_trigger = { CHARACTER = scope:recipient }
|
||||
}
|
||||
scope:recipient = {
|
||||
any_character_to_title_neighboring_county = {
|
||||
|
|
|
|||
|
|
@ -650,7 +650,14 @@ offer_vassalization_interaction = {
|
|||
character_is_realm_neighbor = scope:recipient
|
||||
}
|
||||
}
|
||||
scope:recipient.capital_province = { squared_distance = { target = scope:actor.capital_province value < 200000 } }
|
||||
scope:recipient = {
|
||||
# landless ruler count as within realm
|
||||
trigger_if = {
|
||||
limit = { is_landed = no }
|
||||
NOT = { capital_county.holder = { target_is_same_character_or_above = scope:actor } }
|
||||
}
|
||||
capital_province = { squared_distance = { target = scope:actor.capital_province value < 200000 } }
|
||||
}
|
||||
}
|
||||
add = -250
|
||||
}
|
||||
|
|
@ -662,7 +669,14 @@ offer_vassalization_interaction = {
|
|||
character_is_realm_neighbor = scope:recipient
|
||||
}
|
||||
}
|
||||
scope:recipient.capital_province = { squared_distance = { target = scope:actor.capital_province value >= 200000 } }
|
||||
scope:recipient = {
|
||||
# landless ruler count as within realm
|
||||
trigger_if = {
|
||||
limit = { is_landed = no }
|
||||
NOT = { capital_county.holder = { target_is_same_character_or_above = scope:actor } }
|
||||
}
|
||||
capital_province = { squared_distance = { target = scope:actor.capital_province value >= 200000 } }
|
||||
}
|
||||
}
|
||||
add = -500
|
||||
}
|
||||
|
|
@ -1530,8 +1544,13 @@ offer_fealty_interaction = {
|
|||
NOT = {
|
||||
any_neighboring_top_liege_realm_owner = { this = scope:recipient }
|
||||
}
|
||||
# landless ruler count as within realm
|
||||
trigger_if = {
|
||||
limit = { is_landed = no }
|
||||
NOT = { capital_county.holder = { target_is_same_character_or_above = scope:actor } }
|
||||
}
|
||||
capital_province = { squared_distance = { target = scope:recipient.capital_province value < 200000 } }
|
||||
}
|
||||
scope:actor.capital_province = { squared_distance = { target = scope:recipient.capital_province value < 200000 } }
|
||||
}
|
||||
add = -15
|
||||
}
|
||||
|
|
@ -1542,14 +1561,13 @@ offer_fealty_interaction = {
|
|||
NOT = {
|
||||
any_neighboring_top_liege_realm_owner = { this = scope:recipient }
|
||||
}
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
exists = scope:recipient.suzerain
|
||||
scope:recipient.suzerain != scope:actor
|
||||
# landless ruler count as within realm
|
||||
trigger_if = {
|
||||
limit = { is_landed = no }
|
||||
NOT = { capital_county.holder = { target_is_same_character_or_above = scope:actor } }
|
||||
}
|
||||
capital_province = { squared_distance = { target = scope:recipient.capital_province value >= 200000 } }
|
||||
}
|
||||
scope:actor.capital_province = { squared_distance = { target = scope:recipient.capital_province value >= 200000 } }
|
||||
}
|
||||
add = -25
|
||||
}
|
||||
|
|
|
|||
|
|
@ -122,9 +122,7 @@ ai_cultural_hybridization_interaction = {
|
|||
sub_realm_size >= 4
|
||||
is_physically_able_adult = yes
|
||||
is_at_war = no
|
||||
NOT = {
|
||||
has_game_rule = none_hybrid_culture_ai_frequency
|
||||
}
|
||||
game_rule_can_create_hybird_culture_trigger = yes
|
||||
}
|
||||
|
||||
is_shown = {
|
||||
|
|
@ -215,12 +213,7 @@ ai_cultural_hybridization_interaction = {
|
|||
factor = 0.2
|
||||
has_game_rule = less_common_hybrid_culture_ai_frequency
|
||||
}
|
||||
|
||||
modifier = {
|
||||
factor = 0
|
||||
exists = global_var:has_ai_hybrid_event_cooldown
|
||||
}
|
||||
|
||||
|
||||
modifier = {
|
||||
factor = 0
|
||||
culture = {
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ diarch_revoke_title_interaction = {
|
|||
scope:recipient.highest_held_title_tier >= tier_county
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
is_valid = {
|
||||
# Here to correct for some dodgy inheritance situations.
|
||||
scope:actor != scope:intermediary
|
||||
|
|
@ -157,7 +157,7 @@ diarch_revoke_title_interaction = {
|
|||
trigger_if = {
|
||||
limit = {
|
||||
scope:actor = { is_diarch = yes }
|
||||
}
|
||||
}
|
||||
# Diarchs must have unlocked the appropriate power.
|
||||
scope:actor.liege ?= { has_diarchy_active_parameter = unlock_diarch_revoke_title_interaction }
|
||||
}
|
||||
|
|
@ -178,12 +178,12 @@ diarch_revoke_title_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
is_highlighted = {
|
||||
# Diarch revocations require a claim - this is uncommon, so we always highlight it.
|
||||
diarch_revocation_has_claim_check_trigger = yes
|
||||
}
|
||||
|
||||
|
||||
can_be_picked_title = {
|
||||
scope:target = {
|
||||
title_revocation_standard_can_pick_title_trigger = yes
|
||||
|
|
@ -251,7 +251,7 @@ diarch_revoke_title_interaction = {
|
|||
hidden_effect = {
|
||||
scope:actor = {
|
||||
if = {
|
||||
limit = {
|
||||
limit = {
|
||||
is_landed_or_landless_administrative = no
|
||||
scope:intermediary != scope:recipient
|
||||
}
|
||||
|
|
@ -732,10 +732,10 @@ diarch_retract_vassal_interaction = {
|
|||
can_send_despite_rejection = yes
|
||||
popup_on_receive = yes
|
||||
pause_on_receive = yes
|
||||
|
||||
|
||||
ai_min_reply_days = 4
|
||||
ai_max_reply_days = 9
|
||||
|
||||
|
||||
on_decline_summary = diarch_rebel_or_crime_summary.retract
|
||||
|
||||
is_shown = {
|
||||
|
|
@ -765,7 +765,7 @@ diarch_retract_vassal_interaction = {
|
|||
scope:recipient.highest_held_title_tier >= tier_duchy
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
is_valid = {
|
||||
# Here to correct for some dodgy inheritance situations.
|
||||
scope:actor != scope:intermediary
|
||||
|
|
@ -817,7 +817,7 @@ diarch_retract_vassal_interaction = {
|
|||
trigger_if = {
|
||||
limit = {
|
||||
scope:actor = { is_diarch = yes }
|
||||
}
|
||||
}
|
||||
# Diarchs must have unlocked the appropriate power.
|
||||
scope:actor.liege = { has_diarchy_active_parameter = unlock_diarch_retract_vassal_interaction }
|
||||
}
|
||||
|
|
@ -826,7 +826,7 @@ diarch_retract_vassal_interaction = {
|
|||
scope:actor = { is_at_war_with = scope:actor.liege }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
cooldown = { years = 1 }
|
||||
cooldown_against_recipient = { years = 3 }
|
||||
|
||||
|
|
@ -876,7 +876,7 @@ diarch_retract_vassal_interaction = {
|
|||
extra_icon = "gfx/interface/icons/character_interactions/hook_icon.dds"
|
||||
|
||||
send_options_exclusive = no
|
||||
|
||||
|
||||
on_send = {
|
||||
scope:actor = {
|
||||
add_character_flag = {
|
||||
|
|
@ -889,7 +889,7 @@ diarch_retract_vassal_interaction = {
|
|||
on_auto_accept = {
|
||||
scope:recipient = { trigger_event = char_interaction.0271 }
|
||||
}
|
||||
|
||||
|
||||
on_accept = {
|
||||
# Follow the standard flow for retraction.
|
||||
save_scope_value_as = {
|
||||
|
|
@ -959,7 +959,7 @@ diarch_retract_vassal_interaction = {
|
|||
diarch_interaction_add_to_global_list_effect = { VARIABLE_LIST = di_track_retract_veto_intermediary_list }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
on_decline = {
|
||||
scope:actor = {
|
||||
# Tell them that the retraction ran into issues.
|
||||
|
|
@ -1005,7 +1005,7 @@ diarch_retract_vassal_interaction = {
|
|||
diarch_interaction_add_to_global_list_effect = { VARIABLE_LIST = di_track_retract_decline_intermediary_list }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
auto_accept = {
|
||||
OR = {
|
||||
scope:recipient = {
|
||||
|
|
@ -1051,7 +1051,7 @@ diarch_retract_vassal_interaction = {
|
|||
}
|
||||
ai_accept = {
|
||||
base = 0 # Try to make it 0 for most interactions
|
||||
|
||||
|
||||
# Hook used
|
||||
modifier = {
|
||||
add = 40
|
||||
|
|
@ -1071,7 +1071,7 @@ diarch_retract_vassal_interaction = {
|
|||
desc = AI_REFUSAL_IS_TREASON
|
||||
scope:actor = { has_realm_law_flag = vassal_refusal_is_treason }
|
||||
}
|
||||
|
||||
|
||||
ai_value_modifier = {
|
||||
who = scope:recipient
|
||||
ai_greed = {
|
||||
|
|
@ -1111,7 +1111,7 @@ diarch_retract_vassal_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
modifier = { #Sub-Vassal is NOT De jure of current Vassal.
|
||||
add = 25
|
||||
desc = AI_REFUSAL_IS_NOT_DE_JURE_LIEGE
|
||||
|
|
@ -1199,7 +1199,7 @@ diarch_retract_vassal_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# AI
|
||||
ai_targets = { ai_recipients = peer_vassals }
|
||||
ai_frequency_by_tier = {
|
||||
|
|
@ -1210,7 +1210,7 @@ diarch_retract_vassal_interaction = {
|
|||
empire = 24
|
||||
hegemony = 24
|
||||
}
|
||||
|
||||
|
||||
ai_potential = {
|
||||
is_diarch = yes
|
||||
has_realm_law_flag = title_revocation_allowed
|
||||
|
|
@ -1218,7 +1218,7 @@ diarch_retract_vassal_interaction = {
|
|||
# Loyal diarchs don't engage in skullduggery.
|
||||
diarch_loyalty < diarch_loyalty_visibly_loyal_threshold
|
||||
}
|
||||
|
||||
|
||||
ai_will_do = {
|
||||
# We're generally ruthless here.
|
||||
base = @ai_secondary_powers_base_value
|
||||
|
|
@ -1441,7 +1441,7 @@ diarch_imprison_interaction = {
|
|||
trigger_if = {
|
||||
limit = {
|
||||
scope:actor = { is_diarch = yes }
|
||||
}
|
||||
}
|
||||
# Diarchs must have unlocked the appropriate power.
|
||||
scope:actor.liege = { has_diarchy_active_parameter = unlock_diarch_imprison_interaction }
|
||||
scope:actor.liege = {
|
||||
|
|
@ -1468,7 +1468,7 @@ diarch_imprison_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
is_highlighted = {
|
||||
scope:recipient = { is_imprisoned = no }
|
||||
scope:actor = { has_imprisonment_reason = scope:recipient }
|
||||
|
|
@ -1576,12 +1576,17 @@ diarch_imprison_interaction = {
|
|||
}
|
||||
|
||||
on_decline = {
|
||||
scope:actor = {
|
||||
imprison_HoF_consequences_effect = yes
|
||||
scope:actor = {
|
||||
save_scope_as = use_strife_not_tyranny
|
||||
imprison_HoF_consequences_effect = yes
|
||||
imprison_tyranny_effect = yes
|
||||
}
|
||||
# Do we want a war or an escape?
|
||||
scope:recipient = {
|
||||
add_opinion = {
|
||||
target = scope:actor
|
||||
modifier = attempted_imprisonment_opinion
|
||||
}
|
||||
# If target is count or higher, we want the option to start a war.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -1599,6 +1604,11 @@ diarch_imprison_interaction = {
|
|||
diarch_declare_recipient_criminal_effect = yes
|
||||
}
|
||||
50 = {
|
||||
trigger = {
|
||||
scope:actor = {
|
||||
is_landed = yes # consistent with char_interaction.0283
|
||||
}
|
||||
}
|
||||
show_chance = no
|
||||
desc = char_interaction.0263.result.war
|
||||
scope:recipient = {
|
||||
|
|
@ -1743,7 +1753,7 @@ diarch_imprison_interaction = {
|
|||
}
|
||||
|
||||
auto_accept = no
|
||||
|
||||
|
||||
ai_intermediary_accept = {
|
||||
# The AI should be inclined to trust their regent, at least a little.
|
||||
base = 0
|
||||
|
|
@ -2158,7 +2168,7 @@ diarch_imprison_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Diarch (actor) offers to boost the CA/TA/IB of liege (recipient), taking on the costs and negatives themselves so that they can use their diarch powers.
|
||||
|
|
@ -2234,7 +2244,7 @@ diarch_subsidise_crown_authority_interaction = {
|
|||
limit = { has_realm_law = crown_authority_2 }
|
||||
can_pass_law_ca3_trigger = yes
|
||||
}
|
||||
|
||||
|
||||
# If the liege is administrative, they have to be independent.
|
||||
trigger_if = {
|
||||
limit = { government_allows = administrative }
|
||||
|
|
@ -2256,7 +2266,7 @@ diarch_subsidise_crown_authority_interaction = {
|
|||
multiply = subsidised_liege_authority_discount_value
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
on_accept = {
|
||||
scope:actor = {
|
||||
send_interface_toast = {
|
||||
|
|
@ -2294,7 +2304,7 @@ diarch_subsidise_crown_authority_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ai_accept = {
|
||||
base = 0
|
||||
|
||||
|
|
@ -2308,7 +2318,7 @@ diarch_subsidise_crown_authority_interaction = {
|
|||
|
||||
auto_accept = {
|
||||
custom_description = {
|
||||
text = auto_accept_interaction_ai
|
||||
text = auto_accept_interaction_ai
|
||||
object = scope:recipient
|
||||
scope:recipient = {
|
||||
is_ai = yes
|
||||
|
|
@ -2459,7 +2469,7 @@ diarch_adjust_bureaucracy_interaction = {
|
|||
localization = decrease_centralisation_name
|
||||
current_description = decrease_centralisation
|
||||
}
|
||||
|
||||
|
||||
on_send = {
|
||||
# Tell the AI to set their only send option.
|
||||
if = {
|
||||
|
|
@ -2518,7 +2528,7 @@ diarch_adjust_bureaucracy_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ai_accept = {
|
||||
base = -25
|
||||
|
||||
|
|
@ -2645,7 +2655,7 @@ diarch_adjust_bureaucracy_interaction = {
|
|||
|
||||
auto_accept = {
|
||||
custom_description = {
|
||||
text = auto_accept_interaction_ai
|
||||
text = auto_accept_interaction_ai
|
||||
object = scope:recipient
|
||||
scope:recipient = {
|
||||
is_ai = yes
|
||||
|
|
@ -2751,9 +2761,9 @@ diarch_legal_meddling_interaction = {
|
|||
# ... who are appropriately landed.
|
||||
is_landed_or_landless_administrative = yes
|
||||
scope:recipient.highest_held_title_tier >= tier_county
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
# You can't claim a title from someone if you already have claims on all their titles.
|
||||
custom_tooltip = {
|
||||
|
|
@ -2775,7 +2785,7 @@ diarch_legal_meddling_interaction = {
|
|||
trigger_if = {
|
||||
limit = {
|
||||
scope:actor = { is_diarch = yes }
|
||||
}
|
||||
}
|
||||
# Diarchs must have unlocked the appropriate power.
|
||||
scope:actor.liege = { has_diarchy_active_parameter = unlock_legal_meddling_interaction }
|
||||
}
|
||||
|
|
@ -2807,7 +2817,7 @@ diarch_legal_meddling_interaction = {
|
|||
|
||||
cooldown = { months = 6 }
|
||||
cooldown_against_recipient = { years = 3 }
|
||||
|
||||
|
||||
can_be_picked_title = {
|
||||
scope:target = {
|
||||
# Really anything you don't already have a claim on and which isn't special.
|
||||
|
|
@ -3166,7 +3176,7 @@ diarch_syphon_treasury_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
# Make sure scope:recipient is the liege.
|
||||
custom_tooltip = {
|
||||
|
|
@ -3194,7 +3204,7 @@ diarch_syphon_treasury_interaction = {
|
|||
trigger_if = {
|
||||
limit = {
|
||||
scope:actor = { is_diarch = yes }
|
||||
}
|
||||
}
|
||||
# Diarchs must have unlocked the appropriate power.
|
||||
scope:actor.liege = { has_diarchy_active_parameter = unlock_syphon_treasury_interaction }
|
||||
}
|
||||
|
|
@ -3296,15 +3306,15 @@ diarch_syphon_treasury_interaction = {
|
|||
# Inform scope:actor what type of embezzlement they'll be pursuing.
|
||||
## Very high stewardship characters syphon development growth from a few counties.
|
||||
if = {
|
||||
limit = {
|
||||
limit = {
|
||||
stewardship >= syphon_treasury_stewardship_very_high
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
custom_tooltip = diarch_syphon_treasury_interaction.tt.success.syphon_development_growth
|
||||
}
|
||||
## Alternatively, herd for nomadic rulers
|
||||
else_if = {
|
||||
limit = {
|
||||
limit = {
|
||||
stewardship >= syphon_treasury_stewardship_very_high
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
|
|
@ -3399,27 +3409,27 @@ diarch_syphon_treasury_interaction = {
|
|||
## Very high.
|
||||
if = {
|
||||
limit = { always = scope:diarch_syphon_treasury_sum_huge }
|
||||
scope:recipient = {
|
||||
scope:recipient = {
|
||||
domicile ?= { change_herd = monumental_herd_loss }
|
||||
}
|
||||
}
|
||||
## High.
|
||||
else_if = {
|
||||
limit = { always = scope:diarch_syphon_treasury_sum_large }
|
||||
scope:recipient = {
|
||||
scope:recipient = {
|
||||
domicile ?= { change_herd = massive_herd_loss }
|
||||
}
|
||||
}
|
||||
## Medium.
|
||||
else_if = {
|
||||
limit = { always = scope:diarch_syphon_treasury_sum_medium }
|
||||
scope:recipient = {
|
||||
scope:recipient = {
|
||||
domicile ?= { change_herd = major_herd_loss }
|
||||
}
|
||||
}
|
||||
## Low.
|
||||
else = {
|
||||
scope:recipient = {
|
||||
scope:recipient = {
|
||||
domicile ?= { change_herd = medium_herd_loss }
|
||||
}
|
||||
}
|
||||
|
|
@ -3830,7 +3840,7 @@ diarch_shift_privileges_interaction = {
|
|||
scope:recipient.highest_held_title_tier >= tier_county
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
# Diarch must be able to act.
|
||||
diarch_cannot_be_disabled_trigger = { DIARCH = scope:actor }
|
||||
|
|
@ -3850,7 +3860,7 @@ diarch_shift_privileges_interaction = {
|
|||
trigger_if = {
|
||||
limit = {
|
||||
scope:actor = { is_diarch = yes }
|
||||
}
|
||||
}
|
||||
# Diarchs must have unlocked the appropriate power.
|
||||
scope:actor.liege = { has_diarchy_active_parameter = unlock_shift_privileges_interaction }
|
||||
}
|
||||
|
|
@ -4206,7 +4216,7 @@ diarch_request_imperial_expedition_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# How much influence do we want to outlay on this?
|
||||
## A cheapy amount.
|
||||
send_option = {
|
||||
|
|
@ -4261,7 +4271,7 @@ diarch_request_imperial_expedition_interaction = {
|
|||
trigger_event = diarchy.8002
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
auto_accept = {
|
||||
scope:recipient = {
|
||||
trigger_if = {
|
||||
|
|
@ -4600,7 +4610,7 @@ diarch_demand_despotate_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# How much influence do we want to outlay on this?
|
||||
## A cheapy amount.
|
||||
send_option = {
|
||||
|
|
@ -4677,7 +4687,7 @@ diarch_demand_despotate_interaction = {
|
|||
trigger_event = diarchy.8032
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
auto_accept = {
|
||||
scope:recipient = {
|
||||
trigger_if = {
|
||||
|
|
@ -5010,10 +5020,14 @@ diarch_coup_liege_interaction = {
|
|||
scope:recipient = scope:actor.liege
|
||||
}
|
||||
}
|
||||
scope:recipient = { save_scope_as = secondary_recipient }
|
||||
scope:recipient = {
|
||||
save_scope_as = secondary_recipient
|
||||
}
|
||||
}
|
||||
# Always make sure we're targeting your liege as the recipient for UX consistency.
|
||||
scope:actor.liege = { save_scope_as = recipient }
|
||||
scope:actor.liege = {
|
||||
save_scope_as = recipient
|
||||
}
|
||||
}
|
||||
|
||||
is_shown = {
|
||||
|
|
@ -5028,12 +5042,11 @@ diarch_coup_liege_interaction = {
|
|||
is_designated_diarch = yes
|
||||
}
|
||||
}
|
||||
# Valid on vassals of your liege or your liege themselves.
|
||||
## More complex triggers don't generally work because redirect brings the interaction back to targeting the liege as scope:recipient, so we're left with this.
|
||||
### Don't try to improve it, it's not worth it, but if you _do_, then test your changes thoroughly.
|
||||
#### When this breaks (which it does easily), it tends to mean the interaction shows up as valid against _every_ other character in diplomatic range.
|
||||
OR = {
|
||||
scope:recipient = scope:actor.liege
|
||||
# secondary_recipient is always saved whenever you use it on anyone who isn't yourself or your liege, so we use this fact to validate it after the redirect, otherwise it will show up on every other ruler in the game
|
||||
trigger_if = {
|
||||
limit = {
|
||||
exists = scope:secondary_recipient
|
||||
}
|
||||
scope:secondary_recipient.liege ?= scope:actor.liege
|
||||
}
|
||||
}
|
||||
|
|
@ -5072,7 +5085,7 @@ diarch_coup_liege_interaction = {
|
|||
trigger_if = {
|
||||
limit = {
|
||||
scope:actor = { is_diarch = yes }
|
||||
}
|
||||
}
|
||||
# Diarchs must have unlocked the appropriate power.
|
||||
scope:actor.liege ?= { has_diarchy_active_parameter = regents_can_try_to_overthrow_present_lieges }
|
||||
}
|
||||
|
|
@ -5165,7 +5178,7 @@ diarch_coup_liege_interaction = {
|
|||
if = {
|
||||
limit = { exists = scope:secondary_recipient }
|
||||
scope:actor = {
|
||||
# Scope:secondary_recipient joins your conspiracy.
|
||||
# Scope:secondary_recipient joins your conspiracy.
|
||||
custom_tooltip = diarch_coup_liege_interaction.tt.secondary_recipient.joins_conspiracy
|
||||
## Send a notification just for a bit of extra feedback.
|
||||
send_interface_toast = {
|
||||
|
|
@ -5256,12 +5269,18 @@ diarch_coup_liege_interaction = {
|
|||
# Opinion.
|
||||
## Of scope:actor.
|
||||
opinion_modifier = {
|
||||
trigger = {
|
||||
exists = scope:secondary_recipient # because the secondary_recipient hasn't been chosen when the interaction is initialized
|
||||
}
|
||||
who = scope:secondary_recipient
|
||||
opinion_target = scope:actor
|
||||
multiplier = 1
|
||||
}
|
||||
## Of scope:recipient.
|
||||
opinion_modifier = {
|
||||
trigger = {
|
||||
exists = scope:secondary_recipient
|
||||
}
|
||||
who = scope:secondary_recipient
|
||||
opinion_target = scope:recipient
|
||||
multiplier = -0.5
|
||||
|
|
@ -5269,6 +5288,9 @@ diarch_coup_liege_interaction = {
|
|||
# Personality.
|
||||
## Values.
|
||||
ai_value_modifier = {
|
||||
trigger = {
|
||||
exists = scope:secondary_recipient
|
||||
}
|
||||
who = scope:secondary_recipient
|
||||
ai_honor = -1
|
||||
ai_boldness = 0.25
|
||||
|
|
@ -5278,68 +5300,69 @@ diarch_coup_liege_interaction = {
|
|||
modifier = {
|
||||
add = diarch_ai_desire_plus_3_value
|
||||
desc = diarch_coup_liege_interaction.tt.liege_has_loyalty_hook.tt.has_trait.disloyal
|
||||
scope:secondary_recipient = { has_trait = disloyal }
|
||||
scope:secondary_recipient ?= { has_trait = disloyal }
|
||||
}
|
||||
### +++ Ambitious.
|
||||
modifier = {
|
||||
add = diarch_ai_desire_plus_3_value
|
||||
desc = diarch_coup_liege_interaction.tt.liege_has_loyalty_hook.tt.has_trait.ambitious
|
||||
scope:secondary_recipient = { has_trait = ambitious }
|
||||
scope:secondary_recipient ?= { has_trait = ambitious }
|
||||
}
|
||||
### ++ Arbitrary.
|
||||
modifier = {
|
||||
add = diarch_ai_desire_plus_2_value
|
||||
desc = diarch_coup_liege_interaction.tt.liege_has_loyalty_hook.tt.has_trait.arbitrary
|
||||
scope:secondary_recipient = { has_trait = arbitrary }
|
||||
scope:secondary_recipient ?= { has_trait = arbitrary }
|
||||
}
|
||||
### + Fickle.
|
||||
modifier = {
|
||||
add = diarch_ai_desire_plus_1_value
|
||||
desc = diarch_coup_liege_interaction.tt.liege_has_loyalty_hook.tt.has_trait.fickle
|
||||
scope:secondary_recipient = { has_trait = fickle }
|
||||
scope:secondary_recipient ?= { has_trait = fickle }
|
||||
}
|
||||
### - Stubborn.
|
||||
modifier = {
|
||||
add = diarch_ai_desire_minus_1_value
|
||||
desc = diarch_coup_liege_interaction.tt.liege_has_loyalty_hook.tt.has_trait.stubborn
|
||||
scope:secondary_recipient = { has_trait = stubborn }
|
||||
scope:secondary_recipient ?= { has_trait = stubborn }
|
||||
}
|
||||
### -- Just.
|
||||
modifier = {
|
||||
add = diarch_ai_desire_minus_2_value
|
||||
desc = diarch_coup_liege_interaction.tt.liege_has_loyalty_hook.tt.has_trait.just
|
||||
scope:secondary_recipient = { has_trait = just }
|
||||
scope:secondary_recipient ?= { has_trait = just }
|
||||
}
|
||||
### --- Content.
|
||||
modifier = {
|
||||
add = diarch_ai_desire_minus_3_value
|
||||
desc = diarch_coup_liege_interaction.tt.liege_has_loyalty_hook.tt.has_trait.content
|
||||
scope:secondary_recipient = { has_trait = content }
|
||||
scope:secondary_recipient ?= { has_trait = content }
|
||||
}
|
||||
### --- Loyal.
|
||||
modifier = {
|
||||
add = diarch_ai_desire_minus_3_value
|
||||
desc = diarch_coup_liege_interaction.tt.liege_has_loyalty_hook.tt.has_trait.loyal
|
||||
scope:secondary_recipient = { has_trait = loyal }
|
||||
scope:secondary_recipient ?= { has_trait = loyal }
|
||||
}
|
||||
# Hooks.
|
||||
## Weak hooks are happy to have you in power.
|
||||
modifier = {
|
||||
add = 25
|
||||
scope:secondary_recipient = { has_weak_hook = scope:actor }
|
||||
scope:secondary_recipient ?= { has_weak_hook = scope:actor }
|
||||
}
|
||||
## Strong hooks are *very* happy to have you in power.
|
||||
modifier = {
|
||||
add = 75
|
||||
scope:secondary_recipient = { has_strong_hook = scope:actor }
|
||||
scope:secondary_recipient ?= { has_strong_hook = scope:actor }
|
||||
}
|
||||
## And conversely, don't want you to coup scope:recipient if they've already got a strong hook on them.
|
||||
modifier = {
|
||||
add = -100
|
||||
scope:secondary_recipient = { has_strong_hook = scope:recipient }
|
||||
scope:secondary_recipient ?= { has_strong_hook = scope:recipient }
|
||||
}
|
||||
## Loyalty hooks stop the AI signing up.
|
||||
modifier = {
|
||||
exists = scope:secondary_recipient
|
||||
add = -1000
|
||||
desc = diarch_coup_liege_interaction.tt.liege_has_loyalty_hook
|
||||
diarch_loyalty_due_to_hook_trigger = {
|
||||
|
|
@ -5355,12 +5378,12 @@ diarch_coup_liege_interaction = {
|
|||
# Reduce the malus a little if also allied to scope:actor.
|
||||
if = {
|
||||
limit = {
|
||||
scope:secondary_recipient = { is_allied_to = scope:actor }
|
||||
scope:secondary_recipient ?= { is_allied_to = scope:actor }
|
||||
}
|
||||
add = 50
|
||||
}
|
||||
}
|
||||
scope:secondary_recipient = { is_allied_to = scope:recipient }
|
||||
scope:secondary_recipient ?= { is_allied_to = scope:recipient }
|
||||
}
|
||||
## Heirs don't generally want to betray scope:recipient, as they'll lose out.
|
||||
modifier = {
|
||||
|
|
@ -5510,7 +5533,7 @@ mulct_vizier_interaction = {
|
|||
|
||||
# Don't squeeze them too often.
|
||||
cooldown = { years = 10 }
|
||||
|
||||
|
||||
# Attempt Methods
|
||||
send_options_exclusive = yes
|
||||
## Minimal.
|
||||
|
|
@ -5643,7 +5666,7 @@ mulct_vizier_interaction = {
|
|||
diarch_interaction_add_to_global_list_effect = { VARIABLE_LIST = di_track_vizmulct_accept_recipient_list }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
auto_accept = yes
|
||||
|
||||
# AI
|
||||
|
|
@ -6499,8 +6522,8 @@ swing_scales_currency_interaction = {
|
|||
# Viziers give you more bang for your buck when swinging against 'em.
|
||||
# Perk check for Voyager perk
|
||||
if = {
|
||||
limit = {
|
||||
has_diarchy_active_parameter = lieges_swing_more_against_diarchs
|
||||
limit = {
|
||||
has_diarchy_active_parameter = lieges_swing_more_against_diarchs
|
||||
has_perk = power_at_home_perk
|
||||
is_travelling = yes
|
||||
}
|
||||
|
|
@ -6513,7 +6536,7 @@ swing_scales_currency_interaction = {
|
|||
else_if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_diarchy_active_parameter = lieges_swing_more_against_diarchs
|
||||
has_diarchy_active_parameter = lieges_swing_more_against_diarchs
|
||||
AND = {
|
||||
has_perk = power_at_home_perk
|
||||
is_travelling = yes
|
||||
|
|
@ -6562,8 +6585,8 @@ swing_scales_currency_interaction = {
|
|||
# Viziers give you more bang for your buck when swinging against 'em.
|
||||
# Perk check for Voyager perk
|
||||
if = {
|
||||
limit = {
|
||||
has_diarchy_active_parameter = lieges_swing_more_against_diarchs
|
||||
limit = {
|
||||
has_diarchy_active_parameter = lieges_swing_more_against_diarchs
|
||||
has_perk = power_at_home_perk
|
||||
is_travelling = yes
|
||||
}
|
||||
|
|
@ -6576,7 +6599,7 @@ swing_scales_currency_interaction = {
|
|||
else_if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_diarchy_active_parameter = lieges_swing_more_against_diarchs
|
||||
has_diarchy_active_parameter = lieges_swing_more_against_diarchs
|
||||
AND = {
|
||||
has_perk = power_at_home_perk
|
||||
is_travelling = yes
|
||||
|
|
@ -6872,7 +6895,7 @@ diarch_swing_scales_currency_interaction = {
|
|||
}
|
||||
|
||||
cooldown = { years = 2 }
|
||||
|
||||
|
||||
cost = {
|
||||
influence = {
|
||||
if = {
|
||||
|
|
@ -6996,9 +7019,11 @@ diarch_swing_scales_currency_interaction = {
|
|||
scope:actor.var:movement_power_individual >= decent_movement_power_value
|
||||
}
|
||||
is_shown = {
|
||||
exists = scope:actor.var:movement_power_individual
|
||||
scope:actor = {
|
||||
government_has_flag = government_is_celestial
|
||||
is_diarch_of_target = scope:recipient
|
||||
exists = var:movement_power_individual
|
||||
}
|
||||
scope:recipient = { government_has_flag = government_is_celestial }
|
||||
}
|
||||
|
|
@ -7206,7 +7231,7 @@ diarch_entrench_regency_interaction = {
|
|||
# You must be able to act as diarch.
|
||||
diarch_cannot_be_disabled_trigger = { DIARCH = scope:actor }
|
||||
}
|
||||
|
||||
|
||||
on_accept = {
|
||||
scope:recipient = {
|
||||
# Tell scope:recipient what's up.
|
||||
|
|
@ -7240,7 +7265,7 @@ diarch_entrench_regency_interaction = {
|
|||
diarch_interaction_add_to_global_list_effect = { VARIABLE_LIST = di_track_entrench_recipient_list }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
auto_accept = yes
|
||||
|
||||
# AI
|
||||
|
|
@ -7323,7 +7348,7 @@ diarch_regent_appoints_self_co_emperor_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
on_accept = {
|
||||
scope:recipient = {
|
||||
# Tell scope:recipient what's up.
|
||||
|
|
@ -7361,7 +7386,7 @@ diarch_regent_appoints_self_co_emperor_interaction = {
|
|||
# Bit o'prestige for your hard work.
|
||||
scope:actor = { add_prestige = medium_prestige_gain }
|
||||
}
|
||||
|
||||
|
||||
auto_accept = yes
|
||||
|
||||
# AI
|
||||
|
|
@ -7413,7 +7438,7 @@ liege_dismiss_temporary_regency_interaction = {
|
|||
# Basic requirements must be fulfilled.
|
||||
scope:actor = { can_leave_diarchy_trigger = yes }
|
||||
}
|
||||
|
||||
|
||||
on_accept = {
|
||||
scope:actor = {
|
||||
# Tell scope:recipient what's up.
|
||||
|
|
@ -7453,7 +7478,7 @@ liege_dismiss_temporary_regency_interaction = {
|
|||
diarch_interaction_add_to_global_list_effect = { VARIABLE_LIST = di_track_dismtemp_accept_recipient_list }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
auto_accept = yes
|
||||
|
||||
# AI
|
||||
|
|
@ -7622,8 +7647,8 @@ liege_dismiss_entrenched_regency_interaction = {
|
|||
current_description = diarchy_ending_gift_herd_desc
|
||||
is_shown = {
|
||||
# Can only pay herd if actor has herd to pay and recipient accepts herd as a currency
|
||||
scope:actor = { government_has_flag = government_is_nomadic }
|
||||
scope:recipient = { government_has_flag = government_is_nomadic }
|
||||
scope:actor = { government_has_flag = government_is_nomadic }
|
||||
scope:recipient = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -8003,7 +8028,7 @@ liege_dismiss_entrenched_regency_interaction = {
|
|||
scope:diarchy_ending_gift_unnecessary = yes
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ai_accept = {
|
||||
# Diarchs don't *want* to agree, by default...
|
||||
base = 0
|
||||
|
|
@ -8327,7 +8352,7 @@ liege_dismiss_vizier_interaction = {
|
|||
}
|
||||
|
||||
cooldown = { years = 5 }
|
||||
|
||||
|
||||
on_accept = {
|
||||
scope:actor = {
|
||||
# We've dismissed your vizier!
|
||||
|
|
@ -8441,7 +8466,7 @@ liege_dismiss_vizier_interaction = {
|
|||
diarch_interaction_add_to_global_list_effect = { VARIABLE_LIST = di_track_dismviz_accept_recipient_list }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
auto_accept = yes
|
||||
|
||||
# AI
|
||||
|
|
@ -8580,7 +8605,7 @@ liege_dismiss_vizier_interaction = {
|
|||
declare_me_regent_interaction = {
|
||||
category = interaction_category_diarch
|
||||
icon = icon_declare_me_regent
|
||||
filter_tags = { admin_liege rep_liege }
|
||||
filter_tags = { admin_liege }
|
||||
|
||||
desc = declare_me_regent_interaction_desc
|
||||
notification_text = DECLARE_ME_REGENT_PROPOSAL
|
||||
|
|
@ -8987,7 +9012,7 @@ declare_me_regent_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
# Events
|
||||
# Events
|
||||
modifier = {
|
||||
add = 25
|
||||
desc = tgp_power_undermined_modifier_tt
|
||||
|
|
@ -9193,16 +9218,26 @@ appoint_vizier_interaction = {
|
|||
NOT = { has_diarchy_active_parameter = diarchy_is_vizierate }
|
||||
}
|
||||
# We perform this upon ourselves or our (probable) candidates.
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
this = scope:actor
|
||||
is_courtier_of = scope:actor
|
||||
AND = {
|
||||
highest_held_title_tier = tier_barony
|
||||
liege = scope:actor
|
||||
trigger_if = {
|
||||
limit = {
|
||||
exists = scope:secondary_recipient
|
||||
}
|
||||
scope:secondary_recipient = {
|
||||
is_valid_basic_candidate_for_vizier_trigger = yes
|
||||
OR = {
|
||||
is_courtier_of = scope:actor
|
||||
AND = {
|
||||
highest_held_title_tier = tier_barony
|
||||
liege = scope:actor
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
trigger_else = {
|
||||
scope:recipient = {
|
||||
this = scope:actor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
|
|
@ -9227,6 +9262,14 @@ appoint_vizier_interaction = {
|
|||
|
||||
populate_recipient_list = { sort_vizier_candidates_to_list_effect = yes }
|
||||
|
||||
redirect = {
|
||||
if = {
|
||||
limit = { scope:recipient != scope:actor }
|
||||
scope:recipient = { save_scope_as = secondary_recipient }
|
||||
scope:actor = { save_scope_as = recipient }
|
||||
}
|
||||
}
|
||||
|
||||
cost = {
|
||||
prestige = major_prestige_value
|
||||
renown = {
|
||||
|
|
@ -9379,7 +9422,7 @@ appoint_vizier_interaction = {
|
|||
custom_tooltip = appoint_vizier_interaction.tt.warning.vizier_replace_councillor
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# Object explorer logging.
|
||||
scope:actor = {
|
||||
diarch_interaction_set_or_update_global_variable_effect = { VARIABLE = di_track_appviz_accept }
|
||||
|
|
@ -9400,11 +9443,11 @@ appoint_vizier_interaction = {
|
|||
empire = 120
|
||||
hegemony = 120
|
||||
}
|
||||
|
||||
|
||||
ai_potential = {
|
||||
government_has_flag = may_appoint_viziers
|
||||
}
|
||||
|
||||
|
||||
ai_will_do = {
|
||||
base = 0
|
||||
|
||||
|
|
@ -9655,10 +9698,10 @@ appoint_junior_emperor_interaction = {
|
|||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Object explorer logging.
|
||||
scope:actor = {
|
||||
diarch_interaction_set_or_update_global_variable_effect = { VARIABLE = di_track_appjunemp_accept }
|
||||
|
|
@ -9679,7 +9722,7 @@ appoint_junior_emperor_interaction = {
|
|||
empire = 60
|
||||
hegemony = 60
|
||||
}
|
||||
|
||||
|
||||
ai_potential = {
|
||||
# Filter us down nice'n'tight.
|
||||
may_appoint_co_emperors_trigger = yes
|
||||
|
|
@ -9692,7 +9735,7 @@ appoint_junior_emperor_interaction = {
|
|||
is_adult = no
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ai_will_do = {
|
||||
# The AI doesn't like doing this without good reason.
|
||||
base = -100
|
||||
|
|
@ -9714,7 +9757,7 @@ appoint_co_emperor_interaction = {
|
|||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
scope:secondary_recipient ?= {
|
||||
scope:secondary_recipient ?= {
|
||||
valid_co_emperor_candidate_trigger = { LIEGE = scope:actor }
|
||||
}
|
||||
}
|
||||
|
|
@ -9900,9 +9943,9 @@ appoint_co_emperor_interaction = {
|
|||
resolve_title_and_vassal_change = scope:change
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Object explorer logging.
|
||||
scope:actor = {
|
||||
diarch_interaction_set_or_update_global_variable_effect = { VARIABLE = di_track_appcoemp_accept }
|
||||
|
|
@ -9924,7 +9967,7 @@ appoint_co_emperor_interaction = {
|
|||
empire = 60
|
||||
hegemony = 60
|
||||
}
|
||||
|
||||
|
||||
ai_potential = {
|
||||
# Filter us down nice'n'tight.
|
||||
may_appoint_co_emperors_trigger = yes
|
||||
|
|
@ -9934,7 +9977,7 @@ appoint_co_emperor_interaction = {
|
|||
age >= 50
|
||||
any_child = { is_adult = yes }
|
||||
}
|
||||
|
||||
|
||||
ai_will_do = {
|
||||
# The AI doesn't like doing this without good reason.
|
||||
base = -100
|
||||
|
|
@ -10108,9 +10151,9 @@ appoint_co_monarch_interaction = {
|
|||
resolve_title_and_vassal_change = scope:change
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Object explorer logging.
|
||||
scope:actor = {
|
||||
diarch_interaction_set_or_update_global_variable_effect = { VARIABLE = di_track_appcomon_accept }
|
||||
|
|
@ -10131,7 +10174,7 @@ appoint_co_monarch_interaction = {
|
|||
empire = 120
|
||||
hegemony = 120
|
||||
}
|
||||
|
||||
|
||||
ai_potential = {
|
||||
# Filter us down nice'n'tight.
|
||||
may_appoint_co_monarchs_trigger = yes
|
||||
|
|
@ -10141,7 +10184,7 @@ appoint_co_monarch_interaction = {
|
|||
age >= 50
|
||||
any_child = { is_adult = yes }
|
||||
}
|
||||
|
||||
|
||||
ai_will_do = {
|
||||
# The AI doesn't like doing this without good reason.
|
||||
base = -100
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@ invite_agent_to_scheme_interaction = {
|
|||
always = scope:mandala_trickster
|
||||
always = scope:gift
|
||||
always = scope:gift_significant
|
||||
always = scope:treasury
|
||||
always = scope:treasury_significant
|
||||
always = scope:offer_hook
|
||||
always = scope:offer_hook_strong
|
||||
always = scope:hook
|
||||
|
|
@ -45,6 +47,8 @@ invite_agent_to_scheme_interaction = {
|
|||
always = scope:mandala_trickster
|
||||
always = scope:gift
|
||||
always = scope:gift_significant
|
||||
always = scope:treasury
|
||||
always = scope:treasury_significant
|
||||
always = scope:offer_hook
|
||||
always = scope:offer_hook_strong
|
||||
always = scope:hook
|
||||
|
|
@ -87,6 +91,22 @@ invite_agent_to_scheme_interaction = {
|
|||
}
|
||||
stress_impact = { greedy = medium_stress_impact_gain }
|
||||
}
|
||||
# Treasury Bribe
|
||||
if = {
|
||||
limit = { always = scope:treasury }
|
||||
pay_treasury_to_gold = {
|
||||
value = bribe_value
|
||||
target = scope:recipient
|
||||
}
|
||||
}
|
||||
# Big Treasury Bribe
|
||||
if = {
|
||||
limit = { always = scope:treasury_significant }
|
||||
pay_treasury_to_gold = {
|
||||
value = greater_bribe_value
|
||||
target = scope:recipient
|
||||
}
|
||||
}
|
||||
# Offer Hook
|
||||
if = {
|
||||
limit = { always = scope:offer_hook }
|
||||
|
|
@ -449,6 +469,12 @@ invite_agent_to_scheme_interaction = {
|
|||
send_option = {
|
||||
flag = gift
|
||||
is_shown = {
|
||||
NOT = {
|
||||
scope:actor = {
|
||||
has_treasury = yes
|
||||
has_title = title:e_minister_censor
|
||||
}
|
||||
}
|
||||
# We don't show bribes for schemes where agents will always auto-accept or else deny.
|
||||
NAND = {
|
||||
scope:scheme = { is_scheme_category = contract }
|
||||
|
|
@ -476,6 +502,12 @@ invite_agent_to_scheme_interaction = {
|
|||
send_option = {
|
||||
flag = gift_significant
|
||||
is_shown = {
|
||||
NOT = {
|
||||
scope:actor = {
|
||||
has_treasury = yes
|
||||
has_title = title:e_minister_censor
|
||||
}
|
||||
}
|
||||
# We don't show bribes for schemes where agents will always auto-accept or else deny.
|
||||
NAND = {
|
||||
scope:scheme = { is_scheme_category = contract }
|
||||
|
|
@ -499,6 +531,68 @@ invite_agent_to_scheme_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
## Treasury
|
||||
send_option = {
|
||||
flag = treasury
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
has_treasury = yes
|
||||
has_title = title:e_minister_censor
|
||||
}
|
||||
# We don't show bribes for schemes where agents will always auto-accept or else deny.
|
||||
NAND = {
|
||||
scope:scheme = { is_scheme_category = contract }
|
||||
scope:recipient = { is_courtier_of = scope:actor }
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
scope:actor.treasury >= bribe_value
|
||||
custom_tooltip = {
|
||||
text = offer_gold.tt.cannot_offer_both_bribes
|
||||
scope:treasury_significant = no
|
||||
}
|
||||
would_agent_accept_petty_bribes_against_target_trigger = yes
|
||||
}
|
||||
localization = SCHEME_AGENT_TREASURY_BRIBE
|
||||
current_description = {
|
||||
# Triggered desc so that we don't get a weird double tooltip.
|
||||
triggered_desc = {
|
||||
trigger = { scope:actor.treasury >= bribe_value }
|
||||
desc = SCHEME_AGENT_TREASURY_BRIBE_VALID
|
||||
}
|
||||
}
|
||||
}
|
||||
## Even more treasury
|
||||
send_option = {
|
||||
flag = treasury_significant
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
has_treasury = yes
|
||||
has_title = title:e_minister_censor
|
||||
}
|
||||
# We don't show bribes for schemes where agents will always auto-accept or else deny.
|
||||
NAND = {
|
||||
scope:scheme = { is_scheme_category = contract }
|
||||
scope:recipient = { is_courtier_of = scope:actor }
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
scope:actor.treasury >= greater_bribe_value
|
||||
custom_tooltip = {
|
||||
text = offer_gold.tt.cannot_offer_both_bribes
|
||||
scope:treasury = no
|
||||
}
|
||||
would_agent_accept_petty_bribes_against_target_trigger = yes
|
||||
}
|
||||
localization = SCHEME_AGENT_TREASURY_SIGNIFICANT_BRIBE
|
||||
current_description = {
|
||||
# Triggered desc so that we don't get a weird double tooltip.
|
||||
triggered_desc = {
|
||||
trigger = { scope:actor.treasury >= greater_bribe_value }
|
||||
desc = SCHEME_AGENT_TREASURY_SIGNIFICANT_VALID
|
||||
}
|
||||
}
|
||||
}
|
||||
## Offer a hook
|
||||
send_option = {
|
||||
flag = offer_hook
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -15,7 +15,8 @@
|
|||
is_shown = {
|
||||
scope:recipient = {
|
||||
this != scope:actor
|
||||
liege ?= scope:actor # this excludes tributary contracts by default
|
||||
liege = scope:actor
|
||||
is_tributary = no # this excludes tributary contracts by default
|
||||
is_ruler = yes
|
||||
vassal_contract_has_modifiable_obligations = yes
|
||||
NOT = { government_allows = administrative }
|
||||
|
|
@ -30,7 +31,7 @@
|
|||
can_send = {
|
||||
#Mandala gets special treatment
|
||||
trigger_if = {
|
||||
limit = {
|
||||
limit = {
|
||||
scope:actor = { government_has_flag = government_is_mandala }
|
||||
}
|
||||
custom_tooltip = {
|
||||
|
|
@ -339,12 +340,14 @@ vassal_modify_vassal_contract_interaction = {
|
|||
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
top_liege != this
|
||||
liege = scope:actor
|
||||
this != scope:actor
|
||||
liege ?= scope:actor # this excludes tributary contracts by default
|
||||
is_tributary = no # this excludes tributary contracts by default
|
||||
vassal_contract_has_modifiable_obligations = yes
|
||||
NOT = { government_allows = administrative }
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
NOR = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -355,7 +358,7 @@ vassal_modify_vassal_contract_interaction = {
|
|||
can_send = {
|
||||
#Mandala gets special treatment
|
||||
trigger_if = {
|
||||
limit = {
|
||||
limit = {
|
||||
scope:recipient = { government_has_flag = government_is_mandala }
|
||||
}
|
||||
custom_tooltip = {
|
||||
|
|
@ -595,10 +598,11 @@ ai_only_liege_modify_vassal_contract_interaction = {
|
|||
}
|
||||
scope:recipient = {
|
||||
this != scope:actor
|
||||
liege = scope:actor
|
||||
NOT = {
|
||||
has_strong_hook = scope:actor
|
||||
}
|
||||
liege ?= scope:actor # this excludes tributary contracts by default
|
||||
is_tributary = no # this excludes tributary contracts by default
|
||||
is_ruler = yes
|
||||
vassal_contract_can_be_modified_trigger = yes
|
||||
does_ai_liege_in_vassal_contract_desire_obligation_change = yes
|
||||
|
|
@ -634,7 +638,7 @@ ai_only_liege_modify_vassal_contract_interaction = {
|
|||
ai_targets = {
|
||||
ai_recipients = vassals
|
||||
}
|
||||
|
||||
|
||||
ai_frequency_by_tier = {
|
||||
barony = 0
|
||||
county = 12
|
||||
|
|
@ -683,10 +687,11 @@ ai_only_liege_modify_vassal_contract_admin_province_interaction = {
|
|||
}
|
||||
scope:recipient = {
|
||||
this != scope:actor
|
||||
liege = scope:actor
|
||||
is_tributary = no
|
||||
NOT = {
|
||||
has_strong_hook = scope:actor
|
||||
}
|
||||
liege ?= scope:actor # this excludes tributary contracts by default
|
||||
is_ruler = yes
|
||||
government_has_flag = government_uses_admin_province_obligations
|
||||
|
||||
|
|
@ -748,10 +753,11 @@ ai_only_vassal_modify_vassal_contract_interaction = {
|
|||
has_usable_hook = scope:recipient
|
||||
vassal_contract_can_be_modified_trigger = yes
|
||||
does_ai_vassal_in_vassal_contract_desire_obligation_change = yes
|
||||
is_tributary = no # this excludes tributary contracts by default
|
||||
liege = scope:recipient
|
||||
}
|
||||
scope:recipient = {
|
||||
this != scope:actor
|
||||
liege ?= scope:actor # this excludes tributary contracts by default
|
||||
is_ruler = yes
|
||||
NOT = {
|
||||
has_strong_hook = scope:actor
|
||||
|
|
@ -824,11 +830,12 @@ admin_liege_modify_vassal_contract_interaction = {
|
|||
is_shown = {
|
||||
scope:recipient = {
|
||||
this != scope:actor
|
||||
liege = scope:actor
|
||||
OR = {
|
||||
is_landed = yes
|
||||
is_councillor_of = scope:actor.top_liege
|
||||
}
|
||||
liege ?= scope:actor # this excludes tributary contracts by default
|
||||
is_tributary = no # this excludes tributary contracts by default
|
||||
is_ruler = yes
|
||||
vassal_contract_has_modifiable_obligations = yes
|
||||
government_allows = administrative
|
||||
|
|
@ -989,7 +996,7 @@ admin_liege_modify_vassal_contract_interaction = {
|
|||
type = msg_vassal_contract_change
|
||||
title = modify_vassal_contract_interaction_notification
|
||||
right_icon = scope:recipient
|
||||
|
||||
|
||||
scope:recipient = {
|
||||
hidden_effect = {
|
||||
set_variable = {
|
||||
|
|
@ -1010,14 +1017,13 @@ admin_liege_modify_vassal_contract_interaction = {
|
|||
type = scope:obligation.vassal_contract_type
|
||||
level = scope:obligation
|
||||
}
|
||||
|
||||
|
||||
# Update the succession law for celestial province types if applicable - That way, we don't have to wait until the current law invalidates.
|
||||
if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_celestial
|
||||
scope:obligation.vassal_contract_type = vassal_contract:celestial_provinces
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
|
|
@ -1040,6 +1046,51 @@ admin_liege_modify_vassal_contract_interaction = {
|
|||
add_realm_law_skip_effects = celestial_appointment_succession_law
|
||||
}
|
||||
}
|
||||
# Update the succession law for meritocratic province types if applicable - That way, we don't have to wait until the current law invalidates.
|
||||
else_if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_meritocratic
|
||||
scope:obligation.vassal_contract_type = vassal_contract:meritocratic_provinces
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
vassal_contract_has_flag = meritocratic_province_military
|
||||
NOT = { has_realm_law = meritocratic_military_appointment_succession_law }
|
||||
}
|
||||
add_realm_law_skip_effects = meritocratic_military_appointment_succession_law
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
OR = {
|
||||
vassal_contract_has_flag = meritocratic_province_standard
|
||||
vassal_contract_has_flag = meritocratic_province_industrial
|
||||
}
|
||||
NOT = { has_realm_law = meritocratic_appointment_succession_law }
|
||||
}
|
||||
add_realm_law_skip_effects = meritocratic_appointment_succession_law
|
||||
}
|
||||
}
|
||||
# Update the succession law for japanese province types if applicable - That way, we don't have to wait until the current law invalidates.
|
||||
else_if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_japanese_administrative
|
||||
scope:obligation.vassal_contract_type = vassal_contract:japan_administrative_provinces
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { vassal_contract_has_flag = japan_administrative_military_appointment }
|
||||
NOT = { has_realm_law = japanese_appointment_succession_law }
|
||||
}
|
||||
add_realm_law_skip_effects = japanese_appointment_succession_law
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
vassal_contract_has_flag = japan_administrative_military_appointment
|
||||
NOT = { has_realm_law = japanese_military_appointment_succession_law }
|
||||
}
|
||||
add_realm_law_skip_effects = japanese_military_appointment_succession_law
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1060,7 +1111,7 @@ admin_vassal_modify_vassal_contract_interaction = {
|
|||
common_interaction = yes
|
||||
icon = icon_contract_modification_single
|
||||
|
||||
filter_tags = { admin_liege rep_liege }
|
||||
filter_tags = { admin_liege }
|
||||
|
||||
send_name = "admin_vassal_modify_vassal_contract_interaction_send"
|
||||
desc = admin_vassal_modify_vassal_contract_interaction_desc
|
||||
|
|
@ -1069,7 +1120,8 @@ admin_vassal_modify_vassal_contract_interaction = {
|
|||
scope:actor = {
|
||||
top_liege != this
|
||||
this != scope:recipient
|
||||
liege ?= scope:recipient # this excludes tributary contracts by default
|
||||
liege = scope:recipient
|
||||
is_tributary = no # this excludes tributary contracts by default
|
||||
vassal_contract_has_modifiable_obligations = yes
|
||||
government_allows = administrative
|
||||
tgp_is_ceremonial_liege_trigger = no
|
||||
|
|
@ -1205,14 +1257,14 @@ admin_vassal_modify_vassal_contract_interaction = {
|
|||
type = scope:obligation.vassal_contract_type
|
||||
level = scope:obligation
|
||||
}
|
||||
|
||||
|
||||
# Update the succession law for celestial province types if applicable - That way, we don't have to wait until the current law invalidates.
|
||||
if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_celestial
|
||||
scope:obligation.vassal_contract_type = vassal_contract:celestial_provinces
|
||||
}
|
||||
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
|
|
@ -1235,6 +1287,51 @@ admin_vassal_modify_vassal_contract_interaction = {
|
|||
add_realm_law_skip_effects = celestial_appointment_succession_law
|
||||
}
|
||||
}
|
||||
# Update the succession law for meritocratic province types if applicable - That way, we don't have to wait until the current law invalidates.
|
||||
else_if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_meritocratic
|
||||
scope:obligation.vassal_contract_type = vassal_contract:meritocratic_provinces
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
vassal_contract_has_flag = meritocratic_province_military
|
||||
NOT = { has_realm_law = meritocratic_military_appointment_succession_law }
|
||||
}
|
||||
add_realm_law_skip_effects = meritocratic_military_appointment_succession_law
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
OR = {
|
||||
vassal_contract_has_flag = meritocratic_province_standard
|
||||
vassal_contract_has_flag = meritocratic_province_industrial
|
||||
}
|
||||
NOT = { has_realm_law = meritocratic_appointment_succession_law }
|
||||
}
|
||||
add_realm_law_skip_effects = meritocratic_appointment_succession_law
|
||||
}
|
||||
}
|
||||
# Update the succession law for japanese province types if applicable - That way, we don't have to wait until the current law invalidates.
|
||||
else_if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_japanese_administrative
|
||||
scope:obligation.vassal_contract_type = vassal_contract:japan_administrative_provinces
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { vassal_contract_has_flag = japan_administrative_military_appointment }
|
||||
NOT = { has_realm_law = japanese_appointment_succession_law }
|
||||
}
|
||||
add_realm_law_skip_effects = japanese_appointment_succession_law
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
vassal_contract_has_flag = japan_administrative_military_appointment
|
||||
NOT = { has_realm_law = japanese_military_appointment_succession_law }
|
||||
}
|
||||
add_realm_law_skip_effects = japanese_military_appointment_succession_law
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1427,8 +1524,9 @@ nomad_liege_modify_vassal_contract_interaction = {
|
|||
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
NOT = { this = scope:actor }
|
||||
liege ?= scope:actor # this excludes tributary contracts by default
|
||||
this != scope:actor
|
||||
liege = scope:actor
|
||||
is_tributary = no # this excludes tributary contracts by default
|
||||
is_ruler = yes
|
||||
vassal_contract_has_modifiable_obligations = yes
|
||||
government_has_flag = government_is_nomadic
|
||||
|
|
@ -1647,7 +1745,7 @@ nomad_liege_modify_vassal_contract_interaction = {
|
|||
# Additional Flavor Titles
|
||||
scope:recipient = { additional_flavor_check_effect = yes }
|
||||
}
|
||||
|
||||
|
||||
send_option = {
|
||||
is_valid = {
|
||||
scope:actor = {
|
||||
|
|
@ -1674,7 +1772,7 @@ nomad_vassal_modify_vassal_contract_interaction = {
|
|||
|
||||
send_name = "nomad_vassal_modify_vassal_contract_interaction_send"
|
||||
desc = nomad_vassal_modify_vassal_contract_interaction_desc
|
||||
|
||||
|
||||
redirect = {
|
||||
# need to reverse the role for the UI to work properly
|
||||
scope:recipient = {
|
||||
|
|
@ -1692,8 +1790,9 @@ nomad_vassal_modify_vassal_contract_interaction = {
|
|||
is_shown = {
|
||||
scope:recipient = {
|
||||
is_independent_ruler = no
|
||||
NOT = { this = scope:actor }
|
||||
liege ?= scope:actor # this excludes tributary contracts by default
|
||||
this != scope:actor
|
||||
liege = scope:actor
|
||||
is_tributary = no # this excludes tributary contracts by default
|
||||
vassal_contract_has_modifiable_obligations = yes
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
|
|
@ -1874,7 +1973,7 @@ suzerain_modify_tributary_contract_interaction = {
|
|||
scope:recipient = {
|
||||
is_tributary_of = scope:actor # excludes vassals by default
|
||||
subject_contract_has_modifiable_obligations = yes
|
||||
NOT = { government_has_flag = government_is_true_herder }
|
||||
NOT = { government_has_flag = government_is_herder }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1885,7 +1984,7 @@ suzerain_modify_tributary_contract_interaction = {
|
|||
can_send = {
|
||||
#Mandala gets special treatment
|
||||
trigger_if = {
|
||||
limit = {
|
||||
limit = {
|
||||
scope:actor = { government_has_flag = government_is_mandala }
|
||||
}
|
||||
custom_tooltip = {
|
||||
|
|
@ -2025,7 +2124,7 @@ suzerain_modify_tributary_contract_interaction = {
|
|||
add_piety = major_piety_loss
|
||||
}
|
||||
else = { add_prestige = medium_prestige_loss }
|
||||
|
||||
|
||||
scope:recipient = {
|
||||
add_opinion = {
|
||||
modifier = outraged_opinion
|
||||
|
|
@ -2121,7 +2220,7 @@ subject_modify_tributary_contract_interaction = {
|
|||
can_send = {
|
||||
#Mandala gets special treatment
|
||||
trigger_if = {
|
||||
limit = {
|
||||
limit = {
|
||||
scope:recipient = { government_has_flag = government_is_mandala }
|
||||
}
|
||||
custom_tooltip = {
|
||||
|
|
@ -2136,9 +2235,9 @@ subject_modify_tributary_contract_interaction = {
|
|||
trigger_if = {
|
||||
limit = { scope:hook = no } # no cost
|
||||
trigger_if = {
|
||||
limit = { subject_standing < 0 } # this means we don't use subject standing
|
||||
limit = { subject_standing < 0 } # this means we don't use subject standing
|
||||
trigger_if = {
|
||||
limit = {
|
||||
limit = {
|
||||
government_has_flag = government_is_nomadic
|
||||
scope:recipient = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
|
|
@ -2193,9 +2292,9 @@ subject_modify_tributary_contract_interaction = {
|
|||
trigger_if = {
|
||||
limit = { scope:hook = no } # no cost
|
||||
trigger_if = {
|
||||
limit = { subject_standing < 0 } # this means we don't use subject standing
|
||||
limit = { subject_standing < 0 } # this means we don't use subject standing
|
||||
trigger_if = {
|
||||
limit = {
|
||||
limit = {
|
||||
government_has_flag = government_is_nomadic
|
||||
scope:recipient = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
|
|
@ -2235,9 +2334,9 @@ subject_modify_tributary_contract_interaction = {
|
|||
}
|
||||
else = {
|
||||
if = {
|
||||
limit = { subject_standing < 0 } # this means we don't use subject standing
|
||||
limit = { subject_standing < 0 } # this means we don't use subject standing
|
||||
if = {
|
||||
limit = {
|
||||
limit = {
|
||||
government_has_flag = government_is_nomadic
|
||||
scope:recipient = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
|
|
@ -2363,14 +2462,14 @@ subject_modify_tributary_contract_interaction = {
|
|||
add = scope:new_value
|
||||
multiply = -20 #Overlord favoring options have a negative score
|
||||
if = { # the Chinese Emperor cares less since they get tribute through missions as well
|
||||
limit = {
|
||||
limit = {
|
||||
scope:new_value < 0
|
||||
scope:actor = {
|
||||
scope:actor = {
|
||||
OR = {
|
||||
has_subject_contract_group = tributary_celestial
|
||||
has_subject_contract_group = tributary_hegemonic
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
multiply = 0.5
|
||||
}
|
||||
|
|
@ -2406,7 +2505,7 @@ ai_only_hegemonic_tributary_modify_tributary_contract_interaction = {
|
|||
scope:actor = {
|
||||
if = {
|
||||
# if the subject has a Seal of Investiture, they will always ask for an Investiture Privilege if they can
|
||||
limit = {
|
||||
limit = {
|
||||
any_character_artifact = {
|
||||
OR = {
|
||||
artifact_type = seal_of_investiture
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -2234,7 +2234,7 @@ seek_indulgences_interaction = {
|
|||
trigger_if = {
|
||||
limit = {
|
||||
has_trait = kinslayer_3
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = kinslayer_3 GENDER_CHARACTER = scope:actor }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:kinslayer_3 GENDER_CHARACTER = scope:actor }
|
||||
}
|
||||
gold >= seek_indulgences_major_criminal_trait_value
|
||||
}
|
||||
|
|
@ -2243,19 +2243,19 @@ seek_indulgences_interaction = {
|
|||
OR = {
|
||||
AND = {
|
||||
has_trait = kinslayer_2
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = kinslayer_2 GENDER_CHARACTER = scope:actor }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:kinslayer_2 GENDER_CHARACTER = scope:actor }
|
||||
}
|
||||
AND = {
|
||||
has_trait = witch
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = witch GENDER_CHARACTER = scope:actor }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:witch GENDER_CHARACTER = scope:actor }
|
||||
}
|
||||
AND = {
|
||||
has_trait = deviant
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = deviant GENDER_CHARACTER = scope:actor }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:deviant GENDER_CHARACTER = scope:actor }
|
||||
}
|
||||
AND = {
|
||||
has_trait = sodomite
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = sodomite GENDER_CHARACTER = scope:actor }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:sodomite GENDER_CHARACTER = scope:actor }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2266,15 +2266,15 @@ seek_indulgences_interaction = {
|
|||
OR = {
|
||||
AND = {
|
||||
has_trait = kinslayer_1
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = kinslayer_1 GENDER_CHARACTER = scope:actor }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:kinslayer_1 GENDER_CHARACTER = scope:actor }
|
||||
}
|
||||
AND = {
|
||||
has_trait = fornicator
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = fornicator GENDER_CHARACTER = scope:actor }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:fornicator GENDER_CHARACTER = scope:actor }
|
||||
}
|
||||
AND = {
|
||||
has_trait = adulterer
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = adulterer GENDER_CHARACTER = scope:actor }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:adulterer GENDER_CHARACTER = scope:actor }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -4089,7 +4089,7 @@ take_vows_interaction = {
|
|||
if = {
|
||||
limit = {
|
||||
house = {
|
||||
has_house_power_parameter = humility_take_the_vows_bonus
|
||||
has_house_aspiration_parameter = humility_take_the_vows_bonus
|
||||
}
|
||||
}
|
||||
add_piety_experience = 100
|
||||
|
|
@ -5426,11 +5426,11 @@ hof_ask_for_gold_interaction = {
|
|||
OR = {
|
||||
AND = {
|
||||
has_trait = fornicator
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = fornicator GENDER_CHARACTER = scope:actor }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:fornicator GENDER_CHARACTER = scope:actor }
|
||||
}
|
||||
AND = {
|
||||
has_trait = adulterer
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = adulterer GENDER_CHARACTER = scope:actor }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:adulterer GENDER_CHARACTER = scope:actor }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -5460,15 +5460,15 @@ hof_ask_for_gold_interaction = {
|
|||
OR = {
|
||||
AND = {
|
||||
has_trait = kinslayer_1
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = kinslayer_1 GENDER_CHARACTER = scope:actor }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:kinslayer_1 GENDER_CHARACTER = scope:actor }
|
||||
}
|
||||
AND = {
|
||||
has_trait = kinslayer_2
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = kinslayer_2 GENDER_CHARACTER = scope:actor }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:kinslayer_2 GENDER_CHARACTER = scope:actor }
|
||||
}
|
||||
AND = {
|
||||
has_trait = kinslayer_3
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = kinslayer_3 GENDER_CHARACTER = scope:actor }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:kinslayer_3 GENDER_CHARACTER = scope:actor }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6255,11 +6255,11 @@ hof_ask_for_claim_interaction = {
|
|||
OR = {
|
||||
AND = {
|
||||
has_trait = fornicator
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = fornicator GENDER_CHARACTER = scope:actor }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:fornicator GENDER_CHARACTER = scope:actor }
|
||||
}
|
||||
AND = {
|
||||
has_trait = adulterer
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = adulterer GENDER_CHARACTER = scope:actor }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:adulterer GENDER_CHARACTER = scope:actor }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6272,11 +6272,11 @@ hof_ask_for_claim_interaction = {
|
|||
OR = {
|
||||
AND = {
|
||||
has_trait = fornicator
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = fornicator GENDER_CHARACTER = scope:secondary_recipient }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:fornicator GENDER_CHARACTER = scope:secondary_recipient }
|
||||
}
|
||||
AND = {
|
||||
has_trait = adulterer
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = adulterer GENDER_CHARACTER = scope:secondary_recipient }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:adulterer GENDER_CHARACTER = scope:secondary_recipient }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6323,15 +6323,15 @@ hof_ask_for_claim_interaction = {
|
|||
OR = {
|
||||
AND = {
|
||||
has_trait = kinslayer_1
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = kinslayer_1 GENDER_CHARACTER = scope:actor }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:kinslayer_1 GENDER_CHARACTER = scope:actor }
|
||||
}
|
||||
AND = {
|
||||
has_trait = kinslayer_2
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = kinslayer_2 GENDER_CHARACTER = scope:actor }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:kinslayer_2 GENDER_CHARACTER = scope:actor }
|
||||
}
|
||||
AND = {
|
||||
has_trait = kinslayer_3
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = kinslayer_3 GENDER_CHARACTER = scope:actor }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:kinslayer_3 GENDER_CHARACTER = scope:actor }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6344,15 +6344,15 @@ hof_ask_for_claim_interaction = {
|
|||
OR = {
|
||||
AND = {
|
||||
has_trait = kinslayer_1
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = kinslayer_1 GENDER_CHARACTER = scope:secondary_recipient }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:kinslayer_1 GENDER_CHARACTER = scope:secondary_recipient }
|
||||
}
|
||||
AND = {
|
||||
has_trait = kinslayer_2
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = kinslayer_2 GENDER_CHARACTER = scope:secondary_recipient }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:kinslayer_2 GENDER_CHARACTER = scope:secondary_recipient }
|
||||
}
|
||||
AND = {
|
||||
has_trait = kinslayer_3
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = kinslayer_3 GENDER_CHARACTER = scope:secondary_recipient }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:kinslayer_3 GENDER_CHARACTER = scope:secondary_recipient }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -738,7 +738,7 @@ befriend_interaction = {
|
|||
involvement = involved
|
||||
has_struggle_phase_parameter = struggle_unlocks_befriend_schemes_for_everyone
|
||||
}
|
||||
house ?= { has_house_power_parameter = aspect_of_serenity }
|
||||
house ?= { has_house_aspiration_parameter = aspect_of_serenity }
|
||||
}
|
||||
NOR = {
|
||||
has_trait = shy
|
||||
|
|
@ -903,7 +903,7 @@ befriend_interaction = {
|
|||
factor = 25
|
||||
OR = {
|
||||
has_focus = diplomacy_family_focus
|
||||
house ?= { has_house_power_parameter = aspect_of_serenity }
|
||||
house ?= { has_house_aspiration_parameter = aspect_of_serenity }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1388,7 +1388,7 @@ seduce_interaction = {
|
|||
}
|
||||
}
|
||||
|
||||
modifier = { # Try to avoid agressive seduction unless you're geared for it
|
||||
modifier = { # Try to avoid aggressive seduction unless you're geared for it
|
||||
add = -10
|
||||
scope:actor = {
|
||||
NOR = {
|
||||
|
|
|
|||
|
|
@ -416,31 +416,19 @@ appoint_podesta_interaction = {
|
|||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
scope:recipient = {
|
||||
show_as_tooltip = {
|
||||
change_government = republic_government
|
||||
create_title_and_vassal_change = {
|
||||
type = returned
|
||||
save_scope_as = change
|
||||
add_claim_on_loss = no
|
||||
every_vassal = {
|
||||
limit = {
|
||||
government_has_flag = government_is_republic
|
||||
}
|
||||
every_vassal = {
|
||||
limit = {
|
||||
government_has_flag = government_is_republic
|
||||
}
|
||||
every_held_title = {
|
||||
change_title_holder = {
|
||||
holder = scope:recipient
|
||||
change = scope:change
|
||||
take_baronies = yes
|
||||
}
|
||||
every_held_title = {
|
||||
change_title_holder = {
|
||||
holder = scope:recipient
|
||||
change = scope:change
|
||||
take_baronies = yes
|
||||
}
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -182,27 +182,23 @@
|
|||
}
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
scope:target = {
|
||||
scope:target ?= {
|
||||
if = {
|
||||
limit = {
|
||||
title_province = {
|
||||
geographical_region = geographical_region:mpo_region_permafrost
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:target = { has_county_modifier = mpo_siberian_permafrost_modifier }
|
||||
if = {
|
||||
limit = { has_county_modifier = mpo_siberian_permafrost_modifier }
|
||||
remove_county_modifier = mpo_siberian_permafrost_modifier
|
||||
}
|
||||
scope:target = { remove_county_modifier = mpo_siberian_permafrost_modifier }
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:target = { has_county_modifier = mpo_siberian_permafrost_modifier_bad }
|
||||
else_if = {
|
||||
limit = { has_county_modifier = mpo_siberian_permafrost_modifier_bad }
|
||||
remove_county_modifier = mpo_siberian_permafrost_modifier_bad
|
||||
}
|
||||
scope:target = { remove_county_modifier = mpo_siberian_permafrost_modifier_bad }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -364,29 +360,7 @@ tribalize_holding_interaction = {
|
|||
scope:target.title_province = {
|
||||
set_holding_type = tribal_holding
|
||||
}
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
scope:target = {
|
||||
title_province = {
|
||||
geographical_region = geographical_region:mpo_region_permafrost
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:target = { has_county_modifier = mpo_siberian_permafrost_modifier }
|
||||
}
|
||||
scope:target = { remove_county_modifier = mpo_siberian_permafrost_modifier }
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:target = { has_county_modifier = mpo_siberian_permafrost_modifier_bad }
|
||||
}
|
||||
scope:target = { remove_county_modifier = mpo_siberian_permafrost_modifier_bad }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -847,7 +821,7 @@ turn_subject_into_mandala_interaction = {
|
|||
scope:actor = { is_at_war = no }
|
||||
custom_tooltip = {
|
||||
text = cannot_take_overt_hostile_actions_against_diarch.tt
|
||||
NOT = { scope:recipient ?= scope:actor.diarch }
|
||||
NOT = { scope:actor.diarch ?= scope:recipient }
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = head_of_faith_unable_to_change_government_desc
|
||||
|
|
@ -938,6 +912,16 @@ turn_subject_into_mandala_interaction = {
|
|||
scope:recipient = { highest_held_title_tier >= tier_kingdom }
|
||||
gold >= 2000
|
||||
}
|
||||
modifier = {
|
||||
scope:recipient.capital_county.title_province = {
|
||||
NOR = {
|
||||
has_holding_type = temple_citadel_holding
|
||||
has_holding_type = church_holding
|
||||
has_holding_type = castle_holding
|
||||
}
|
||||
}
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
|
||||
ai_accept = {
|
||||
|
|
|
|||
|
|
@ -12,13 +12,6 @@ become_tributary_interaction = {
|
|||
desc = become_tributary_interaction_desc
|
||||
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
trigger_if = {
|
||||
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
|
||||
}
|
||||
}
|
||||
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
|
||||
NOR = {
|
||||
|
|
@ -28,6 +21,13 @@ become_tributary_interaction = {
|
|||
}
|
||||
can_have_tributaries_trigger = yes
|
||||
}
|
||||
scope:actor = {
|
||||
trigger_if = {
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
|
|
@ -76,22 +76,6 @@ become_tributary_interaction = {
|
|||
is_confederation_member = no
|
||||
is_at_war = no
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { scope:recipient = title:h_china.holder }
|
||||
scope:actor = {
|
||||
custom_tooltip = {
|
||||
text = neighbor_is_china
|
||||
is_tributary = no
|
||||
is_independent_ruler = yes
|
||||
OR = {
|
||||
has_variable = wants_to_become_tributary_of_china
|
||||
any_neighboring_and_across_water_top_liege_realm_owner = {
|
||||
primary_title = title:h_china
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
needs_confirmation = {
|
||||
|
|
@ -1289,8 +1273,7 @@ demand_tributary_interaction = {
|
|||
scope:recipient = {
|
||||
NOT = {
|
||||
any_neighboring_top_suzerain_realm_owner = {
|
||||
exists = this
|
||||
NOT = { this = scope:actor }
|
||||
this != scope:actor
|
||||
}
|
||||
}
|
||||
NOT = {
|
||||
|
|
@ -2020,6 +2003,7 @@ release_tributary_interaction = {
|
|||
add_truce_both_ways = {
|
||||
character = scope:actor
|
||||
years = 5
|
||||
override = yes
|
||||
name = TRUCE_TRIBUTARY_STOPPED
|
||||
}
|
||||
add_opinion = {
|
||||
|
|
@ -2170,7 +2154,7 @@ exact_tribute_interaction = {
|
|||
ai_max_reply_days = 9
|
||||
can_send_despite_rejection = yes
|
||||
popup_on_receive = yes
|
||||
common_interaction = yes
|
||||
common_interaction = no
|
||||
|
||||
interface_priority = 4
|
||||
|
||||
|
|
@ -2228,9 +2212,7 @@ exact_tribute_interaction = {
|
|||
is_tributary = no
|
||||
custom_tooltip = {
|
||||
text = exact_tribute_interaction_hegemony_not_neighbor_tt
|
||||
any_neighboring_and_across_water_top_liege_realm_owner = {
|
||||
this = scope:actor
|
||||
}
|
||||
any_neighboring_realm_with_tributaries_owner = { this = scope:actor }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2432,9 +2414,7 @@ exact_tribute_interaction = {
|
|||
GIVER = scope:recipient
|
||||
CHARACTER = scope:actor
|
||||
}
|
||||
is_adult = yes
|
||||
has_any_disease_trigger = no
|
||||
has_easily_mocked_physical_attribute_trigger = no
|
||||
tribute_mission_is_available_concubine_trigger = yes
|
||||
}
|
||||
add_to_list = potential_concubine_tribute_list
|
||||
random_in_list = {
|
||||
|
|
@ -3462,7 +3442,7 @@ offer_courtier_interaction = {
|
|||
add_opinion = {
|
||||
target = scope:recipient
|
||||
modifier = annoyed_opinion
|
||||
opinion = 10
|
||||
opinion = -10
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
grant_vassal_interaction = {
|
||||
category = interaction_category_vassal
|
||||
common_interaction = yes
|
||||
common_interaction = no
|
||||
interface = transfer_vassal
|
||||
icon = icon_vassal
|
||||
|
||||
|
|
@ -1393,24 +1393,17 @@ create_claimant_faction_against_interaction = {
|
|||
exists = scope:recipient
|
||||
exists = scope:landed_title
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
has_title = title:e_minister_chancellor
|
||||
has_title = title:e_minister_censor
|
||||
has_title = title:e_minister_grand_marshal
|
||||
has_title = title:e_minister_of_personnel
|
||||
has_title = title:e_minister_of_revenue
|
||||
has_title = title:e_minister_of_rites
|
||||
has_title = title:e_minister_of_war
|
||||
has_title = title:e_minister_of_justice
|
||||
has_title = title:e_minister_of_works
|
||||
}
|
||||
tgp_is_any_minister = yes
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
custom_description = {
|
||||
text = target_is_a_minister_desc
|
||||
subject = this
|
||||
scope:landed_title = { this = title:h_china }
|
||||
any_held_title = {
|
||||
tgp_is_minister_title = yes
|
||||
de_jure_liege ?= scope:landed_title
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1681,10 +1674,7 @@ force_onto_council = {
|
|||
NAND = {
|
||||
has_council_position = councillor_court_chaplain
|
||||
faith = {
|
||||
OR = {
|
||||
has_doctrine = doctrine_clerical_succession_temporal_fixed_appointment
|
||||
has_doctrine = doctrine_clerical_succession_spiritual_fixed_appointment
|
||||
}
|
||||
has_doctrine_parameter = clerical_appointment_fixed
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2291,7 +2281,7 @@ ask_for_pardon_interaction = {
|
|||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:actor != scope:recipient.liege
|
||||
scope:actor.top_liege != scope:recipient
|
||||
}
|
||||
desc = ask_for_pardon_interaction_minister_desc
|
||||
}
|
||||
|
|
@ -2332,7 +2322,9 @@ ask_for_pardon_interaction = {
|
|||
|
||||
is_highlighted = {
|
||||
OR = {
|
||||
has_usable_hook = scope:recipient
|
||||
scope:actor = {
|
||||
has_usable_hook = scope:recipient
|
||||
}
|
||||
AND = {
|
||||
scope:recipient = {
|
||||
has_title = title:e_minister_of_justice
|
||||
|
|
@ -4008,6 +4000,7 @@ grant_court_position = {
|
|||
scope:recipient = {
|
||||
liege ?= scope:actor
|
||||
tgp_is_ceremonial_liege_trigger = no
|
||||
NOT = { has_character_flag = travel_option_added_character }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -114,7 +114,9 @@
|
|||
NOT = { has_strong_hook = scope:actor }
|
||||
trigger_if = {
|
||||
limit = { is_imprisoned = yes }
|
||||
imprisoner != scope:actor
|
||||
NOT = {
|
||||
imprisoner = scope:actor
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
|
|
|
|||
|
|
@ -3411,7 +3411,11 @@ contract_assistance_interaction = {
|
|||
greedy = medium_stress_impact_gain
|
||||
arrogant = medium_stress_impact_gain
|
||||
}
|
||||
custom_tooltip = contract_assistance_interaction_condition_tt
|
||||
custom_description_no_bullet = {
|
||||
text = contract_assistance_interaction_condition_tt
|
||||
subject = scope:recipient
|
||||
object = scope:actor
|
||||
}
|
||||
show_as_tooltip = {
|
||||
pay_short_term_gold = {
|
||||
target = scope:actor
|
||||
|
|
@ -3996,7 +4000,11 @@ request_contract_assistance_interaction = {
|
|||
greedy = medium_stress_impact_gain
|
||||
arrogant = medium_stress_impact_gain
|
||||
}
|
||||
custom_tooltip = request_contract_assistance_interaction_condition_tt
|
||||
custom_description_no_bullet = {
|
||||
text = contract_assistance_interaction_condition_tt
|
||||
subject = scope:actor
|
||||
object = scope:recipient
|
||||
}
|
||||
show_as_tooltip = {
|
||||
pay_short_term_gold = {
|
||||
target = scope:recipient
|
||||
|
|
@ -4778,8 +4786,8 @@ bargain_fealty_interaction = {
|
|||
top_liege = this
|
||||
is_at_war = yes
|
||||
any_character_war = {
|
||||
is_war_leader = prev
|
||||
primary_defender = prev
|
||||
is_war_leader = scope:actor
|
||||
primary_defender = scope:actor
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
|
|
@ -4799,24 +4807,36 @@ bargain_fealty_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
# Recipient is not at war with Actor
|
||||
scope:recipient = {
|
||||
any_neighboring_and_across_water_top_liege_realm_owner = { this = scope:actor }
|
||||
NOT = { this = scope:actor }
|
||||
primary_title = { is_mercenary_company = no }
|
||||
NOR = {
|
||||
this = scope:actor
|
||||
is_at_war_with = scope:actor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
scope:actor = {
|
||||
custom_tooltip = {
|
||||
text = bargain_fealty_interaction_valid_tt
|
||||
any_character_war = {
|
||||
is_war_leader = scope:actor
|
||||
primary_defender = scope:actor
|
||||
NOT = { using_cb = fp2_border_raid }
|
||||
NOT = { using_cb = county_struggle_cb }
|
||||
}
|
||||
}
|
||||
any_character_struggle = {
|
||||
involvement = involved
|
||||
has_struggle_phase_parameter = unlocks_bargain_fealty_interaction
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
custom_tooltip = {
|
||||
text = bargain_fealty_interaction_neighbor_tt
|
||||
any_neighboring_and_across_water_top_liege_realm_owner = { this = scope:actor }
|
||||
}
|
||||
# Recipient is not at war with Actor
|
||||
NOT = { is_at_war_with = scope:actor }
|
||||
}
|
||||
}
|
||||
|
||||
can_be_picked = {
|
||||
|
|
@ -4841,45 +4861,45 @@ bargain_fealty_interaction = {
|
|||
}
|
||||
}
|
||||
|
||||
can_send = {
|
||||
exists = scope:target
|
||||
}
|
||||
|
||||
on_accept = {
|
||||
if = {
|
||||
limit = { exists = scope:target }
|
||||
scope:target = {
|
||||
# Add Recipient to Actor's war
|
||||
scope:target = {
|
||||
hidden_effect = { set_called_to = scope:recipient }
|
||||
if = {
|
||||
limit = { is_attacker = scope:actor }
|
||||
add_attacker = scope:recipient
|
||||
}
|
||||
else = { add_defender = scope:recipient }
|
||||
hidden_effect = { set_called_to = scope:recipient }
|
||||
add_defender = scope:recipient
|
||||
}
|
||||
create_title_and_vassal_change = {
|
||||
type = swear_fealty
|
||||
save_scope_as = change
|
||||
}
|
||||
scope:actor = {
|
||||
change_liege = {
|
||||
liege = scope:recipient
|
||||
change = scope:change
|
||||
}
|
||||
create_title_and_vassal_change = {
|
||||
type = swear_fealty
|
||||
save_scope_as = change
|
||||
}
|
||||
scope:actor = {
|
||||
change_liege = {
|
||||
liege = scope:recipient
|
||||
change = scope:change
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
}
|
||||
# Actor effects
|
||||
scope:actor = {
|
||||
stress_impact = {
|
||||
arrogant = medium_stress_impact_gain
|
||||
craven = medium_stress_impact_gain
|
||||
}
|
||||
}
|
||||
# Recipient effects
|
||||
scope:recipient = {
|
||||
stress_impact = {
|
||||
greedy = medium_stress_impact_gain
|
||||
craven = medium_stress_impact_gain
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
}
|
||||
# Actor effects
|
||||
scope:actor = {
|
||||
stress_impact = {
|
||||
arrogant = medium_stress_impact_gain
|
||||
craven = medium_stress_impact_gain
|
||||
}
|
||||
}
|
||||
else = {
|
||||
# Recipient effects
|
||||
scope:recipient = {
|
||||
stress_impact = {
|
||||
greedy = medium_stress_impact_gain
|
||||
craven = medium_stress_impact_gain
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { exists = scope:target }
|
||||
}
|
||||
scope:actor = {
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_neutral
|
||||
|
|
@ -5377,7 +5397,7 @@ invite_foreign_ruler_to = {
|
|||
# is_imprisoned = no
|
||||
# # Matches the regular minimum triggers.
|
||||
# any_character_struggle = { involvement = involved }
|
||||
# short_term_gold > standard_activity_cost
|
||||
# short_term_gold > standard_activity_base_cost
|
||||
#}
|
||||
#
|
||||
#ai_target_quick_trigger = { adult = yes }
|
||||
|
|
|
|||
|
|
@ -168,21 +168,18 @@ purchase_land_interaction = {
|
|||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
scope:actor = { top_liege = this }
|
||||
scope:actor = {
|
||||
top_liege = this
|
||||
prestige_level >= 2
|
||||
}
|
||||
scope:actor = {
|
||||
NOT = {
|
||||
NOR = {
|
||||
has_trait = gallowsbait
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
NOT = {
|
||||
has_trait = gallivanter
|
||||
}
|
||||
}
|
||||
scope:recipient = { is_at_war = no }
|
||||
scope:recipient = {
|
||||
is_at_war = no
|
||||
NOT = { has_strong_hook = scope:actor }
|
||||
}
|
||||
trigger_if = { # Can't purchase Baronies
|
||||
limit = {
|
||||
scope:target ?= { tier = tier_barony }
|
||||
|
|
@ -240,9 +237,6 @@ purchase_land_interaction = {
|
|||
always = no
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
NOT = { has_strong_hook = scope:actor }
|
||||
}
|
||||
#Has to be used instead of diplo range checks in laamp to landed interactions
|
||||
ep3_laamp_diplo_range_trigger = {
|
||||
TARGET = scope:recipient
|
||||
|
|
@ -320,9 +314,7 @@ purchase_land_interaction = {
|
|||
multiply = 0.5
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:offer_gold = yes
|
||||
}
|
||||
limit = { scope:offer_gold = yes }
|
||||
multiply = 2
|
||||
}
|
||||
}
|
||||
|
|
@ -346,7 +338,9 @@ purchase_land_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
show_as_tooltip = { purchase_land_interaction_shortened_effect = yes }
|
||||
show_as_tooltip = {
|
||||
scope:actor = { purchase_land_interaction_effect = yes }
|
||||
}
|
||||
if = {
|
||||
limit = { always = scope:hook }
|
||||
scope:actor = { use_hook = scope:recipient }
|
||||
|
|
@ -2010,10 +2004,7 @@ negotiate_settlement_interaction = {
|
|||
any_claim = {
|
||||
OR = {
|
||||
holder ?= {
|
||||
OR = {
|
||||
this = scope:actor
|
||||
target_is_liege_or_above = scope:actor
|
||||
}
|
||||
target_is_same_character_or_above = scope:actor
|
||||
}
|
||||
target_is_de_jure_liege_or_above = scope:actor.primary_title
|
||||
}
|
||||
|
|
@ -4801,6 +4792,11 @@ hire_laamp_mercenaries_interaction = {
|
|||
is_ai = yes
|
||||
}
|
||||
scope:recipient.current_military_strength >= 100
|
||||
scope:recipient = {
|
||||
NOT = {
|
||||
has_character_flag = ai_hire_blocker
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -4922,9 +4918,20 @@ hire_laamp_mercenaries_interaction = {
|
|||
}
|
||||
}
|
||||
scope:actor = {
|
||||
pay_short_term_gold = {
|
||||
target = scope:recipient
|
||||
gold = ep3_hire_laamp_mercs_cost_value
|
||||
if = {
|
||||
limit = {
|
||||
has_treasury = no
|
||||
}
|
||||
pay_short_term_gold = {
|
||||
target = scope:recipient
|
||||
gold = ep3_hire_laamp_mercs_cost_value
|
||||
}
|
||||
}
|
||||
else = {
|
||||
pay_short_term_treasury = {
|
||||
target = scope:recipient
|
||||
treasury = ep3_hire_laamp_mercs_cost_value
|
||||
}
|
||||
}
|
||||
add_to_variable_list = {
|
||||
name = hired_mercenaries
|
||||
|
|
@ -4945,7 +4952,10 @@ hire_laamp_mercenaries_interaction = {
|
|||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
add_character_flag = joined_as_mercenary
|
||||
set_variable = {
|
||||
name = joined_as_mercenary
|
||||
value = scope:actor
|
||||
}
|
||||
}
|
||||
add_clan_unity_interaction_effect = {
|
||||
CHARACTER = scope:actor
|
||||
|
|
@ -5665,10 +5675,7 @@ evict_adventurer_interaction = {
|
|||
scope:recipient = {
|
||||
# Adventurer must be in the subrealm
|
||||
domicile.domicile_location.county.holder ?= {
|
||||
OR = {
|
||||
this = scope:actor
|
||||
any_liege_or_above = { this ?= scope:actor }
|
||||
}
|
||||
target_is_same_character_or_above = scope:actor
|
||||
}
|
||||
}
|
||||
# AI should not against hired adventurers
|
||||
|
|
@ -5709,10 +5716,7 @@ evict_adventurer_interaction = {
|
|||
every_character_task_contract = {
|
||||
limit = {
|
||||
task_contract_location.county.holder = {
|
||||
OR = {
|
||||
this = scope:actor
|
||||
any_liege_or_above = { this = scope:actor }
|
||||
}
|
||||
target_is_same_character_or_above = scope:actor
|
||||
}
|
||||
}
|
||||
invalidate_contract = yes
|
||||
|
|
@ -5733,14 +5737,14 @@ evict_adventurer_interaction = {
|
|||
modifier = demanded_eviction_opinion
|
||||
}
|
||||
custom_tooltip = evict_adventurer_contracts_tt
|
||||
}
|
||||
scope:actor = {
|
||||
custom_description_no_bullet = {
|
||||
text = evict_adventurer_consequences_tt
|
||||
object = scope:recipient
|
||||
subject = scope:actor
|
||||
object = scope:actor
|
||||
subject = scope:recipient
|
||||
}
|
||||
custom_tooltip = evict_adventurer_casus_belli_tt
|
||||
}
|
||||
scope:actor = {
|
||||
show_as_tooltip = {
|
||||
add_opinion = {
|
||||
target = scope:recipient
|
||||
|
|
@ -5835,6 +5839,10 @@ evict_adventurer_interaction = {
|
|||
target = scope:recipient
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
add = 100
|
||||
has_imprisonment_reason = scope:recipient
|
||||
}
|
||||
modifier = {
|
||||
add = {
|
||||
if = {
|
||||
|
|
|
|||
|
|
@ -369,9 +369,7 @@
|
|||
scope:recipient = {
|
||||
NOT = {
|
||||
any_land_neighboring_realm_with_tributaries_owner = {
|
||||
NOT = {
|
||||
this = scope:actor
|
||||
}
|
||||
this != scope:actor
|
||||
}
|
||||
}
|
||||
NOT = {
|
||||
|
|
@ -2631,7 +2629,43 @@ migration_interaction = {
|
|||
value = scope:target_title
|
||||
}
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_variable = crowned_king_var
|
||||
has_variable = crowned_emperor_var
|
||||
}
|
||||
}
|
||||
set_variable = {
|
||||
name = nomad_migration_preserve_coronation
|
||||
value = yes
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
highest_held_title_tier = tier_duchy
|
||||
}
|
||||
add_character_modifier = {
|
||||
modifier = mpo_migrating_accolade_duke_modifier
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
highest_held_title_tier = tier_kingdom
|
||||
}
|
||||
add_character_modifier = {
|
||||
modifier = mpo_migrating_accolade_king_modifier
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
highest_held_title_tier >= tier_empire
|
||||
}
|
||||
add_character_modifier = {
|
||||
modifier = mpo_migrating_accolade_emperor_modifier
|
||||
}
|
||||
}
|
||||
|
||||
# Save your old lands
|
||||
save_scope_as = old_holder
|
||||
capital_county = { save_scope_as = old_capital_county }
|
||||
|
|
@ -2716,17 +2750,6 @@ migration_interaction = {
|
|||
migration_set_obedient_vassal_effect = yes
|
||||
}
|
||||
}
|
||||
# Player and non obedient vassals get turned into Tributaries instead
|
||||
every_vassal = {
|
||||
limit = {
|
||||
exists = scope:target_title
|
||||
OR = {
|
||||
NOT = { is_obedient_to = scope:actor }
|
||||
is_ai = no
|
||||
}
|
||||
}
|
||||
break_subject_contract_and_establish_tributary_effect = { SUZERAIN = scope:actor TRIBUTARY = prev }
|
||||
}
|
||||
# Migration travel is handled by code
|
||||
}
|
||||
}
|
||||
|
|
@ -2751,6 +2774,44 @@ migration_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_variable = crowned_king_var
|
||||
has_variable = crowned_emperor_var
|
||||
}
|
||||
}
|
||||
set_variable = {
|
||||
name = nomad_migration_preserve_coronation
|
||||
value = yes
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
highest_held_title_tier = tier_duchy
|
||||
}
|
||||
add_character_modifier = {
|
||||
modifier = mpo_migrating_accolade_duke_modifier
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
highest_held_title_tier = tier_kingdom
|
||||
}
|
||||
add_character_modifier = {
|
||||
modifier = mpo_migrating_accolade_king_modifier
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
highest_held_title_tier >= tier_empire
|
||||
}
|
||||
add_character_modifier = {
|
||||
modifier = mpo_migrating_accolade_emperor_modifier
|
||||
}
|
||||
}
|
||||
}
|
||||
# Migration wars are handled by code
|
||||
scope:actor = {
|
||||
if = {
|
||||
|
|
@ -3332,9 +3393,7 @@ migration_interaction = {
|
|||
}
|
||||
AND = {
|
||||
tier = tier_county
|
||||
any_county_province = {
|
||||
any_province_epidemic = {
|
||||
}
|
||||
any_county_province_epidemic = {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -7716,7 +7775,9 @@ mpo_retrieve_land_from_herder_interaction = {
|
|||
desc = YOU_ARE_AN_ADVENTURER_REASON
|
||||
}
|
||||
modifier = {
|
||||
exists = scope:actor.suzerain
|
||||
scope:recipient = {
|
||||
is_tributary = yes
|
||||
}
|
||||
add = -25
|
||||
desc = ADVENTURER_SUZERAIN_REASON
|
||||
}
|
||||
|
|
@ -7775,6 +7836,7 @@ mpo_vassal_to_tributary_interaction = {
|
|||
is_valid_showing_failures_only = {
|
||||
scope:recipient = {
|
||||
is_imprisoned = no
|
||||
is_independent_ruler = yes
|
||||
}
|
||||
scope:actor = {
|
||||
is_imprisoned = no
|
||||
|
|
@ -8769,9 +8831,7 @@ mpo_offer_submission_or_ruin = {
|
|||
scope:recipient = {
|
||||
NOT = {
|
||||
any_neighboring_top_liege_realm_owner = {
|
||||
NOT = {
|
||||
this = scope:actor
|
||||
}
|
||||
this != scope:actor
|
||||
}
|
||||
}
|
||||
NOT = {
|
||||
|
|
|
|||
|
|
@ -382,8 +382,7 @@ tribute_mission_concubine_interaction = {
|
|||
GIVER = scope:actor
|
||||
CHARACTER = scope:actor.overlord
|
||||
}
|
||||
has_any_disease_trigger = no
|
||||
has_easily_mocked_physical_attribute_trigger = no
|
||||
tribute_mission_is_available_concubine_trigger = yes
|
||||
}
|
||||
add_to_list = characters
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue