idk why I dont have a cursor
This commit is contained in:
parent
701d55c01f
commit
cda3acdcea
349 changed files with 78627 additions and 7804 deletions
|
|
@ -20,6 +20,12 @@
|
|||
}
|
||||
scope:recipient.current_military_strength >= 100
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
liege = scope:recipient # The recipient is actor's liege
|
||||
}
|
||||
subject_contract_has_flag = vassal_contract_liege_forced_war_override
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
|
|
@ -30,6 +36,13 @@
|
|||
any_character_war = { diarch_callable_in_internal_war_trigger = yes }
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
is_vassal_of = prev
|
||||
subject_contract_has_flag = vassal_contract_liege_forced_war_override
|
||||
}
|
||||
scope:actor = {
|
||||
is_tributary_of = prev
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:actor = { #If you can call them as a House Member then do that
|
||||
|
|
@ -52,6 +65,17 @@
|
|||
}
|
||||
|
||||
scope:actor = {
|
||||
trigger_if = {
|
||||
limit = { # if you're invoking your suzerain's defensive guarantee, it has to be for a defensive war
|
||||
NOT = { is_allied_to = scope:recipient }
|
||||
suzerain = scope:recipient
|
||||
subject_contract_has_flag = tributary_contract_suzerain_guarantee_override
|
||||
}
|
||||
scope:target = {
|
||||
primary_defender = scope:actor
|
||||
}
|
||||
}
|
||||
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:target = {
|
||||
|
|
@ -85,7 +109,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
joiner_not_already_in_another_war_with_any_target_war_participants_trigger = {
|
||||
WARRIOR = scope:actor
|
||||
JOINER = scope:recipient
|
||||
|
|
@ -174,6 +197,48 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
# You cannot call a suzerain against their own tributary
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:target.casus_belli.primary_defender = scope:actor
|
||||
scope:target.casus_belli.primary_attacker = { is_tributary_of_suzerain_or_above = scope:recipient }
|
||||
}
|
||||
NOT = {
|
||||
scope:target.casus_belli.primary_attacker = { is_tributary_of_suzerain_or_above = scope:recipient }
|
||||
}
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:target.casus_belli.primary_attacker = scope:actor
|
||||
scope:target.casus_belli.primary_defender = { is_tributary_of_suzerain_or_above = scope:recipient }
|
||||
}
|
||||
NOT = {
|
||||
scope:target.casus_belli.primary_defender = { is_tributary_of_suzerain_or_above = scope:recipient }
|
||||
}
|
||||
}
|
||||
trigger_else = {}
|
||||
|
||||
# You cannot call a tributary against their suzerain
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:target.casus_belli.primary_defender = scope:actor
|
||||
scope:recipient = { is_tributary_of_suzerain_or_above = scope:target.casus_belli.primary_attacker }
|
||||
}
|
||||
NOT = {
|
||||
scope:recipient = { is_tributary_of_suzerain_or_above = scope:target.casus_belli.primary_attacker }
|
||||
}
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:target.casus_belli.primary_attacker = scope:actor
|
||||
scope:recipient = { is_tributary_of_suzerain_or_above = scope:target.casus_belli.primary_defender }
|
||||
}
|
||||
NOT = {
|
||||
scope:recipient = { is_tributary_of_suzerain_or_above = scope:target.casus_belli.primary_defender }
|
||||
}
|
||||
}
|
||||
trigger_else = {}
|
||||
}
|
||||
|
||||
on_auto_accept = {
|
||||
|
|
@ -282,6 +347,7 @@
|
|||
scope:recipient = {
|
||||
add_prestige_experience = major_prestige_loss
|
||||
}
|
||||
|
||||
}
|
||||
else = {
|
||||
scope:actor = {
|
||||
|
|
@ -294,6 +360,59 @@
|
|||
add_prestige_experience = massive_prestige_loss
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:actor = {
|
||||
has_relation_blood_brother = scope:recipient
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
add_piety_experience = massive_piety_loss
|
||||
add_character_modifier = {
|
||||
modifier = broke_blood_brotherhood_modifier
|
||||
desc = broke_blood_brotherhood_modifier_acceptance_tt
|
||||
years = 25
|
||||
}
|
||||
remove_relation_blood_brother = scope:actor
|
||||
}
|
||||
scope:actor = {
|
||||
set_relation_rival = {
|
||||
target = scope:recipient
|
||||
reason = rival_blood_brother_refused_call_reason
|
||||
}
|
||||
}
|
||||
}
|
||||
# Nomad Vassals and Tributaries stop being Obedient if they have the Liege War Support / Suzerain Defensive Guarantee contract right
|
||||
if = {
|
||||
limit = {
|
||||
scope:recipient = scope:actor.obedience_target
|
||||
scope:actor = {
|
||||
OR = {
|
||||
subject_contract_has_flag = vassal_contract_liege_forced_war_override
|
||||
subject_contract_has_flag = tributary_contract_suzerain_guarantee_override
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
set_variable = {
|
||||
name = not_obedient_declined_call
|
||||
value = scope:recipient
|
||||
years = 5
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:recipient = scope:actor.suzerain
|
||||
is_defender = scope:actor
|
||||
scope:actor = {
|
||||
subject_contract_has_flag = tributary_contract_suzerain_guarantee_override
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
end_tributary = yes #TODO_CD_MPO some sort of message here
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -425,6 +544,28 @@
|
|||
}
|
||||
desc = WONT_FIGHT_SPOUSE_REASON
|
||||
}
|
||||
|
||||
modifier = { # Refuse call against Suzerain if Obedient
|
||||
add = -1000
|
||||
trigger_if = {
|
||||
limit = {
|
||||
exists = scope:recipient.suzerain
|
||||
trigger_if = {
|
||||
limit = { scope:target.casus_belli.primary_defender = scope:actor }
|
||||
scope:recipient.suzerain = scope:target.casus_belli.primary_attacker
|
||||
}
|
||||
trigger_else = {
|
||||
scope:recipient.suzerain = scope:target.casus_belli.primary_defender
|
||||
}
|
||||
scope:recipient = {
|
||||
exists = obedience_target
|
||||
is_obedient = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
trigger_else = { always = no }
|
||||
desc = WONT_FIGHT_OBEDIENT_REASON
|
||||
}
|
||||
|
||||
opinion_modifier = { # Opinion Factor
|
||||
who = scope:recipient
|
||||
|
|
@ -764,6 +905,21 @@
|
|||
}
|
||||
desc = WONT_FIGHT_SOULMATE
|
||||
}
|
||||
modifier = { # Reluctant to join tributaries
|
||||
add = -200
|
||||
scope:actor = {
|
||||
is_tributary_of = scope:recipient
|
||||
}
|
||||
scope:recipient = {
|
||||
NOR = {
|
||||
has_relation_lover = scope:actor
|
||||
has_relation_friend = scope:actor
|
||||
is_allied_to = scope:actor
|
||||
subject_contract_has_flag = tributary_contract_suzerain_guarantee_override
|
||||
}
|
||||
}
|
||||
desc = WONT_FIGHT_MEANINGLESS_REASON
|
||||
}
|
||||
modifier = { # Refuse call for hostages' safety
|
||||
any_home_court_hostage = {
|
||||
warden = {
|
||||
|
|
@ -900,6 +1056,11 @@ negotiate_alliance_interaction = {
|
|||
OR = {
|
||||
is_any_family_relation_or_spouse_trigger = { CHARACTER = scope:recipient }
|
||||
hostage_oath_of_friendship_trigger = yes
|
||||
#Parents/spouse were blood brothers
|
||||
has_opinion_modifier = {
|
||||
modifier = blood_brother_close_family_opinion
|
||||
target = scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -952,7 +1113,13 @@ negotiate_alliance_interaction = {
|
|||
scope:actor = {
|
||||
hostage_oath_of_friendship_trigger = yes
|
||||
}
|
||||
|
||||
#Parents/spouse were blood brothers
|
||||
scope:actor = {
|
||||
has_opinion_modifier = {
|
||||
modifier = blood_brother_close_family_opinion
|
||||
target = scope:recipient
|
||||
}
|
||||
}
|
||||
|
||||
custom_description = {
|
||||
text = rulers_family_is_married_to_other_ruler_trigger
|
||||
|
|
@ -1046,11 +1213,11 @@ negotiate_alliance_interaction = {
|
|||
send_option = {
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
scope:recipient = {
|
||||
top_liege = scope:actor.top_liege
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
|
|
@ -2113,17 +2280,22 @@ perk_alliance_interaction = {
|
|||
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
NOT = { this = scope:actor }
|
||||
NOT = { is_allied_to = scope:actor }
|
||||
NOT = { target_is_vassal_or_below = scope:actor } # Can only sign with external rulers/peer vassals, though the alliance is preserved if they somehow become your vassals
|
||||
NOT = { target_is_liege_or_above = scope:actor }
|
||||
NOR = {
|
||||
this = scope:actor
|
||||
is_allied_to = scope:actor
|
||||
target_is_vassal_or_below = scope:actor # Can only sign with external rulers/peer vassals, though the alliance is preserved if they somehow become your vassals
|
||||
target_is_liege_or_above = scope:actor
|
||||
government_has_flag = government_is_herder
|
||||
}
|
||||
is_ruler = yes
|
||||
primary_title.tier > tier_barony
|
||||
}
|
||||
scope:actor = {
|
||||
has_perk = defensive_negotiations_perk
|
||||
is_landless_adventurer = no
|
||||
NOT = { # This interaction is harder to push through than Negotiate Alliance, and does the same thing, so don't show both
|
||||
NOR = {
|
||||
government_has_flag = government_is_herder
|
||||
# This interaction is harder to push through than Negotiate Alliance, and does the same thing, so don't show both
|
||||
is_character_interaction_shown = {
|
||||
recipient = scope:recipient
|
||||
interaction = negotiate_alliance_interaction
|
||||
|
|
@ -2214,11 +2386,11 @@ perk_alliance_interaction = {
|
|||
send_option = {
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
scope:recipient = {
|
||||
top_liege = scope:actor.top_liege
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
|
|
@ -2960,7 +3132,7 @@ join_war_interaction = {
|
|||
|
||||
is_valid_showing_failures_only = {
|
||||
|
||||
# recipient is not in (any) war against your liege(s)
|
||||
# recipient is not in (any) war against your liege(s) or suzerain(s)
|
||||
trigger_if = {
|
||||
limit = { exists = scope:actor.liege }
|
||||
custom_description = {
|
||||
|
|
@ -2993,8 +3165,7 @@ join_war_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
# recipient is ally or defending against a holy war
|
||||
# if the target is neither a vassal-or-below, nor a liege-or-above, the recipient must either be an ally or defending against a qualifying holy war - unless the character is an adventurer in which case other rules apply
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:actor = {
|
||||
|
|
@ -3076,6 +3247,54 @@ join_war_interaction = {
|
|||
}
|
||||
# Deliberately blank; we've passed the trigger and making a desc out of this doesn't make sense
|
||||
}
|
||||
|
||||
# if the actor and recipient is in the same confederation, they can always come to each others' aid
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
exists = scope:recipient.confederation
|
||||
scope:actor = { is_member_of_confederation = scope:recipient.confederation }
|
||||
}
|
||||
scope:actor = { is_member_of_confederation = scope:recipient.confederation } # for localization only
|
||||
}
|
||||
|
||||
# suzerains can always join their tributaries' defensive wars
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:recipient = {
|
||||
is_tributary_of_suzerain_or_above = scope:actor
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = join_war_interaction_recipient_tributary_no_defensive_war
|
||||
NOT = {
|
||||
scope:recipient = {
|
||||
any_character_war = {
|
||||
primary_defender = scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# tributaries can always offer to join their direct suzerains' defensive wars
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:actor = {
|
||||
is_tributary_of = scope:recipient
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = join_war_interaction_recipient_tributary_no_defensive_war
|
||||
NOT = {
|
||||
scope:recipient = {
|
||||
any_character_war = {
|
||||
primary_defender = scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# if we haven't already passed any of the qualified conditions above, then we need to be allies
|
||||
trigger_else = {
|
||||
custom_description = {
|
||||
text = join_war_interaction_recipient_not_ally
|
||||
|
|
@ -3123,20 +3342,45 @@ join_war_interaction = {
|
|||
}
|
||||
|
||||
can_be_picked = {
|
||||
exists = scope:target
|
||||
scope:target = {
|
||||
scope:target ?= {
|
||||
|
||||
# recipient is war leader
|
||||
is_war_leader = scope:recipient
|
||||
|
||||
# special exception for tributaries and suzerains to fight for one another
|
||||
trigger_if = {
|
||||
limit = {
|
||||
OR = {
|
||||
scope:actor = {
|
||||
is_tributary_of_suzerain_or_above = scope:recipient
|
||||
}
|
||||
scope:recipient = {
|
||||
is_tributary_of = scope:actor
|
||||
}
|
||||
}
|
||||
}
|
||||
# if this is directed at a tributary, make sure they're the primary defender
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:recipient = { is_tributary_of = scope:actor }
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = join_war_interaction_recipient_tributary_not_primary_defender
|
||||
primary_defender = scope:recipient
|
||||
}
|
||||
}
|
||||
trigger_else = { always = yes }
|
||||
}
|
||||
|
||||
#allow laamp_join_war_contract to bypass the requirements
|
||||
trigger_if = {
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:actor = {
|
||||
is_landless_adventurer = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# if holy war, recipient is defender of same faith
|
||||
# and not too far away
|
||||
trigger_else_if = {
|
||||
|
|
@ -3207,6 +3451,16 @@ join_war_interaction = {
|
|||
}
|
||||
always = yes
|
||||
}
|
||||
#Confederation members can choose to join each others' offensive wars
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:actor = { NOT = { is_allied_to = scope:recipient } }
|
||||
exists = scope:recipient.confederation
|
||||
}
|
||||
scope:actor = {
|
||||
is_member_of_confederation = scope:recipient.confederation
|
||||
}
|
||||
}
|
||||
# ...otherwise, recipient must be an ally...
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
|
|
|
|||
|
|
@ -3794,7 +3794,6 @@ buy_artifact_claim = {
|
|||
ai_targets = {
|
||||
# Only want AI to target neighbors
|
||||
ai_recipients = neighboring_rulers
|
||||
ai_recipients = nearby_domicile_owners
|
||||
}
|
||||
|
||||
ai_frequency = 30
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ ce1_ask_to_promote_legend_interaction = {
|
|||
is_landed = yes
|
||||
age >= 12
|
||||
is_physically_able = yes
|
||||
NOT = { government_has_flag = government_is_herder }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -256,18 +257,14 @@ ce1_ask_to_promote_legend_interaction = {
|
|||
right_icon = scope:recipient
|
||||
|
||||
if = {
|
||||
limit = { always = scope:hook }
|
||||
scope:actor = {
|
||||
use_hook = scope:recipient
|
||||
}
|
||||
limit = { scope:hook = yes }
|
||||
use_hook = scope:recipient
|
||||
}
|
||||
if = {
|
||||
limit = { always = scope:gold_cost }
|
||||
scope:actor = {
|
||||
pay_short_term_gold = {
|
||||
target = scope:recipient
|
||||
gold = medium_gold_value
|
||||
}
|
||||
limit = { scope:gold_cost = yes }
|
||||
pay_short_term_gold = {
|
||||
target = scope:recipient
|
||||
gold = medium_gold_value
|
||||
}
|
||||
promoted_legend = { # To prevent gold exploits
|
||||
add_to_variable_list = {
|
||||
|
|
|
|||
|
|
@ -21,15 +21,35 @@ offer_vassalization_interaction = {
|
|||
scope:recipient = {
|
||||
NOT = { this = scope:actor }
|
||||
is_playable_character = yes
|
||||
is_independent_ruler = yes
|
||||
OR = {
|
||||
AND = {
|
||||
is_independent_ruler = yes
|
||||
is_tributary = no
|
||||
}
|
||||
is_tributary_of_suzerain_or_above = scope:actor
|
||||
}
|
||||
highest_held_title_tier < scope:actor.highest_held_title_tier
|
||||
NOT = { government_has_flag = cannot_be_vassal_or_liege }
|
||||
NOR = {
|
||||
government_has_flag = cannot_be_vassal_or_liege
|
||||
government_has_flag = government_is_herder
|
||||
}
|
||||
}
|
||||
# Temujin cannot make Jamukha his subject once he leaves him
|
||||
NOT = {
|
||||
scope:actor = {
|
||||
has_variable = had_mpo_temujin_flavor_0010
|
||||
var:had_mpo_temujin_flavor_0010 ?= scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
scope:actor = {
|
||||
is_confederation_member = no
|
||||
}
|
||||
scope:recipient = {
|
||||
is_at_war = no
|
||||
is_confederation_member = no
|
||||
|
||||
custom_description = {
|
||||
text = was_recently_granted_independence
|
||||
|
|
@ -133,13 +153,25 @@ offer_vassalization_interaction = {
|
|||
add = 20
|
||||
}
|
||||
|
||||
# OBEDIENCE
|
||||
modifier = {
|
||||
desc = obedient_interaction_reason
|
||||
trigger = {
|
||||
is_obedient_to = scope:actor
|
||||
}
|
||||
add = 20
|
||||
}
|
||||
|
||||
modifier = { # Cultural Acceptance
|
||||
add = offer_vassalage_acceptance_value
|
||||
desc = cultural_acceptance_interaction_reason
|
||||
trigger = {
|
||||
scope:actor = {
|
||||
NOT = { has_same_culture_as = scope:recipient }
|
||||
NOR = {
|
||||
has_same_culture_as = scope:recipient
|
||||
government_has_flag = government_is_nomadic # Nomads do not care about Culture
|
||||
has_trait = nomadic_philosophy
|
||||
}
|
||||
culture = {
|
||||
cultural_acceptance = { target = scope:recipient.culture value <= 90 }
|
||||
}
|
||||
|
|
@ -151,6 +183,12 @@ offer_vassalization_interaction = {
|
|||
modifier = { #Different faith, no pluralism.
|
||||
desc = offer_vassalization_interaction_aibehavior_differentfaith_tt
|
||||
trigger = {
|
||||
scope:actor = {
|
||||
NOR = { # Nomads do not care about Faith
|
||||
government_has_flag = government_is_nomadic
|
||||
has_trait = nomadic_philosophy
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
NOR = { #Of two different faiths AND the potential vassal's faith is not pluralistic.
|
||||
faith = scope:actor.faith
|
||||
|
|
@ -188,6 +226,12 @@ offer_vassalization_interaction = {
|
|||
modifier = { #Different faith, pluralism.
|
||||
desc = offer_vassalization_interaction_aibehavior_differentfaith_tt
|
||||
trigger = {
|
||||
scope:actor = {
|
||||
NOR = { # Nomads do not care about Faith
|
||||
government_has_flag = government_is_nomadic
|
||||
has_trait = nomadic_philosophy
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
NOT = {
|
||||
faith = scope:actor.faith
|
||||
|
|
@ -228,6 +272,12 @@ offer_vassalization_interaction = {
|
|||
modifier = { #Different faith, both have pluralism.
|
||||
desc = offer_vassalization_interaction_aibehavior_differentfaith_tt
|
||||
trigger = {
|
||||
scope:actor = {
|
||||
NOR = { # Nomads do not care about Faith
|
||||
government_has_flag = government_is_nomadic
|
||||
has_trait = nomadic_philosophy
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
NOT = {
|
||||
faith = scope:actor.faith
|
||||
|
|
@ -273,7 +323,7 @@ offer_vassalization_interaction = {
|
|||
limit = {
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
government_has_flag = government_is_republic
|
||||
government_has_flag = government_is_special_republic
|
||||
government_has_flag = government_is_theocracy
|
||||
}
|
||||
}
|
||||
|
|
@ -350,6 +400,42 @@ offer_vassalization_interaction = {
|
|||
}
|
||||
add = -20
|
||||
}
|
||||
modifier = { # I am Nomadic and you are Nomadic
|
||||
desc = interaction_is_nomadic
|
||||
trigger = {
|
||||
scope:recipient = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
scope:actor = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
}
|
||||
add = -50
|
||||
}
|
||||
modifier = { # I am Nomadic and you are not
|
||||
desc = interaction_nomadic_vs_nonnomadic
|
||||
trigger = {
|
||||
scope:recipient = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
scope:actor = {
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
}
|
||||
add = -75
|
||||
}
|
||||
modifier = { # You are Nomadic and I am not
|
||||
desc = interaction_nonnomadic_vs_nomadic
|
||||
trigger = {
|
||||
scope:actor = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
scope:recipient = {
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
}
|
||||
add = -75
|
||||
}
|
||||
modifier = { # Isolationist tradition
|
||||
desc = isolationist_reason
|
||||
trigger = {
|
||||
|
|
@ -621,17 +707,17 @@ offer_vassalization_interaction = {
|
|||
modifier = { #Illegitimacy modifier.
|
||||
desc = offer_vassalization_interaction_aibehavior_illegitimate_tt
|
||||
trigger = {
|
||||
OR = {
|
||||
AND = {
|
||||
scope:actor = {
|
||||
scope:actor = {
|
||||
OR = {
|
||||
AND = {
|
||||
has_trait = bastard
|
||||
scope:recipient = {
|
||||
faith = { NOT = { has_doctrine = doctrine_bastardry_none } }
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
faith = { NOT = { has_doctrine = doctrine_bastardry_none } }
|
||||
}
|
||||
has_trait = denounced
|
||||
has_trait = disinherited
|
||||
}
|
||||
has_trait = denounced
|
||||
has_trait = disinherited
|
||||
}
|
||||
}
|
||||
add = -10
|
||||
|
|
@ -960,6 +1046,19 @@ offer_vassalization_interaction = {
|
|||
add = -50
|
||||
}
|
||||
|
||||
modifier = {
|
||||
trigger = {
|
||||
scope:actor = {
|
||||
has_variable = severed_head_vassalization
|
||||
var:severed_head_vassalization = {
|
||||
this = scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
add = 200
|
||||
desc = COWED_BY_SEVERED_HEAD_MODIFIER
|
||||
}
|
||||
|
||||
#ALL these modifiers are also used in impress_intent_vassalization_acceptance_value, keep them synced
|
||||
}
|
||||
|
||||
|
|
@ -1090,17 +1189,12 @@ offer_vassalization_interaction = {
|
|||
|
||||
# AI prefers to receive higher obligations from their vassals when possible.
|
||||
modifier = {
|
||||
add = 2
|
||||
scope:low_obligations = yes
|
||||
}
|
||||
|
||||
modifier = {
|
||||
add = 3
|
||||
factor = 3
|
||||
scope:normal_obligations = yes
|
||||
}
|
||||
|
||||
modifier = {
|
||||
add = 4
|
||||
factor = 4
|
||||
scope:high_obligations = yes
|
||||
}
|
||||
|
||||
|
|
@ -1142,6 +1236,7 @@ offer_fealty_interaction = {
|
|||
is_landed = yes
|
||||
is_independent_ruler = yes # You have to be independent - This check exists to prevent a lot of edge-cases where you can change liege
|
||||
NOT = { government_has_flag = cannot_be_vassal_or_liege }
|
||||
is_confederation_member = no
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1234,7 +1329,9 @@ offer_fealty_interaction = {
|
|||
modifier = { # I am a King!
|
||||
desc = offer_fealty_interaction_aibehavior_amkingtier_tt
|
||||
trigger = {
|
||||
scope:actor = { highest_held_title_tier = tier_kingdom }
|
||||
scope:actor = {
|
||||
highest_held_title_tier >= tier_kingdom
|
||||
}
|
||||
}
|
||||
add = -10
|
||||
}
|
||||
|
|
@ -1415,6 +1512,32 @@ offer_fealty_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
#Confederation wants same-culture rulers
|
||||
modifier = {
|
||||
add = 100
|
||||
desc = CONFEDERATION_CULTURE_REASON
|
||||
scope:recipient = {
|
||||
is_confederation_member = yes
|
||||
culture = {
|
||||
this = scope:actor.culture
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#Greatest of Khans and Mongol Emperor would prefer submission with tribute
|
||||
modifier = {
|
||||
add = -150
|
||||
desc = GOK_PREFER_SUBMISSION
|
||||
scope:recipient = {
|
||||
highest_held_title_tier >= tier_empire
|
||||
any_owned_story = {
|
||||
OR = {
|
||||
story_type = story_mongol_invasion
|
||||
story_type = story_greatest_of_khans
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Low starting obligations
|
||||
|
|
@ -1509,6 +1632,60 @@ offer_fealty_interaction = {
|
|||
custom_tooltip = will_change_from_administrative_tt
|
||||
custom_tooltip = will_lose_administrative_government_type_tt
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:recipient = {
|
||||
is_confederation_member = yes
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
add_character_modifier = {
|
||||
modifier = mpo_confederation_member_modifier
|
||||
years = 5
|
||||
}
|
||||
every_vassal_or_below = {
|
||||
limit = {
|
||||
highest_held_title_tier >= tier_county
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
add_character_modifier = {
|
||||
modifier = mpo_confederation_member_modifier
|
||||
years = 5
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
add_character_flag = {
|
||||
flag = new_confederate
|
||||
years = 3
|
||||
}
|
||||
every_vassal_or_below = {
|
||||
limit = {
|
||||
highest_held_title_tier >= tier_county
|
||||
}
|
||||
add_character_flag = {
|
||||
flag = new_confederate
|
||||
years = 3
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# If you have a suzerain, they will get a lower opinion of you for not paying tribute anymore
|
||||
suzerain ?= {
|
||||
if = {
|
||||
limit = {
|
||||
this != scope:actor
|
||||
this != scope:recipient
|
||||
}
|
||||
add_opinion = {
|
||||
modifier = tributary_ceased_payments_opinion
|
||||
target = scope:actor
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
if = {
|
||||
|
|
@ -1538,6 +1715,9 @@ offer_fealty_interaction = {
|
|||
}
|
||||
}
|
||||
|
||||
on_intermediary_accept = {
|
||||
}
|
||||
|
||||
on_decline = {
|
||||
scope:actor = {
|
||||
trigger_event = char_interaction.0011
|
||||
|
|
@ -1776,6 +1956,9 @@ grant_independence_interaction = {
|
|||
desc = grant_independence_interaction_desc
|
||||
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
is_confederation_member = no
|
||||
}
|
||||
scope:recipient = {
|
||||
is_vassal_of = scope:actor
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ choose_favorite_interaction = {
|
|||
custom_tooltip = {
|
||||
text = no_republic_or_theocracy_tt
|
||||
NOR = {
|
||||
government_has_flag = government_is_republic
|
||||
government_has_flag = government_is_special_republic
|
||||
government_has_flag = government_is_theocracy
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ sumptuary_law_debate_interaction = {
|
|||
interface_priority = 15
|
||||
desc = sumptuary_law_debate_interaction_desc
|
||||
icon = weaver_inspiration
|
||||
common_interaction = no
|
||||
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
|
|
@ -15,6 +16,10 @@ sumptuary_law_debate_interaction = {
|
|||
type = court_fashion
|
||||
value <= 2
|
||||
}
|
||||
NOR = {
|
||||
has_court_type = court_tribal
|
||||
has_court_type = court_nomadic
|
||||
}
|
||||
}
|
||||
NOT = { scope:actor = scope:recipient }
|
||||
scope:recipient = {
|
||||
|
|
|
|||
|
|
@ -163,6 +163,7 @@
|
|||
count <= 30
|
||||
}
|
||||
ai_should_focus_on_building_in_their_capital = no
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
|
||||
ai_will_do = {
|
||||
|
|
@ -407,6 +408,7 @@ kick_from_court_interaction = {
|
|||
is_valid_showing_failures_only = {
|
||||
scope:recipient = {
|
||||
kick_from_court_validity_trigger = yes
|
||||
NOT = { is_imprisoned_by = scope:actor }
|
||||
|
||||
custom_description = {
|
||||
text = "kick_from_court_interaction_travelling_family_invalid"
|
||||
|
|
@ -605,6 +607,17 @@ invite_to_court_interaction = {
|
|||
RECRUITER = scope:actor
|
||||
RECRUITEE = scope:recipient
|
||||
}
|
||||
custom_tooltip = {
|
||||
scope:recipient = {
|
||||
NAND = {
|
||||
has_variable = nomad_defector_var
|
||||
var:nomad_defector_var = {
|
||||
this = scope:actor
|
||||
}
|
||||
}
|
||||
}
|
||||
text = nomad_defected_invite_desc
|
||||
}
|
||||
}
|
||||
|
||||
#Pay som gold to persuade a wandering character to come to your court
|
||||
|
|
@ -1144,7 +1157,7 @@ invite_to_court_interaction = {
|
|||
scope:recipient = {
|
||||
is_eunuch_trigger = yes
|
||||
liege = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
primary_title.tier = tier_empire
|
||||
culture = { has_cultural_parameter = can_appoint_chief_eunuch }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -114,6 +114,7 @@ debug_give_animal_interaction = {
|
|||
any_owned_story = { story_type = story_cycle_pet_cat }
|
||||
any_owned_story = { story_type = story_cycle_pet_dog }
|
||||
any_owned_story = { story_type = story_cycle_martial_lifestyle_warhorse }
|
||||
has_eagle_trigger = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -148,6 +149,16 @@ debug_give_animal_interaction = {
|
|||
localization = horse_story_modifier
|
||||
}
|
||||
|
||||
send_option = {
|
||||
is_valid = {
|
||||
NOT = {
|
||||
scope:recipient = { has_eagle_trigger = yes }
|
||||
}
|
||||
}
|
||||
flag = story_cycle_pet_eagle
|
||||
localization = story_cycle_pet_eagle
|
||||
}
|
||||
|
||||
send_options_exclusive = yes
|
||||
|
||||
on_accept = {
|
||||
|
|
@ -163,6 +174,9 @@ debug_give_animal_interaction = {
|
|||
scope:story_cycle_martial_lifestyle_warhorse = {
|
||||
start_warhorse_story_cycle_effect = yes
|
||||
}
|
||||
scope:story_cycle_pet_eagle = {
|
||||
start_eagle_story_cycle_effect = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -749,6 +763,15 @@ set_relation_debug = {
|
|||
flag = grudge_on_me
|
||||
localization = set_relation_debug_grudge_on_me
|
||||
}
|
||||
send_option = {
|
||||
is_valid = {
|
||||
scope:recipient = {
|
||||
NOT = { has_relation_blood_brother = scope:actor }
|
||||
}
|
||||
}
|
||||
flag = blood_brother
|
||||
localization = set_relation_debug_blood_brother
|
||||
}
|
||||
# REMOVE
|
||||
send_option = {
|
||||
is_shown = {
|
||||
|
|
@ -867,6 +890,13 @@ set_relation_debug = {
|
|||
flag = remove_grudge_on_me
|
||||
localization = remove_relation_debug_grudge_on_me
|
||||
}
|
||||
send_option = {
|
||||
is_shown = {
|
||||
scope:recipient = { has_relation_blood_brother = scope:actor }
|
||||
}
|
||||
flag = remove_blood_brother
|
||||
localization = remove_relation_debug_blood_brother
|
||||
}
|
||||
|
||||
on_accept = {
|
||||
scope:recipient = {
|
||||
|
|
@ -921,6 +951,7 @@ set_relation_debug = {
|
|||
}
|
||||
}
|
||||
scope:grudge_on_me = { set_relation_grudge = scope:actor }
|
||||
scope:blood_brother = { set_relation_blood_brother = scope:actor }
|
||||
# REMOVE
|
||||
scope:remove_potential_friend = { remove_relation_potential_friend = scope:actor }
|
||||
scope:remove_potential_rival = { remove_relation_potential_rival = scope:actor }
|
||||
|
|
@ -959,6 +990,7 @@ set_relation_debug = {
|
|||
scope:actor = { remove_relation_grudge = scope:recipient }
|
||||
}
|
||||
scope:remove_grudge_on_me = { remove_relation_grudge = scope:actor }
|
||||
scope:remove_blood_brother = { remove_relation_blood_brother = scope:actor }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3416,7 +3448,7 @@ destroy_title_interaction = {
|
|||
use_diplomatic_range = no
|
||||
ignores_pending_interaction_block = yes
|
||||
icon = antagonistic
|
||||
|
||||
|
||||
is_shown = {
|
||||
debug_only = yes
|
||||
}
|
||||
|
|
@ -3454,9 +3486,185 @@ destroy_title_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
auto_accept = yes
|
||||
}
|
||||
|
||||
debug_change_the_great_steppe = {
|
||||
category = interaction_debug_mpo
|
||||
use_diplomatic_range = no
|
||||
ignores_pending_interaction_block = yes
|
||||
common_interaction = yes
|
||||
icon = travel_mixed
|
||||
|
||||
interface_priority = -1
|
||||
auto_accept = yes
|
||||
|
||||
is_shown = {
|
||||
debug_only = yes
|
||||
scope:actor = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
}
|
||||
send_option = {
|
||||
flag = grazing
|
||||
localization = debug_change_steppe_grazing
|
||||
}
|
||||
send_option = {
|
||||
flag = drought
|
||||
localization = debug_change_steppe_drought
|
||||
}
|
||||
send_option = {
|
||||
flag = white_zud
|
||||
localization = debug_change_steppe_white_zud
|
||||
}
|
||||
send_option = {
|
||||
flag = cold_zud
|
||||
localization = debug_change_steppe_cold_zud
|
||||
}
|
||||
send_option = {
|
||||
flag = summer
|
||||
localization = debug_change_steppe_everlasting_summer
|
||||
}
|
||||
send_option = {
|
||||
flag = blessing
|
||||
localization = debug_change_steppe_blessing
|
||||
}
|
||||
send_option = {
|
||||
flag = havsarsan
|
||||
localization = debug_change_steppe_havsarsan
|
||||
}
|
||||
on_accept = {
|
||||
switch = {
|
||||
trigger = yes
|
||||
scope:grazing = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { exists = situation:the_great_steppe }
|
||||
}
|
||||
start_situation = {
|
||||
type = the_great_steppe
|
||||
start_phase = situation_steppe_abundant_grazing_season
|
||||
}
|
||||
}
|
||||
else = {
|
||||
situation:the_great_steppe = {
|
||||
every_situation_sub_region = {
|
||||
change_phase = { phase = situation_steppe_abundant_grazing_season }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:drought = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { exists = situation:the_great_steppe }
|
||||
}
|
||||
start_situation = {
|
||||
type = the_great_steppe
|
||||
start_phase = situation_steppe_severe_drought_season
|
||||
}
|
||||
}
|
||||
else = {
|
||||
situation:the_great_steppe = {
|
||||
every_situation_sub_region = {
|
||||
change_phase = { phase = situation_steppe_severe_drought_season }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:white_zud = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { exists = situation:the_great_steppe }
|
||||
}
|
||||
start_situation = {
|
||||
type = the_great_steppe
|
||||
start_phase = situation_steppe_white_zud_season
|
||||
}
|
||||
}
|
||||
else = {
|
||||
situation:the_great_steppe = {
|
||||
every_situation_sub_region = {
|
||||
change_phase = { phase = situation_steppe_white_zud_season }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:cold_zud = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { exists = situation:the_great_steppe }
|
||||
}
|
||||
start_situation = {
|
||||
type = the_great_steppe
|
||||
start_phase = situation_steppe_cold_zud_season
|
||||
}
|
||||
}
|
||||
else = {
|
||||
situation:the_great_steppe = {
|
||||
every_situation_sub_region = {
|
||||
change_phase = { phase = situation_steppe_cold_zud_season }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:summer = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { exists = situation:the_great_steppe }
|
||||
}
|
||||
start_situation = {
|
||||
type = the_great_steppe
|
||||
start_phase = situation_steppe_warm_nights_season
|
||||
}
|
||||
}
|
||||
else = {
|
||||
situation:the_great_steppe = {
|
||||
every_situation_sub_region = {
|
||||
change_phase = { phase = situation_steppe_warm_nights_season }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:blessing = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { exists = situation:the_great_steppe }
|
||||
}
|
||||
start_situation = {
|
||||
type = the_great_steppe
|
||||
start_phase = situation_steppe_sky_blessing_season
|
||||
}
|
||||
}
|
||||
else = {
|
||||
situation:the_great_steppe = {
|
||||
every_situation_sub_region = {
|
||||
change_phase = { phase = situation_steppe_sky_blessing_season }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:havsarsan = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { exists = situation:the_great_steppe }
|
||||
}
|
||||
start_situation = {
|
||||
type = the_great_steppe
|
||||
start_phase = situation_steppe_havsarsan_zud_season
|
||||
}
|
||||
}
|
||||
else = {
|
||||
situation:the_great_steppe = {
|
||||
every_situation_sub_region = {
|
||||
change_phase = { phase = situation_steppe_havsarsan_zud_season }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2214,7 +2214,7 @@ diarch_subsidise_crown_authority_interaction = {
|
|||
|
||||
# If the liege is administrative, they have to be independent.
|
||||
trigger_if = {
|
||||
limit = { has_government = administrative_government }
|
||||
limit = { government_has_flag = government_is_administrative }
|
||||
is_independent_ruler = yes
|
||||
}
|
||||
}
|
||||
|
|
@ -3252,9 +3252,20 @@ 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 = { stewardship >= syphon_treasury_stewardship_very_high }
|
||||
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
|
||||
}
|
||||
## Alternatively, herd for nomadic rulers
|
||||
else_if = {
|
||||
limit = {
|
||||
stewardship >= syphon_treasury_stewardship_very_high
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
custom_tooltip = diarch_syphon_treasury_interaction.tt.success.syphon_herd
|
||||
}
|
||||
## High stewardship characters syphon some control from various counties.
|
||||
else_if = {
|
||||
limit = { stewardship >= syphon_treasury_stewardship_high }
|
||||
|
|
@ -3337,6 +3348,38 @@ diarch_syphon_treasury_interaction = {
|
|||
diarch_syphon_treasury_interaction_syphon_development_growth_effect = { LOSS = minor_development_progress_loss }
|
||||
}
|
||||
}
|
||||
# Alternatively, for nomadic rulers, we steal some herd
|
||||
else_if = {
|
||||
limit = { scope:actor.stewardship >= syphon_treasury_stewardship_very_high government_has_flag = government_is_nomadic }
|
||||
# Gold transfer was...
|
||||
## Very high.
|
||||
if = {
|
||||
limit = { always = scope:diarch_syphon_treasury_sum_huge }
|
||||
scope:recipient = {
|
||||
domicile ?= { change_herd = monumental_herd_loss }
|
||||
}
|
||||
}
|
||||
## High.
|
||||
else_if = {
|
||||
limit = { always = scope:diarch_syphon_treasury_sum_large }
|
||||
scope:recipient = {
|
||||
domicile ?= { change_herd = massive_herd_loss }
|
||||
}
|
||||
}
|
||||
## Medium.
|
||||
else_if = {
|
||||
limit = { always = scope:diarch_syphon_treasury_sum_medium }
|
||||
scope:recipient = {
|
||||
domicile ?= { change_herd = major_herd_loss }
|
||||
}
|
||||
}
|
||||
## Low.
|
||||
else = {
|
||||
scope:recipient = {
|
||||
domicile ?= { change_herd = medium_herd_loss }
|
||||
}
|
||||
}
|
||||
}
|
||||
# High stewardship characters syphon some control from various counties.
|
||||
else_if = {
|
||||
limit = { scope:actor.stewardship >= syphon_treasury_stewardship_high }
|
||||
|
|
@ -6156,11 +6199,11 @@ swing_scales_currency_interaction = {
|
|||
OR = {
|
||||
AND = {
|
||||
scope:recipient.liege ?= scope:actor
|
||||
scope:actor = { has_government = administrative_government }
|
||||
scope:actor = { government_has_flag = government_is_administrative }
|
||||
}
|
||||
AND = {
|
||||
scope:actor.liege ?= scope:recipient
|
||||
scope:recipient = { has_government = administrative_government }
|
||||
scope:recipient = { government_has_flag = government_is_administrative }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6796,11 +6839,11 @@ diarch_swing_scales_currency_interaction = {
|
|||
OR = {
|
||||
AND = {
|
||||
scope:recipient.liege ?= scope:actor
|
||||
scope:actor = { has_government = administrative_government }
|
||||
scope:actor = { government_has_flag = government_is_administrative }
|
||||
}
|
||||
AND = {
|
||||
scope:actor.liege ?= scope:recipient
|
||||
scope:recipient = { has_government = administrative_government }
|
||||
scope:recipient = { government_has_flag = government_is_administrative }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -7199,6 +7242,7 @@ liege_dismiss_temporary_regency_interaction = {
|
|||
type = event_toast_effect_neutral
|
||||
title = liege_dismiss_temporary_regency_interaction.tt.recipient_notification
|
||||
left_icon = scope:actor
|
||||
right_icon = scope:recipient
|
||||
# End the diarchy.
|
||||
end_diarchy = yes
|
||||
scope:recipient = {
|
||||
|
|
@ -7299,6 +7343,7 @@ liege_dismiss_entrenched_regency_interaction = {
|
|||
scope:diarchy_ending_gift_dynasty_prestige = yes
|
||||
scope:diarchy_ending_gift_piety = yes
|
||||
scope:diarchy_ending_gift_cash = yes
|
||||
scope:diarchy_ending_gift_herd = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -7376,6 +7421,16 @@ liege_dismiss_entrenched_regency_interaction = {
|
|||
flag = diarchy_ending_gift_cash
|
||||
current_description = diarchy_ending_gift_cash_desc
|
||||
}
|
||||
## Horse.
|
||||
send_option = {
|
||||
flag = diarchy_ending_gift_herd
|
||||
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 }
|
||||
}
|
||||
}
|
||||
|
||||
on_send = {
|
||||
scope:actor = {
|
||||
|
|
@ -7540,6 +7595,38 @@ liege_dismiss_entrenched_regency_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
# Herd
|
||||
if = {
|
||||
limit = { scope:diarchy_ending_gift_herd = yes }
|
||||
# Transfer the cash.
|
||||
scope:actor = {
|
||||
#gold = major_gold_value
|
||||
pay_herd = {
|
||||
target = scope:recipient
|
||||
value = domicile.ten_percent_herd_value
|
||||
}
|
||||
}
|
||||
# Plus they're happy.
|
||||
if = {
|
||||
limit = { is_ai = yes }
|
||||
# More so if they're greedy, 'cause greedy likes money i mean horses.
|
||||
if = {
|
||||
limit = { has_trait = greedy }
|
||||
add_opinion = {
|
||||
target = scope:actor
|
||||
modifier = pleased_opinion
|
||||
opinion = 30
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_opinion = {
|
||||
target = scope:actor
|
||||
modifier = pleased_opinion
|
||||
opinion = 15
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Object explorer logging.
|
||||
|
|
@ -7603,6 +7690,16 @@ liege_dismiss_entrenched_regency_interaction = {
|
|||
diarch_interaction_add_to_global_list_effect = { VARIABLE_LIST = di_track_entr_cash_accept_recipient_list }
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { always = scope:diarchy_ending_gift_herd }
|
||||
scope:actor = {
|
||||
diarch_interaction_set_or_update_global_variable_effect = { VARIABLE = di_track_entr_herd_accept }
|
||||
diarch_interaction_add_to_global_list_effect = { VARIABLE_LIST = di_track_entr_herd_accept_actor_list }
|
||||
}
|
||||
scope:recipient = {
|
||||
diarch_interaction_add_to_global_list_effect = { VARIABLE_LIST = di_track_entr_herd_accept_recipient_list }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
on_decline = {
|
||||
|
|
@ -7693,6 +7790,16 @@ liege_dismiss_entrenched_regency_interaction = {
|
|||
diarch_interaction_add_to_global_list_effect = { VARIABLE_LIST = di_track_entr_cash_decline_recipient_list }
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { always = scope:diarchy_ending_gift_herd }
|
||||
scope:actor = {
|
||||
diarch_interaction_set_or_update_global_variable_effect = { VARIABLE = di_track_entr_herd_decline }
|
||||
diarch_interaction_add_to_global_list_effect = { VARIABLE_LIST = di_track_entr_herd_decline_actor_list }
|
||||
}
|
||||
scope:recipient = {
|
||||
diarch_interaction_add_to_global_list_effect = { VARIABLE_LIST = di_track_entr_herd_decline_recipient_list }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
auto_accept = {
|
||||
|
|
@ -7984,6 +8091,11 @@ liege_dismiss_entrenched_regency_interaction = {
|
|||
add = 3
|
||||
scope:diarchy_ending_gift_cash = yes
|
||||
}
|
||||
## Herd.
|
||||
modifier = {
|
||||
add = 5
|
||||
scope:diarchy_ending_gift_herd = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -8749,7 +8861,7 @@ appoint_vizier_interaction = {
|
|||
# We enter into a vizierate with scope:secondary_recipient.
|
||||
custom_tooltip = {
|
||||
text = appoint_vizier_interaction.tt.enter_vizierate_with_secondary_recipient
|
||||
start_diarchy = vizierate
|
||||
try_start_diarchy = vizierate
|
||||
# The player uses scope:secondary_recipient.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -9051,7 +9163,7 @@ appoint_junior_emperor_interaction = {
|
|||
}
|
||||
custom_tooltip = {
|
||||
text = appoint_junior_emperor_interaction.tt.enter_junior_emperorship_with_secondary_recipient
|
||||
start_diarchy = junior_emperorship
|
||||
try_start_diarchy = junior_emperorship
|
||||
set_diarch = scope:secondary_recipient
|
||||
}
|
||||
# We set them to be our designated heir.
|
||||
|
|
@ -9069,7 +9181,7 @@ appoint_junior_emperor_interaction = {
|
|||
}
|
||||
## Whereas the AI grabs their pre-selected candidate.
|
||||
else = {
|
||||
start_diarchy = junior_emperorship
|
||||
try_start_diarchy = junior_emperorship
|
||||
set_diarch = scope:ai_recipient
|
||||
# We set them to be our designated heir.
|
||||
## First grabbing the old one for opinions.
|
||||
|
|
@ -9275,7 +9387,7 @@ appoint_co_emperor_interaction = {
|
|||
}
|
||||
custom_tooltip = {
|
||||
text = appoint_co_emperor_interaction.tt.enter_co_emperorship_with_secondary_recipient
|
||||
start_diarchy = co_emperorship
|
||||
try_start_diarchy = co_emperorship
|
||||
set_diarch = scope:secondary_recipient
|
||||
}
|
||||
# If appropriate, we set them to be our designated heir.
|
||||
|
|
@ -9301,7 +9413,7 @@ appoint_co_emperor_interaction = {
|
|||
}
|
||||
## Whereas the AI grabs their pre-selected candidate.
|
||||
else = {
|
||||
start_diarchy = co_emperorship
|
||||
try_start_diarchy = co_emperorship
|
||||
set_diarch = scope:ai_recipient
|
||||
# If appropriate, we set them to be our designated heir.
|
||||
if = {
|
||||
|
|
@ -9491,7 +9603,7 @@ appoint_co_monarch_interaction = {
|
|||
}
|
||||
custom_tooltip = {
|
||||
text = appoint_co_monarch_interaction.tt.enter_co_monarchy_with_secondary_recipient
|
||||
start_diarchy = co_monarchy
|
||||
try_start_diarchy = co_monarchy
|
||||
set_diarch = scope:secondary_recipient
|
||||
}
|
||||
# We set them to be our designated heir.
|
||||
|
|
@ -9509,7 +9621,7 @@ appoint_co_monarch_interaction = {
|
|||
}
|
||||
## Whereas the AI grabs their pre-selected candidate.
|
||||
else = {
|
||||
start_diarchy = co_emperorship
|
||||
try_start_diarchy = co_emperorship
|
||||
set_diarch = scope:ai_recipient
|
||||
# We set them to be our designated heir.
|
||||
## First grabbing the old one for opinions.
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ force_join_faction_interaction = {
|
|||
is_valid_showing_failures_only = {
|
||||
scope:actor = {
|
||||
trigger_if = {
|
||||
limit = { has_government = administrative_government }
|
||||
limit = { government_has_flag = government_is_administrative }
|
||||
custom_tooltip = {
|
||||
text = force_join_faction_admin_requirement_desc
|
||||
OR = {
|
||||
|
|
@ -113,8 +113,8 @@ force_join_faction_interaction = {
|
|||
#Spend influence
|
||||
send_option = {
|
||||
is_shown = {
|
||||
scope:actor = { has_government = administrative_government }
|
||||
scope:actor.top_liege ?= { has_government = administrative_government }
|
||||
scope:actor = { government_has_flag = government_is_administrative }
|
||||
scope:actor.top_liege ?= { government_has_flag = government_is_administrative }
|
||||
}
|
||||
is_valid = { # Convincing someone with influence is not available if they hate you or love the liege
|
||||
scope:actor ?= { influence >= { value = scope:actor.monumental_influence_value multiply = 2 } }
|
||||
|
|
|
|||
|
|
@ -601,21 +601,52 @@ fp3_request_turkic_invasion_interaction = {
|
|||
scope:financial_support = yes
|
||||
}
|
||||
trigger_event = fp3_misc_decisions.0006
|
||||
show_as_tooltip = {
|
||||
spawn_army = {
|
||||
men_at_arms = {
|
||||
type = horse_archers
|
||||
stacks = fp3_request_invasion_troop_value_bonus_troops
|
||||
if = {
|
||||
limit = {
|
||||
has_mpo_dlc_trigger = yes
|
||||
}
|
||||
show_as_tooltip = {
|
||||
spawn_army = {
|
||||
men_at_arms = {
|
||||
type = horse_archers
|
||||
stacks = fp3_request_invasion_troop_value_bonus_troops
|
||||
}
|
||||
men_at_arms = {
|
||||
type = steppe_raiders
|
||||
stacks = fp3_request_invasion_troop_value_bonus_troops
|
||||
}
|
||||
men_at_arms = {
|
||||
type = light_horsemen
|
||||
stacks = fp3_request_invasion_troop_value_bonus_troops
|
||||
}
|
||||
men_at_arms = {
|
||||
type = nomadic_riders
|
||||
stacks = fp3_request_invasion_troop_value_bonus_levy_nomads
|
||||
}
|
||||
location = capital_province
|
||||
uses_supply = yes
|
||||
inheritable = no
|
||||
name = turkic_tribal_event_troops
|
||||
}
|
||||
men_at_arms = {
|
||||
type = light_horsemen
|
||||
stacks = fp3_request_invasion_troop_value_bonus_troops
|
||||
}
|
||||
}
|
||||
else = {
|
||||
show_as_tooltip = {
|
||||
spawn_army = {
|
||||
men_at_arms = {
|
||||
type = horse_archers
|
||||
stacks = fp3_request_invasion_troop_value_bonus_troops
|
||||
}
|
||||
men_at_arms = {
|
||||
type = light_horsemen
|
||||
stacks = fp3_request_invasion_troop_value_bonus_troops
|
||||
}
|
||||
levies = fp3_request_invasion_troop_value_bonus_levy_troops
|
||||
location = capital_province
|
||||
uses_supply = yes
|
||||
inheritable = no
|
||||
name = turkic_tribal_event_troops
|
||||
}
|
||||
levies = fp3_request_invasion_troop_value_bonus_levy_troops
|
||||
location = capital_province
|
||||
uses_supply = yes
|
||||
inheritable = no
|
||||
name = turkic_tribal_event_troops
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -69,7 +69,10 @@ gift_interaction = {
|
|||
|
||||
is_valid_showing_failures_only = {
|
||||
scope:actor.gold >= gift_value
|
||||
scope:recipient = { is_busy_in_events_localised = yes }
|
||||
scope:recipient = {
|
||||
is_busy_in_events_localised = yes
|
||||
NOT = { is_imprisoned_by = scope:actor }
|
||||
}
|
||||
}
|
||||
|
||||
on_auto_accept = {
|
||||
|
|
@ -232,7 +235,7 @@ gift_interaction = {
|
|||
scope:recipient = {
|
||||
AND = {
|
||||
is_vassal_of = scope:actor
|
||||
government_has_flag = government_is_republic
|
||||
government_has_flag = government_is_special_republic
|
||||
}
|
||||
}
|
||||
NOT = {
|
||||
|
|
@ -277,10 +280,10 @@ gift_interaction = {
|
|||
if = {
|
||||
limit = {
|
||||
is_ruler = yes
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
scope:recipient = {
|
||||
is_ruler = yes
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
any_held_title = {
|
||||
is_noble_family_title = yes
|
||||
}
|
||||
|
|
@ -733,6 +736,17 @@ gift_interaction = {
|
|||
}
|
||||
}
|
||||
|
||||
# Nomads are slightly less likely to do this since they'd prefer to send Herd instead
|
||||
modifier = {
|
||||
add = -10
|
||||
scope:actor = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
scope:recipient = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
factor = 0.1
|
||||
scope:recipient = {
|
||||
|
|
|
|||
|
|
@ -34,9 +34,15 @@ grant_titles_interaction = {
|
|||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:actor = { has_government = administrative_government }
|
||||
scope:actor = { government_has_flag = government_is_administrative }
|
||||
}
|
||||
scope:recipient = { NOT = { has_government = administrative_government } }
|
||||
scope:recipient = { NOT = { government_has_flag = government_is_administrative } }
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:actor = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
scope:recipient = { NOT = { government_has_flag = government_is_herder } }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -136,6 +142,37 @@ grant_titles_interaction = {
|
|||
}
|
||||
}
|
||||
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:actor = {
|
||||
NOT = {
|
||||
has_government = nomad_government
|
||||
}
|
||||
}
|
||||
title_province = {
|
||||
OR = {
|
||||
has_holding_type = nomad_holding
|
||||
has_holding_type = herder_holding
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
is_ruler = no
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = GRANT_TITLES_ITEM_CANT_GIVE_NOMADIC_TITLES_TO_NON_NOMADS_TITLE
|
||||
always = no
|
||||
}
|
||||
}
|
||||
|
||||
trigger_if = {
|
||||
limit = { is_nomad_title = yes }
|
||||
custom_tooltip = {
|
||||
text = GRANT_TITLES_ITEM_CANT_GIVE_NOMAD_TITLE
|
||||
always = no
|
||||
}
|
||||
}
|
||||
|
||||
trigger_if = {
|
||||
limit = {
|
||||
is_head_of_faith = yes
|
||||
|
|
@ -229,6 +266,25 @@ grant_titles_interaction = {
|
|||
}
|
||||
|
||||
on_accept = {
|
||||
if = {
|
||||
limit = {
|
||||
scope:actor = {
|
||||
government_has_flag = government_is_nomadic
|
||||
vassal_limit_available <= 0
|
||||
is_independent_ruler = yes
|
||||
scope:recipient = {
|
||||
NOT = { is_vassal_of = scope:actor }
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = grant_title_nomad_and_at_vassal_limit
|
||||
}
|
||||
scope:recipient = {
|
||||
add_character_flag = {
|
||||
flag = domicile_culture_and_faith_check
|
||||
days = 1
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:recipient = {
|
||||
|
|
@ -1031,6 +1087,25 @@ grant_titles_interaction = {
|
|||
#Feedback for actor
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_nomadic
|
||||
vassal_limit_available <= 0
|
||||
is_independent_ruler = yes
|
||||
scope:recipient = {
|
||||
NOT = { is_vassal_of = scope:actor }
|
||||
}
|
||||
}
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_neutral
|
||||
title = grant_titles_interaction_notification
|
||||
|
||||
left_icon = scope:actor
|
||||
right_icon = scope:recipient
|
||||
|
||||
custom_tooltip = grant_titles_interaction_notification_effect_7
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
any_in_list = {
|
||||
list = target_titles
|
||||
|
|
@ -1283,7 +1358,7 @@ grant_governorship_interaction = {
|
|||
}
|
||||
}
|
||||
scope:actor = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
highest_held_title_tier >= tier_county
|
||||
}
|
||||
|
||||
|
|
@ -1352,7 +1427,7 @@ grant_governorship_interaction = {
|
|||
}
|
||||
trigger_if = {
|
||||
limit = { is_landed = yes }
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
is_clergy = no
|
||||
# Gallivanters won't accept additional responsibilities.
|
||||
|
|
@ -2106,4 +2181,4 @@ grant_governorship_interaction = {
|
|||
add = 100
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -15,7 +15,7 @@ designate_heir_interaction = {
|
|||
trigger_if = {
|
||||
limit = { # Admin always has access to this - Recipient just need to be their child
|
||||
scope:actor = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
any_held_title = {
|
||||
is_noble_family_title = yes
|
||||
}
|
||||
|
|
@ -62,7 +62,7 @@ designate_heir_interaction = {
|
|||
if = {
|
||||
limit = {
|
||||
scope:actor = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
any_held_title = {
|
||||
is_noble_family_title = yes
|
||||
}
|
||||
|
|
@ -94,7 +94,7 @@ designate_heir_interaction = {
|
|||
if = {
|
||||
limit = {
|
||||
scope:actor = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
any_held_title = {
|
||||
is_noble_family_title = yes
|
||||
}
|
||||
|
|
@ -126,7 +126,7 @@ designate_heir_interaction = {
|
|||
scope:actor = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
any_held_title = {
|
||||
is_noble_family_title = yes
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ invite_agent_to_scheme_interaction = {
|
|||
always = scope:de_jure_title
|
||||
always = scope:claimed_title
|
||||
always = scope:piety
|
||||
always = scope:herd
|
||||
}
|
||||
}
|
||||
force_add_to_agent_slot = {
|
||||
|
|
@ -52,6 +53,7 @@ invite_agent_to_scheme_interaction = {
|
|||
always = scope:de_jure_title
|
||||
always = scope:claimed_title
|
||||
always = scope:piety
|
||||
always = scope:herd
|
||||
}
|
||||
}
|
||||
custom_tooltip = offer_bribes.tt.window_jump_fix
|
||||
|
|
@ -156,7 +158,7 @@ invite_agent_to_scheme_interaction = {
|
|||
type = council_rights
|
||||
level = 1
|
||||
}
|
||||
set_vassal_contract_modification_blocked = yes
|
||||
set_subject_contract_modification_blocked = yes
|
||||
}
|
||||
}
|
||||
create_title_and_vassal_change = {
|
||||
|
|
@ -205,6 +207,40 @@ invite_agent_to_scheme_interaction = {
|
|||
}
|
||||
scope:recipient = { add_piety = piety_bribe_value }
|
||||
}
|
||||
# Herd
|
||||
if = {
|
||||
limit = { always = scope:herd }
|
||||
if = {
|
||||
limit = {
|
||||
scope:recipient.domicile ?= {
|
||||
herd > 0
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
pay_herd = {
|
||||
target = scope:recipient
|
||||
value = domicile.herd_bribe_value
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
scope:actor = { custom_tooltip = scheme_change_herd_value }
|
||||
hidden_effect = {
|
||||
scope:actor.domicile = {
|
||||
change_herd = {
|
||||
value = herd_bribe_value
|
||||
multiply = -1
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
add_gold = {
|
||||
value = herd_bribe_value
|
||||
multiply = 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# Stress.
|
||||
## For scope: recipient.
|
||||
|
|
@ -489,14 +525,14 @@ invite_agent_to_scheme_interaction = {
|
|||
flag = influence
|
||||
is_shown = {
|
||||
scope:actor.top_liege ?= scope:recipient.top_liege
|
||||
scope:actor = { has_government = administrative_government }
|
||||
scope:actor = { government_has_flag = government_is_administrative }
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
has_government = administrative_government
|
||||
host = { has_government = administrative_government }
|
||||
government_has_flag = government_is_administrative
|
||||
host = { government_has_flag = government_is_administrative }
|
||||
AND = {
|
||||
highest_held_title_tier = tier_barony
|
||||
liege = { has_government = administrative_government }
|
||||
liege = { government_has_flag = government_is_administrative }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -539,7 +575,10 @@ invite_agent_to_scheme_interaction = {
|
|||
custom_tooltip = {
|
||||
text = council_rights.tt.already_has_council_rights
|
||||
scope:recipient = {
|
||||
NOT = { vassal_contract_has_flag = can_demand_council_seat }
|
||||
NOR = {
|
||||
vassal_contract_has_flag = can_demand_council_seat
|
||||
vassal_contract_has_flag = can_demand_kurultai_seat
|
||||
}
|
||||
}
|
||||
}
|
||||
would_agent_accept_petty_bribes_against_target_trigger = yes
|
||||
|
|
@ -631,6 +670,38 @@ invite_agent_to_scheme_interaction = {
|
|||
}
|
||||
localization = SCHEME_AGENT_CLAIMED_TITLE
|
||||
}
|
||||
# Nomad Chars
|
||||
## Use Herd
|
||||
send_option = {
|
||||
flag = herd
|
||||
is_shown = {
|
||||
# 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 }
|
||||
}
|
||||
scope:actor = {
|
||||
government_has_flag = government_is_nomadic
|
||||
is_ai = no
|
||||
}
|
||||
scope:recipient = {
|
||||
government_has_flag = government_is_nomadic
|
||||
exists = domicile
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
scope:actor.domicile.herd >= herd_bribe_value
|
||||
would_agent_accept_petty_bribes_against_target_trigger = yes
|
||||
}
|
||||
localization = SCHEME_AGENT_HERD
|
||||
current_description = {
|
||||
# Triggered desc so that we don't get a weird double tooltip.
|
||||
triggered_desc = {
|
||||
trigger = { scope:actor.domicile.herd >= herd_bribe_value }
|
||||
desc = SCHEME_AGENT_HERD_VALID
|
||||
}
|
||||
}
|
||||
}
|
||||
# Cofaithists
|
||||
## Piety
|
||||
send_option = {
|
||||
|
|
|
|||
|
|
@ -587,11 +587,11 @@ arrange_marriage_interaction = {
|
|||
limit = {
|
||||
scope:actor = {
|
||||
is_ai = yes
|
||||
NOT = { government_has_flag = government_is_republic }
|
||||
NOT = { government_has_flag = government_is_special_republic }
|
||||
}
|
||||
}
|
||||
NOT = {
|
||||
scope:recipient = { government_has_flag = government_is_republic }
|
||||
scope:recipient = { government_has_flag = government_is_special_republic }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -680,6 +680,15 @@ arrange_marriage_interaction = {
|
|||
on_accept = {
|
||||
marriage_interaction_on_accept_effect = yes
|
||||
scope:actor = {
|
||||
if = {
|
||||
limit = {
|
||||
scope:herd_send_option = yes
|
||||
}
|
||||
pay_herd = {
|
||||
target = scope:recipient
|
||||
value = scope:actor.domicile.medium_herd_value
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_variable = grand_wedding_promise_pending
|
||||
|
|
@ -1003,6 +1012,25 @@ arrange_marriage_interaction = {
|
|||
flag = influence_send_option
|
||||
localization = TRADE_INFLUENCE_FOR_BETTER_AI_ACCEPTANCE
|
||||
}
|
||||
|
||||
send_option = { # MPO Herd
|
||||
is_shown = { # Actor must have a government that uses Herd
|
||||
scope:actor = {
|
||||
government_has_flag = government_is_nomadic
|
||||
is_ai = no
|
||||
}
|
||||
# Recipient must care about Herd
|
||||
scope:recipient = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
# Actor has enough Herd
|
||||
scope:actor = { domicile.herd >= domicile.medium_herd_value }
|
||||
}
|
||||
flag = herd_send_option
|
||||
localization = TRADE_HERD_FOR_BETTER_AI_ACCEPTANCE
|
||||
}
|
||||
|
||||
should_use_extra_icon = {
|
||||
scope:actor = { has_usable_hook = scope:recipient }
|
||||
|
|
@ -1485,7 +1513,16 @@ marry_off_interaction = {
|
|||
REVERSE_NON_HOUSE_TARGET = no
|
||||
}
|
||||
|
||||
scope:actor = {
|
||||
scope:actor = {
|
||||
if = {
|
||||
limit = {
|
||||
scope:herd_send_option = yes
|
||||
}
|
||||
pay_herd = {
|
||||
target = scope:recipient
|
||||
value = scope:actor.domicile.medium_herd_value
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_variable = grand_wedding_promise_pending
|
||||
|
|
@ -1655,6 +1692,24 @@ marry_off_interaction = {
|
|||
flag = influence_send_option
|
||||
localization = TRADE_INFLUENCE_FOR_BETTER_AI_ACCEPTANCE
|
||||
}
|
||||
send_option = { # MPO Herd
|
||||
is_shown = { # Actor must have a government that uses Herd
|
||||
scope:actor = {
|
||||
government_has_flag = government_is_nomadic
|
||||
is_ai = no
|
||||
}
|
||||
# Recipient must care about Herd
|
||||
scope:recipient = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
# Actor has enough Herd
|
||||
scope:actor = { domicile.herd >= domicile.medium_herd_value }
|
||||
}
|
||||
flag = herd_send_option
|
||||
localization = TRADE_HERD_FOR_BETTER_AI_ACCEPTANCE
|
||||
}
|
||||
|
||||
send_options_exclusive = no
|
||||
|
||||
|
|
@ -3074,11 +3129,14 @@ offer_concubine = {
|
|||
|
||||
ai_targets = {
|
||||
ai_recipients = neighboring_rulers
|
||||
ai_recipients = suzerain
|
||||
ai_recipients = liege
|
||||
max = 5
|
||||
}
|
||||
ai_target_quick_trigger = {
|
||||
adult = yes
|
||||
}
|
||||
ai_frequency = 144
|
||||
ai_frequency = 36
|
||||
|
||||
greeting = positive
|
||||
notification_text = OFFER_CONCUBINE_NOTIFICATION
|
||||
|
|
@ -3120,6 +3178,7 @@ offer_concubine = {
|
|||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
NOT = { government_has_flag = government_is_herder }
|
||||
allowed_concubines = yes
|
||||
is_adult = yes
|
||||
}
|
||||
|
|
@ -3635,6 +3694,17 @@ offer_concubine = {
|
|||
}
|
||||
}
|
||||
|
||||
modifier = { # Age considerations
|
||||
factor = 0
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
age >= scope:secondary_actor.age_plus_10
|
||||
age <= scope:secondary_actor.age_minus_10
|
||||
scope:secondary_actor.age >= 30 # Concubines are meant to be young...
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
modifier = { # Incest Filtering: Hard NO!
|
||||
factor = 0
|
||||
scope:recipient = {
|
||||
|
|
@ -3746,6 +3816,14 @@ dismiss_concubine_interaction = {
|
|||
|
||||
is_valid_showing_failures_only = {
|
||||
scope:recipient = { NOT = { has_strong_hook = scope:actor } }
|
||||
scope:actor = {
|
||||
custom_tooltip = {
|
||||
NOT = {
|
||||
var:family_widow_forbidden_divorce ?= scope:target
|
||||
}
|
||||
text = BOUND_TO_FAMILY_WIDOW
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
auto_accept = yes
|
||||
|
|
@ -3872,6 +3950,14 @@ divorce_character_interaction = {
|
|||
}
|
||||
scope:recipient = { is_busy_in_events_localised = yes }
|
||||
scope:recipient = { NOT = { has_strong_hook = scope:actor } }
|
||||
scope:actor = {
|
||||
custom_tooltip = {
|
||||
NOT = {
|
||||
var:family_widow_forbidden_divorce ?= scope:target
|
||||
}
|
||||
text = BOUND_TO_FAMILY_WIDOW
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
auto_accept = yes
|
||||
|
|
@ -4001,6 +4087,14 @@ divorce_character_house_head_interaction = {
|
|||
NOT = {
|
||||
scope:secondary_recipient = { has_strong_hook = scope:actor }
|
||||
}
|
||||
scope:actor = {
|
||||
custom_tooltip = {
|
||||
NOT = {
|
||||
var:family_widow_forbidden_divorce ?= scope:target
|
||||
}
|
||||
text = BOUND_TO_FAMILY_WIDOW
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ai_accept = {
|
||||
|
|
@ -4365,6 +4459,14 @@ divorce_character_rel_head_interaction = {
|
|||
NOT = {
|
||||
scope:secondary_recipient = { has_strong_hook = scope:actor }
|
||||
}
|
||||
scope:actor = {
|
||||
custom_tooltip = {
|
||||
NOT = {
|
||||
var:family_widow_forbidden_divorce ?= scope:recipient
|
||||
}
|
||||
text = BOUND_TO_FAMILY_WIDOW
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ai_accept = {
|
||||
|
|
@ -4772,6 +4874,14 @@ divorce_character_dynast_request_interaction = {
|
|||
text = "same_realm_as"
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
custom_tooltip = {
|
||||
NOT = {
|
||||
var:family_widow_forbidden_divorce ?= scope:target
|
||||
}
|
||||
text = BOUND_TO_FAMILY_WIDOW
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
auto_accept = yes
|
||||
|
|
@ -4938,6 +5048,14 @@ divorce_character_dynast_request_rel_head_interaction = {
|
|||
text = "same_realm_as"
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
custom_tooltip = {
|
||||
NOT = {
|
||||
var:family_widow_forbidden_divorce ?= scope:target
|
||||
}
|
||||
text = BOUND_TO_FAMILY_WIDOW
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ai_accept = {
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -943,7 +943,7 @@ buy_claim_interaction = {
|
|||
value = minor_buy_claim_piety_value
|
||||
if = {
|
||||
limit = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
multiply = 1.5
|
||||
}
|
||||
|
|
@ -960,7 +960,7 @@ buy_claim_interaction = {
|
|||
value = medium_buy_claim_piety_value
|
||||
if = {
|
||||
limit = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
multiply = 1.5
|
||||
}
|
||||
|
|
@ -977,7 +977,7 @@ buy_claim_interaction = {
|
|||
value = major_buy_claim_piety_value
|
||||
if = {
|
||||
limit = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
multiply = 1.5
|
||||
}
|
||||
|
|
@ -994,7 +994,7 @@ buy_claim_interaction = {
|
|||
value = massive_buy_claim_piety_value
|
||||
if = {
|
||||
limit = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
multiply = 1.5
|
||||
}
|
||||
|
|
@ -1050,7 +1050,7 @@ buy_claim_interaction = {
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
multiply = 1.5
|
||||
}
|
||||
|
|
@ -1098,6 +1098,24 @@ challenge_to_single_combat_interaction = {
|
|||
ai_max_reply_days = 0
|
||||
popup_on_receive = yes
|
||||
pause_on_receive = yes
|
||||
|
||||
name = {
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:actor = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
scope:recipient = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
}
|
||||
desc = challenge_to_single_combat_nomadic_interaction
|
||||
}
|
||||
desc = challenge_to_single_combat_interaction
|
||||
}
|
||||
}
|
||||
|
||||
desc = challenge_to_single_combat_interaction_desc
|
||||
|
||||
greeting = negative
|
||||
|
|
@ -1107,7 +1125,20 @@ challenge_to_single_combat_interaction = {
|
|||
# First, check for the perk.
|
||||
scope:actor = { can_challenge_rival_to_single_combat_trigger = yes }
|
||||
# Then, look to see if this character is a rival.
|
||||
scope:actor = { has_relation_rival = scope:recipient }
|
||||
OR = {
|
||||
scope:actor = { has_relation_rival = scope:recipient }
|
||||
AND = { # If you are a Nomad you can challenge martial non-close family characters
|
||||
scope:actor = {
|
||||
government_has_flag = government_is_nomadic
|
||||
has_perk = stalwart_leader_perk
|
||||
}
|
||||
scope:recipient = {
|
||||
government_has_flag = government_is_nomadic
|
||||
NOT = { is_close_family_of = scope:actor }
|
||||
can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = scope:actor }
|
||||
}
|
||||
}
|
||||
}
|
||||
# Can't duel yourself.
|
||||
NOT = { scope:actor = scope:recipient }
|
||||
}
|
||||
|
|
@ -1410,6 +1441,18 @@ challenge_to_single_combat_interaction = {
|
|||
multiply = -0.25
|
||||
}
|
||||
}
|
||||
|
||||
# To prevent Nomads from being constantly injured everywhere
|
||||
modifier = {
|
||||
NOT = {
|
||||
scope:recipient = { has_relation_rival = scope:actor }
|
||||
}
|
||||
add = -100
|
||||
}
|
||||
modifier = {
|
||||
scope:actor = { has_any_good_relationship_with_character_trigger = { CHARACTER = scope:recipient } }
|
||||
add = -100
|
||||
}
|
||||
|
||||
# Unity modifiers
|
||||
evaluate_action_decreasing_house_unity = {
|
||||
|
|
|
|||
|
|
@ -66,6 +66,12 @@
|
|||
is_valid_showing_failures_only = {
|
||||
scope:actor = {
|
||||
allowed_to_imprison_character_trigger = { CHARACTER = scope:recipient }
|
||||
trigger_if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
NOT = { has_realm_law = nomadic_authority_1 }
|
||||
}
|
||||
}
|
||||
imprison_neutral_is_valid_showing_failures_only_triggers_trigger = yes
|
||||
custom_tooltip = {
|
||||
|
|
@ -1827,11 +1833,34 @@ ransom_interaction = {
|
|||
flag = influence_send_option
|
||||
localization = TRADE_INFLUENCE_FOR_BETTER_AI_ACCEPTANCE
|
||||
}
|
||||
|
||||
# MPO Herd
|
||||
send_option = {
|
||||
is_shown = { # Actor must have a government that uses Herd
|
||||
scope:actor = {
|
||||
government_has_flag = government_is_nomadic
|
||||
exists = domicile
|
||||
is_ai = no
|
||||
}
|
||||
# Recipient must care about Herd
|
||||
scope:recipient ?= {
|
||||
government_has_flag = government_is_nomadic
|
||||
exists = domicile
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
# Recipient has enough Herd
|
||||
scope:recipient = { domicile.herd >= domicile.medium_herd_value }
|
||||
}
|
||||
flag = herd_send_option
|
||||
localization = RANSOM_HERD_OPTION
|
||||
}
|
||||
|
||||
localization_values = {
|
||||
EXTORTIONATE_RANSOM_COST = scope:secondary_recipient.increased_ransom_cost_value
|
||||
RANSOM_COST = scope:secondary_recipient.ransom_cost_value
|
||||
CURRENT_GOLD = scope:recipient.gold
|
||||
RANSOM_HERD_COST = ransom_herd_value_recipient
|
||||
}
|
||||
|
||||
ai_accept = {
|
||||
|
|
@ -2682,6 +2711,27 @@ pay_ransom_interaction = {
|
|||
flag = influence_send_option
|
||||
localization = TRADE_INFLUENCE_FOR_BETTER_AI_ACCEPTANCE
|
||||
}
|
||||
|
||||
send_option = { # MPO Herd
|
||||
is_shown = { # Actor must have a government that uses Herd
|
||||
scope:actor = {
|
||||
government_has_flag = government_is_nomadic
|
||||
exists = domicile
|
||||
is_ai = no
|
||||
}
|
||||
# Recipient must care about Herd
|
||||
scope:recipient = {
|
||||
government_has_flag = government_is_nomadic
|
||||
exists = domicile
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
# Actor has enough Herd
|
||||
scope:actor = { domicile.herd >= domicile.medium_herd_value }
|
||||
}
|
||||
flag = herd_send_option
|
||||
localization = PAY_FOR_BETTER_AI_ACCEPTANCE
|
||||
}
|
||||
|
||||
#Use hook
|
||||
send_option = {
|
||||
|
|
@ -2705,6 +2755,7 @@ pay_ransom_interaction = {
|
|||
EXTORTIONATE_RANSOM_COST = scope:secondary_recipient.increased_ransom_cost_value
|
||||
RANSOM_COST = scope:secondary_recipient.ransom_cost_value
|
||||
CURRENT_GOLD = scope:actor.gold
|
||||
RANSOM_HERD_COST = ransom_herd_value_actor
|
||||
}
|
||||
|
||||
ai_accept = {
|
||||
|
|
@ -2849,6 +2900,12 @@ pay_ransom_interaction = {
|
|||
scope:influence_send_option = yes
|
||||
desc = INFLUENCE_INTERACTION_ACCEPTANCE_SEND_OPTION
|
||||
}
|
||||
|
||||
modifier = {
|
||||
add = 25
|
||||
scope:herd_send_option = yes
|
||||
desc = HERD_INTERACTION_ACCEPTANCE_SEND_OPTION
|
||||
}
|
||||
}
|
||||
|
||||
auto_accept = {
|
||||
|
|
@ -3518,6 +3575,26 @@ ransom_me_interaction = {
|
|||
flag = influence_send_option
|
||||
localization = TRADE_INFLUENCE_FOR_BETTER_AI_ACCEPTANCE
|
||||
}
|
||||
|
||||
send_option = { # MPO Herd
|
||||
is_shown = { # Actor must have a government that uses Herd
|
||||
scope:actor = {
|
||||
government_has_flag = government_is_nomadic
|
||||
exists = domicile
|
||||
}
|
||||
# Recipient must care about Herd
|
||||
scope:recipient = {
|
||||
government_has_flag = government_is_nomadic
|
||||
exists = domicile
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
# Actor has enough Herd
|
||||
scope:actor = { domicile.herd >= domicile.medium_herd_value }
|
||||
}
|
||||
flag = herd_send_option
|
||||
localization = PAY_FOR_BETTER_AI_ACCEPTANCE
|
||||
}
|
||||
|
||||
#Use hook
|
||||
send_option = {
|
||||
|
|
@ -3540,6 +3617,7 @@ ransom_me_interaction = {
|
|||
EXTORTIONATE_RANSOM_COST = scope:actor.increased_ransom_cost_value
|
||||
RANSOM_COST = scope:actor.ransom_cost_value
|
||||
CURRENT_GOLD = scope:actor.gold
|
||||
RANSOM_HERD_COST = ransom_herd_value_actor
|
||||
}
|
||||
|
||||
ai_accept = {
|
||||
|
|
@ -3698,6 +3776,12 @@ ransom_me_interaction = {
|
|||
scope:influence_send_option = yes
|
||||
desc = INFLUENCE_INTERACTION_ACCEPTANCE_SEND_OPTION
|
||||
}
|
||||
|
||||
modifier = {
|
||||
add = 25
|
||||
scope:herd_send_option = yes
|
||||
desc = HERD_INTERACTION_ACCEPTANCE_SEND_OPTION
|
||||
}
|
||||
}
|
||||
|
||||
auto_accept = {
|
||||
|
|
@ -3742,6 +3826,7 @@ ransom_me_interaction = {
|
|||
scope:extortionate_current_gold = yes
|
||||
}
|
||||
}
|
||||
scope:herd_send_option = yes
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3818,6 +3903,7 @@ ransom_me_interaction = {
|
|||
scope:gold = yes
|
||||
scope:extortionate_gold = yes
|
||||
scope:current_gold = yes
|
||||
scope:herd_send_option = yes
|
||||
AND = {
|
||||
scope:actor = {
|
||||
gold >= 25
|
||||
|
|
@ -3983,8 +4069,9 @@ release_from_prison_interaction = {
|
|||
if = {
|
||||
limit = {
|
||||
this.gold > 0
|
||||
NOT = {
|
||||
NOR = {
|
||||
has_character_flag = realm_priest
|
||||
has_character_flag = was_bookmaker
|
||||
}
|
||||
}
|
||||
pay_short_term_gold = { target = scope:actor gold = this.gold }
|
||||
|
|
@ -5031,7 +5118,7 @@ release_from_prison_interaction = {
|
|||
localization = "RELEASE_DISFIGURE"
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
culture = { has_cultural_tradition = tradition_ep3_palace_politics }
|
||||
# If they're our partner emperor, we should use the maiming interaction instead.
|
||||
liege_should_systematically_maim_co_ruler_trigger = no
|
||||
|
|
@ -5858,6 +5945,67 @@ execute_prisoner_interaction = {
|
|||
}
|
||||
}
|
||||
|
||||
#Nomads get the special beheading stuff
|
||||
modifier = {
|
||||
scope:actor = {
|
||||
mpo_keep_prisoners_heads_trigger = yes
|
||||
scope:recipient = {
|
||||
is_ruler = yes
|
||||
highest_held_title_tier >= tier_county
|
||||
is_adult = yes
|
||||
}
|
||||
NOT = {
|
||||
scope:recipient.top_liege ?= {
|
||||
current_military_strength > scope:actor.current_military_strength
|
||||
tier_difference = {
|
||||
target = scope:actor
|
||||
value >= -1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
NOT = {
|
||||
scope:actor.faith = { has_doctrine_parameter = human_sacrifice_active }
|
||||
}
|
||||
add = 10
|
||||
}
|
||||
#Boost further if actor if want to keep head
|
||||
modifier = {
|
||||
#want to keep head
|
||||
scope:actor = {
|
||||
mpo_keep_prisoners_heads_trigger = yes
|
||||
}
|
||||
scope:recipient = {
|
||||
highest_held_title_tier >= tier_kingdom
|
||||
is_adult = yes
|
||||
}
|
||||
NOT = {
|
||||
scope:actor.faith = { has_doctrine_parameter = human_sacrifice_active }
|
||||
}
|
||||
add = 20
|
||||
}
|
||||
#Boost further if actor wants to be scary
|
||||
modifier = {
|
||||
#want to keep head
|
||||
scope:actor = {
|
||||
mpo_keep_prisoners_heads_trigger = yes
|
||||
scope:recipient = {
|
||||
is_ruler = yes
|
||||
highest_held_title_tier >= tier_county
|
||||
is_adult = yes
|
||||
}
|
||||
OR = {
|
||||
has_trait = conqueror
|
||||
has_trait = greatest_of_khans
|
||||
is_gurkhan = yes
|
||||
}
|
||||
}
|
||||
NOT = {
|
||||
scope:actor.faith = { has_doctrine_parameter = human_sacrifice_active }
|
||||
}
|
||||
add = 30
|
||||
}
|
||||
|
||||
modifier = {
|
||||
scope:recipient = {
|
||||
any_character_struggle = {
|
||||
|
|
@ -6428,7 +6576,12 @@ execute_prisoner_interaction = {
|
|||
|
||||
send_option = {
|
||||
is_shown = {
|
||||
scope:actor.faith = scope:recipient.faith
|
||||
OR = {
|
||||
scope:actor.faith = scope:recipient.faith
|
||||
scope:actor = {
|
||||
mpo_keep_prisoners_heads_trigger = yes
|
||||
}
|
||||
}
|
||||
NOT = {
|
||||
scope:actor.faith = { has_doctrine_parameter = human_sacrifice_active }
|
||||
}
|
||||
|
|
@ -6454,9 +6607,14 @@ execute_prisoner_interaction = {
|
|||
|
||||
send_option = {
|
||||
is_shown = {
|
||||
NOT = {
|
||||
scope:actor.faith = scope:recipient.faith
|
||||
scope:actor.faith = { has_doctrine_parameter = human_sacrifice_active }
|
||||
NOR = {
|
||||
AND = {
|
||||
scope:actor.faith = scope:recipient.faith
|
||||
scope:actor.faith = { has_doctrine_parameter = human_sacrifice_active }
|
||||
}
|
||||
scope:actor = {
|
||||
mpo_keep_prisoners_heads_trigger = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
flag = execution_burned
|
||||
|
|
|
|||
|
|
@ -788,6 +788,31 @@ demand_conversion_vassal_ruler_interaction = {
|
|||
|
||||
is_valid_showing_failures_only = {
|
||||
valid_demand_conversion_conditions_trigger = yes
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:actor.domicile ?= {
|
||||
domicile_uses_culture_and_faith = yes
|
||||
}
|
||||
scope:recipient = {
|
||||
is_ruler = yes
|
||||
OR = {
|
||||
government_has_flag = government_is_nomadic
|
||||
government_has_flag = government_is_herder
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = nomads_must_inspire_tt
|
||||
NOT = {
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
government_has_flag = government_is_nomadic
|
||||
government_has_flag = government_is_herder
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
auto_accept = {
|
||||
|
|
@ -5169,6 +5194,28 @@ hof_ask_for_gold_interaction = {
|
|||
scope:influence_send_option = yes
|
||||
desc = INFLUENCE_INTERACTION_ACCEPTANCE_SEND_OPTION
|
||||
}
|
||||
|
||||
modifier = {
|
||||
add = -25
|
||||
desc = BASE_RELUCTANCE
|
||||
trigger = {
|
||||
has_game_rule = hard_difficulty
|
||||
scope:actor = {
|
||||
is_ai = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
add = -75
|
||||
desc = BASE_RELUCTANCE
|
||||
trigger = {
|
||||
has_game_rule = very_hard_difficulty
|
||||
scope:actor = {
|
||||
is_ai = no
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
auto_accept = {
|
||||
|
|
@ -5351,11 +5398,11 @@ hof_ask_for_claim_interaction = {
|
|||
trigger_if = { # Admin can't request claim on other admin titles, only the top liege's primary title is up for grabs
|
||||
limit = {
|
||||
scope:secondary_recipient = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
is_independent_ruler = yes
|
||||
}
|
||||
scope:actor = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
}
|
||||
scope:target = {
|
||||
|
|
@ -5426,11 +5473,11 @@ hof_ask_for_claim_interaction = {
|
|||
trigger_if = { # Admin can't request claims on other admin titles
|
||||
limit = {
|
||||
scope:secondary_recipient = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
NOT = { is_independent_ruler = yes }
|
||||
}
|
||||
scope:actor = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
}
|
||||
custom_description = {
|
||||
|
|
@ -7094,3 +7141,125 @@ attempt_conversion_of_local_ruler_interaction = {
|
|||
religion_demand_conversion_default_modifier = yes
|
||||
}
|
||||
}
|
||||
|
||||
#########################
|
||||
# Exaltation of Pain tenet
|
||||
#########################
|
||||
|
||||
revel_in_pain_interaction = {
|
||||
icon = religious
|
||||
category = interaction_category_religion
|
||||
desc = revel_in_pain_interaction_desc
|
||||
|
||||
use_diplomatic_range = yes
|
||||
|
||||
greeting = positive
|
||||
notification_text = REVEL_IN_PAIN_INTERACTION_NOTIFICATION
|
||||
|
||||
is_shown = {
|
||||
NOT = { scope:actor = scope:recipient }
|
||||
scope:actor = {
|
||||
faith = { has_doctrine_parameter = self_mutilation_active }
|
||||
OR = {
|
||||
has_relation_friend = scope:recipient
|
||||
has_relation_lover = scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
scope:actor = {
|
||||
is_adult = yes
|
||||
is_available = yes
|
||||
custom_tooltip = {
|
||||
text = actor_is_severely_injured_tt
|
||||
NOT = { has_trait = wounded_2 }
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
custom_tooltip = {
|
||||
text = recipient_involved_in_revel_in_pain_recently_tt
|
||||
NOT = { has_character_flag = involved_in_revel_in_pain_recently }
|
||||
}
|
||||
is_adult = yes
|
||||
NOT = { has_trait = craven }
|
||||
faith = { has_doctrine_parameter = self_mutilation_active }
|
||||
NOT = { is_at_war_with = scope:actor }
|
||||
custom_tooltip = {
|
||||
text = recipient_is_severely_injured_tt
|
||||
NOT = { has_trait = wounded_2 }
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = recipient_not_in_the_same_location_tt
|
||||
location = scope:actor.location
|
||||
}
|
||||
is_available = yes
|
||||
}
|
||||
}
|
||||
|
||||
auto_accept = {
|
||||
scope:recipient = { is_ai = yes }
|
||||
}
|
||||
|
||||
on_accept = {
|
||||
scope:actor = {
|
||||
trigger_event = religious_interaction.2600
|
||||
show_as_tooltip = { revel_in_pain_effect = yes }
|
||||
}
|
||||
scope:recipient = {
|
||||
if = {
|
||||
limit = { is_ai = no }
|
||||
trigger_event = religious_interaction.2600
|
||||
show_as_tooltip = {
|
||||
revel_in_pain_effect = yes
|
||||
revel_in_pain_opinion_effect = yes
|
||||
}
|
||||
}
|
||||
else = {
|
||||
revel_in_pain_effect = yes
|
||||
revel_in_pain_opinion_effect = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
on_decline = {
|
||||
scope:actor = {
|
||||
trigger_event = religious_interaction.2610
|
||||
}
|
||||
}
|
||||
|
||||
ai_targets = {
|
||||
ai_recipients = family
|
||||
ai_recipients = scripted_relations
|
||||
ai_recipients = vassals
|
||||
ai_recipients = courtiers
|
||||
max = 5
|
||||
}
|
||||
|
||||
ai_frequency = 36
|
||||
|
||||
ai_potential = {
|
||||
faith = { has_doctrine_parameter = self_mutilation_active }
|
||||
is_at_war = no
|
||||
OR = {
|
||||
has_trait = zealous
|
||||
has_trait = sadistic
|
||||
}
|
||||
NOR = {
|
||||
has_trait = craven
|
||||
has_trait = wounded_1
|
||||
has_trait = wounded_2
|
||||
}
|
||||
}
|
||||
|
||||
ai_will_do = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = ai_boldness
|
||||
}
|
||||
modifier = {
|
||||
has_trait = flagellant
|
||||
add = 25
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,10 +10,10 @@
|
|||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:actor = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
scope:recipient = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
}
|
||||
desc = revoke_governorship_interaction
|
||||
|
|
@ -27,10 +27,10 @@
|
|||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:actor = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
scope:recipient = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
}
|
||||
desc = revoke_governorship_interaction_desc
|
||||
|
|
@ -42,10 +42,10 @@
|
|||
icon = {
|
||||
trigger = {
|
||||
scope:actor = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
scope:recipient = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
}
|
||||
reference = revoke_governorship
|
||||
|
|
@ -72,6 +72,7 @@
|
|||
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
NOT = { government_has_flag = government_is_herder } # They have their own interaction without cooldowns/maluses
|
||||
is_landed_or_landless_administrative = yes
|
||||
# should be shown but be disabled for indirect vassals
|
||||
target_is_liege_or_above = scope:actor
|
||||
|
|
@ -91,7 +92,7 @@
|
|||
}
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = { has_government = administrative_government }
|
||||
limit = { government_has_flag = government_is_administrative }
|
||||
}
|
||||
trigger_else = {
|
||||
custom_description = {
|
||||
|
|
@ -136,7 +137,7 @@
|
|||
NOT = { has_strong_hook = scope:actor }
|
||||
trigger_if = { # If admin, they need to hold a title that isn't their noble family title
|
||||
limit = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = admin_no_valid_appointment
|
||||
|
|
@ -191,8 +192,8 @@
|
|||
title_revocation_standard_can_pick_title_trigger = yes
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:actor = { has_government = administrative_government }
|
||||
scope:recipient = { has_government = administrative_government }
|
||||
scope:actor = { government_has_flag = government_is_administrative }
|
||||
scope:recipient = { government_has_flag = government_is_administrative }
|
||||
}
|
||||
custom_description = {
|
||||
text = "admin_revoke_primary_tier_only"
|
||||
|
|
@ -206,7 +207,10 @@
|
|||
|
||||
has_valid_target = {
|
||||
scope:target = {
|
||||
NOT = { is_noble_family_title = yes }
|
||||
NOR = {
|
||||
is_noble_family_title = yes
|
||||
is_nomad_title = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -246,7 +250,7 @@
|
|||
if = {
|
||||
limit = {
|
||||
scope:actor = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
NOT = { has_revoke_title_reason = scope:recipient }
|
||||
}
|
||||
scope:recipient = {
|
||||
|
|
@ -368,7 +372,7 @@
|
|||
scope:actor = {
|
||||
if = { # Admin has to pay an influence cost unless they have a revocation reason on the recipient
|
||||
limit = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
NOT = { has_revoke_title_reason = scope:recipient }
|
||||
scope:recipient = {
|
||||
highest_held_title_tier >= tier_county
|
||||
|
|
@ -511,7 +515,7 @@
|
|||
scope:actor = {
|
||||
if = { # Admin has to pay an influence cost unless they have a revocation reason on the recipient
|
||||
limit = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
NOT = { has_revoke_title_reason = scope:recipient }
|
||||
scope:recipient = {
|
||||
highest_held_title_tier >= tier_county
|
||||
|
|
@ -613,25 +617,45 @@
|
|||
if = {
|
||||
limit = {
|
||||
scope:landed_title.tier != tier_barony
|
||||
NOT = {
|
||||
scope:recipient = { government_has_flag = government_is_herder }
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
revocation_tyranny_effect = { VASSAL = scope:recipient }
|
||||
title_revocation_stress_effect = { VASSAL = scope:recipient }
|
||||
}
|
||||
}
|
||||
war_for_revoke_effect = {
|
||||
LIEGE = scope:actor
|
||||
REBEL = scope:recipient
|
||||
if = {
|
||||
limit = {
|
||||
scope:recipient = { government_has_flag = government_is_herder }
|
||||
}
|
||||
scope:recipient = {
|
||||
add_opinion = {
|
||||
target = scope:actor
|
||||
opinion = -10 # Herders don't care much
|
||||
modifier = revoked_title
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
add_opinion = {
|
||||
target = scope:actor
|
||||
modifier = revoked_title
|
||||
else = {
|
||||
war_for_revoke_effect = {
|
||||
LIEGE = scope:actor
|
||||
REBEL = scope:recipient
|
||||
}
|
||||
scope:recipient = {
|
||||
add_opinion = {
|
||||
target = scope:actor
|
||||
modifier = revoked_title
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:actor = { has_realm_law_flag = vassal_refusal_is_treason }
|
||||
NOT = {
|
||||
scope:recipient = { government_has_flag = government_is_herder }
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
add_opinion = {
|
||||
|
|
@ -708,9 +732,9 @@
|
|||
}
|
||||
custom_tooltip = {
|
||||
text = "has_admin_gov"
|
||||
scope:actor = { has_government = administrative_government }
|
||||
scope:actor = { government_has_flag = government_is_administrative }
|
||||
scope:recipient = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
highest_held_title_tier = tier_county
|
||||
is_ai = yes
|
||||
}
|
||||
|
|
@ -721,11 +745,45 @@
|
|||
ai_accept = {
|
||||
base = 0 # Try to make it 0 for most interactions
|
||||
|
||||
modifier = {
|
||||
has_game_rule = hard_difficulty
|
||||
scope:actor = { is_ai = no }
|
||||
add = -50
|
||||
desc = game_rule_base_value
|
||||
}
|
||||
|
||||
modifier = {
|
||||
has_game_rule = very_hard_difficulty
|
||||
scope:actor = { is_ai = no }
|
||||
add = -100
|
||||
desc = game_rule_base_value
|
||||
}
|
||||
|
||||
modifier = {
|
||||
has_game_rule = hard_difficulty
|
||||
scope:actor = { is_ai = yes }
|
||||
add = 50
|
||||
}
|
||||
|
||||
modifier = {
|
||||
has_game_rule = very_hard_difficulty
|
||||
scope:actor = { is_ai = yes }
|
||||
add = 100
|
||||
}
|
||||
|
||||
modifier = {
|
||||
scope:hook = yes
|
||||
add = 40
|
||||
desc = SCHEME_WEAK_HOOK_USED
|
||||
}
|
||||
|
||||
modifier = {
|
||||
scope:recipient = {
|
||||
government_has_flag = government_is_herder
|
||||
}
|
||||
add = 40
|
||||
desc = MIGRATION_INTERACTION_HERDER
|
||||
}
|
||||
|
||||
opinion_modifier = { # Opinion Factor
|
||||
who = scope:recipient
|
||||
|
|
@ -829,7 +887,7 @@
|
|||
}
|
||||
modifier = { #Title is part of vassal's primary title de-jure. Not relevant for Admin.
|
||||
add = -25
|
||||
NOT = { scope:recipient = { has_government = administrative_government } }
|
||||
NOT = { scope:recipient = { government_has_flag = government_is_administrative } }
|
||||
scope:recipient.primary_title.tier > tier_county
|
||||
OR = {
|
||||
scope:recipient.primary_title = {
|
||||
|
|
@ -1090,7 +1148,7 @@
|
|||
}
|
||||
AND = {
|
||||
scope:actor = {
|
||||
government_has_flag = government_is_republic
|
||||
government_has_flag = government_is_special_republic
|
||||
}
|
||||
scope:landed_title.title_province = { has_holding_type = city_holding }
|
||||
}
|
||||
|
|
@ -1204,7 +1262,7 @@
|
|||
scope:landed_title.title_province = { has_holding_type = church_holding }
|
||||
}
|
||||
AND = {
|
||||
scope:actor = { government_has_flag = government_is_republic }
|
||||
scope:actor = { government_has_flag = government_is_special_republic }
|
||||
scope:landed_title.title_province = { has_holding_type = city_holding }
|
||||
}
|
||||
}
|
||||
|
|
@ -1248,7 +1306,7 @@
|
|||
# Slight preference for higher-tier titles
|
||||
modifier = {
|
||||
NOT = {
|
||||
scope:actor = { has_government = administrative_government }
|
||||
scope:actor = { government_has_flag = government_is_administrative }
|
||||
}
|
||||
add = scope:landed_title.tier
|
||||
}
|
||||
|
|
@ -1346,18 +1404,18 @@
|
|||
|
||||
# Admin Government: Do not revoke titles from your house unless it's really needed
|
||||
modifier = {
|
||||
scope:actor = { has_government = administrative_government }
|
||||
scope:actor = { government_has_flag = government_is_administrative }
|
||||
scope:actor.house = scope:recipient.house
|
||||
add = -500
|
||||
}
|
||||
# Admin rulers should be less likely to revoke titles without a revocation reason, as they should prefer to depose governors
|
||||
modifier = {
|
||||
scope:actor = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
NOT = { has_revoke_title_reason = scope:recipient }
|
||||
}
|
||||
scope:recipient = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
highest_held_title_tier >= tier_duchy
|
||||
}
|
||||
factor = { # Honorable AI's will never revoke titles without a reason
|
||||
|
|
@ -1381,4 +1439,4 @@
|
|||
factor = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -566,6 +566,56 @@ befriend_interaction = {
|
|||
}
|
||||
}
|
||||
|
||||
cost = {
|
||||
prestige = {
|
||||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
scope:actor = {
|
||||
government_has_flag = government_is_nomadic
|
||||
NOR = {
|
||||
has_perk = befriend_perk
|
||||
AND = {
|
||||
exists = dynasty
|
||||
dynasty = {
|
||||
has_dynasty_perk = fp1_adventure_legacy_5
|
||||
}
|
||||
target_is_vassal_or_below = scope:recipient
|
||||
}
|
||||
culture = { has_cultural_parameter = automatic_befriend_access }
|
||||
any_character_struggle = {
|
||||
involvement = involved
|
||||
has_struggle_phase_parameter = struggle_unlocks_befriend_schemes_for_everyone
|
||||
}
|
||||
AND = {
|
||||
government_has_flag = government_is_clan
|
||||
is_in_same_clan_as_trigger = { CHARACTER = scope:recipient }
|
||||
house = { has_house_unity_stage = harmonious }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
add = scope:actor.minor_prestige_value
|
||||
if = {
|
||||
limit = {
|
||||
scope:recipient = {
|
||||
is_vassal_of = scope:actor
|
||||
}
|
||||
}
|
||||
add = scope:actor.miniscule_prestige_value
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:actor = {
|
||||
is_vassal_of = scope:recipient
|
||||
}
|
||||
}
|
||||
add = scope:actor.minor_prestige_value
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
desc = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
|
|
@ -2301,6 +2351,13 @@ sway_interaction = {
|
|||
primary_title.tier >= tier_kingdom
|
||||
}
|
||||
}
|
||||
|
||||
modifier = { # Ignore neighboring Herders
|
||||
factor = 0
|
||||
scope:recipient = {
|
||||
government_has_flag = government_is_herder
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1066,7 +1066,7 @@ start_diarchy_interaction = {
|
|||
}
|
||||
}
|
||||
on_accept = {
|
||||
scope:recipient = { start_diarchy = regency }
|
||||
scope:recipient = { try_start_diarchy = regency }
|
||||
}
|
||||
|
||||
auto_accept = yes
|
||||
|
|
|
|||
|
|
@ -220,7 +220,7 @@ appoint_podesta_interaction = {
|
|||
is_ai = yes
|
||||
is_landed = yes
|
||||
target_is_liege_or_above = scope:actor
|
||||
NOT = { government_has_flag = government_is_republic }
|
||||
NOT = { government_has_flag = government_is_special_republic }
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -235,7 +235,7 @@ appoint_podesta_interaction = {
|
|||
any_vassal = {
|
||||
count < 4 #Use Script Value
|
||||
highest_held_title_tier >= tier_county
|
||||
government_has_flag = government_is_republic
|
||||
government_has_flag = government_is_special_republic
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -243,7 +243,7 @@ appoint_podesta_interaction = {
|
|||
|
||||
scope:recipient = {
|
||||
target_is_liege_or_above = scope:actor
|
||||
NOT = { government_has_flag = government_is_republic }
|
||||
NOT = { government_has_flag = government_is_special_republic }
|
||||
is_claimant = no
|
||||
|
||||
custom_description = {
|
||||
|
|
@ -337,7 +337,7 @@ appoint_podesta_interaction = {
|
|||
}
|
||||
every_vassal = {
|
||||
limit = {
|
||||
government_has_flag = government_is_republic
|
||||
government_has_flag = government_is_special_republic
|
||||
}
|
||||
every_held_title = {
|
||||
change_title_holder = {
|
||||
|
|
@ -362,7 +362,7 @@ appoint_podesta_interaction = {
|
|||
}
|
||||
every_vassal = {
|
||||
limit = {
|
||||
government_has_flag = government_is_republic
|
||||
government_has_flag = government_is_special_republic
|
||||
}
|
||||
every_held_title = {
|
||||
change_title_holder = {
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
feudalize_tribal_holding_interaction = {
|
||||
feudalize_holding_interaction = {
|
||||
category = interaction_category_uncategorized
|
||||
hidden = yes
|
||||
special_interaction = feudalize_tribal_holding
|
||||
special_interaction = feudalize_holding
|
||||
|
||||
desc = feudalize_tribal_holding_interaction_desc
|
||||
desc = feudalize_holding_interaction_desc
|
||||
|
||||
target_type = title
|
||||
target_filter = actor_domain_titles
|
||||
|
|
@ -13,7 +13,11 @@
|
|||
is_shown = {
|
||||
scope:actor = {
|
||||
this = scope:recipient
|
||||
NOT = { government_has_flag = government_is_tribal }
|
||||
NOR = {
|
||||
government_has_flag = government_is_tribal
|
||||
government_has_flag = government_is_nomadic
|
||||
government_has_flag = government_is_herder
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -24,12 +28,16 @@
|
|||
trigger_if = {
|
||||
limit = { tier <= tier_county }
|
||||
title_province = {
|
||||
has_holding_type = tribal_holding
|
||||
OR = {
|
||||
has_holding_type = tribal_holding
|
||||
has_holding_type = nomad_holding
|
||||
has_holding_type = herder_holding
|
||||
}
|
||||
}
|
||||
}
|
||||
trigger_else = {
|
||||
custom_description = {
|
||||
text = "feudalize_tribal_holding_interaction_title_not_county_or_below"
|
||||
text = "feudalize_holding_interaction_title_not_county_or_below"
|
||||
always = no
|
||||
}
|
||||
}
|
||||
|
|
@ -51,16 +59,40 @@
|
|||
cost = {
|
||||
gold = {
|
||||
scope:actor = {
|
||||
add = {
|
||||
value = feudalize_tribal_holding_interaction_cost
|
||||
desc = BASE
|
||||
if = {
|
||||
limit = {
|
||||
scope:target.county = {
|
||||
has_variable = was_razed
|
||||
}
|
||||
}
|
||||
add = {
|
||||
value = 50
|
||||
desc = BASE
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:target.county = {
|
||||
culture = scope:actor.culture
|
||||
}
|
||||
}
|
||||
add = {
|
||||
value = 200
|
||||
desc = BASE
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add = {
|
||||
value = feudalize_holding_interaction_cost
|
||||
desc = BASE
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { # More expensive for admin to make barbarians civilized...
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
add = {
|
||||
value = feudalize_tribal_holding_interaction_cost
|
||||
value = feudalize_holding_interaction_cost
|
||||
multiply = 0.25
|
||||
desc = has_admin_government
|
||||
}
|
||||
|
|
@ -72,7 +104,7 @@
|
|||
}
|
||||
}
|
||||
subtract = {
|
||||
value = feudalize_tribal_holding_interaction_cost
|
||||
value = feudalize_holding_interaction_cost
|
||||
multiply = {
|
||||
value = 0.1
|
||||
if = {
|
||||
|
|
@ -94,20 +126,273 @@
|
|||
scope:actor = {
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = feudalize_tribal_holding_interaction_notification
|
||||
title = feudalize_holding_interaction_notification
|
||||
|
||||
right_icon = scope:actor
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
scope:target.title_province = {
|
||||
OR = {
|
||||
has_holding_type = nomad_holding
|
||||
has_holding_type = herder_holding
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
scope:target.county.culture = scope:actor.culture
|
||||
scope:target.county = {
|
||||
has_variable = was_razed
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
OR = {
|
||||
government_has_flag = government_is_tribal
|
||||
scope:target.county.culture = { has_same_culture_heritage = scope:actor.culture }
|
||||
}
|
||||
}
|
||||
scope:target.county = {
|
||||
add_county_modifier = {
|
||||
modifier = mpo_feudalize_nomadic_land_modifier
|
||||
years = 5
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
scope:target.county = {
|
||||
add_county_modifier = {
|
||||
modifier = mpo_feudalize_nomadic_land_modifier
|
||||
years = 30
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = { exists = scope:target.title_province }
|
||||
scope:target.title_province = {
|
||||
set_holding_type = castle_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 }
|
||||
}
|
||||
remove_county_modifier = mpo_siberian_permafrost_modifier
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:target = { has_county_modifier = mpo_siberian_permafrost_modifier_bad }
|
||||
}
|
||||
remove_county_modifier = mpo_siberian_permafrost_modifier_bad
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Interaction frequency determined by code, do not change
|
||||
ai_frequency = 0
|
||||
|
||||
# Used to determine which holding should be feudalized over another AND how important this AI goal is compared to others, like creating titles and constructing new holdings
|
||||
ai_will_do = {
|
||||
base = 1500
|
||||
}
|
||||
}
|
||||
|
||||
tribalize_holding_interaction = {
|
||||
category = interaction_category_uncategorized
|
||||
hidden = yes
|
||||
special_interaction = tribalize_holding
|
||||
|
||||
desc = tribalize_holding_interaction_desc
|
||||
|
||||
target_type = title
|
||||
target_filter = actor_domain_titles
|
||||
|
||||
auto_accept = yes
|
||||
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
this = scope:recipient
|
||||
government_has_flag = government_is_tribal
|
||||
}
|
||||
}
|
||||
|
||||
can_be_picked_title = {
|
||||
scope:target = {
|
||||
holder = scope:actor
|
||||
is_capital_barony = no # we'll use the county in that case
|
||||
trigger_if = {
|
||||
limit = { tier <= tier_county }
|
||||
title_province = {
|
||||
OR = {
|
||||
has_holding_type = nomad_holding
|
||||
has_holding_type = herder_holding
|
||||
}
|
||||
}
|
||||
}
|
||||
trigger_else = {
|
||||
custom_description = {
|
||||
text = "feudalize_holding_interaction_title_not_county_or_below"
|
||||
always = no
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
has_valid_target_showing_failures_only = {
|
||||
scope:target = {
|
||||
trigger_if = {
|
||||
limit = { tier <= tier_county }
|
||||
title_province = {
|
||||
barony_controller = scope:actor
|
||||
has_ongoing_construction = no
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cost = {
|
||||
gold = {
|
||||
scope:actor = {
|
||||
if = {
|
||||
limit = {
|
||||
scope:target.county = {
|
||||
has_variable = was_razed
|
||||
}
|
||||
}
|
||||
add = {
|
||||
value = 15
|
||||
desc = BASE
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add = {
|
||||
value = 50
|
||||
desc = BASE
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
prestige = {
|
||||
scope:actor = {
|
||||
if = {
|
||||
limit = {
|
||||
scope:target.county = {
|
||||
has_variable = was_razed
|
||||
}
|
||||
}
|
||||
add = {
|
||||
value = 25
|
||||
desc = BASE
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:target.county.culture = scope:actor.culture
|
||||
}
|
||||
add = {
|
||||
value = 50
|
||||
desc = BASE
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:target.county.culture = { has_same_culture_heritage = scope:actor.culture }
|
||||
}
|
||||
add = {
|
||||
value = 100
|
||||
desc = BASE
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add = {
|
||||
value = 300
|
||||
desc = BASE
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
on_accept = {
|
||||
scope:actor = {
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = feudalize_holding_interaction_notification
|
||||
|
||||
right_icon = scope:actor
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
scope:target.county.culture = scope:actor.culture
|
||||
scope:target.county = {
|
||||
has_variable = was_razed
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
scope:target.county = {
|
||||
add_county_modifier = {
|
||||
modifier = mpo_feudalize_nomadic_land_modifier
|
||||
years = 5
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = { exists = scope:target.title_province }
|
||||
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 }
|
||||
}
|
||||
remove_county_modifier = mpo_siberian_permafrost_modifier
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:target = { has_county_modifier = mpo_siberian_permafrost_modifier_bad }
|
||||
}
|
||||
remove_county_modifier = mpo_siberian_permafrost_modifier_bad
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Interaction frequency determined by code, do not change
|
||||
ai_frequency = 0
|
||||
|
||||
# Used to determine which holding should be feudalized over another AND how important this AI goal is compared to others, like creating titles and constructing new holdings
|
||||
ai_will_do = {
|
||||
base = 1500
|
||||
}
|
||||
|
|
@ -176,7 +461,7 @@ support_feudalize_tribal_holding_interaction = {
|
|||
gold = {
|
||||
scope:actor = {
|
||||
add = {
|
||||
value = feudalize_tribal_holding_interaction_cost
|
||||
value = feudalize_holding_interaction_cost
|
||||
desc = BASE
|
||||
}
|
||||
if = {
|
||||
|
|
@ -184,7 +469,7 @@ support_feudalize_tribal_holding_interaction = {
|
|||
government_has_flag = government_is_administrative
|
||||
}
|
||||
add = {
|
||||
value = feudalize_tribal_holding_interaction_cost
|
||||
value = feudalize_holding_interaction_cost
|
||||
multiply = 0.25
|
||||
desc = has_admin_government
|
||||
}
|
||||
|
|
@ -196,7 +481,7 @@ support_feudalize_tribal_holding_interaction = {
|
|||
}
|
||||
}
|
||||
subtract = {
|
||||
value = feudalize_tribal_holding_interaction_cost
|
||||
value = feudalize_holding_interaction_cost
|
||||
multiply = {
|
||||
value = 0.1
|
||||
if = {
|
||||
|
|
@ -218,7 +503,7 @@ support_feudalize_tribal_holding_interaction = {
|
|||
# Highlight the interaction if we have the gold to spare
|
||||
scope:actor = {
|
||||
gold >= {
|
||||
value = feudalize_tribal_holding_interaction_cost
|
||||
value = feudalize_holding_interaction_cost
|
||||
if = {
|
||||
limit = { # More expensive for admin to convert these... Barbarians...
|
||||
government_has_flag = government_is_administrative
|
||||
|
|
@ -245,7 +530,7 @@ support_feudalize_tribal_holding_interaction = {
|
|||
scope:actor = {
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = feudalize_tribal_holding_interaction_notification
|
||||
title = feudalize_holding_interaction_notification
|
||||
|
||||
left_icon = scope:actor
|
||||
right_icon = scope:target
|
||||
|
|
@ -281,7 +566,7 @@ support_feudalize_tribal_holding_interaction = {
|
|||
is_at_war = no
|
||||
is_adult = yes
|
||||
# The AI only does this if they have plenty of gold to spare
|
||||
gold >= { value = feudalize_tribal_holding_interaction_cost multiply = 4 }
|
||||
gold >= { value = feudalize_holding_interaction_cost multiply = 4 }
|
||||
# Warring AI don't do this - They want to spend their gold on war!
|
||||
ai_has_warlike_personality = no
|
||||
ai_has_conqueror_personality = no
|
||||
|
|
|
|||
2320
common/character_interactions/00_tributary_interactions.txt
Normal file
2320
common/character_interactions/00_tributary_interactions.txt
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -145,7 +145,7 @@ grant_vassal_interaction = {
|
|||
subject = root
|
||||
trigger_if = {
|
||||
limit = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
any_held_title = {
|
||||
is_noble_family_title = no
|
||||
|
|
@ -250,6 +250,30 @@ grant_vassal_interaction = {
|
|||
log_debug_variable_for_persian_struggle_effect = { VAR = concession_catalyst_grants_vassal_to_de_jure_liege_supporter_detractor }
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:recipient = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
}
|
||||
while = {
|
||||
limit = {
|
||||
scope:secondary_actor ?= {
|
||||
any_held_title = {
|
||||
vassal_grant_de_jure_shift_trigger = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:secondary_actor ?= {
|
||||
random_held_title = {
|
||||
limit = {
|
||||
vassal_grant_de_jure_shift_trigger = yes
|
||||
}
|
||||
set_de_jure_liege_title = scope:recipient.primary_title
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -477,6 +501,32 @@ retract_vassal_interaction = {
|
|||
ai_accept = {
|
||||
base = 0 # Try to make it 0 for most interactions
|
||||
|
||||
modifier = {
|
||||
has_game_rule = hard_difficulty
|
||||
scope:actor = { is_ai = no }
|
||||
add = -50
|
||||
desc = FACTION_REASON_DIFFICULTY_HARD
|
||||
}
|
||||
|
||||
modifier = {
|
||||
has_game_rule = very_hard_difficulty
|
||||
scope:actor = { is_ai = no }
|
||||
add = -100
|
||||
desc = FACTION_REASON_DIFFICULTY_VERY_HARD
|
||||
}
|
||||
|
||||
modifier = {
|
||||
has_game_rule = hard_difficulty
|
||||
scope:actor = { is_ai = yes }
|
||||
add = 50
|
||||
}
|
||||
|
||||
modifier = {
|
||||
has_game_rule = very_hard_difficulty
|
||||
scope:actor = { is_ai = yes }
|
||||
add = 100
|
||||
}
|
||||
|
||||
modifier = {
|
||||
scope:hook = yes
|
||||
add = 40
|
||||
|
|
@ -1232,7 +1282,7 @@ create_claimant_faction_against_interaction = {
|
|||
# Admin vassals can only start and join a claimant faction if the target is independent
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:actor = { has_government = administrative_government }
|
||||
scope:actor = { government_has_flag = government_is_administrative }
|
||||
}
|
||||
scope:secondary_actor = { is_independent_ruler = yes }
|
||||
}
|
||||
|
|
@ -1501,6 +1551,7 @@ force_onto_council = {
|
|||
OR = {
|
||||
has_usable_hook = scope:recipient
|
||||
vassal_contract_has_flag = can_demand_council_seat
|
||||
vassal_contract_has_flag = can_demand_kurultai_seat
|
||||
}
|
||||
}
|
||||
is_adult = yes
|
||||
|
|
@ -1541,7 +1592,10 @@ force_onto_council = {
|
|||
scope:actor = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { vassal_contract_has_flag = can_demand_council_seat }
|
||||
NOR = {
|
||||
vassal_contract_has_flag = can_demand_council_seat
|
||||
vassal_contract_has_flag = can_demand_kurultai_seat
|
||||
}
|
||||
}
|
||||
save_scope_value_as = {
|
||||
name = used_hook
|
||||
|
|
@ -1607,6 +1661,9 @@ force_onto_council = {
|
|||
trigger = {
|
||||
exists = scope:recipient.council_task:councillor_chancellor
|
||||
can_be_chancellor_trigger = { COURT_OWNER = scope:recipient }
|
||||
scope:recipient = {
|
||||
NOT = { vassal_contract_has_flag = can_demand_kurultai_seat }
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = diplomacy
|
||||
|
|
@ -1623,6 +1680,9 @@ force_onto_council = {
|
|||
trigger = {
|
||||
exists = scope:recipient.council_task:councillor_steward
|
||||
can_be_steward_trigger = { COURT_OWNER = scope:recipient }
|
||||
scope:recipient = {
|
||||
NOT = { vassal_contract_has_flag = can_demand_kurultai_seat }
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = stewardship
|
||||
|
|
@ -1639,6 +1699,9 @@ force_onto_council = {
|
|||
trigger = {
|
||||
exists = scope:recipient.council_task:councillor_marshal
|
||||
can_be_marshal_trigger = { COURT_OWNER = scope:recipient }
|
||||
scope:recipient = {
|
||||
NOT = { vassal_contract_has_flag = can_demand_kurultai_seat }
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = martial
|
||||
|
|
@ -1655,6 +1718,9 @@ force_onto_council = {
|
|||
trigger = {
|
||||
exists = scope:recipient.council_task:councillor_spymaster
|
||||
can_be_spymaster_trigger = { COURT_OWNER = scope:recipient }
|
||||
scope:recipient = {
|
||||
NOT = { vassal_contract_has_flag = can_demand_kurultai_seat }
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = intrigue
|
||||
|
|
@ -1671,6 +1737,9 @@ force_onto_council = {
|
|||
trigger = {
|
||||
exists = scope:recipient.council_task:councillor_court_chaplain
|
||||
can_be_court_chaplain_trigger = { COURT_OWNER = scope:recipient }
|
||||
scope:recipient = {
|
||||
NOT = { vassal_contract_has_flag = can_demand_kurultai_seat }
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = learning
|
||||
|
|
@ -1683,6 +1752,104 @@ force_onto_council = {
|
|||
save_scope_as = target
|
||||
}
|
||||
}
|
||||
# Kurultai Demanded
|
||||
10 = {
|
||||
trigger = {
|
||||
exists = scope:recipient.council_task:councillor_kurultai_1
|
||||
can_be_kurultai_trigger = {
|
||||
COURT_OWNER = scope:actor.liege_or_court_owner
|
||||
CP1 = councillor_kurultai_2
|
||||
CP2 = councillor_kurultai_3
|
||||
CP3 = councillor_kurultai_4
|
||||
}
|
||||
scope:recipient = {
|
||||
NOT = { vassal_contract_has_flag = can_demand_council_seat }
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = martial
|
||||
}
|
||||
modifier = {
|
||||
trigger = { highest_skill = martial }
|
||||
factor = 10
|
||||
}
|
||||
scope:recipient.council_task:councillor_kurultai_1 = {
|
||||
save_scope_as = target
|
||||
}
|
||||
}
|
||||
# Repeated so they don't always demand the same position
|
||||
10 = {
|
||||
trigger = {
|
||||
exists = scope:recipient.council_task:councillor_kurultai_2
|
||||
can_be_kurultai_trigger = {
|
||||
COURT_OWNER = scope:actor.liege_or_court_owner
|
||||
CP1 = councillor_kurultai_1
|
||||
CP2 = councillor_kurultai_3
|
||||
CP3 = councillor_kurultai_4
|
||||
}
|
||||
scope:recipient = {
|
||||
NOT = { vassal_contract_has_flag = can_demand_council_seat }
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = martial
|
||||
}
|
||||
modifier = {
|
||||
trigger = { highest_skill = martial }
|
||||
factor = 10
|
||||
}
|
||||
scope:recipient.council_task:councillor_kurultai_2 = {
|
||||
save_scope_as = target
|
||||
}
|
||||
}
|
||||
10 = {
|
||||
trigger = {
|
||||
exists = scope:recipient.council_task:councillor_kurultai_3
|
||||
can_be_kurultai_trigger = {
|
||||
COURT_OWNER = scope:actor.liege_or_court_owner
|
||||
CP1 = councillor_kurultai_1
|
||||
CP2 = councillor_kurultai_2
|
||||
CP3 = councillor_kurultai_4
|
||||
}
|
||||
scope:recipient = {
|
||||
NOT = { vassal_contract_has_flag = can_demand_council_seat }
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = martial
|
||||
}
|
||||
modifier = {
|
||||
trigger = { highest_skill = martial }
|
||||
factor = 10
|
||||
}
|
||||
scope:recipient.council_task:councillor_kurultai_3 = {
|
||||
save_scope_as = target
|
||||
}
|
||||
}
|
||||
10 = {
|
||||
trigger = {
|
||||
exists = scope:recipient.council_task:councillor_kurultai_4
|
||||
can_be_kurultai_trigger = {
|
||||
COURT_OWNER = scope:actor.liege_or_court_owner
|
||||
CP1 = councillor_kurultai_1
|
||||
CP2 = councillor_kurultai_2
|
||||
CP3 = councillor_kurultai_3
|
||||
}
|
||||
scope:recipient = {
|
||||
NOT = { vassal_contract_has_flag = can_demand_council_seat }
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = martial
|
||||
}
|
||||
modifier = {
|
||||
trigger = { highest_skill = martial }
|
||||
factor = 10
|
||||
}
|
||||
scope:recipient.council_task:councillor_kurultai_4 = {
|
||||
save_scope_as = target
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2316,8 +2483,9 @@ pardon_interaction = {
|
|||
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_neutral
|
||||
title = pardon_interaction_toast
|
||||
left_icon = scope:actor
|
||||
title = pardon_interaction_toast_title
|
||||
desc = pardon_interaction_toast
|
||||
right_icon = scope:actor
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2905,7 +3073,7 @@ give_vassal_directive_interaction = {
|
|||
scope:recipient = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:actor = { has_government = administrative_government }
|
||||
scope:actor = { government_has_flag = government_is_administrative }
|
||||
}
|
||||
is_vassal_or_below_of = scope:actor
|
||||
}
|
||||
|
|
@ -2913,6 +3081,7 @@ give_vassal_directive_interaction = {
|
|||
is_vassal_of = scope:actor
|
||||
}
|
||||
is_landed = yes
|
||||
NOT = { government_has_flag = government_is_herder }
|
||||
highest_held_title_tier >= tier_county
|
||||
is_ai = yes
|
||||
}
|
||||
|
|
@ -2931,7 +3100,7 @@ give_vassal_directive_interaction = {
|
|||
flag = improve_development
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
|
|
@ -2945,7 +3114,7 @@ give_vassal_directive_interaction = {
|
|||
flag = train_commanders
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
|
|
@ -2956,7 +3125,7 @@ give_vassal_directive_interaction = {
|
|||
flag = build_maa
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
|
|
@ -2966,6 +3135,9 @@ give_vassal_directive_interaction = {
|
|||
send_option = {
|
||||
flag = convert_faith
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
scope:recipient = {
|
||||
|
|
@ -2982,6 +3154,9 @@ give_vassal_directive_interaction = {
|
|||
send_option = {
|
||||
flag = convert_culture
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
scope:recipient = {
|
||||
|
|
@ -2998,6 +3173,9 @@ give_vassal_directive_interaction = {
|
|||
send_option = {
|
||||
flag = improve_cultural_acceptance
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
scope:recipient = {
|
||||
|
|
@ -3015,6 +3193,9 @@ give_vassal_directive_interaction = {
|
|||
send_option = {
|
||||
flag = building_focus_fortification
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
}
|
||||
|
|
@ -3023,6 +3204,9 @@ give_vassal_directive_interaction = {
|
|||
send_option = {
|
||||
flag = building_focus_military
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
}
|
||||
|
|
@ -3031,11 +3215,71 @@ give_vassal_directive_interaction = {
|
|||
send_option = {
|
||||
flag = building_focus_economy
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
send_option = {
|
||||
flag = manage_fertility
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
}
|
||||
}
|
||||
send_option = {
|
||||
flag = explore_cultures
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
scope:recipient = {
|
||||
custom_tooltip = {
|
||||
text = subrealm_has_county_of_other_culture
|
||||
any_sub_realm_county = {
|
||||
NOT = { culture = scope:recipient.culture }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
send_option = {
|
||||
flag = raid_innovation_intent
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
custom_tooltip = {
|
||||
text = has_any_directive
|
||||
scope:recipient = {
|
||||
NOT = {
|
||||
has_character_flag = vassal_directive_raid_innovation_intent
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
send_option = {
|
||||
flag = raid_herd_intent
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
}
|
||||
}
|
||||
|
||||
send_option = {
|
||||
flag = remove_directive
|
||||
is_shown = {
|
||||
|
|
@ -3054,6 +3298,10 @@ give_vassal_directive_interaction = {
|
|||
has_character_flag = vassal_directive_building_focus_fortification
|
||||
has_character_flag = vassal_directive_building_focus_military
|
||||
has_character_flag = vassal_directive_building_focus_economy
|
||||
has_character_flag = vassal_directive_manage_fertility
|
||||
has_character_flag = vassal_directive_explore_cultures
|
||||
has_character_flag = vassal_directive_raid_innovation_intent
|
||||
has_character_flag = vassal_directive_raid_herd_intent
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3062,6 +3310,29 @@ give_vassal_directive_interaction = {
|
|||
|
||||
on_accept = {
|
||||
scope:recipient = {
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_character_flag = vassal_directive_improve_development
|
||||
has_character_flag = vassal_directive_train_commanders
|
||||
has_character_flag = vassal_directive_build_maa
|
||||
has_character_flag = vassal_directive_convert_faith
|
||||
has_character_flag = vassal_directive_convert_culture
|
||||
has_character_flag = vassal_directive_improve_cultural_acceptance
|
||||
has_character_flag = vassal_directive_building_focus_fortification
|
||||
has_character_flag = vassal_directive_building_focus_military
|
||||
has_character_flag = vassal_directive_building_focus_economy
|
||||
has_character_flag = vassal_directive_manage_fertility
|
||||
has_character_flag = vassal_directive_explore_cultures
|
||||
has_character_flag = vassal_directive_raid_innovation_intent
|
||||
has_character_flag = vassal_directive_raid_herd_intent
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = vassal_directive_remove_directive
|
||||
remove_vassal_directives = yes
|
||||
}
|
||||
}
|
||||
switch = {
|
||||
trigger = yes
|
||||
|
||||
|
|
@ -3136,6 +3407,35 @@ give_vassal_directive_interaction = {
|
|||
add_character_flag = vassal_directive_building_focus_economy
|
||||
}
|
||||
}
|
||||
|
||||
scope:manage_fertility ?= {
|
||||
custom_tooltip = {
|
||||
text = vassal_directive_manage_fertility
|
||||
remove_vassal_directives = yes
|
||||
add_character_flag = vassal_directive_manage_fertility
|
||||
}
|
||||
}
|
||||
scope:explore_cultures ?= {
|
||||
custom_tooltip = {
|
||||
text = vassal_directive_explore_cultures
|
||||
remove_vassal_directives = yes
|
||||
add_character_flag = vassal_directive_explore_cultures
|
||||
}
|
||||
}
|
||||
scope:raid_innovation_intent ?= {
|
||||
custom_tooltip = {
|
||||
text = vassal_directive_raid_innovation_intent
|
||||
remove_vassal_directives = yes
|
||||
add_character_flag = vassal_directive_raid_innovation_intent
|
||||
}
|
||||
}
|
||||
scope:raid_herd_intent ?= {
|
||||
custom_tooltip = {
|
||||
text = vassal_directive_raid_herd_intent
|
||||
remove_vassal_directives = yes
|
||||
add_character_flag = vassal_directive_raid_herd_intent
|
||||
}
|
||||
}
|
||||
|
||||
scope:remove_directive ?= {
|
||||
custom_tooltip = {
|
||||
|
|
@ -3148,7 +3448,7 @@ give_vassal_directive_interaction = {
|
|||
}
|
||||
|
||||
ai_potential = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
highest_held_title_tier >= tier_kingdom
|
||||
}
|
||||
ai_targets = {
|
||||
|
|
@ -3332,6 +3632,12 @@ grant_court_position = {
|
|||
scope:recipient.liege ?= scope:actor
|
||||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
scope:recipient = {
|
||||
NOT = { is_imprisoned_by = scope:actor }
|
||||
}
|
||||
}
|
||||
|
||||
on_accept = {
|
||||
scope:actor = {
|
||||
appoint_court_position = {
|
||||
|
|
|
|||
|
|
@ -27,8 +27,25 @@
|
|||
scope:actor = {
|
||||
NOT = { has_trait = incapable }
|
||||
can_attack_in_hierarchy = scope:recipient
|
||||
NOT = {
|
||||
has_raised_armies = yes
|
||||
trigger_if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
government_has_flag = can_start_war_with_raised_troops
|
||||
}
|
||||
}
|
||||
NOT = {
|
||||
has_raised_armies = yes
|
||||
}
|
||||
}
|
||||
trigger_else = {
|
||||
custom_description = {
|
||||
text = army_blocks_defender_army
|
||||
NOT = {
|
||||
any_army = {
|
||||
location.county.holder ?= scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
has_any_display_cb_on = scope:recipient
|
||||
NOT = {
|
||||
|
|
@ -76,8 +93,13 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
scope:recipient = { NOT = { has_strong_hook = scope:actor } }
|
||||
scope:recipient = {
|
||||
custom_tooltip = {
|
||||
text = is_a_herder_recipient_tt
|
||||
NOT = { government_has_flag = government_is_herder } # herders can't fight
|
||||
}
|
||||
NOT = { is_tributary_of_suzerain_or_above = scope:actor } # can't fight your tributaries or your tributaries' tributaries
|
||||
NOT = { has_strong_hook = scope:actor }
|
||||
trigger_if = {
|
||||
limit = { is_imprisoned = yes }
|
||||
NOT = {
|
||||
|
|
@ -88,7 +110,7 @@
|
|||
scope:actor = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
NOT = { has_government = administrative_government }
|
||||
NOT = { government_has_flag = government_is_administrative }
|
||||
liege ?= {
|
||||
has_realm_law_flag = vassal_all_wars_banned_permanent
|
||||
NOT = { this = scope:actor }
|
||||
|
|
@ -101,9 +123,9 @@
|
|||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
top_liege = scope:recipient.top_liege
|
||||
scope:recipient = { has_government = administrative_government }
|
||||
scope:recipient = { government_has_flag = government_is_administrative }
|
||||
NOT = { top_liege = scope:recipient }
|
||||
}
|
||||
custom_tooltip = {
|
||||
|
|
@ -113,7 +135,7 @@
|
|||
}
|
||||
trigger_if = { # Admin - Laws only allow frontier and naval themes to declare war
|
||||
limit = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
is_independent_ruler = no
|
||||
top_liege = {
|
||||
this != scope:recipient.top_liege
|
||||
|
|
@ -130,7 +152,7 @@
|
|||
}
|
||||
trigger_if = { # Admin - Laws only allow frontier and naval themes to declare war IF they have permission
|
||||
limit = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
OR = {
|
||||
vassal_contract_has_flag = admin_theme_frontier
|
||||
vassal_contract_has_flag = admin_theme_naval
|
||||
|
|
@ -148,7 +170,7 @@
|
|||
}
|
||||
trigger_if = { # Admin - Laws prevent all vassals from declaring war
|
||||
limit = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
OR = {
|
||||
vassal_contract_has_flag = admin_theme_frontier
|
||||
vassal_contract_has_flag = admin_theme_naval
|
||||
|
|
@ -178,6 +200,18 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:actor = {
|
||||
is_confederation_member = yes
|
||||
}
|
||||
}
|
||||
NOT = {
|
||||
scope:recipient = {
|
||||
is_member_of_confederation = scope:actor.confederation
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
has_valid_target_showing_failures_only = {
|
||||
|
|
@ -580,7 +614,15 @@ end_war_attacker_victory_interaction = {
|
|||
OR = {
|
||||
attacker_war_score >= 100
|
||||
AND = {
|
||||
attacker_war_score >= 90
|
||||
OR = {
|
||||
attacker_war_score >= 90
|
||||
AND = {
|
||||
attacker_war_score >= 80
|
||||
root = {
|
||||
dynasty ?= { has_dynasty_perk = mpo_nomad_legacy_3 }
|
||||
}
|
||||
}
|
||||
}
|
||||
root = {
|
||||
has_perk = peacemaker_perk
|
||||
}
|
||||
|
|
@ -588,6 +630,37 @@ end_war_attacker_victory_interaction = {
|
|||
is_ai = yes
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
OR = {
|
||||
attacker_war_score >= 90
|
||||
AND = {
|
||||
attacker_war_score >= 80
|
||||
root = {
|
||||
has_perk = peacemaker_perk
|
||||
}
|
||||
}
|
||||
}
|
||||
root = {
|
||||
dynasty ?= { has_dynasty_perk = mpo_nomad_legacy_3 }
|
||||
}
|
||||
primary_defender = {
|
||||
is_ai = yes
|
||||
}
|
||||
}
|
||||
#SENT A SCARY SEVERED HEAD AAAAHHH
|
||||
AND = {
|
||||
attacker_war_score >= 70
|
||||
primary_defender = {
|
||||
is_ai = yes
|
||||
save_temporary_scope_as = defender
|
||||
}
|
||||
root = {
|
||||
has_variable = peace_acceptance_head_scare
|
||||
var:peace_acceptance_head_scare = {
|
||||
this = scope:defender
|
||||
}
|
||||
}
|
||||
}
|
||||
primary_defender = {
|
||||
is_ai = yes
|
||||
ai_has_conqueror_personality = yes
|
||||
|
|
@ -605,19 +678,59 @@ end_war_attacker_victory_interaction = {
|
|||
OR = {
|
||||
attacker_war_score >= 100
|
||||
AND = {
|
||||
attacker_war_score >= 90
|
||||
scope:actor = {
|
||||
OR = {
|
||||
attacker_war_score >= 90
|
||||
AND = {
|
||||
attacker_war_score >= 80
|
||||
root = {
|
||||
dynasty ?= { has_dynasty_perk = mpo_nomad_legacy_3 }
|
||||
}
|
||||
}
|
||||
}
|
||||
root = {
|
||||
has_perk = peacemaker_perk
|
||||
}
|
||||
primary_defender = {
|
||||
is_ai = yes
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
OR = {
|
||||
attacker_war_score >= 90
|
||||
AND = {
|
||||
attacker_war_score >= 80
|
||||
root = {
|
||||
has_perk = peacemaker_perk
|
||||
}
|
||||
}
|
||||
}
|
||||
root = {
|
||||
dynasty ?= { has_dynasty_perk = mpo_nomad_legacy_3 }
|
||||
}
|
||||
primary_defender = {
|
||||
is_ai = yes
|
||||
}
|
||||
}
|
||||
#SENT A SCARY SEVERED HEAD AAAAHHH
|
||||
AND = {
|
||||
attacker_war_score >= 70
|
||||
primary_defender = {
|
||||
is_ai = yes
|
||||
save_temporary_scope_as = defender
|
||||
}
|
||||
root = {
|
||||
has_variable = peace_acceptance_head_scare
|
||||
var:peace_acceptance_head_scare = {
|
||||
this = scope:defender
|
||||
}
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
NOR = {
|
||||
using_cb = undirected_great_holy_war
|
||||
using_cb = mongol_invasion_war
|
||||
using_cb = mongol_realm_invasion_war
|
||||
using_cb = mpo_gok_onslaught_cb
|
||||
}
|
||||
primary_defender = {
|
||||
is_ai = yes
|
||||
|
|
@ -658,6 +771,36 @@ end_war_attacker_victory_interaction = {
|
|||
|
||||
desc = "PEACEMAKER_PERK_MODIFIER"
|
||||
}
|
||||
modifier = {
|
||||
scope:war.casus_belli = {
|
||||
primary_attacker = {
|
||||
dynasty ?= { has_dynasty_perk = mpo_nomad_legacy_3 }
|
||||
NOT = { this = scope:recipient }
|
||||
}
|
||||
}
|
||||
|
||||
add = 10
|
||||
|
||||
desc = "NOMAD_LEGACY_PERK_MODIFIER"
|
||||
}
|
||||
modifier = {
|
||||
scope:war.casus_belli = {
|
||||
primary_defender = {
|
||||
save_temporary_scope_as = defender
|
||||
}
|
||||
primary_attacker = {
|
||||
has_variable = peace_acceptance_head_scare
|
||||
var:peace_acceptance_head_scare = {
|
||||
this = scope:defender
|
||||
}
|
||||
}
|
||||
primary_defender = {
|
||||
is_ai = yes
|
||||
}
|
||||
}
|
||||
add = 30
|
||||
desc = "COWED_BY_SEVERED_HEAD_MODIFIER"
|
||||
}
|
||||
|
||||
# Hostages
|
||||
modifier = {
|
||||
|
|
@ -1536,6 +1679,72 @@ end_war_attacker_white_peace_interaction = {
|
|||
|
||||
desc = "PEACEMAKER_PERK_MODIFIER"
|
||||
}
|
||||
modifier = {
|
||||
trigger = {
|
||||
scope:war.casus_belli = {
|
||||
primary_defender = scope:recipient
|
||||
primary_attacker = {
|
||||
dynasty ?= { has_dynasty_perk = mpo_nomad_legacy_3 }
|
||||
}
|
||||
}
|
||||
}
|
||||
add = 10
|
||||
|
||||
desc = "NOMAD_LEGACY_PERK_MODIFIER"
|
||||
}
|
||||
modifier = {
|
||||
trigger = {
|
||||
scope:war.casus_belli = {
|
||||
primary_attacker = scope:recipient
|
||||
primary_defender = {
|
||||
dynasty ?= { has_dynasty_perk = mpo_nomad_legacy_3 }
|
||||
}
|
||||
}
|
||||
}
|
||||
add = 10
|
||||
|
||||
desc = "NOMAD_LEGACY_PERK_MODIFIER"
|
||||
}
|
||||
modifier = {
|
||||
trigger = {
|
||||
scope:war.casus_belli = {
|
||||
primary_attacker = scope:recipient
|
||||
primary_attacker = {
|
||||
is_ai = yes
|
||||
save_temporary_scope_as = attacker
|
||||
}
|
||||
primary_defender = {
|
||||
has_variable = peace_acceptance_head_scare
|
||||
var:peace_acceptance_head_scare = {
|
||||
this = scope:attacker
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
add = 30
|
||||
|
||||
desc = "COWED_BY_SEVERED_HEAD_MODIFIER"
|
||||
}
|
||||
modifier = {
|
||||
trigger = {
|
||||
scope:war.casus_belli = {
|
||||
primary_defender = scope:recipient
|
||||
primary_defender = {
|
||||
is_ai = yes
|
||||
save_temporary_scope_as = defender
|
||||
}
|
||||
primary_attacker = {
|
||||
has_variable = peace_acceptance_head_scare
|
||||
var:peace_acceptance_head_scare = {
|
||||
this = scope:defender
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
add = 30
|
||||
|
||||
desc = "COWED_BY_SEVERED_HEAD_MODIFIER"
|
||||
}
|
||||
|
||||
# Cultural Traditions
|
||||
modifier = {
|
||||
|
|
@ -1809,17 +2018,50 @@ end_war_attacker_defeat_interaction = {
|
|||
OR = {
|
||||
defender_war_score >= 100
|
||||
AND = {
|
||||
defender_war_score >= 90
|
||||
root = {
|
||||
OR = {
|
||||
has_perk = peacemaker_perk
|
||||
culture = {
|
||||
has_cultural_parameter = can_end_defensive_wars_earlier
|
||||
OR = {
|
||||
attacker_war_score >= 90
|
||||
AND = {
|
||||
attacker_war_score >= 80
|
||||
root = {
|
||||
dynasty ?= { has_dynasty_perk = mpo_nomad_legacy_3 }
|
||||
}
|
||||
}
|
||||
}
|
||||
root = {
|
||||
has_perk = peacemaker_perk
|
||||
}
|
||||
primary_defender = {
|
||||
is_ai = yes
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
OR = {
|
||||
attacker_war_score >= 90
|
||||
AND = {
|
||||
attacker_war_score >= 80
|
||||
root = {
|
||||
has_perk = peacemaker_perk
|
||||
}
|
||||
}
|
||||
}
|
||||
root = {
|
||||
dynasty ?= { has_dynasty_perk = mpo_nomad_legacy_3 }
|
||||
}
|
||||
primary_defender = {
|
||||
is_ai = yes
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
defender_war_score >= 70
|
||||
primary_attacker = {
|
||||
is_ai = yes
|
||||
save_temporary_scope_as = attacker
|
||||
}
|
||||
root = {
|
||||
has_variable = peace_acceptance_head_scare
|
||||
var:peace_acceptance_head_scare = {
|
||||
this = scope:attacker
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1848,6 +2090,28 @@ end_war_attacker_defeat_interaction = {
|
|||
is_ai = yes
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
defender_war_score >= 90
|
||||
scope:actor = {
|
||||
dynasty ?= { has_dynasty_perk = mpo_nomad_legacy_3 }
|
||||
}
|
||||
primary_attacker = {
|
||||
is_ai = yes
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
defender_war_score >= 70
|
||||
primary_attacker = {
|
||||
is_ai = yes
|
||||
save_temporary_scope_as = attacker
|
||||
}
|
||||
root = {
|
||||
has_variable = peace_acceptance_head_scare
|
||||
var:peace_acceptance_head_scare = {
|
||||
this = scope:attacker
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
add = 100
|
||||
|
|
@ -1889,6 +2153,35 @@ end_war_attacker_defeat_interaction = {
|
|||
|
||||
desc = "PEACEMAKER_PERK_MODIFIER"
|
||||
}
|
||||
modifier = {
|
||||
scope:war.casus_belli = {
|
||||
primary_defender = {
|
||||
dynasty ?= { has_dynasty_perk = mpo_nomad_legacy_3 }
|
||||
NOT = { this = scope:recipient }
|
||||
}
|
||||
}
|
||||
|
||||
add = 10
|
||||
|
||||
desc = "NOMAD_LEGACY_PERK_MODIFIER"
|
||||
}
|
||||
|
||||
modifier = {
|
||||
scope:war.casus_belli = {
|
||||
primary_attacker = {
|
||||
is_ai = yes
|
||||
save_temporary_scope_as = attacker
|
||||
}
|
||||
primary_defender = {
|
||||
has_variable = peace_acceptance_head_scare
|
||||
var:peace_acceptance_head_scare = {
|
||||
this = scope:attacker
|
||||
}
|
||||
}
|
||||
}
|
||||
add = 30
|
||||
desc = "COWED_BY_SEVERED_HEAD_MODIFIER"
|
||||
}
|
||||
modifier = {
|
||||
scope:war.casus_belli = {
|
||||
primary_defender = {
|
||||
|
|
|
|||
|
|
@ -246,7 +246,10 @@ challenge_to_trial_by_combat_interaction = {
|
|||
50 = {
|
||||
show_chance = no
|
||||
desc = fp1_tbc_winner_recipient
|
||||
fp1_tbc_actor_defeated_effect = { TBC_LOSER = scope:actor }
|
||||
fp1_tbc_actor_defeated_effect = {
|
||||
TBC_LOSER = scope:actor
|
||||
TBC_VICTOR = scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -267,7 +270,10 @@ challenge_to_trial_by_combat_interaction = {
|
|||
50 = {
|
||||
show_chance = no
|
||||
desc = fp1_tbc_winner_recipient
|
||||
fp1_tbc_actor_defeated_effect = { TBC_LOSER = scope:actor }
|
||||
fp1_tbc_actor_defeated_effect = {
|
||||
TBC_LOSER = scope:actor
|
||||
TBC_VICTOR = scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -280,12 +286,18 @@ challenge_to_trial_by_combat_interaction = {
|
|||
50 = {
|
||||
show_chance = no
|
||||
desc = fp1_tbc_winner_actor
|
||||
fp1_tbc_humiliation_effect = { TBC_LOSER = scope:recipient }
|
||||
fp1_tbc_humiliation_effect = {
|
||||
TBC_LOSER = scope:recipient
|
||||
TBC_VICTOR = scope:actor
|
||||
}
|
||||
}
|
||||
50 = {
|
||||
show_chance = no
|
||||
desc = fp1_tbc_winner_recipient
|
||||
fp1_tbc_actor_defeated_effect = { TBC_LOSER = scope:actor }
|
||||
fp1_tbc_actor_defeated_effect = {
|
||||
TBC_LOSER = scope:actor
|
||||
TBC_VICTOR = scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1997,16 +1997,17 @@ purchase_truce_interaction = {
|
|||
|
||||
is_shown = {
|
||||
NOT = { scope:actor = scope:recipient }
|
||||
# Scope:actor needs to either be involved in certain struggle types or else have a specific perk.
|
||||
scope:actor = {
|
||||
is_landless_adventurer = no
|
||||
OR = {
|
||||
any_character_struggle = {
|
||||
involvement = involved
|
||||
has_struggle_phase_parameter = unlocks_truce_purchasing_interaction
|
||||
|
||||
# If scope:recipient is a nomad and the actor is not, this is always available; otherwise,
|
||||
# scope:actor needs to either be involved in certain struggle types or else have a specific perk.
|
||||
OR = {
|
||||
AND = {
|
||||
scope:recipient = { government_has_flag = government_is_nomadic }
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
has_perk = defensive_measures_perk
|
||||
culture = { has_cultural_parameter = unlocks_purchase_truce }
|
||||
fp2_purchase_truce_interaction_soft_requirements_trigger = yes
|
||||
}
|
||||
|
||||
# if you are not independent you should not be able to purchase truce with other fellow vassals only
|
||||
|
|
@ -3139,6 +3140,7 @@ contract_assistance_interaction = {
|
|||
is_shown = {
|
||||
# Actor is Involved in Struggle
|
||||
scope:actor = {
|
||||
NOT = { government_has_flag = government_is_herder }
|
||||
OR = {
|
||||
any_character_struggle = {
|
||||
involvement = involved
|
||||
|
|
@ -3620,6 +3622,7 @@ contract_assistance_interaction = {
|
|||
is_imprisoned = no
|
||||
is_at_war = no
|
||||
ai_boldness >= -25
|
||||
current_military_strength >= 500
|
||||
}
|
||||
ai_target_quick_trigger = { adult = yes }
|
||||
ai_targets = {
|
||||
|
|
|
|||
|
|
@ -37,6 +37,8 @@ offer_hostage_interaction = {
|
|||
is_shown = {
|
||||
# Cannot exchange hostages with self
|
||||
NOT = { scope:recipient = scope:actor }
|
||||
# Cannot exchange hostages with a herder
|
||||
NOT = { scope:recipient = { government_has_flag = government_is_herder } }
|
||||
# Only significant rulers use hostages
|
||||
scope:actor.highest_held_title_tier > tier_barony
|
||||
scope:recipient.highest_held_title_tier > tier_barony
|
||||
|
|
@ -598,6 +600,8 @@ demand_hostage_interaction = {
|
|||
is_shown = {
|
||||
# Cannot exchange hostages with self
|
||||
NOT = { scope:recipient = scope:actor }
|
||||
# Cannot exchange hostages with a herder
|
||||
NOT = { scope:recipient = { government_has_flag = government_is_herder } }
|
||||
# Only significant rulers use hostages
|
||||
scope:actor.highest_held_title_tier > tier_barony
|
||||
OR = {
|
||||
|
|
@ -1279,6 +1283,8 @@ exchange_hostage_interaction = {
|
|||
is_shown = {
|
||||
# Cannot exchange hostages with self
|
||||
NOT = { scope:recipient = scope:actor }
|
||||
# Cannot exchange hostages with a herder
|
||||
NOT = { scope:recipient = { government_has_flag = government_is_herder } }
|
||||
# Only significant rulers use hostages
|
||||
scope:actor.highest_held_title_tier > tier_barony
|
||||
OR = {
|
||||
|
|
@ -2189,6 +2195,14 @@ return_hostage_interaction = {
|
|||
add = 25
|
||||
desc = HOSTAGE_CULTURAL_TRADITION_REASON
|
||||
}
|
||||
#DO NOT SEND BACK FRANKOKRATIA CLAIMANT
|
||||
modifier = {
|
||||
scope:hostage = {
|
||||
has_character_flag = byz_claimant_flag
|
||||
}
|
||||
exists = global_var:byz_claimant_champion
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
|
||||
send_options_exclusive = no
|
||||
|
|
@ -2592,6 +2606,15 @@ recall_hostage_interaction = {
|
|||
}
|
||||
desc = HOSTAGE_HAS_MINE_REASON
|
||||
}
|
||||
#DO NOT SEND BACK FRANKOKRATIA CLAIMANT
|
||||
modifier = {
|
||||
desc = crusading_claim_cb_reason
|
||||
scope:hostage = {
|
||||
has_character_flag = byz_claimant_flag
|
||||
}
|
||||
exists = global_var:byz_claimant_champion
|
||||
add = -5000
|
||||
}
|
||||
}
|
||||
|
||||
auto_accept = {
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ influence_candidacy_interaction = {
|
|||
every_house_member = {
|
||||
limit = {
|
||||
is_independent_ruler = no
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
top_liege = scope:actor.top_liege
|
||||
any_valid_title_to_grant_trigger = {
|
||||
CANDIDATE = this
|
||||
|
|
@ -32,7 +32,7 @@ influence_candidacy_interaction = {
|
|||
every_courtier_or_guest = {
|
||||
limit = {
|
||||
is_independent_ruler = no
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
top_liege = scope:actor.top_liege
|
||||
any_valid_title_to_grant_trigger = {
|
||||
CANDIDATE = this
|
||||
|
|
@ -74,13 +74,13 @@ influence_candidacy_interaction = {
|
|||
is_shown = {
|
||||
scope:actor = {
|
||||
is_ai = no
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { exists = scope:secondary_recipient }
|
||||
scope:secondary_recipient = {
|
||||
is_independent_ruler = no
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
top_liege = scope:actor.top_liege
|
||||
}
|
||||
}
|
||||
|
|
@ -613,19 +613,107 @@ support_candidacy_interaction = {
|
|||
is_shown = {
|
||||
scope:actor = {
|
||||
is_ai = yes
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
scope:secondary_recipient = {
|
||||
is_independent_ruler = no
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
top_liege = scope:actor.top_liege
|
||||
}
|
||||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
any_valid_title_to_grant_trigger = {
|
||||
CANDIDATE = scope:secondary_recipient
|
||||
TOP_LIEGE = scope:recipient
|
||||
scope:secondary_recipient ?= {
|
||||
# This is broken out from any_valid_title_to_grant_trigger because of performance reasons
|
||||
# When realms get really large, the AI needs a fixed pool of characters to promote
|
||||
# Otherwise performance tanks significantly in the form of 'stutters'or smaller freezes
|
||||
trigger_if = { # First, if the realm is enormous, restrict the candidate pool to the most immediate of family members
|
||||
limit = {
|
||||
scope:actor.top_liege.realm_size >= 250
|
||||
NOR = {
|
||||
this = scope:actor
|
||||
scope:actor.primary_heir ?= this
|
||||
scope:actor.house.house_head ?= this
|
||||
is_close_family_of = scope:actor
|
||||
}
|
||||
}
|
||||
static_group_filter = {
|
||||
group = ai_filter
|
||||
match = {
|
||||
value = 1
|
||||
subtract = {
|
||||
add = scope:actor.top_liege.realm_size
|
||||
multiply = 0.001
|
||||
multiply = 3
|
||||
min = 0.1
|
||||
max = 0.9
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
trigger_else_if = { # Otherwise, go for close + extended family
|
||||
limit = {
|
||||
scope:actor.top_liege.realm_size >= 150
|
||||
NOR = {
|
||||
this = scope:actor
|
||||
scope:actor.primary_heir ?= this
|
||||
scope:actor.house.house_head ?= this
|
||||
is_close_or_extended_family_of = scope:actor
|
||||
}
|
||||
}
|
||||
static_group_filter = {
|
||||
group = ai_filter
|
||||
match = {
|
||||
value = 1
|
||||
subtract = {
|
||||
add = scope:actor.top_liege.realm_size
|
||||
multiply = 0.001
|
||||
multiply = 3
|
||||
min = 0.1
|
||||
max = 0.9
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
trigger_else = {
|
||||
always = yes
|
||||
}
|
||||
trigger_if = { # If the realm is large enough, the AI starts ignoring counties in their support
|
||||
limit = {
|
||||
scope:actor.top_liege.realm_size >= 150
|
||||
}
|
||||
save_temporary_scope_as = candidate_temp
|
||||
custom_tooltip = {
|
||||
text = support_candidacy_can_appoint_for_title_tt
|
||||
scope:recipient.primary_title = {
|
||||
any_in_de_jure_hierarchy = {
|
||||
continue = {
|
||||
tier > tier_duchy
|
||||
tier <= tier_county
|
||||
}
|
||||
|
||||
save_temporary_scope_as = title_temp
|
||||
scope:candidate_temp = { can_appoint_for_title = scope:title_temp }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
trigger_else = {
|
||||
save_temporary_scope_as = candidate_temp
|
||||
custom_tooltip = {
|
||||
text = support_candidacy_can_appoint_for_title_tt
|
||||
scope:recipient.primary_title = {
|
||||
any_in_de_jure_hierarchy = {
|
||||
continue = {
|
||||
tier > tier_duchy
|
||||
}
|
||||
|
||||
save_temporary_scope_as = title_temp
|
||||
scope:candidate_temp = { can_appoint_for_title = scope:title_temp }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
NOT = { is_at_war_with = scope:recipient }
|
||||
|
|
@ -992,7 +1080,7 @@ support_candidacy_interaction = {
|
|||
any_heir_title = {
|
||||
is_noble_family_title = no
|
||||
holder = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1147,11 +1235,11 @@ harm_candidacy_interaction = {
|
|||
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
scope:secondary_recipient = {
|
||||
is_independent_ruler = no
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
top_liege = scope:actor.top_liege
|
||||
}
|
||||
}
|
||||
|
|
@ -1400,7 +1488,7 @@ harm_candidacy_interaction = {
|
|||
|
||||
ai_potential = {
|
||||
influence > major_influence_value
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
ai_honor <= 25
|
||||
}
|
||||
|
||||
|
|
@ -1487,7 +1575,7 @@ request_appointment_support = {
|
|||
limit = {
|
||||
this != scope:recipient
|
||||
is_alive = yes
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
# Check that they are still valid to be appointed
|
||||
any_valid_title_to_grant_trigger = {
|
||||
CANDIDATE = this
|
||||
|
|
@ -1505,7 +1593,7 @@ request_appointment_support = {
|
|||
every_house_member = {
|
||||
limit = {
|
||||
this != scope:recipient
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
any_valid_title_to_grant_trigger = {
|
||||
CANDIDATE = this
|
||||
TOP_LIEGE = scope:actor.top_liege
|
||||
|
|
@ -1561,10 +1649,10 @@ request_appointment_support = {
|
|||
}
|
||||
|
||||
is_shown = {
|
||||
scope:actor = { government_allows = administrative }
|
||||
scope:actor = { government_has_flag = government_is_administrative }
|
||||
scope:recipient = {
|
||||
this != scope:actor
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
top_liege = scope:actor.top_liege
|
||||
}
|
||||
}
|
||||
|
|
@ -1573,7 +1661,7 @@ request_appointment_support = {
|
|||
scope:actor = {
|
||||
house = {
|
||||
any_house_member = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
any_valid_title_to_grant_trigger = {
|
||||
CANDIDATE = this
|
||||
TOP_LIEGE = scope:actor.top_liege
|
||||
|
|
@ -2166,7 +2254,7 @@ request_appointment_support = {
|
|||
}
|
||||
|
||||
ai_potential = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
house ?= {
|
||||
OR = {
|
||||
is_powerful_family = yes
|
||||
|
|
@ -2216,12 +2304,12 @@ demand_admin_interaction = {
|
|||
desc = demand_admin_interaction_desc
|
||||
|
||||
is_shown = {
|
||||
scope:actor = { government_allows = administrative }
|
||||
scope:actor = { government_has_flag = government_is_administrative }
|
||||
scope:recipient = {
|
||||
target_is_liege_or_above = scope:actor
|
||||
is_ai = yes
|
||||
is_ruler = yes
|
||||
NOT = { government_allows = administrative }
|
||||
NOT = { government_has_flag = government_is_administrative }
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
|
|
@ -2330,7 +2418,7 @@ demand_admin_interaction = {
|
|||
}
|
||||
|
||||
ai_potential = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
is_adult = yes
|
||||
}
|
||||
|
||||
|
|
@ -2407,8 +2495,8 @@ contest_appointment_interaction = {
|
|||
# Admin Govt
|
||||
#You don't have another appointment
|
||||
scope:actor = { is_landless_administrative = yes }
|
||||
scope:recipient = { government_allows = administrative }
|
||||
scope:intermediary ?= { government_allows = administrative }
|
||||
scope:recipient = { government_has_flag = government_is_administrative }
|
||||
scope:intermediary ?= { government_has_flag = government_is_administrative }
|
||||
# Make sure scope:recipient is suitable.
|
||||
scope:recipient = {
|
||||
# We only target vassals of the liege
|
||||
|
|
@ -3096,8 +3184,8 @@ request_council_interaction = {
|
|||
liege ?= scope:recipient
|
||||
}
|
||||
#Admin only
|
||||
scope:actor = { government_allows = administrative }
|
||||
scope:recipient = { government_allows = administrative }
|
||||
scope:actor = { government_has_flag = government_is_administrative }
|
||||
scope:recipient = { government_has_flag = government_is_administrative }
|
||||
trigger_if = {
|
||||
limit = {
|
||||
exists = scope:target.councillor
|
||||
|
|
@ -3531,10 +3619,10 @@ transfer_county_interaction = {
|
|||
scope:recipient = {
|
||||
target_is_liege_or_above = scope:actor
|
||||
highest_held_title_tier >= tier_duchy
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
scope:actor = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
is_independent_ruler = yes
|
||||
highest_held_title_tier >= tier_empire
|
||||
}
|
||||
|
|
@ -4456,8 +4544,8 @@ offer_eunuch_interaction = {
|
|||
|
||||
is_shown = {
|
||||
# Only admin gov care about this
|
||||
scope:actor = { government_allows = administrative }
|
||||
scope:recipient = { government_allows = administrative }
|
||||
scope:actor = { government_has_flag = government_is_administrative }
|
||||
scope:recipient = { government_has_flag = government_is_administrative }
|
||||
# Only if you actually have any eunuchs in your court
|
||||
scope:actor = {
|
||||
any_courtier = {
|
||||
|
|
@ -4948,10 +5036,10 @@ acknowledge_governor_interaction = {
|
|||
scope:recipient = {
|
||||
target_is_liege_or_above = scope:actor
|
||||
highest_held_title_tier >= tier_duchy
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
scope:actor = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
is_independent_ruler = yes
|
||||
highest_held_title_tier >= tier_empire
|
||||
}
|
||||
|
|
@ -5014,7 +5102,7 @@ acknowledge_governor_interaction = {
|
|||
}
|
||||
|
||||
ai_potential = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
highest_held_title_tier >= tier_empire
|
||||
}
|
||||
|
||||
|
|
@ -5107,9 +5195,9 @@ boost_efficiency_interaction = {
|
|||
desc = boost_efficiency_interaction_desc
|
||||
|
||||
is_shown = {
|
||||
scope:actor = { government_allows = administrative }
|
||||
scope:actor = { government_has_flag = government_is_administrative }
|
||||
scope:recipient = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
NOT = { this = scope:actor }
|
||||
is_governor = yes
|
||||
top_liege = scope:actor.top_liege
|
||||
|
|
@ -5234,7 +5322,7 @@ boost_efficiency_interaction = {
|
|||
}
|
||||
|
||||
ai_potential = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
top_liege = {
|
||||
any_vassal = {
|
||||
is_governor = yes
|
||||
|
|
@ -5319,7 +5407,7 @@ damage_efficiency_interaction = {
|
|||
desc = damage_efficiency_interaction_desc
|
||||
|
||||
is_shown = {
|
||||
scope:actor = { government_allows = administrative }
|
||||
scope:actor = { government_has_flag = government_is_administrative }
|
||||
scope:recipient = {
|
||||
is_governor = yes
|
||||
NOT = { this = scope:actor }
|
||||
|
|
@ -5445,7 +5533,7 @@ damage_efficiency_interaction = {
|
|||
}
|
||||
|
||||
ai_potential = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
top_liege = {
|
||||
any_vassal = {
|
||||
is_governor = yes
|
||||
|
|
@ -5526,7 +5614,7 @@ governor_removal_interaction = {
|
|||
is_shown = {
|
||||
scope:actor = {
|
||||
is_independent_ruler = yes
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
scope:recipient = {
|
||||
NOT = { this = scope:actor }
|
||||
|
|
@ -5973,7 +6061,7 @@ force_governor_removal_interaction = {
|
|||
scope:actor = {
|
||||
is_independent_ruler = no
|
||||
exists = top_liege
|
||||
top_liege = { government_allows = administrative }
|
||||
top_liege = { government_has_flag = government_is_administrative }
|
||||
}
|
||||
scope:secondary_recipient ?= { is_governor = yes }
|
||||
OR = {
|
||||
|
|
@ -6429,7 +6517,7 @@ force_governor_removal_interaction = {
|
|||
ai_potential = {
|
||||
influence > massive_influence_value
|
||||
is_independent_ruler = no
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
ai_accept = {
|
||||
base = -50
|
||||
|
|
@ -6672,12 +6760,12 @@ force_step_down_interaction = {
|
|||
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
is_independent_ruler = no
|
||||
this != scope:recipient
|
||||
}
|
||||
scope:recipient = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
is_governor = yes
|
||||
}
|
||||
}
|
||||
|
|
@ -7009,7 +7097,7 @@ force_step_down_interaction = {
|
|||
is_scheme_category = political
|
||||
}
|
||||
}
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
is_independent_ruler = no
|
||||
highest_held_title_tier >= tier_duchy
|
||||
}
|
||||
|
|
@ -7197,7 +7285,7 @@ request_governorship_interaction = {
|
|||
scope:recipient != scope:actor
|
||||
scope:recipient = scope:actor.top_liege
|
||||
scope:actor = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
is_governor = no
|
||||
}
|
||||
}
|
||||
|
|
@ -7255,7 +7343,7 @@ request_governorship_interaction = {
|
|||
scope:target.tier = tier_duchy
|
||||
trigger_if = {
|
||||
limit = { exists = scope:target.holder }
|
||||
scope:target.holder ?= { government_allows = administrative }
|
||||
scope:target.holder ?= { government_has_flag = government_is_administrative }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -8230,12 +8318,12 @@ request_ally_title_troops_interaction = {
|
|||
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
is_independent_ruler = no
|
||||
is_governor = yes
|
||||
}
|
||||
scope:recipient = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
NOT = {
|
||||
this = scope:actor
|
||||
this = scope:actor.top_liege
|
||||
|
|
@ -8448,12 +8536,12 @@ request_emperor_title_troops_interaction = {
|
|||
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
is_independent_ruler = no
|
||||
is_governor = yes
|
||||
}
|
||||
scope:recipient = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
this = scope:actor.liege
|
||||
}
|
||||
}
|
||||
|
|
@ -8936,12 +9024,12 @@ request_title_troops_back_interaction = {
|
|||
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
is_independent_ruler = no
|
||||
is_ai = no # The AI should not request their troops back ahead of time
|
||||
}
|
||||
scope:recipient = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
this = scope:actor
|
||||
}
|
||||
}
|
||||
|
|
@ -9047,13 +9135,13 @@ request_raid_remit_interaction = {
|
|||
is_shown = {
|
||||
scope:actor = {
|
||||
is_independent_ruler = no
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
scope:secondary_recipient ?= {
|
||||
NOT = { house = scope:recipient.house }
|
||||
top_liege = scope:actor.top_liege
|
||||
NOT = { house = scope:actor.house }
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
any_held_title = { is_noble_family_title = yes }
|
||||
}
|
||||
}
|
||||
|
|
@ -9403,7 +9491,7 @@ request_co_emperor_interaction = {
|
|||
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
is_independent_ruler = no
|
||||
}
|
||||
scope:recipient = {
|
||||
|
|
@ -9462,7 +9550,7 @@ request_co_emperor_interaction = {
|
|||
scope:recipient = {
|
||||
custom_tooltip = {
|
||||
text = declare_me_co_emperor_interaction.tt.effect
|
||||
start_diarchy = co_emperorship
|
||||
try_start_diarchy = co_emperorship
|
||||
set_diarch = scope:actor
|
||||
}
|
||||
if = {
|
||||
|
|
@ -9941,11 +10029,11 @@ frontier_influence_war_interaction = {
|
|||
is_shown = {
|
||||
scope:actor = {
|
||||
is_independent_ruler = yes
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
NOT = { government_has_flag = government_is_landless_adventurer }
|
||||
}
|
||||
scope:recipient = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
NOT = { government_has_flag = government_is_landless_adventurer }
|
||||
custom_tooltip = {
|
||||
text = admin_theme_type_trigger
|
||||
|
|
@ -10082,7 +10170,7 @@ frontier_influence_war_interaction = {
|
|||
}
|
||||
|
||||
ai_potential = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
is_independent_ruler = yes
|
||||
}
|
||||
|
||||
|
|
@ -10339,11 +10427,11 @@ house_head_request_interaction = {
|
|||
is_shown = {
|
||||
NOT = { scope:recipient = scope:actor }
|
||||
scope:actor = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
this = house.house_head
|
||||
}
|
||||
scope:recipient = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
house = scope:actor.house
|
||||
}
|
||||
}
|
||||
|
|
@ -10892,7 +10980,7 @@ ep3_hof_ask_for_influence_interaction = {
|
|||
}
|
||||
scope:actor = {
|
||||
is_playable_character = yes
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
is_lowborn = no
|
||||
}
|
||||
}
|
||||
|
|
@ -11463,10 +11551,10 @@ ep3_join_faction_war_interaction = {
|
|||
this = scope:recipient
|
||||
is_at_war_with = scope:recipient
|
||||
}
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
scope:recipient = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
scope:actor.liege ?= liege
|
||||
}
|
||||
scope:actor.joined_faction ?= {
|
||||
|
|
@ -11717,11 +11805,11 @@ ep3_switch_faction_war_sides_interaction = {
|
|||
scope:actor = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
is_at_war_with = scope:recipient
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
NOT = { this = scope:recipient }
|
||||
}
|
||||
scope:recipient = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
OR = {
|
||||
is_vassal_of = scope:actor
|
||||
scope:actor.liege ?= liege
|
||||
|
|
@ -12086,7 +12174,7 @@ ep3_governor_request_war_permission_interaction = {
|
|||
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
liege = scope:recipient
|
||||
OR = {
|
||||
vassal_contract_has_flag = admin_theme_frontier
|
||||
|
|
@ -12094,7 +12182,7 @@ ep3_governor_request_war_permission_interaction = {
|
|||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
is_independent_ruler = yes
|
||||
has_realm_law_flag = admin_vassal_wars_permission_only
|
||||
}
|
||||
|
|
@ -12283,7 +12371,7 @@ ep3_governor_request_war_permission_interaction = {
|
|||
}
|
||||
|
||||
ai_potential = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
is_adult = yes
|
||||
liege = { is_at_war = no } # Don't ask if your liege is at war
|
||||
}
|
||||
|
|
@ -12349,7 +12437,7 @@ ep3_mass_arrests_interaction = {
|
|||
has_ep3_dlc_trigger = yes
|
||||
scope:actor = {
|
||||
is_independent_ruler = yes
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
dynasty ?= { has_dynasty_perk = ep3_administrative_legacy_5 }
|
||||
}
|
||||
scope:recipient = {
|
||||
|
|
@ -12421,7 +12509,7 @@ ep3_mass_arrests_interaction = {
|
|||
}
|
||||
|
||||
ai_potential = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_administrative
|
||||
is_adult = yes
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -62,7 +62,10 @@ purchase_land_interaction = {
|
|||
scope:recipient = {
|
||||
is_landed = yes
|
||||
# Need to own the land/cannot directly buy a governorship (procure estate first)
|
||||
NOT = { government_has_flag = government_is_administrative }
|
||||
NOR = {
|
||||
government_has_flag = government_is_administrative
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
}
|
||||
NOT = { scope:recipient = scope:actor }
|
||||
}
|
||||
|
|
@ -1538,6 +1541,9 @@ negotiate_settlement_interaction = {
|
|||
has_trait = craven
|
||||
has_trait = generous
|
||||
}
|
||||
NOT = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
}
|
||||
|
||||
ai_accept = {
|
||||
|
|
@ -4491,6 +4497,7 @@ reinforce_soldiers_interaction = {
|
|||
has_ep3_dlc_trigger = yes
|
||||
scope:actor = {
|
||||
government_allows = conditional_maa_refill
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
scope:recipient = scope:actor
|
||||
}
|
||||
|
|
@ -5430,6 +5437,7 @@ refill_maa_interaction = {
|
|||
has_ep3_dlc_trigger = yes
|
||||
scope:actor = {
|
||||
government_allows = conditional_maa_refill
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
scope:recipient = scope:actor
|
||||
}
|
||||
|
|
@ -5950,7 +5958,7 @@ procure_estate_interaction = {
|
|||
scope:actor = { government_has_flag = government_is_landless_adventurer }
|
||||
scope:recipient = {
|
||||
is_landed = yes
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
NOT = { scope:recipient = scope:actor }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,11 +23,11 @@ start_slander_interaction = {
|
|||
scope:actor = {
|
||||
is_adult = yes
|
||||
is_imprisoned = no
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
scope:recipient = {
|
||||
NOT = { this = scope:actor }
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
top_liege = scope:actor.top_liege
|
||||
}
|
||||
}
|
||||
|
|
@ -325,10 +325,10 @@ start_promote_interaction = {
|
|||
scope:actor = {
|
||||
is_adult = yes
|
||||
is_imprisoned = no
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
scope:recipient = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
top_liege = scope:actor.top_liege
|
||||
}
|
||||
}
|
||||
|
|
@ -919,11 +919,11 @@ start_challenge_status_interaction = {
|
|||
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
scope:recipient != scope:actor
|
||||
scope:recipient = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
top_liege = scope:actor.top_liege
|
||||
}
|
||||
}
|
||||
|
|
@ -1046,7 +1046,7 @@ start_challenge_status_interaction = {
|
|||
is_scheme_category = political
|
||||
}
|
||||
}
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
|
||||
auto_accept = yes
|
||||
|
|
@ -1148,7 +1148,7 @@ start_expand_power_base_interaction = {
|
|||
scope:actor = {
|
||||
is_adult = yes
|
||||
is_imprisoned = no
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
this = scope:recipient
|
||||
exists = house.house_head
|
||||
house.house_head = {
|
||||
|
|
@ -1303,9 +1303,9 @@ start_depose_interaction = {
|
|||
|
||||
is_shown = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
scope:actor = { has_government = administrative_government }
|
||||
scope:actor = { government_has_flag = government_is_administrative }
|
||||
scope:recipient = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
primary_title.tier >= tier_empire # Target has to be the emperor
|
||||
this != scope:actor
|
||||
top_liege.primary_title = scope:actor.top_liege.primary_title # This hides the tooltip
|
||||
|
|
@ -1601,7 +1601,7 @@ start_foster_legitimacy_interaction = {
|
|||
scope:actor = {
|
||||
is_adult = yes
|
||||
is_imprisoned = no
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
|
||||
NOT = {
|
||||
|
|
@ -1611,7 +1611,7 @@ start_foster_legitimacy_interaction = {
|
|||
scope:recipient = {
|
||||
this = scope:actor.liege
|
||||
is_adult = yes
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1768,7 +1768,7 @@ start_damage_legitimacy_interaction = {
|
|||
scope:actor = {
|
||||
is_adult = yes
|
||||
is_imprisoned = no
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
|
||||
NOT = {
|
||||
|
|
@ -1778,7 +1778,7 @@ start_damage_legitimacy_interaction = {
|
|||
scope:recipient = {
|
||||
this = scope:actor.liege
|
||||
is_adult = yes
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2776,13 +2776,13 @@ start_raid_estate_interaction = {
|
|||
is_highlighted = { scope:actor.var:raid_estate_permission ?= scope:recipient.house }
|
||||
|
||||
is_shown = {
|
||||
scope:actor = { has_government = administrative_government }
|
||||
scope:actor = { government_has_flag = government_is_administrative }
|
||||
scope:recipient.house.house_head ?= {
|
||||
this = scope:recipient
|
||||
exists = house
|
||||
NOT = { house = scope:actor.house }
|
||||
top_liege = scope:actor.top_liege
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
any_held_title = { is_noble_family_title = yes }
|
||||
}
|
||||
}
|
||||
|
|
@ -3039,7 +3039,7 @@ start_teach_governor_interaction = {
|
|||
cooldown_against_recipient = { years = 15 }
|
||||
|
||||
is_shown = {
|
||||
scope:actor = { has_government = administrative_government }
|
||||
scope:actor = { government_has_flag = government_is_administrative }
|
||||
scope:recipient != scope:actor
|
||||
scope:recipient = {
|
||||
is_alive = yes
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ invest_appointment_interaction = {
|
|||
is_shown = {
|
||||
debug_only = yes
|
||||
scope:recipient = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
liege = scope:actor
|
||||
}
|
||||
}
|
||||
|
|
@ -93,10 +93,10 @@ transfer_title_army_maa_interaction = {
|
|||
is_shown = {
|
||||
debug_only = yes
|
||||
scope:recipient = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
scope:actor = {
|
||||
has_government = administrative_government
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
scope:actor != scope:recipient
|
||||
}
|
||||
|
|
|
|||
10439
common/character_interactions/09_mpo_interactions.txt
Normal file
10439
common/character_interactions/09_mpo_interactions.txt
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue