Merge branch 'next-version-dev' of https://forgejo.damimani-alex.org/damimani/N3OW into next-version-dev

This commit is contained in:
Fishedotjpg 2026-11-22 09:29:57 +00:00
commit 51b8339fcb
324 changed files with 166399 additions and 14114 deletions

View file

@ -201,7 +201,7 @@ journal = {
miscellaneous_when_not_court = {
slot = miscellaneous
# Just add to this list as new DLC court artifacts are designed.
optional_features = { sculpture_material generic_material_wood decoration_material_inlay goblet_material }
optional_features = { sculpture_material generic_material_wood decoration_material_inlay goblet_material icon_decoration }
}
brooch = {
@ -463,3 +463,19 @@ crossbow = {
slot = primary_armament
required_features = { bow_wood bow_string }
}
library_item = {
slot = library
optional_features = { book_topic book_title book_decoration decoration_pattern generic_material_wood decoration_material_gem decoration_material_inlay_HSB }
}
creature = {
slot = creature
}
curio = {
slot = curio
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -257,3 +257,16 @@ celestial = {
}
}
}
merchant_seize_realm = {
allowed_for_character = {
herders_and_tributary_constraints = yes
tgp_dynastic_cycle_offensive_wars_ban_trigger = yes
tgp_war_ban_all_ministers_trigger = yes
NOT = { government_has_flag = government_is_theocracy }
}
allowed_for_character_display_regardless = {
pam_personal_pacifism_offensive_war_ban_trigger = yes
}
}

View file

@ -1,4 +1,4 @@
#migration_cb
#migration_cb
#mpo_nomad_invasion_cb
#humiliation_cb
#retaliation_cb
@ -4565,10 +4565,10 @@ mpo_great_war_of_defiance_cb = {
mpo_war_of_defiance_notified_player_trigger = yes
}
}
trigger_event = {
id = mpo_greatest_of_khans.0103
days = 2
}
# trigger_event = {
# id = mpo_greatest_of_khans.0103
# days = 2
# }
}
}
@ -4702,10 +4702,10 @@ mpo_great_war_of_defiance_cb = {
}
}
}
trigger_event = {
id = mpo_greatest_of_khans.0001
days = 1
}
# trigger_event = {
# id = mpo_greatest_of_khans.0001
# days = 1
# }
}
# Truce
add_truce_attacker_defeat_effect = yes
@ -5477,10 +5477,10 @@ mpo_gok_onslaught_cb = {
is_ai = no
top_liege = scope:attacker
}
trigger_event = {
id = mpo_greatest_of_khans.0050
days = 2
}
# trigger_event = {
# id = mpo_greatest_of_khans.0050
# days = 2
# }
}
#Send taunt to unlanded losers
every_in_list = {
@ -5489,10 +5489,10 @@ mpo_gok_onslaught_cb = {
is_ai = no
NOT = { top_liege = scope:attacker }
}
trigger_event = {
id = mpo_greatest_of_khans.0051
days = 2
}
# trigger_event = {
# id = mpo_greatest_of_khans.0051
# days = 2
# }
}
# Allies on both sides get full prestige value for helping in the war, based on their war participation.

View file

@ -4,7 +4,7 @@ replace_ceremonial_regent_faction_war = {
group = civil_war
ai_only_against_liege = yes
allow_hostages = no
allowed_for_character = {
scope:attacker = { is_leading_faction_type = replace_ceremonial_regent_faction }
}
@ -35,13 +35,13 @@ replace_ceremonial_regent_faction_war = {
}
on_victory = {
on_victory_faction_war_effect = yes
scope:attacker = {
show_pow_release_message_effect = yes
#EP2 Accolade glory gain from winning against higher ranked enemy
accolade_attacker_war_end_glory_gain_med_effect = yes
}
# LEGITIMACY FROM LOSING FACTION WAR
faction_war_end_defeat_legitimacy_effect = yes
scope:defender = {
add_prestige = -500
add_character_flag = {
@ -65,8 +65,8 @@ replace_ceremonial_regent_faction_war = {
}
}
if = {
limit = {
exists = scope:attacker.joined_faction
limit = {
exists = scope:attacker.joined_faction
}
scope:attacker.joined_faction = {
save_scope_as = saved_faction
@ -88,10 +88,7 @@ replace_ceremonial_regent_faction_war = {
}
}
# The faction should have already been destroyed due to all members leaving above, but in case it hasn't, destroy it now.
if = {
limit = { exists = scope:saved_faction }
scope:saved_faction = { destroy_faction = yes }
}
scope:saved_faction ?= { destroy_faction = yes }
}
}
@ -106,13 +103,7 @@ replace_ceremonial_regent_faction_war = {
}
on_white_peace = {
scope:attacker = {
show_pow_release_message_effect = yes
stress_and_fulfillment_impact = {
ambitious = medium_stress_impact_gain
arrogant = medium_stress_impact_gain
}
}
on_white_peace_faction_war_effect = yes
hidden_effect = {
scope:attacker = {
add_truce_both_ways = {
@ -124,15 +115,11 @@ replace_ceremonial_regent_faction_war = {
}
}
scope:defender = {
stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain
}
add_character_flag = {
flag = recent_replace_regent_faction_war
years = faction_war_white_peace_cooldown
}
}
on_white_peace_faction_revolt_war = yes
}
on_defeat_desc = {
@ -146,10 +133,8 @@ replace_ceremonial_regent_faction_war = {
}
on_defeat = {
scope:attacker = {
show_pow_release_message_effect = yes
save_scope_as = imprisoner
}
on_defeat_faction_war_effect = yes
scope:defender = {
add_character_flag = {
flag = recent_replace_regent_faction_war
@ -158,22 +143,6 @@ replace_ceremonial_regent_faction_war = {
add_dread = medium_dread_gain
add_achievement_flag_effect = { FLAG = achievement_know_your_place_flag }
# LEGITIMACY FROM WINNING FACTION WAR
faction_war_end_victory_legitimacy_effect = yes
}
on_lost_faction_revolt_war = yes # Imprison all faction members, including the faction leader.
scope:attacker = { # Imprison any war participant that isn't already in the faction.
every_character_war = {
limit = { is_defender = scope:defender }
every_war_attacker = {
limit = { is_imprisoned = no }
hidden_effect = {
hard_imprison_character_effect = {
TARGET = this
IMPRISONER = scope:defender
}
}
}
}
}
}
@ -199,7 +168,7 @@ replace_ceremonial_regent_faction_war = {
max_attacker_score_from_battles = 100
max_defender_score_from_battles = 50
max_defender_score_from_occupation = 150
max_attacker_score_from_occupation = 150
@ -234,13 +203,13 @@ restore_ceremonial_liege_faction_war = {
}
on_victory = {
on_victory_faction_war_effect = yes
scope:attacker = {
show_pow_release_message_effect = yes
#EP2 Accolade glory gain from winning against higher ranked enemy
accolade_attacker_war_end_glory_gain_med_effect = yes
}
# LEGITIMACY FROM LOSING FACTION WAR
faction_war_end_defeat_legitimacy_effect = yes
scope:defender = {
add_prestige = -500
add_character_flag = {
@ -290,10 +259,7 @@ restore_ceremonial_liege_faction_war = {
}
}
# The faction should have already been destroyed due to all members leaving above, but in case it hasn't, destroy it now.
if = {
limit = { exists = scope:saved_faction }
scope:saved_faction = { destroy_faction = yes }
}
scope:saved_faction ?= { destroy_faction = yes }
}
}
@ -307,13 +273,7 @@ restore_ceremonial_liege_faction_war = {
}
on_white_peace = {
scope:attacker = {
show_pow_release_message_effect = yes
stress_and_fulfillment_impact = {
ambitious = medium_stress_impact_gain
arrogant = medium_stress_impact_gain
}
}
on_white_peace_faction_war_effect = yes
hidden_effect = {
scope:attacker = {
add_truce_both_ways = {
@ -325,15 +285,11 @@ restore_ceremonial_liege_faction_war = {
}
}
scope:defender = {
stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain
}
add_character_flag = {
flag = recent_restore_ceremonial_liege_faction_war
years = faction_war_white_peace_cooldown
}
}
on_white_peace_faction_revolt_war = yes
}
on_defeat_desc = {
@ -341,10 +297,8 @@ restore_ceremonial_liege_faction_war = {
}
on_defeat = {
scope:attacker = {
show_pow_release_message_effect = yes
save_scope_as = imprisoner
}
on_defeat_faction_war_effect = yes
scope:defender = {
add_character_flag = {
flag = recent_restore_ceremonial_liege_faction_war
@ -352,28 +306,10 @@ restore_ceremonial_liege_faction_war = {
}
add_dread = medium_dread_gain
add_achievement_flag_effect = { FLAG = achievement_know_your_place_flag }
# LEGITIMACY FROM WINNING FACTION WAR
faction_war_end_victory_legitimacy_effect = yes
}
on_lost_faction_revolt_war = yes # Imprison all faction members, including the faction leader.
scope:attacker = { # Imprison any war participant that isn't already in the faction.
every_character_war = {
limit = { is_defender = scope:defender }
every_war_attacker = {
limit = { is_imprisoned = no }
hidden_effect = {
hard_imprison_character_effect = {
TARGET = this
IMPRISONER = scope:defender
}
}
}
}
}
scope:claimant = {
depose_effect = { DEPOSER = scope:defender }
}
on_lost_faction_revolt_war = yes
}
on_invalidated_desc = msg_invalidate_war_title
@ -398,7 +334,7 @@ restore_ceremonial_liege_faction_war = {
max_attacker_score_from_battles = 100
max_defender_score_from_battles = 50
max_defender_score_from_occupation = 150
max_attacker_score_from_occupation = 150
@ -454,7 +390,7 @@ ceremonial_claimant_faction_war = {
}
on_victory = {
scope:attacker = { show_pow_release_message_effect = yes }
on_victory_faction_war_effect = yes
#EP2 Accolade glory gain from winning against higher ranked enemy
scope:attacker = { accolade_attacker_war_end_glory_gain_med_effect = yes }
@ -508,12 +444,6 @@ ceremonial_claimant_faction_war = {
}
}
}
# LEGITIMACY FROM LOSING FACTION WAR
faction_war_end_defeat_legitimacy_effect = yes
#Mandalas gain or lose piety/devotion depending on Decree
mandala_war_victory_effects = yes
}
on_white_peace_desc = {
@ -522,39 +452,18 @@ ceremonial_claimant_faction_war = {
}
on_white_peace = {
scope:attacker = {
show_pow_release_message_effect = yes
stress_and_fulfillment_impact = {
ambitious = medium_stress_impact_gain
arrogant = medium_stress_impact_gain
}
}
on_white_peace_faction_war_effect = yes
scope:defender = {
add_character_flag = {
flag = recent_ceremonial_claimant_faction_war
years = faction_war_white_peace_cooldown
}
stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain
}
}
on_white_peace_faction_revolt_war = yes
hidden_effect = {
scope:attacker = {
add_truce_both_ways = {
character = scope:defender
days = 1825
war = root.war
result = white_peace
}
if = {
limit = { exists = joined_faction }
joined_faction = {
destroy_faction = yes # Destroy the faction if it wasn't already destroyed automatically.
}
}
scope:attacker.joined_faction ?= {
destroy_faction = yes # Destroy the faction if it wasn't already destroyed automatically.
}
}
}
@ -564,8 +473,7 @@ ceremonial_claimant_faction_war = {
}
on_defeat = {
scope:attacker = { show_pow_release_message_effect = yes }
on_lost_faction_revolt_war = yes
on_defeat_faction_war_effect = yes
scope:defender = {
add_character_flag = {
@ -574,13 +482,7 @@ ceremonial_claimant_faction_war = {
}
add_dread = medium_dread_gain
add_achievement_flag_effect = { FLAG = achievement_know_your_place_flag }
# LEGITIMACY FROM WINNING FACTION WAR
faction_war_end_victory_legitimacy_effect = yes
}
#Mandalas gain or lose piety/devotion depending on Decree
mandala_war_defeat_effects = yes
}
check_attacker_inheritance_validity = no
@ -603,7 +505,7 @@ ceremonial_claimant_faction_war = {
max_attacker_score_from_battles = 50
max_defender_score_from_battles = 100
max_defender_score_from_occupation = 150
max_attacker_score_from_occupation = 150
@ -642,16 +544,12 @@ imperial_policy_faction_war = {
}
on_victory = {
scope:attacker = { show_pow_release_message_effect = yes }
on_victory_faction_war_effect = yes
#EP2 Accolade glory gain from winning against higher ranked enemy
scope:attacker = { accolade_attacker_war_end_glory_gain_med_effect = yes }
# LEGITIMACY FROM LOSING FACTION WAR
faction_war_end_defeat_legitimacy_effect = yes
scope:defender = {
add_prestige = -500
add_character_flag = {
@ -695,20 +593,9 @@ imperial_policy_faction_war = {
}
}
# The faction should have already been destroyed due to all members leaving above, but in case it hasn't, destroy it now.
if = {
limit = { exists = scope:saved_faction }
scope:saved_faction = {
destroy_faction = yes
}
}
scope:saved_faction ?= { destroy_faction = yes }
}
}
# EP3: note gold gained from military assistance/join war contracts and their war contribution threshold
laamp_as_mercenary_payout_tooltip_effect = yes
#Mandalas gain or lose piety/devotion depending on Decree
mandala_war_victory_effects = yes
}
on_white_peace_desc = {
@ -716,36 +603,14 @@ imperial_policy_faction_war = {
}
on_white_peace = {
scope:attacker = {
show_pow_release_message_effect = yes
stress_and_fulfillment_impact = {
ambitious = medium_stress_impact_gain
arrogant = medium_stress_impact_gain
}
}
hidden_effect = {
scope:attacker = {
add_truce_both_ways = {
character = scope:defender
days = 1825
war = root.war
result = white_peace
}
}
}
on_white_peace_faction_war_effect = yes
scope:defender = {
stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain
}
add_character_flag = {
flag = recent_imperial_policy_faction_war
years = faction_war_white_peace_cooldown
}
}
on_white_peace_faction_revolt_war = yes
# EP3: note gold gained from military assistance/join war contracts and their war contribution threshold
laamp_as_mercenary_payout_tooltip_effect = yes
}
on_defeat_desc = {
@ -753,7 +618,8 @@ imperial_policy_faction_war = {
}
on_defeat = {
scope:attacker = { show_pow_release_message_effect = yes }
on_defeat_faction_war_effect = yes
scope:defender = {
add_character_flag = {
flag = recent_imperial_policy_faction_war
@ -761,17 +627,7 @@ imperial_policy_faction_war = {
}
add_dread = medium_dread_gain
add_achievement_flag_effect = { FLAG = achievement_know_your_place_flag }
# LEGITIMACY FROM WINNING FACTION WAR
faction_war_end_victory_legitimacy_effect = yes
}
on_lost_faction_revolt_war = yes
# EP3: note gold gained from military assistance/join war contracts and their war contribution threshold
laamp_as_mercenary_payout_tooltip_effect = yes
#Mandalas gain or lose piety/devotion depending on Decree
mandala_war_defeat_effects = yes
}
on_invalidated_desc = msg_invalidate_war_title
@ -796,7 +652,7 @@ imperial_policy_faction_war = {
max_attacker_score_from_battles = 100
max_defender_score_from_battles = 50
max_defender_score_from_occupation = 150
max_attacker_score_from_occupation = 150

File diff suppressed because it is too large Load diff

View file

@ -37,6 +37,7 @@ ce1_ask_to_promote_legend_interaction = {
text = recipient_already_promoting_legend_tt
NOT = { exists = promoted_legend }
}
NOT = { is_at_war_with = scope:puppet_or_actor }
}
custom_tooltip = {
text = recipient_close_or_neighbor_tt
@ -95,6 +96,13 @@ ce1_ask_to_promote_legend_interaction = {
}
desc = TIER_REASON_EMPEROR
}
modifier = {
add = -40
scope:recipient.primary_title = {
tier = 6
}
desc = TIER_REASON_HEGEMON
}
## Legend
# How cool is the legend?
modifier = {

View file

@ -5,6 +5,8 @@ offer_vassalization_interaction = {
icon = icon_vassal
desc = offer_vassalization_interaction_desc
greeting = positive
notification_text = OFFER_VASSALIZATION_INTERACTION_NOTIFICATION
ai_targets = {
ai_recipients = neighboring_rulers
@ -122,9 +124,6 @@ offer_vassalization_interaction = {
}
}
greeting = positive
notification_text = OFFER_VASSALIZATION_INTERACTION_NOTIFICATION
cost = {
influence = {
value = 0
@ -260,7 +259,7 @@ offer_vassalization_interaction = {
ceiling = yes
}
}
# TRAITS/PERSONALITY
modifier = { # Ambitious
desc = TAKE_THE_VOWS_AMBITIOUS
@ -396,6 +395,16 @@ offer_vassalization_interaction = {
opinion_target = scope:actor
multiplier = 1
}
#GG modifier
modifier = {
add = -50
OR = {
gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:actor SECOND = scope:recipient }
scope:recipient = { is_gg_undecided_trigger = yes }
}
desc = RECIPIENT_IS_NOT_YOUR_GG
}
}
# Low starting obligations
@ -1149,7 +1158,7 @@ force_vote_in_succession_election_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = minor_unity_gain
@ -1159,6 +1168,82 @@ force_vote_in_succession_election_interaction = {
}
}
force_assembly_vote_interaction = {
category = interaction_category_diplomacy
filter_tags = { assembly_interaction }
special_interaction = force_assembly_vote
icon = scroll_scales
greeting = positive
notification_text = FORCE_ASSEMBLY_VOTE_INTERACTION_NOTIFICATION
force_notification = yes
desc = force_assembly_vote_interaction_desc
auto_accept = yes
is_valid_showing_failures_only = {
custom_description = {
text = must_have_usable_hook_blocker
subject = scope:actor
object = scope:recipient
scope:actor = {
has_usable_hook = scope:recipient
}
}
custom_description = {
text = must_have_ongoing_session
scope:actor = {
ongoing_voting_session = yes
}
}
custom_description = {
text = target_already_forced
object = scope:recipient
scope:recipient = {
is_forced_voter = no
}
}
custom_description = {
text = target_not_law_proposer
object = scope:recipient
NOT = { scope:actor.law_proposer ?= scope:recipient }
}
}
is_highlighted = {
scope:actor = {
has_usable_hook = scope:recipient
ongoing_voting_session = yes
}
}
should_use_extra_icon = {
scope:actor = { has_usable_hook = scope:recipient }
}
extra_icon = "gfx/interface/icons/character_interactions/hook_icon.dds"
on_accept = {
scope:actor = {
send_interface_message = {
type = event_title_good
title = force_assembly_vote_interaction
right_icon = scope:recipient
use_hook = scope:recipient
custom_tooltip = msg_force_assembly_vote_message
}
}
}
}
set_primary_spouse_interaction = {
category = interaction_category_diplomacy
desc = set_primary_spouse_interaction_desc
@ -1610,7 +1695,7 @@ grant_independence_interaction = {
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = medium_unity_loss
@ -1723,6 +1808,10 @@ expose_secret_interaction = {
every_known_secret = {
limit = {
secret_owner = scope:recipient
NOR = {
secret_target ?= scope:puppet_or_actor
any_secret_participant = { this = scope:puppet_or_actor }
}
}
expose_secret = scope:puppet_or_actor
}
@ -1793,7 +1882,7 @@ expose_secret_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = major_unity_loss
@ -1924,6 +2013,22 @@ expose_secret_interaction = {
evaluate_action_decreasing_house_unity = {
VALUE = 100
}
modifier = {
NOT = { exists = scope:target }
scope:recipient = {
NOT = {
any_secret = {
is_known_by = scope:puppet_or_actor
NOR = {
secret_target ?= scope:puppet_or_actor
any_secret_participant = { this = scope:puppet_or_actor }
}
}
}
}
factor = 0
}
}
}

View file

@ -182,6 +182,15 @@
empire = 12
hegemony = 12
}
ai_frequency_by_tier_government_override = {
government = merchant_government
barony = 0
county = 108
duchy = 0
kingdom = 0
empire = 0
hegemony = 0
}
ai_will_do = {
base = 0
@ -324,8 +333,6 @@
has_relation_lover = scope:actor
has_relation_friend = scope:actor
has_secret_relation_lover = scope:actor
has_relation_soulmate = scope:actor
has_relation_best_friend = scope:actor
is_child_of = scope:actor
}
}
@ -597,6 +604,7 @@ invite_to_court_interaction = {
desc = invite_to_court_interaction_desc
is_shown = {
scope:actor = { is_ruler = yes }
scope:recipient = {
NOR = {
is_courtier_of = scope:actor
@ -665,17 +673,13 @@ invite_to_court_interaction = {
#Pay som gold to persuade a wandering character to come to your court
send_option = {
is_shown = {
exists = scope:recipient
}
is_shown = { exists = scope:recipient }
flag = cover_travel_expenses
localization = COVER_TRAVEL_EXPENSES
}
send_option = { # EP3 Influence
is_shown = { # Actor must have a government that uses influence
scope:actor = {
government_has_flag = government_has_influence
}
scope:actor = { government_has_flag = government_has_influence }
}
is_valid = {
# Actor has enough influence
@ -688,9 +692,7 @@ invite_to_court_interaction = {
}
send_option = {
is_valid = {
scope:actor = {
has_usable_hook = scope:recipient
}
scope:actor = { has_usable_hook = scope:recipient }
}
flag = hook
localization = SCHEME_HOOK
@ -714,58 +716,91 @@ invite_to_court_interaction = {
}
on_accept = {
hidden_effect = {
scope:recipient = {
set_variable = {
name = invite_to_court_cooldown
years = 5
}
scope:recipient = {
set_variable = {
name = invite_to_court_cooldown
years = 5
}
if = {
limit = {
exists = scope:recipient.liege
}
scope:recipient.liege = {
# Message relevant parties
liege ?= {
if = {
limit = {
NOT = { government_has_flag = government_is_merchant }
}
send_interface_message = {
type = event_generic_neutral
title = msg_courtier_left_court_interaction_title
right_icon = scope:recipient
show_as_tooltip = {
remove_courtier_or_guest = scope:recipient
show_as_tooltip = { remove_courtier_or_guest = scope:recipient }
}
}
else = {
send_interface_message = {
type = event_generic_bad
title = msg_courtier_left_court_interaction_merchant_title
right_icon = scope:recipient
show_as_tooltip = { remove_courtier_or_guest = scope:recipient }
}
}
# House Relation impact
if = { # Only change house relations w vassals or below
limit = { this != scope:actor.liege }
house ?= {
if = {
limit = { this != scope:actor.house }
if = {
limit = {
NOT = { has_house_relation_with = scope:actor.house }
}
set_house_relation = {
target = scope:actor.house
level = quarrel
description = house_relation_poached_talent_desc
}
}
else = {
change_house_relation_effect = {
HOUSE = scope:actor.house
VALUE = house_relation_damage_minor_value
REASON = poached_talent
CHAR = scope:actor
TARGET_CHAR = scope:recipient.liege
TITLE = scope:dummy_gender
}
}
}
}
}
}
}
scope:actor = {
send_interface_message = {
type = event_generic_neutral
title = invite_to_court_interaction_notification
right_icon = scope:recipient
scope:recipient = {
every_traveling_family_member = {
scope:actor = { add_courtier = prev }
hidden_effect = {
return_to_court = yes
}
hidden_effect = { return_to_court = yes }
}
}
if = {
limit = { always = scope:hook }
scope:actor = {
use_hook = scope:recipient
scope:actor = { use_hook = scope:recipient }
}
if = {
limit = { government_has_flag = government_uses_company_sentiment }
house ?= {
add_unity_value = {
value = minor_unity_loss
character = scope:recipient
desc = merchant_invite_associate_loss
}
}
}
}
}
if = {
limit = { always = scope:cover_travel_expenses }
scope:actor = {
@ -784,7 +819,7 @@ invite_to_court_interaction = {
}
ai_accept = {
base = -50
base = -80
#Opinions
opinion_modifier = {
@ -964,18 +999,14 @@ invite_to_court_interaction = {
add = -50
desc = AI_INSPIRED
inspiration ?= {
NOT = {
exists = inspiration_sponsor
}
NOT = { exists = inspiration_sponsor }
}
}
modifier = {
add = -500
desc = AI_SPONSORED_INSPIRATION
inspiration ?= {
exists = inspiration_sponsor
}
inspiration ?= { exists = inspiration_sponsor }
}
modifier = {
@ -991,9 +1022,7 @@ invite_to_court_interaction = {
is_adult = no
any_memory = {
memory_type = family_castration_fled_memory
memory_participant:castrator ?= {
this = scope:actor
}
memory_participant:castrator ?= { this = scope:actor }
}
}
@ -1011,9 +1040,7 @@ invite_to_court_interaction = {
add = scope:actor.diplomacy
if = {
limit = {
faith = scope:actor.faith
}
limit = { faith = scope:actor.faith }
add = 10
}
else_if = {
@ -1029,16 +1056,12 @@ invite_to_court_interaction = {
add = 5
}
if = {
limit = {
culture = scope:actor.culture
}
limit = { culture = scope:actor.culture }
add = 10
}
else_if = {
limit = {
culture = {
has_same_culture_heritage = scope:actor.culture
}
culture = { has_same_culture_heritage = scope:actor.culture }
}
add = 5
}
@ -1074,15 +1097,11 @@ invite_to_court_interaction = {
add = {
value = 20
if = {
limit = {
has_trait = greedy
}
limit = { has_trait = greedy }
multiply = 1.5
}
else_if = {
limit = {
has_trait = generous
}
limit = { has_trait = generous }
multiply = 0.5
}
}
@ -1108,7 +1127,7 @@ invite_to_court_interaction = {
if = {
limit = {
scope:actor = {
amenity_level = { target = court_lodging_standards value >= very_high_amenity_level }
amenity_level = { target = court_lodging_standards value >= very_high_amenity_level }
}
}
add = 10
@ -1116,7 +1135,7 @@ invite_to_court_interaction = {
if = {
limit = {
scope:actor = {
amenity_level = { target = court_lodging_standards value >= max_amenity_level }
amenity_level = { target = court_lodging_standards value >= max_amenity_level }
}
}
add = 20
@ -1174,15 +1193,47 @@ invite_to_court_interaction = {
multiply = 0.5
}
desc = AI_HOUSE_UNITY
scope:actor = { government_has_flag = government_is_clan }
exists = house
exists = scope:actor.house
house = scope:actor.house
house = {
OR = {
has_house_unity_stage = harmonious
has_house_unity_stage = friendly
}
scope:actor = {
government_has_flag = government_uses_house_unity
exists = house
}
house ?= {
this = scope:actor.house
house_unity_is_positive_trigger = yes
}
}
modifier = {
add = {
value = scope:actor.house.house_unity_value
multiply = 0.5
}
desc = AI_COMPANY_DIRECTION
scope:actor = {
government_has_flag = government_uses_company_sentiment
exists = house
}
house ?= {
this = scope:actor.house
house_unity_is_positive_trigger = yes
}
}
modifier = {
add = 50
desc = AI_RECIPIENT_COMPANY_SENTIMENT
scope:recipient.liege ?= {
government_has_flag = government_is_merchant
house ?= { has_house_unity_stage = rapacious_cs }
}
}
modifier = {
add = 20
desc = AI_RECIPIENT_COMPANY_SENTIMENT_OPPORTUNISTIC
scope:recipient.liege ?= {
government_has_flag = government_is_merchant
house ?= { has_house_unity_stage = opportunistic_cs }
}
}
@ -1238,9 +1289,7 @@ invite_to_court_interaction = {
}
modifier = {
scope:actor.culture = {
has_cultural_parameter = invite_courtiers_reasons
}
scope:actor.culture = { has_cultural_parameter = invite_courtiers_reasons }
add = 15
desc = invite_courtiers_additional_reason
}
@ -1254,7 +1303,57 @@ invite_to_court_interaction = {
add = -200
desc = cid_1010_no_invite_var_desc
}
}
# #Guelphs & Ghibellines
# modifier = {
# scope:recipient = {
# has_opinion_modifier = {
# modifier = banished_me
# target = scope:actor
# }
# }
# add = -500
# desc = RECIPIENT_WAS_BANISHED_BY_ACTOR
# }
# modifier = {
# scope:actor = { is_ghibelline_trigger = yes }
# scope:recipient = { exists = var:displaced_ghibelline_ruler }
# add = 100
# desc = RECIPIENT_WAS_GHIBELLINE_SIDE
# }
# modifier = {
# scope:actor = { is_guelph_trigger = yes }
# scope:recipient = { exists = var:displaced_guelph_ruler }
# add = 100
# desc = RECIPIENT_WAS_GUELPH_SIDE
# }
# modifier = {
# scope:actor = { is_ghibelline_trigger = yes }
# scope:recipient = { exists = var:displaced_guelph_ruler }
# add = -200
# desc = RECIPIENT_WAS_GUELPH_SIDE
# }
# modifier = {
# scope:actor = { is_guelph_trigger = yes }
# scope:recipient = { exists = var:displaced_ghibelline_ruler }
# add = -200
# desc = RECIPIENT_WAS_GHIBELLINE_SIDE
# }
# modifier = {
# OR = {
# AND = {
# scope:actor = { is_guelph_trigger = yes }
# scope:recipient.var:displaced_ghibelline_ruler ?= scope:actor
# }
# AND = {
# scope:actor = { is_ghibelline_trigger = yes }
# scope:recipient.var:displaced_guelph_ruler ?= scope:actor
# }
# }
# add = -1000
# desc = RECIPIENT_WAS_DISPLACED_BY_ACTOR
# }
# }
auto_accept = {
custom_description = {

View file

@ -15,6 +15,8 @@ request_culture_conversion_interaction = {
desc = ask_for_conversion_interaction_desc
notification_text = ask_for_culture_conversion_interaction_notice
hidden = yes
is_shown = {

View file

@ -75,6 +75,9 @@ diarch_revoke_title_interaction = {
prompt = RETRACT_VASSAL_SELECT_VASSAL_TO_RETRACT
is_available = {
liege ?= {
has_diarchy_parameter = unlock_diarch_revoke_title_interaction
}
trigger_if = {
limit = { is_ai = yes }
is_diarch = yes
@ -82,9 +85,6 @@ diarch_revoke_title_interaction = {
# Loyal diarchs don't engage in skullduggery.
diarch_loyalty < diarch_loyalty_visibly_loyal_threshold
}
liege ?= {
has_diarchy_parameter = unlock_diarch_revoke_title_interaction
}
# If you're not in a diarchy, we don't care.
OR = {
is_designated_diarch = yes
@ -1828,6 +1828,7 @@ diarch_imprison_interaction = {
desc = AI_PRISON_FEUDAL_COMPLEX_PERK
scope:actor = {
has_perk = prison_feudal_complex_perk
NOT = { government_has_flag = government_is_merchant }
}
}
modifier = { #I am a King!
@ -3153,6 +3154,7 @@ diarch_syphon_treasury_interaction = {
}
# Loyal diarchs don't engage in skullduggery.
diarch_loyalty < diarch_loyalty_visibly_loyal_threshold
liege ?= { has_diarchy_active_parameter = unlock_syphon_treasury_interaction }
}
liege ?= { has_diarchy_parameter = unlock_syphon_treasury_interaction }
# If you're not in a diarchy, we don't care.
@ -3306,13 +3308,13 @@ diarch_syphon_treasury_interaction = {
min = 10
desc = diarch_syphon_treasury_interaction.tt.success
# Inform scope:actor what type of embezzlement they'll be pursuing.
## Very high stewardship characters syphon development growth from a few counties.
## Very high stewardship characters syphon prosperity growth from a few counties.
if = {
limit = {
stewardship >= syphon_treasury_stewardship_very_high
NOT = { government_has_flag = government_is_nomadic }
}
custom_tooltip = diarch_syphon_treasury_interaction.tt.success.syphon_development_growth
custom_tooltip = diarch_syphon_treasury_interaction.tt.success.syphon_prosperity_growth
}
## Alternatively, herd for nomadic rulers
else_if = {
@ -3380,28 +3382,28 @@ diarch_syphon_treasury_interaction = {
}
## Plus the maluses for the liege.
scope:recipient = {
# Very high stewardship characters syphon development growth from a few counties.
# Very high stewardship characters syphon prosperity growth from a few counties.
if = {
limit = { scope:actor.stewardship >= syphon_treasury_stewardship_very_high }
# Gold transfer was...
## Very high.
if = {
limit = { always = scope:diarch_syphon_treasury_sum_huge }
diarch_syphon_treasury_interaction_syphon_development_growth_effect = { LOSS = massive_development_progress_loss }
diarch_syphon_treasury_interaction_syphon_prosperity_growth_effect = { LOSS = massive_prosperity_progress_loss }
}
## High.
else_if = {
limit = { always = scope:diarch_syphon_treasury_sum_large }
diarch_syphon_treasury_interaction_syphon_development_growth_effect = { LOSS = major_development_progress_loss }
diarch_syphon_treasury_interaction_syphon_prosperity_growth_effect = { LOSS = major_prosperity_progress_loss }
}
## Medium.
else_if = {
limit = { always = scope:diarch_syphon_treasury_sum_medium }
diarch_syphon_treasury_interaction_syphon_development_growth_effect = { LOSS = medium_development_progress_loss }
diarch_syphon_treasury_interaction_syphon_prosperity_growth_effect = { LOSS = medium_prosperity_progress_loss }
}
## Low.
else = {
diarch_syphon_treasury_interaction_syphon_development_growth_effect = { LOSS = minor_development_progress_loss }
diarch_syphon_treasury_interaction_syphon_prosperity_growth_effect = { LOSS = minor_prosperity_progress_loss }
}
}
# Alternatively, for nomadic rulers, we steal some herd
@ -4983,6 +4985,7 @@ diarch_coup_liege_interaction = {
pre_answer_yes_breakdown_key = diarch_coup_liege_interaction_pre_answer_yes_breakdown_key
desc = diarch_coup_liege_interaction_desc
notification_text = diarch_coup_liege_interaction_notification
# First, grab every other powerful vassal of your liege & plonk them in a list.
populate_recipient_list = {
@ -6512,7 +6515,7 @@ swing_scales_currency_interaction = {
is_shown = {
# Filter out for the liege in vizierates - they can mulct the vizier, so we don't give them the chance to spend that gold back.
interaction_actor_is_liege_with_vizierate_trigger = no
NOT = { religious_head_or_challenger ?= scope:recipient }
NOT = { scope:actor.religious_head_or_challenger ?= scope:recipient }
}
is_valid = {
diarch_swing_scales_valid_shared_hof_trigger = yes
@ -6865,16 +6868,13 @@ diarch_swing_scales_currency_interaction = {
interface_priority = 20
is_available = {
trigger_if = {
limit = { is_ai = yes }
# Double check due to some irritating errors.
is_diarch = yes
# Loyal diarchs don't engage in skullduggery.
diarch_loyalty < diarch_loyalty_visibly_loyal_threshold
liege ?= { has_active_diarchy = yes }
}
is_ai = yes
is_playable_character = no
is_ai = yes
# Double check due to some irritating errors.
is_diarch = yes
liege ?= { has_active_diarchy = yes }
# Loyal diarchs don't engage in skullduggery.
diarch_loyalty < diarch_loyalty_visibly_loyal_threshold
}
is_shown = {
@ -7097,7 +7097,7 @@ diarch_swing_scales_currency_interaction = {
}
# HoF
send_option = {
is_shown = { NOT = { religious_head_or_challenger ?= scope:recipient } }
is_shown = { NOT = { scope:actor.religious_head_or_challenger ?= scope:recipient } }
is_valid = { diarch_swing_scales_valid_shared_hof_trigger = yes }
# Top of the prio order for enablement.
starts_enabled = { diarch_swing_scales_valid_shared_hof_trigger = yes }
@ -8413,9 +8413,9 @@ liege_dismiss_vizier_interaction = {
has_trait = vengeful
can_set_relation_rival_trigger = { CHARACTER = scope:actor }
}
set_relation_rival = {
target = scope:actor
reason = rival_dismissed_me_from_vizierate
set_relation_rival_effect = {
TARGET = scope:actor
REASON = rival_dismissed_me_from_vizierate
}
add_opinion = {
target = scope:actor

View file

@ -38,8 +38,9 @@ disinherit_interaction = {
}
scope:recipient = {
NOT = {
NOR = {
has_trait = disinherited
has_trait = adopted_no_inheritance
}
}
}
@ -184,7 +185,7 @@ disinherit_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = medium_unity_loss
@ -335,10 +336,7 @@ disinherit_interaction = {
modifier = {
add = 100
scope:recipient = {
OR = {
has_relation_rival = scope:puppet_or_actor
has_relation_nemesis = scope:puppet_or_actor
}
has_relation_rival = scope:puppet_or_actor
}
}
@ -438,10 +436,7 @@ disinherit_interaction = {
modifier = {
factor = 0
scope:recipient = {
OR = {
has_relation_friend = scope:puppet_or_actor
has_relation_best_friend = scope:puppet_or_actor
}
has_relation_friend = scope:puppet_or_actor
}
}
@ -484,8 +479,9 @@ disinherit_children_interaction = {
has_dynasty_perk = fp2_coterie_legacy_5
}
scope:recipient = {
NOT = {
NOR = {
has_trait = disinherited
has_trait = adopted_no_inheritance
}
}
}
@ -592,7 +588,7 @@ disinherit_children_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = minor_unity_loss
@ -654,10 +650,7 @@ disinherit_children_interaction = {
modifier = {
add = 100
scope:recipient = {
OR = {
has_relation_rival = scope:puppet_or_actor
has_relation_nemesis = scope:puppet_or_actor
}
has_relation_rival = scope:puppet_or_actor
}
}
@ -757,10 +750,7 @@ disinherit_children_interaction = {
modifier = {
factor = 0
scope:recipient = {
OR = {
has_relation_friend = scope:puppet_or_actor
has_relation_best_friend = scope:puppet_or_actor
}
has_relation_friend = scope:puppet_or_actor
}
}
@ -795,7 +785,10 @@ restore_inheritance_interaction = {
}
scope:recipient = {
has_trait = disinherited
OR = {
has_trait = disinherited
has_trait = adopted_no_inheritance
}
}
}
@ -836,7 +829,7 @@ restore_inheritance_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = minor_unity_gain
@ -877,10 +870,7 @@ restore_inheritance_interaction = {
modifier = {
add = 100
scope:recipient = {
OR = {
has_relation_friend = scope:puppet_or_actor
has_relation_best_friend = scope:puppet_or_actor
}
has_relation_friend = scope:puppet_or_actor
}
}
@ -902,10 +892,7 @@ restore_inheritance_interaction = {
modifier = {
factor = 0
scope:recipient = {
OR = {
has_relation_rival = scope:puppet_or_actor
has_relation_nemesis = scope:puppet_or_actor
}
has_relation_rival = scope:puppet_or_actor
}
}
}
@ -1017,7 +1004,7 @@ denounce_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = minor_unity_loss
@ -1107,10 +1094,7 @@ denounce_interaction = {
modifier = {
add = 100
scope:recipient = {
OR = {
has_relation_rival = scope:puppet_or_actor
has_relation_nemesis = scope:puppet_or_actor
}
has_relation_rival = scope:puppet_or_actor
}
}
@ -1195,10 +1179,7 @@ denounce_interaction = {
modifier = {
factor = 0
scope:recipient = {
OR = {
has_relation_friend = scope:puppet_or_actor
has_relation_best_friend = scope:puppet_or_actor
}
has_relation_friend = scope:puppet_or_actor
}
}
}
@ -1266,7 +1247,7 @@ forgive_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = minor_unity_gain
@ -1307,10 +1288,7 @@ forgive_interaction = {
modifier = {
add = 100
scope:recipient = {
OR = {
has_relation_friend = scope:puppet_or_actor
has_relation_best_friend = scope:puppet_or_actor
}
has_relation_friend = scope:puppet_or_actor
}
}
@ -1332,10 +1310,7 @@ forgive_interaction = {
modifier = {
factor = 0
scope:recipient = {
OR = {
has_relation_rival = scope:puppet_or_actor
has_relation_nemesis = scope:puppet_or_actor
}
has_relation_rival = scope:puppet_or_actor
}
}
}
@ -1790,7 +1765,7 @@ dynast_claim_title_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = medium_unity_loss
@ -1970,7 +1945,7 @@ dynast_legitimize_bastard_interaction = {
# category = interaction_category_friendly
# interface_priority = 60
# icon = send_to_varangian_guard_interaction
#
# desc = send_to_varangian_guard_interaction_desc
# use_diplomatic_range = no
# common_interaction = yes
@ -1982,7 +1957,7 @@ dynast_legitimize_bastard_interaction = {
# dynasty ?= {
# has_dynasty_perk = fp1_adventure_legacy_1
# }
#
# NOR = {
# faith ?= {
# has_doctrine_parameter = pacifist
@ -1991,15 +1966,15 @@ dynast_legitimize_bastard_interaction = {
# is_at_war_with = title:e_byzantium.holder
# has_truce = title:e_byzantium.holder
# }
#
# exists = title:e_byzantium.holder
# is_at_war = no
# }
# }
#
# is_shown = {
# scope:recipient != scope:puppet_or_actor
#
# scope:puppet_or_actor ?= {
# is_dynast = yes
# dynasty ?= scope:recipient.dynasty
@ -2021,7 +1996,7 @@ dynast_legitimize_bastard_interaction = {
# }
#
# cooldown = { years = 2 }
#
# is_valid_showing_failures_only = {
# scope:puppet_or_actor = {
# is_at_war = no
@ -2096,7 +2071,7 @@ dynast_legitimize_bastard_interaction = {
# send_interface_toast = {
# type = event_toast_effect_neutral
# title = send_to_varangian_guard_interaction_toast
#
# left_icon = scope:recipient
# right_icon = scope:emperor
#
@ -2113,16 +2088,16 @@ dynast_legitimize_bastard_interaction = {
# send_interface_toast = {
# type = event_toast_effect_neutral
# title = send_to_varangian_guard_interaction_toast
#
# left_icon = scope:recipient
# right_icon = scope:emperor
#
# custom_tooltip = send_to_varangian_guard_interaction_toast_desc
# }
# }
# }
# }
#
# scope:recipient = {
# save_scope_as = varangian_candidate
#
@ -2144,7 +2119,7 @@ dynast_legitimize_bastard_interaction = {
# }
#
# # If we're a clan this interaction affects unity
# add_clan_unity_interaction_effect = {
# add_house_unity_interaction_effect = {
# CHARACTER = scope:puppet_or_actor
# TARGET = scope:recipient
# VALUE = miniscule_unity_loss
@ -2164,7 +2139,7 @@ dynast_legitimize_bastard_interaction = {
# }
#
# auto_accept = yes
#
# ai_targets = {
# ai_recipients = children
# max = 10

File diff suppressed because it is too large Load diff

View file

@ -37,6 +37,15 @@ gift_interaction = {
empire = 36
hegemony = 36
}
ai_frequency_by_tier_government_override = {
government = merchant_government
barony = 0
county = 180
duchy = 0
kingdom = 0
empire = 0
hegemony = 0
}
is_available = {
trigger_if = {
@ -56,12 +65,11 @@ gift_interaction = {
# Prioritize paying back loans first
scope:puppet_or_actor ?= {
this != scope:recipient
trigger_if = {
limit = {
exists = var:loan_amount_owed
exists = var:loan_holder
NOT = {
any_owned_story = {
type = story_cycle_loan
var:lender = scope:recipient
}
NOT = { var:loan_holder = scope:recipient }
}
# A landless puppet has nothing to gift that is not already the puppeteer's
trigger_if = {
@ -336,7 +344,7 @@ gift_interaction = {
target = scope:puppet_or_actor.culture
value = {
value = 20
multiply = scope:recipient.capital_province.county.development_level
multiply = scope:recipient.capital_province.county.prosperity_level
divide = 100
}
desc = cultural_acceptance_gain_gift_dynasty_perk
@ -652,9 +660,7 @@ gift_interaction = {
}
has_secret_relation_lover = scope:puppet_or_actor
has_relation_lover = scope:puppet_or_actor
has_relation_soulmate = scope:puppet_or_actor
has_relation_friend = scope:puppet_or_actor
has_relation_best_friend = scope:puppet_or_actor
}
gold < 0
}
@ -663,9 +669,7 @@ gift_interaction = {
OR = {
has_secret_relation_lover = scope:puppet_or_actor
has_relation_lover = scope:puppet_or_actor
has_relation_soulmate = scope:puppet_or_actor
has_relation_friend = scope:puppet_or_actor
has_relation_best_friend = scope:puppet_or_actor
}
scope:puppet_or_actor = {
OR = {
@ -696,7 +700,6 @@ gift_interaction = {
OR = {
scope:puppet_or_actor.liege ?= this
has_relation_friend = scope:puppet_or_actor
has_relation_best_friend = scope:puppet_or_actor
is_allied_to = scope:puppet_or_actor
is_close_or_extended_family_of = scope:puppet_or_actor
}
@ -724,7 +727,7 @@ gift_interaction = {
target = scope:puppet_or_actor
value < 0
}
NOT ={
NOT = {
has_opinion_modifier = {
target = scope:puppet_or_actor
modifier = gift_opinion
@ -734,7 +737,7 @@ gift_interaction = {
AND = { # Factioneering vassals should be considered
is_vassal_of = scope:puppet_or_actor
is_a_faction_member = yes
NOT ={
NOT = {
has_opinion_modifier = {
target = scope:puppet_or_actor
modifier = gift_opinion

View file

@ -1,4 +1,9 @@
# Be aware that the actual granting of the title happens in code!
# Interactions for players granting titles to their vassals.
#
# Implementation note:
# NPC/AI does not invoke 'grant_titles_interaction' or 'grant_governorship_interaction' by traditional means.
# Granting titles is instead handled by custom C++ code which picks the appropriate one given character properties.
#
# Extra custom Grant Titles functionality:
# - scope:government_type may be set when a specific government type will be switched to with the title grant (not set = default government type)
#
@ -30,9 +35,8 @@ grant_titles_interaction = {
is_shown = {
scope:puppet_or_actor != scope:recipient
scope:puppet_or_actor ?= {
NOT = {
government_has_flag = cannot_be_vassal_or_liege
}
is_landless_adventurer = no
is_landless_merchant = no
}
scope:recipient = {
OR = {
@ -75,6 +79,7 @@ grant_titles_interaction = {
limit = { is_ruler = no }
is_imprisoned = no
}
NOT = { is_imprisoned_by = scope:puppet_or_actor }
# DON'T TAKE OTHER PLAYERS' ACCLAIMED KNIGHTS
custom_description = {
text = grant_title_stealing_acclaimed_knight
@ -142,6 +147,78 @@ grant_titles_interaction = {
}
}
}
# When republics grant titles to other republics
trigger_if = {
limit = {
scope:actor = { government_has_flag = government_is_republic }
scope:recipient = { government_has_flag = government_is_republic }
scope:target = { is_noble_family_title = no } # For tooltip reasons, so we don't show more than necessary
}
# Republic governors can only hold titles neighboring any existing titles
scope:recipient = {
# Landed being granted additional land
trigger_if = {
limit = {
is_landed = yes
scope:target = { is_noble_family_title = no }
}
# Grant County
trigger_if = {
limit = { scope:target.tier = tier_county }
republic_can_grant_county_to_landed_trigger = yes
}
# Grant Duchy+
trigger_else = { republic_can_grant_duchy_or_higher_to_landed_trigger = yes }
}
# Landless being granted land for first time
trigger_else = {
# Duchy+ must be de jure above selected counties
trigger_if = {
limit = { scope:target.tier > tier_county }
republic_can_grant_duchy_or_higher_to_landless_trigger = yes
}
# County must be neighbor or de jure below selected titles
trigger_else = {
custom_tooltip = {
text = republic_title_must_be_neighboring_desc
trigger_if = {
limit = {
any_in_list = {
list = target_titles
count > 1
}
}
any_in_list = {
list = target_titles
count = all
trigger_if = {
limit = { tier = tier_barony }
de_jure_liege = { is_in_list = target_titles }
}
trigger_else_if = {
limit = { tier = tier_county }
OR = {
any_title_to_title_neighboring_county = { is_in_list = target_titles }
any_in_de_jure_hierarchy = {
tier = tier_barony
is_in_list = target_titles
}
}
}
trigger_else = {
any_in_de_jure_hierarchy = {
tier = tier_county
is_in_list = target_titles
}
}
}
}
}
}
}
}
}
}
can_be_picked_title = {
@ -178,6 +255,16 @@ grant_titles_interaction = {
always = no
}
}
trigger_if = {
limit = {
tier > tier_county
scope:recipient = { government_has_flag = government_is_herder }
}
custom_tooltip = {
text = GRANT_TITLES_ITEM_CANT_GIVE_ABOVE_COUNTY_TO_HERDER
always = no
}
}
trigger_if = {
limit = { is_nomad_title = yes }
@ -258,6 +345,7 @@ grant_titles_interaction = {
custom_description = {
text = grant_titles_interaction_can_only_give_diarch_de_jure_liege_to_diarch
subject = scope:puppet_or_actor.diarch
object = scope:puppet_or_actor
NAND = {
# Only applies if we have an active diarchy.
scope:puppet_or_actor = { has_active_diarchy = yes }
@ -303,10 +391,75 @@ grant_titles_interaction = {
custom_description = {
text = grant_titles_interaction_title_being_wagered
subject = scope:puppet_or_actor
NOT = {
scope:target = { has_variable = wagered_county }
}
}
# When republics grant titles to other republics
trigger_if = {
limit = {
scope:actor = { government_has_flag = government_is_republic }
scope:recipient = { government_has_flag = government_is_republic }
scope:target = { is_noble_family_title = no } # For tooltip reasons, so we don't show more than necessary
}
# Republic governors can only hold titles neighboring any existing titles
scope:recipient = {
# Landed being granted additional land
trigger_if = {
limit = {
is_landed = yes
scope:target = { is_noble_family_title = no }
}
# Grant County
trigger_if = {
limit = { scope:target.tier = tier_county }
republic_can_grant_county_to_landed_trigger = yes
}
# Grant Duchy+
trigger_else = { republic_can_grant_duchy_or_higher_to_landed_trigger = yes }
}
# Landless being granted land for first time
trigger_else = {
# Duchy+ must be de jure above selected counties
trigger_if = {
limit = { scope:target.tier > tier_county }
republic_can_grant_duchy_or_higher_to_landless_trigger = yes
}
# County must be neighbor or de jure below selected titles
trigger_else = {
custom_tooltip = {
text = republic_title_must_be_neighboring_desc
trigger_if = {
limit = {
any_in_list = {
list = target_titles
count > 0
}
}
OR = {
scope:target = {
OR = {
is_in_list = target_titles
any_title_to_title_neighboring_county = { is_in_list = target_titles }
trigger_if = {
limit = { tier = tier_barony }
de_jure_liege = { is_in_list = target_titles }
}
}
}
any_in_list = {
list = target_titles
is_de_jure_liege_or_above_target = scope:target
}
}
}
}
}
}
}
}
}
auto_accept = yes
@ -2301,6 +2454,153 @@ grant_governorship_interaction = {
}
can_be_picked_title = {
scope:target = {
is_leased_out = no
scope:recipient = {
trigger_if = { # Governors can only be appointed to certain titles
limit = {
is_governor = yes
scope:target = { is_noble_family_title = no } # For tooltip reasons, so we don't show more than necessary
}
custom_tooltip = { # Only one province of highest rank
text = only_one_province_of_highest_rank_tt
NAND = {
highest_held_title_tier = scope:target.tier
scope:target.tier >= main_administrative_tier
trigger_if = {
limit = {
scope:target.tier >= tier_duchy
}
scope:target = { # We make an exception if recipient controls at least one de jure county
any_de_jure_county = {
count < 1
OR = {
holder = scope:recipient
holder = { is_vassal_or_below_of = scope:recipient }
}
}
}
}
}
}
custom_tooltip = {
text = admin_must_be_de_jure_or_neighboring
any_held_title = {
OR = {
# The target title is part of your de jure structure
is_de_jure_liege_or_above_target = scope:target
target_is_de_jure_liege_or_above = scope:target
# Or is a neighboring county which de jure duchy is not part of your realm
AND = {
tier >= tier_county
any_title_to_title_neighboring_county = { this = scope:target }
scope:target = {
tier = tier_county
duchy = {
OR = {
NOT = { exists = holder }
holder = {
NOR = {
is_vassal_or_below_of = scope:puppet_or_actor
this = scope:puppet_or_actor
}
}
}
}
}
}
}
}
}
}
trigger_if = { # If recipient is landless and only have a family title, target title must be a duchy or above
limit = {
is_landless_ruler = yes
any_held_title = { is_noble_family_title = yes }
scope:target.tier < min_appointment_tier
}
primary_title.tier <= scope:target.tier
}
trigger_if = { # If recipient is a count, they can get only get counties within the same duchy
limit = {
highest_held_title_tier = tier_county
main_administrative_tier > tier_county
is_landed = yes
scope:target.tier = tier_county
}
custom_tooltip = {
text = admin_count_grant_only_counties
any_held_title = { duchy = scope:target.duchy }
}
}
tgp_is_ceremonial_liege_trigger = no
}
custom_tooltip = {
text = GRANT_TITLES_ITEM_CANT_GIVE_ADMIN_PRIMARY
this != scope:puppet_or_actor.capital_province.duchy
}
trigger_if = {
limit = { is_noble_family_title = yes }
custom_tooltip = {
text = GRANT_TITLES_ITEM_CANT_GIVE_NOBLE_FAMILY
always = no
}
}
trigger_if = {
limit = { exists = var:ceremonial_title }
custom_tooltip = {
text = GRANT_TITLES_ITEM_CANT_GIVE_CEREMONIAL_TITLE
always = no
}
}
trigger_if = {
limit = {
list_size:target_titles > 0
}
custom_tooltip = {
text = GRANT_TITLES_ITEM_ADMIN_CANT_GIVE_MORE_THAN_ONE
any_in_list = {
list = target_titles
scope:target ?= this
}
}
}
trigger_if = {
limit = { scope:target = title:k_fashion }
NOT = { scope:target = title:k_fashion }
}
}
custom_description = {
text = grant_titles_interaction_can_only_give_diarch_de_jure_liege_to_diarch
subject = scope:puppet_or_actor.diarch
object = scope:puppet_or_actor
NAND = {
# Only applies if we have an active diarchy.
scope:puppet_or_actor = { has_active_diarchy = yes }
# Now, prevent us from giving away our diarch's land to invalidate them...
scope:target = {
any_dejure_vassal_title_holder = { this = scope:puppet_or_actor.diarch }
# ... _unless_ we're giving it _to_ the diarch.
scope:recipient != scope:puppet_or_actor.diarch
# Plus we only care if the title is below our tier.
tier < scope:puppet_or_actor.highest_held_title_tier
}
}
}
custom_description = {
text = grant_titles_interaction_title_being_wagered
subject = scope:puppet_or_actor
NOT = {
scope:target = { has_variable = wagered_county }
}
}
}
auto_accept = yes

View file

@ -5,6 +5,8 @@ invite_agent_to_scheme_interaction = {
# Delaying the response makes it possible to invite multiple agents to the same slot.
ai_instant_response = yes
notification_text = invite_agent_to_scheme_interaction_notification
on_accept = {
scope:recipient = {

View file

@ -33,7 +33,7 @@ break_up_with_lover_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = miniscule_unity_loss

View file

@ -247,7 +247,22 @@
title = modify_vassal_contract_interaction_notification
right_icon = scope:recipient
# Add tyranny for each level increased. Can spend one hook to avoid one level of tyranny hit.
add_tyranny = vassal_obligation_increase_tyranny_gain
add_tyranny = {
value = vassal_obligation_increase_tyranny_gain
#HRE should not revoke titles from North Italians
if = {
limit = {
gg_hre_causes_additional_tyranny_trigger = { TARGET = scope:recipient }
}
multiply = 2
}
}
if = {
limit = {
gg_hre_causes_additional_tyranny_trigger = { TARGET = scope:recipient }
}
gg_untargeted_catalyst_effect = { CATALYST = catalyst_gg_imperial_overreach }
}
if = {
limit = { vassal_obligation_increase_tyranny_gain != 0 }
stress_and_fulfillment_impact = {
@ -391,6 +406,21 @@ vassal_modify_vassal_contract_interaction = {
}
}
trigger_else = {
trigger_if = {
limit = {
scope:puppet_or_actor = { government_has_flag = government_is_republic }
}
custom_description = {
text = "vassal_modify_vassal_contract_republic_requires_hook"
subject = scope:puppet_or_actor
object = scope:recipient
OR = {
always = scope:hook
always = scope:diarch
}
}
}
scope:puppet_or_actor = {
has_changed_contract_obligation_trigger = yes
}
@ -1425,6 +1455,7 @@ admin_vassal_modify_vassal_contract_interaction = {
send_option = {
is_shown = {
scope:puppet_or_actor = { is_diarch_of_target = scope:recipient }
scope:recipient = { has_diarchy_parameter = diarch_gets_a_free_change_on_vassal_contract }
}
is_valid = {
scope:puppet_or_actor = {
@ -1438,6 +1469,7 @@ admin_vassal_modify_vassal_contract_interaction = {
}
}
}
scope:recipient = { has_diarchy_active_parameter = diarch_gets_a_free_change_on_vassal_contract }
}
flag = diarch
localization = CALL_IN_DIARCH_RIGHTS
@ -1937,6 +1969,7 @@ nomad_vassal_modify_vassal_contract_interaction = {
send_option = {
is_shown = {
scope:puppet_or_actor = { is_diarch_of_target = scope:recipient }
scope:recipient = { has_diarchy_parameter = diarch_gets_a_free_change_on_vassal_contract }
}
is_valid = {
scope:puppet_or_actor = {
@ -1950,6 +1983,7 @@ nomad_vassal_modify_vassal_contract_interaction = {
}
}
}
scope:recipient = { has_diarchy_active_parameter = diarch_gets_a_free_change_on_vassal_contract }
}
flag = diarch
localization = CALL_IN_DIARCH_RIGHTS
@ -2341,6 +2375,13 @@ subject_modify_tributary_contract_interaction = {
limit = { always = scope:hook }
use_hook = scope:recipient
}
else_if = {
limit = { always = scope:gold }
pay_short_term_gold = {
target = scope:recipient
gold = 100
}
}
else = {
if = {
limit = { subject_standing < 0 } # this means we don't use subject standing
@ -2355,9 +2396,14 @@ subject_modify_tributary_contract_interaction = {
}
}
else = {
pay_short_term_gold = {
target = scope:recipient
gold = major_gold_value
if = {
limit = {
NOT = { government_has_flag = government_is_merchant }
}
pay_short_term_gold = {
target = scope:recipient
gold = major_gold_value
}
}
}
}
@ -2432,6 +2478,7 @@ subject_modify_tributary_contract_interaction = {
send_option = {
is_shown = {
scope:puppet_or_actor = { is_diarch_of_target = scope:recipient }
scope:recipient = { has_diarchy_parameter = diarch_gets_a_free_change_on_vassal_contract }
}
is_valid = {
scope:puppet_or_actor = {
@ -2445,10 +2492,25 @@ subject_modify_tributary_contract_interaction = {
}
}
}
scope:recipient = { has_diarchy_active_parameter = diarch_gets_a_free_change_on_vassal_contract }
}
flag = diarch
localization = CALL_IN_DIARCH_RIGHTS
}
send_option = {
is_shown = {
scope:actor = {
government_has_flag = government_is_merchant
}
}
is_valid = {
scope:actor = {
}
}
flag = gold
localization = REQUEST_CONTRACT_CHANGE_GOLD
}
should_use_extra_icon = {
scope:puppet_or_actor = { has_usable_hook = scope:recipient }
}
@ -2460,12 +2522,21 @@ subject_modify_tributary_contract_interaction = {
# Opinion Factor
opinion_modifier = {
trigger = { NOT = { scope:actor = { government_has_flag = government_is_merchant } } }
who = scope:recipient
opinion_target = scope:puppet_or_actor
multiplier = 1
desc = AI_OPINION_REASON
}
opinion_modifier = {
trigger = { scope:actor = { government_has_flag = government_is_merchant } }
who = scope:recipient
opinion_target = scope:actor
multiplier = 0.75
desc = AI_OPINION_REASON
}
modifier = {
add = {
add = scope:new_value
@ -2482,9 +2553,31 @@ subject_modify_tributary_contract_interaction = {
}
multiply = 0.5
}
if = { # For merchants, it is a bit rougher making a difference, to see if we can force them to use gold
limit = {
scope:actor = {
has_subject_contract_group = tributary_merchant
}
}
multiply = 3
}
}
desc = AI_CONTRACT_BALANCE
}
modifier = {
scope:gold = yes
add = 20
desc = AI_GOLD_BALANCE
}
modifier = {
add = 15
desc = exclusive_contracts_perk_acceptance
scope:actor = {
government_has_flag = government_is_merchant
has_perk = forced_vassalage_perk
}
}
}
}

File diff suppressed because it is too large Load diff

View file

@ -22,17 +22,36 @@
ai_instant_response = yes
desc = make_clerical_puppet_interaction_desc
notification_text = make_clerical_puppet_interaction_notification
is_available = {
can_have_realm_priest_puppet_trigger = yes
is_incapable = no
trigger_if = {
limit = {
is_ai = yes
}
NOT = {
exists = puppet:theological_agent_puppet
}
is_incapable = no
trigger_if = {
limit = {
is_ai = yes
}
NOT = {
exists = puppet:theological_agent_puppet
}
cp:councillor_court_chaplain ?= {
is_available_quick = {
ai = yes
adult = yes
incapable = no
}
NOT = { exists = puppeteer }
}
OR = {
piety_level >= 2
has_hook = cp:councillor_court_chaplain
cp:councillor_court_chaplain = {
has_dread_level_towards = {
target = root
level >= 2
}
}
}
}
}
@ -128,7 +147,7 @@
hidden_effect = {
send_interface_toast = {
type = event_toast_effect_good
title = make_clerical_puppet_interaction_notification
title = make_clerical_puppet_interaction_toast
left_icon = scope:actor
right_icon = scope:recipient
set_puppet = {
@ -259,6 +278,7 @@ make_external_clerical_puppet_interaction = {
use_diplomatic_range = no
desc = make_external_clerical_puppet_interaction_desc
notification_text = make_clerical_puppet_interaction_notification
is_available = {
is_adult = yes
@ -445,7 +465,9 @@ make_external_clerical_puppet_interaction = {
on_accept = {
scope:actor = {
trigger_event = pam_interactions_events.0120
pam_generic_set_puppet_interaction_side_effects = yes
show_as_tooltip = {
pam_generic_set_puppet_interaction_side_effects = yes
}
}
scope:recipient = {
custom_tooltip = set_external_clerical_puppet_tt
@ -686,6 +708,8 @@ make_external_ruler_puppet_interaction = {
desc = make_external_ruler_puppet_interaction_desc
notification_text = make_external_ruler_puppet_interaction_greetings
is_available = {
is_ai = no
trigger_if = {
@ -965,7 +989,9 @@ make_external_ruler_puppet_interaction = {
on_accept = {
scope:actor = {
trigger_event = pam_interactions_events.0121
pam_generic_set_puppet_interaction_side_effects = yes
show_as_tooltip = {
pam_generic_set_puppet_interaction_side_effects = yes
}
}
scope:recipient = {
custom_tooltip = set_external_ruler_puppet_tt

View file

@ -5,6 +5,7 @@ ask_for_conversion_interaction = {
popup_on_receive = yes
desc = compel_conversion_interaction_desc
notification_text = demand_conversion_minister_rites_interaction_notice
hidden = yes
@ -2619,7 +2620,7 @@ seek_indulgences_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = medium_unity_gain
@ -2640,7 +2641,7 @@ seek_indulgences_interaction = {
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = minor_unity_loss
@ -2667,6 +2668,15 @@ seek_indulgences_interaction = {
empire = 36
hegemony = 36
}
ai_frequency_by_tier_government_override = {
government = merchant_government
barony = 0
county = 108
duchy = 0
kingdom = 0
empire = 0
hegemony = 0
}
ai_will_do = {
base = -25
@ -3091,6 +3101,16 @@ declaration_of_repentance_interaction = {
evaluate_action_decreasing_house_unity = {
VALUE = -100
}
modifier = {
add = 40
scope:actor = { has_character_modifier = favored_by_pope_modifier }
desc = FAVORED_BY_POPE
}
modifier = {
add = -40
scope:actor = { has_character_modifier = scorned_pope_modifier }
desc = HAS_SCORNED_POPE
}
}
ai_min_reply_days = 1
@ -3114,7 +3134,7 @@ declaration_of_repentance_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = medium_unity_gain
@ -3133,7 +3153,7 @@ declaration_of_repentance_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = minor_unity_loss
@ -3310,7 +3330,10 @@ excommunicate_interaction = {
}
situation:the_christian_church = { trigger_situation_catalyst = catalyst_excommunicate }
}
else = {
else_if = {
limit = {
situation:the_christian_church = { situation_top_has_catalyst = catalyst_excommunicate_minor }
}
situation:the_christian_church = { trigger_situation_catalyst = catalyst_excommunicate_minor }
}
}
@ -3320,7 +3343,6 @@ excommunicate_interaction = {
REQUESTING_CHARACTER = scope:puppet_or_actor
TARGET_CHARACTER = scope:recipient
}
scope:recipient = {
# Letter arrives a few days later; gives time for the trait to land before the player reads it.
trigger_event = {
@ -3328,9 +3350,8 @@ excommunicate_interaction = {
days = 5
}
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = medium_unity_loss
@ -3372,7 +3393,6 @@ excommunicate_interaction = {
scope:recipient = {
NOR = {
has_relation_rival = scope:puppet_or_actor
has_relation_nemesis = scope:puppet_or_actor
is_at_war_with = scope:puppet_or_actor
has_character_flag = executed_own_hof_unlawfully
has_character_flag = executed_senior_cleric_unlawfully
@ -3465,11 +3485,11 @@ lift_excommunication_interaction = {
NOT = {
religious_head_or_challenger ?= scope:recipient
}
}
scope:puppet_or_actor.faith ?= {
has_doctrine = doctrine_spiritual_head
faith_has_sacraments_central_trigger = yes
this = scope:recipient.faith
faith ?= {
has_doctrine = doctrine_spiritual_head
faith_has_sacraments_central_trigger = yes
this = scope:recipient.faith
}
}
scope:recipient = {
has_trait = excommunicated
@ -3488,17 +3508,13 @@ lift_excommunication_interaction = {
}
is_valid_showing_failures_only = {
trigger_if = {
limit = { scope:is_puppet_action ?= yes }
scope:puppet_or_actor = {
scope:puppet_or_actor = {
trigger_if = {
limit = { scope:is_puppet_action ?= yes }
piety >= lift_excommunication_interaction_cost_value
}
}
scope:puppet_or_actor = {
highest_held_title_tier >= tier_duchy
NOT = {
is_at_war_with = scope:recipient
}
NOT = { is_at_war_with = scope:recipient }
custom_tooltip = {
text = HOF_INTERACTION_UNREFORMED_FAITH
NOT = {
@ -3536,21 +3552,13 @@ lift_excommunication_interaction = {
scope:puppet_or_actor = {
if = {
limit = {
NOT = {
this = scope:recipient
}
any_character_situation = {
situation_type = the_christian_church
}
situation:the_christian_church ?= {
situation_top_has_catalyst = catalyst_lift_excommunication
}
NOT = { this = scope:recipient }
any_character_situation = { situation_type = the_christian_church }
situation:the_christian_church ?= { situation_top_has_catalyst = catalyst_lift_excommunication }
}
if = {
limit = {
scope:recipient = {
highest_held_title_tier >= tier_kingdom
}
scope:recipient = { highest_held_title_tier >= tier_kingdom }
}
situation:the_christian_church = { trigger_situation_catalyst = catalyst_lift_excommunication }
}
@ -3561,7 +3569,7 @@ lift_excommunication_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = medium_unity_gain
@ -3637,7 +3645,6 @@ lift_excommunication_interaction = {
scope:recipient = {
NOR = { # Only do this for friends
has_relation_friend = scope:puppet_or_actor
has_relation_best_friend = scope:puppet_or_actor
is_allied_to = scope:puppet_or_actor
has_variable = pam_turned_the_other_cheek_var
scope:puppet_or_actor = { # Unless you are in the Concord phase
@ -4042,6 +4049,16 @@ request_excommunication_interaction = {
has_trait = consecrated_blood
}
}
modifier = {
add = 40
scope:actor = { has_character_modifier = favored_by_pope_modifier }
desc = FAVORED_BY_POPE
}
modifier = {
add = -40
scope:actor = { has_character_modifier = scorned_pope_modifier }
desc = HAS_SCORNED_POPE
}
modifier = {
add = 20
scope:puppet_or_actor = { # PAM - Reform phase
@ -4162,7 +4179,7 @@ request_excommunication_interaction = {
}
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = medium_unity_loss
@ -4185,7 +4202,7 @@ request_excommunication_interaction = {
HOOK = excommunication_hook
PIETY_VALUE = massive_piety_value
}
}
}
}
on_decline = {
@ -4201,7 +4218,7 @@ request_excommunication_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = miniscule_unity_gain
@ -4229,6 +4246,15 @@ request_excommunication_interaction = {
empire = 12
hegemony = 12
}
ai_frequency_by_tier_government_override = {
government = merchant_government
barony = 0
county = 144
duchy = 0
kingdom = 0
empire = 0
hegemony = 0
}
ai_will_do = {
base = 25
@ -4243,7 +4269,6 @@ request_excommunication_interaction = {
scope:secondary_recipient = {
NOR = {
has_relation_rival = scope:puppet_or_actor
has_relation_nemesis = scope:puppet_or_actor
is_at_war_with = scope:puppet_or_actor
has_character_flag = executed_own_hof_unlawfully
has_character_flag = executed_senior_cleric_unlawfully
@ -4374,6 +4399,7 @@ send_to_holy_order_interaction = {
limit = { scope:is_puppet_action ?= yes }
scope:puppet_or_actor = {
dynasty ?= { dynasty_prestige >= take_vows_dynasty_prestige_cost_value }
prestige >= take_vows_prestige_cost_value
}
}
scope:recipient = {
@ -4480,6 +4506,13 @@ send_to_holy_order_interaction = {
multiply = 0
}
}
prestige = {
value = take_vows_prestige_cost_value
if = {
limit = { scope:is_puppet_action ?= yes }
multiply = 0
}
}
}
on_send = {
@ -4514,6 +4547,15 @@ send_to_holy_order_interaction = {
}
}
}
if = {
limit = { take_vows_prestige_cost_value > 0 }
add_prestige = {
value = {
value = take_vows_prestige_cost_value
multiply = -1
}
}
}
}
}
scope:puppet_or_actor = {
@ -4568,12 +4610,17 @@ send_to_holy_order_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = minor_unity_gain
DESC = clan_unity_send_to_holy_order.desc
REVERSE_NON_HOUSE_TARGET = no
if = {
limit = {
scope:puppet_or_actor = { government_has_flag = government_uses_house_unity }
}
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = minor_unity_gain
DESC = clan_unity_send_to_holy_order.desc
REVERSE_NON_HOUSE_TARGET = no
}
}
}
@ -4632,7 +4679,7 @@ send_to_holy_order_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = minor_unity_loss
@ -4719,8 +4766,6 @@ send_to_holy_order_interaction = {
has_relation_lover = scope:puppet_or_actor.cp:councillor_court_chaplain
has_relation_friend = scope:puppet_or_actor.cp:councillor_court_chaplain
has_secret_relation_lover = scope:puppet_or_actor.cp:councillor_court_chaplain
has_relation_soulmate = scope:puppet_or_actor.cp:councillor_court_chaplain
has_relation_best_friend = scope:puppet_or_actor.cp:councillor_court_chaplain
opinion = {
target = scope:puppet_or_actor.cp:councillor_court_chaplain
value >= very_high_positive_opinion
@ -5018,6 +5063,15 @@ send_to_holy_order_interaction = {
empire = 24
hegemony = 24
}
ai_frequency_by_tier_government_override = {
government = merchant_government
barony = 0
county = 432
duchy = 0
kingdom = 0
empire = 0
hegemony = 0
}
ai_will_do = {
base = 0
@ -5030,10 +5084,7 @@ send_to_holy_order_interaction = {
modifier = { # Try to send rivals
add = 100
scope:puppet_or_actor = {
OR = {
has_relation_rival = scope:recipient
has_relation_nemesis = scope:recipient
}
has_relation_rival = scope:recipient
}
}
@ -5270,6 +5321,7 @@ take_vows_interaction = {
limit = { scope:is_puppet_action ?= yes }
scope:puppet_or_actor = {
dynasty ?= { dynasty_prestige >= take_vows_dynasty_prestige_cost_value }
prestige >= take_vows_prestige_cost_value
}
}
scope:recipient = {
@ -5387,6 +5439,13 @@ take_vows_interaction = {
multiply = 0
}
}
prestige = {
value = take_vows_prestige_cost_value
if = {
limit = { scope:is_puppet_action ?= yes }
multiply = 0
}
}
gold = {
value = 0
if = {
@ -5428,6 +5487,15 @@ take_vows_interaction = {
}
}
}
if = {
limit = { take_vows_prestige_cost_value > 0 }
add_prestige = {
value = {
value = take_vows_prestige_cost_value
multiply = -1
}
}
}
}
}
scope:puppet_or_actor = {
@ -5567,7 +5635,7 @@ take_vows_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = minor_unity_gain
@ -5632,7 +5700,7 @@ take_vows_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = minor_unity_loss
@ -5736,8 +5804,6 @@ take_vows_interaction = {
has_relation_lover = scope:puppet_or_actor.cp:councillor_court_chaplain
has_relation_friend = scope:puppet_or_actor.cp:councillor_court_chaplain
has_secret_relation_lover = scope:puppet_or_actor.cp:councillor_court_chaplain
has_relation_soulmate = scope:puppet_or_actor.cp:councillor_court_chaplain
has_relation_best_friend = scope:puppet_or_actor.cp:councillor_court_chaplain
opinion = {
target = scope:puppet_or_actor.cp:councillor_court_chaplain
value >= very_high_positive_opinion
@ -6204,10 +6270,7 @@ take_vows_interaction = {
modifier = { # Try to send rivals
add = 100
scope:puppet_or_actor = {
OR = {
has_relation_rival = scope:recipient
has_relation_nemesis = scope:recipient
}
has_relation_rival = scope:recipient
}
}
@ -6500,7 +6563,7 @@ temporal_condemnation_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = medium_unity_gain
@ -6574,15 +6637,29 @@ host_honored_guest_interaction = {
is_available = {
trigger_if = {
limit = { is_ai = yes }
piety >= major_piety_value
OR = {
AND = {
rite ?= { rite_has_parameter = host_honored_guests_active }
piety >= major_piety_value
}
AND = {
NOT = { rite ?= { rite_has_parameter = host_honored_guests_active } }
prestige >= major_prestige_value
}
}
}
}
is_shown = {
scope:recipient != scope:puppet_or_actor
scope:puppet_or_actor ?= {
rite ?= {
rite_has_parameter = host_honored_guests_active
is_playable_character = yes
is_adult = yes
OR = {
rite ?= {
rite_has_parameter = host_honored_guests_active
}
culture = { has_cultural_parameter = caravanserai_hospitality }
}
is_playable_character = yes
is_adult = yes
@ -6684,9 +6761,20 @@ host_honored_guest_interaction = {
}
# Spend piety based on recipient's tier.
scope:puppet_or_actor = {
add_piety = {
value = 0
subtract = scope:recipient.tier_scaled_piety_value
if = {
limit = {
rite = { rite_has_parameter = host_honored_guests_active }
}
add_piety = {
value = 0
subtract = scope:recipient.tier_scaled_piety_value
}
}
else = {
add_prestige = {
value = 0
subtract = scope:recipient.tier_scaled_prestige_value
}
}
}
@ -6710,10 +6798,11 @@ host_honored_guest_interaction = {
limit = {
OR = {
has_trait = cynical
NOT = {
NOR = {
rite = {
rite_has_parameter = host_honored_guests_active
}
culture = { has_cultural_parameter = caravanserai_hospitality }
}
}
}
@ -6732,7 +6821,7 @@ host_honored_guest_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = miniscule_unity_gain
@ -8015,7 +8104,7 @@ hof_ask_for_claim_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:secondary_recipient
VALUE = minor_unity_loss
@ -8431,7 +8520,7 @@ sun_trial_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = major_unity_loss
@ -8546,7 +8635,7 @@ literalist_debate_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = medium_unity_loss
@ -9522,6 +9611,7 @@ take_monastic_vows_interaction = {
limit = { scope:is_puppet_action ?= yes }
scope:puppet_or_actor = {
dynasty ?= { dynasty_prestige >= take_vows_dynasty_prestige_cost_value }
prestige >= take_vows_prestige_cost_value
}
}
scope:recipient = {
@ -9664,6 +9754,13 @@ take_monastic_vows_interaction = {
multiply = 0
}
}
prestige = {
value = take_vows_prestige_cost_value
if = {
limit = { scope:is_puppet_action ?= yes }
multiply = 0
}
}
gold = {
value = 0
if = {
@ -9708,6 +9805,15 @@ take_monastic_vows_interaction = {
}
}
}
if = {
limit = { take_vows_prestige_cost_value > 0 }
add_prestige = {
value = {
value = take_vows_prestige_cost_value
multiply = -1
}
}
}
}
}
scope:secondary_recipient = {
@ -9779,7 +9885,7 @@ take_monastic_vows_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = minor_unity_gain
@ -9873,7 +9979,7 @@ take_monastic_vows_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = minor_unity_loss
@ -10000,8 +10106,6 @@ take_monastic_vows_interaction = {
has_relation_lover = scope:puppet_or_actor.cp:councillor_court_chaplain
has_relation_friend = scope:puppet_or_actor.cp:councillor_court_chaplain
has_secret_relation_lover = scope:puppet_or_actor.cp:councillor_court_chaplain
has_relation_soulmate = scope:puppet_or_actor.cp:councillor_court_chaplain
has_relation_best_friend = scope:puppet_or_actor.cp:councillor_court_chaplain
opinion = {
target = scope:puppet_or_actor.cp:councillor_court_chaplain
value >= very_high_positive_opinion
@ -10446,6 +10550,15 @@ take_monastic_vows_interaction = {
empire = 24
hegemony = 24
}
ai_frequency_by_tier_government_override = {
government = merchant_government
barony = 0
county = 432
duchy = 0
kingdom = 0
empire = 0
hegemony = 0
}
ai_will_do = {
base = 0
@ -10469,10 +10582,7 @@ take_monastic_vows_interaction = {
modifier = { # Try to send rivals
add = 100
scope:puppet_or_actor = {
OR = {
has_relation_rival = scope:recipient
has_relation_nemesis = scope:recipient
}
has_relation_rival = scope:recipient
}
}
modifier = { # Has cloister to send the child to
@ -10591,6 +10701,7 @@ take_monastic_vows_interaction = {
county.holder.top_liege = scope:puppet_or_actor.top_liege
}
any_leased_title = {
exists = scope:puppet_or_actor.capital_county.kingdom
kingdom ?= scope:puppet_or_actor.capital_county.kingdom
}
}
@ -10687,6 +10798,7 @@ take_monastic_vows_interaction = {
empire = scope:target.empire
}
trigger_else = {
exists = scope:puppet_or_actor.capital_county.empire
empire = scope:puppet_or_actor.capital_county.empire
}
}
@ -11223,6 +11335,15 @@ monastic_donation_interaction = {
empire = 12
hegemony = 12
}
ai_frequency_by_tier_government_override = {
government = merchant_government
barony = 0
county = 144
duchy = 0
kingdom = 0
empire = 0
hegemony = 0
}
ai_will_do = {
base = 0
@ -11259,6 +11380,7 @@ monastic_donation_interaction = {
county.holder.top_liege = scope:puppet_or_actor.top_liege
}
any_leased_title = {
exists = scope:puppet_or_actor.capital_county
kingdom ?= scope:puppet_or_actor.capital_county.kingdom
}
}
@ -11313,6 +11435,8 @@ monastic_donation_interaction = {
modifier = {
factor = 1.25
exists = capital_county.kingdom
exists = scope:recipient.capital_county.kingdom
capital_county.kingdom = scope:recipient.capital_county.kingdom
}
@ -11351,6 +11475,7 @@ monastic_donation_interaction = {
empire = scope:target.empire
}
trigger_else = {
exists = scope:puppet_or_actor.capital_county
empire = scope:puppet_or_actor.capital_county.empire
}
}
@ -11987,6 +12112,8 @@ lease_title_to_existing_monastic_order_interaction = {
modifier = {
factor = 1.25
exists = capital_county.kingdom
exists = scope:recipient.capital_county.kingdom
capital_county.kingdom = scope:recipient.capital_county.kingdom
}

View file

@ -84,21 +84,12 @@
# Plus make sure there's a legal right to revoke.
scope:puppet_or_actor = {
trigger_if = {
limit = { government_has_flag = government_is_tribal }
custom_description = {
text = "has_law_allowing_title_revocation_tribal"
has_realm_law_flag = title_revocation_allowed
limit = {
scope:recipient = {
highest_held_title_tier = tier_barony # Can always revoke from barons
}
}
}
trigger_else_if = {
limit = { government_is_japanese_trigger = yes }
custom_description = {
text = "has_law_allowing_title_revocation_soryo"
has_realm_law_flag = title_revocation_allowed
}
}
trigger_else_if = {
limit = { government_has_mechanic = administrative }
always = yes
}
trigger_else_if = {
limit = { realm_law_use_church_authority = yes }
@ -108,9 +99,35 @@
}
}
trigger_else = {
custom_description = {
text = "has_law_allowing_title_revocation_crown"
has_realm_law_flag = title_revocation_allowed
trigger_if = {
limit = { government_has_flag = government_is_tribal }
custom_description = {
text = "has_law_allowing_title_revocation_tribal"
has_realm_law_flag = title_revocation_allowed
}
}
trigger_else_if = {
limit = { government_is_japanese_trigger = yes }
custom_description = {
text = "has_law_allowing_title_revocation_soryo"
has_realm_law_flag = title_revocation_allowed
}
}
trigger_else_if = {
limit = { government_has_mechanic = administrative }
}
trigger_else_if = {
limit = { government_has_flag = government_is_republic }
custom_description = {
text = "has_law_allowing_title_revocation_republic"
has_realm_law_flag = title_revocation_allowed
}
}
trigger_else = {
custom_description = {
text = "has_law_allowing_title_revocation_crown"
has_realm_law_flag = title_revocation_allowed
}
}
}
}
@ -238,6 +255,18 @@
has_clerical_region = yes
pam_title_is_clerical_elector_trigger = yes
pam_title_is_antipope_office_trigger = yes
AND = {
holder = { government_has_flag = government_is_republic }
gdp_is_republic_title_trigger = yes
}
}
custom_description = {
text = "character_interactions_not_clerical_elector_title"
pam_title_is_clerical_elector_trigger = no
}
custom_description = {
text = "character_interactions_not_antipope_office_title"
pam_title_is_antipope_office_trigger = no
}
}
}
@ -441,6 +470,17 @@
trigger_event = char_interaction.0199
}
}
# Code hands the revoked primary title's treasury to the revoker, so empty a baron's treasury first
scope:recipient = {
if = {
limit = {
scope:landed_title.tier = tier_barony
primary_title = scope:landed_title
has_treasury = yes
}
hidden_effect = { empty_treasury_when_abandoning_landed_life_effect = yes }
}
}
revoke_title_interaction_effect = yes
if = {
@ -612,9 +652,16 @@
}
}
else = {
war_for_revoke_effect = {
LIEGE = scope:puppet_or_actor
REBEL = scope:recipient
if = {
limit = {
scope:puppet_or_actor = {
NOT = { has_realm_law_flag = republic_vassal_refusal_allowed }
}
}
war_for_revoke_effect = {
LIEGE = scope:puppet_or_actor
REBEL = scope:recipient
}
}
scope:recipient = {
add_opinion = {
@ -956,6 +1003,15 @@
}
desc = VASSALS_REFUSAL_indomitable_azatani
}
#GG modifier
modifier = {
add = -50
OR = {
gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:actor SECOND = scope:recipient }
scope:recipient = { is_gg_undecided_trigger = yes }
}
desc = RECIPIENT_IS_NOT_YOUR_GG
}
}
# AI
@ -964,11 +1020,6 @@
}
ai_frequency = 0 # This is handled via code instead; see REVOKE_TITLE_TICK in the AI defines. All the logic for *if* to send a revoke though is scripted below
ai_potential = {
has_realm_law_flag = title_revocation_allowed
primary_title.tier >= tier_county
}
ai_will_do = {
base = -1000
@ -1066,6 +1117,11 @@
# Always revoke preferred capital and capital duchy
modifier = {
years_from_game_start >= 3
exists = scope:puppet_or_actor.primary_title.title_capital_county
OR = {
scope:landed_title = scope:puppet_or_actor.primary_title.title_capital_county
scope:landed_title = scope:puppet_or_actor.primary_title.title_capital_county.de_jure_liege
}
OR = {
scope:puppet_or_actor = {
is_at_war = no
@ -1089,11 +1145,6 @@
primary_title = title:e_europa
}
}
exists = scope:puppet_or_actor.primary_title.title_capital_county
OR = {
scope:landed_title = scope:puppet_or_actor.primary_title.title_capital_county
scope:landed_title = scope:puppet_or_actor.primary_title.title_capital_county.de_jure_liege
}
NAND = { # Don't revoke player titles tyranically, it must be possible to play and succeed as Ulm!
scope:landed_title.holder = {
is_ai = no
@ -1107,6 +1158,9 @@
# If below domain limit, try to revoke counties in your capital duchy despite tyranny, sometimes
modifier = {
years_from_game_start >= 3
scope:landed_title.tier = tier_county # Only Counties
exists = scope:puppet_or_actor.primary_title.title_capital_county
scope:landed_title.de_jure_liege = scope:puppet_or_actor.primary_title.title_capital_county.de_jure_liege # Under the same Duchy as your capital
OR = {
scope:puppet_or_actor = {
is_at_war = no
@ -1146,14 +1200,12 @@
}
}
}
exists = scope:puppet_or_actor.primary_title.title_capital_county
OR = {
scope:puppet_or_actor.primary_title.title_capital_county.holder = scope:puppet_or_actor # You have your de jure capital already
NOT = {
scope:puppet_or_actor.primary_title.title_capital_county.holder.top_liege = scope:puppet_or_actor.top_liege # Or your De Jure capital isn't in your realm
}
}
scope:landed_title.tier = tier_county # Only Counties
OR = { # The AI gives away wrong-holding counties almost instantly, so we restrict to counties with holdings they can hold
scope:landed_title.title_province = { has_holding_type = castle_holding } # Everyone is valid for castles
AND = {
@ -1192,8 +1244,6 @@
}
}
scope:landed_title.de_jure_liege = scope:puppet_or_actor.primary_title.title_capital_county.de_jure_liege # Under the same Duchy as your capital
scope:recipient = { # Not from players
is_ai = yes
}
@ -1289,6 +1339,11 @@
modifier = {
scope:puppet_or_actor.faith != scope:recipient.faith
scope:recipient.primary_title.tier > tier_barony
scope:puppet_or_actor = {
NOT = {
title_revocation_is_tyrannical_trigger = { VASSAL = scope:recipient }
}
}
OR = {
scope:puppet_or_actor.faith.religion != scope:recipient.faith.religion
scope:puppet_or_actor.ai_zeal >= low_negative_ai_value
@ -1302,9 +1357,9 @@
}
NOT = {
any_vassal = {
is_imprisoned_by = scope:puppet_or_actor
faith != scope:puppet_or_actor.faith
primary_title.tier > tier_barony
is_imprisoned_by = scope:puppet_or_actor
time_in_prison = { years < 1 }
}
}
@ -1318,6 +1373,9 @@
has_relation_rival = scope:recipient
has_relation_nemesis = scope:recipient
}
NOT = {
title_revocation_is_tyrannical_trigger = { VASSAL = scope:recipient }
}
}
add = 100
}
@ -1330,9 +1388,7 @@
scope:puppet_or_actor = {
OR = {
has_relation_friend = scope:recipient
has_relation_best_friend = scope:recipient
has_relation_lover = scope:recipient
has_relation_soulmate = scope:recipient
is_parent_of = scope:recipient
is_grandparent_of = scope:recipient
is_great_grandparent_of = scope:recipient
@ -1409,12 +1465,12 @@
scope:puppet_or_actor = {
government_has_flag = government_is_clan
exists = house
ai_wants_high_unity = yes
}
scope:recipient = {
government_has_flag = government_is_clan
house ?= scope:puppet_or_actor.house
}
scope:puppet_or_actor = { ai_wants_high_unity = yes }
add = -1000
} # Admin Government: Do not revoke titles from your house unless it's really needed
modifier = {
@ -1471,6 +1527,20 @@
}
}
# House Unity: Avoid revoking titles from house members if the AI wants to have high unity
modifier = {
scope:puppet_or_actor = {
government_has_flag = government_uses_house_unity
exists = house
}
scope:recipient = {
government_has_flag = government_uses_house_unity
house ?= scope:puppet_or_actor.house
}
scope:puppet_or_actor = { ai_wants_high_unity = yes }
add = -1000
}
# Don't take a title off anyone when refusing would raise half the realm against us. A prisoner, baron and lawful revocations are exempt, because they don't cause civil wars
modifier = {
factor = 0
@ -1553,5 +1623,11 @@
# }
# factor = 0
# }
modifier = {
scope:actor = {
gg_hre_causes_additional_tyranny_trigger = { TARGET = scope:recipient }
}
factor = 0
}
}
}

View file

@ -53,17 +53,10 @@ start_murder_interaction = {
}
}
scope:recipient = { NOT = { has_strong_hook = scope:puppet_or_actor } }
trigger_if = {
limit = {
scope:puppet_or_actor = {
has_government = landless_adventurer_government
}
}
#Has to be used instead of diplo range checks in laamp to landed interactions
ep3_laamp_diplo_range_trigger = {
TARGET = scope:recipient
LAAMP = scope:puppet_or_actor
}
#limit range for landless adventurers/merchants
exceptional_diplo_range_trigger = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
}
trigger_if = {
limit = { scope:puppet_or_actor = { has_variable = no_scheming_allowed_var } }
@ -129,13 +122,22 @@ start_murder_interaction = {
scope:puppet_or_actor = {
if = { # Only get stressed/SP penalties if you don't have the parameter
limit = {
NOT = { has_fulfillment_parameter = sp_murder_yields_no_sp_or_stress_loss }
NOR = {
has_fulfillment_parameter = sp_murder_yields_no_sp_or_stress_loss
has_variable = recently_troubled_by_murder_plot
}
}
stress_and_fulfillment_impact = {
compassionate = major_stress_impact_gain
honest = medium_stress_impact_gain
just = medium_stress_impact_gain
}
hidden_effect = {
set_variable = {
name = recently_troubled_by_murder_plot
years = 1
}
}
}
send_interface_toast = {
type = event_toast_effect_neutral
@ -218,14 +220,15 @@ start_murder_interaction = {
# Hand over the modifier.
random_scheme = {
type = murder
limit = {
scheme_target_character = scope:recipient
}
limit = { scheme_target_character = scope:recipient }
add_scheme_modifier = { type = feast_learnt_habits_modifier }
}
# Remove the variable now that we're done with it.
remove_variable = feast_events_ewan_0001_bonus_value
}
# #Guelphs & Ghibellines
# gg_scheme_catalyst_warning_effect = { SCHEME = murder }
# gg_involvement_scheme_tooltip_effect = yes
}
if = {
limit = {
@ -327,18 +330,10 @@ start_abduct = {
}
}
scope:recipient = { NOT = { has_strong_hook = scope:puppet_or_actor } }
#limit range for landless adventurers
trigger_if = {
limit = {
scope:puppet_or_actor = {
has_government = landless_adventurer_government
}
}
#Has to be used instead of diplo range checks in laamp to landed interactions
ep3_laamp_diplo_range_trigger = {
TARGET = scope:recipient
LAAMP = scope:puppet_or_actor
}
#limit range for landless adventurers/merchants
exceptional_diplo_range_trigger = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
}
trigger_if = {
limit = { scope:puppet_or_actor = { has_variable = no_scheming_allowed_var } }
@ -488,6 +483,9 @@ start_abduct = {
}
}
}
#Guelphs & Ghibellines
gg_scheme_catalyst_warning_effect = { SCHEME = abduct }
gg_involvement_scheme_tooltip_effect = yes
}
if = {
limit = {
@ -582,6 +580,58 @@ start_abduct = {
}
always = yes
}
#The target is quite the GG meddler
modifier = {
add = {
value = 0
#More weight if they have high involvement, stacking
if = {
limit = {
scope:recipient = {
exists = var:gg_involvement
var:gg_involvement >= gg_involvement_major_value
}
}
add = 25
}
if = {
limit = {
scope:recipient = {
exists = var:gg_involvement
var:gg_involvement >= gg_involvement_massive_value
}
}
add = 25
}
if = {
limit = {
scope:recipient = {
exists = var:gg_involvement
var:gg_involvement >= gg_involvement_omega_value
}
}
add = 25
}
if = {
limit = {
scope:recipient = {
exists = var:gg_involvement
var:gg_involvement >= gg_involvement_capped_value
}
}
add = 25
}
#Double if the target banished someone from your side
if = {
limit = {
scope:recipient = { has_character_modifier = vilified_ruler_modifier }
}
multiply = 2
}
}
exists = situation:guelph_ghibelline
gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:actor SECOND = scope:recipient }
}
#Promised to abstain from sin
modifier = {
OR = {
@ -689,18 +739,10 @@ befriend_interaction = {
target_character = scope:recipient
}
}
#limit range for landless adventurers
trigger_if = {
limit = {
scope:puppet_or_actor = {
has_government = landless_adventurer_government
}
}
#Has to be used instead of diplo range checks in laamp to landed interactions
ep3_laamp_diplo_range_trigger = {
TARGET = scope:recipient
LAAMP = scope:puppet_or_actor
}
#limit range for landless adventurers/merchants
exceptional_diplo_range_trigger = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
}
trigger_if = {
limit = { scope:is_puppet_action ?= yes }
@ -1112,6 +1154,15 @@ seduce_interaction = {
empire = 12
hegemony = 12
}
ai_frequency_by_tier_government_override = {
government = merchant_government
barony = 0
county = 216
duchy = 0
kingdom = 0
empire = 0
hegemony = 0
}
is_available = {
trigger_if = {
@ -1260,18 +1311,10 @@ seduce_interaction = {
}
scope:recipient = { primary_spouse = { NOT = { has_strong_hook = scope:puppet_or_actor } } }
}
#limit range for landless adventurers
trigger_if = {
limit = {
scope:puppet_or_actor = {
has_government = landless_adventurer_government
}
}
#Has to be used instead of diplo range checks in laamp to landed interactions
ep3_laamp_diplo_range_trigger = {
TARGET = scope:recipient
LAAMP = scope:puppet_or_actor
}
#limit range for landless adventurers/merchants
exceptional_diplo_range_trigger = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
}
}
@ -1455,10 +1498,7 @@ seduce_interaction = {
add = 25
scope:recipient = {
primary_spouse ?= {
OR = {
has_relation_rival = scope:puppet_or_actor
has_relation_nemesis = scope:puppet_or_actor
}
has_relation_rival = scope:puppet_or_actor
}
}
}
@ -1922,18 +1962,10 @@ court_interaction = {
NOT = { has_character_modifier = clerical_chastity_vow_modifier }
}
}
#limit range for landless adventurers
trigger_if = {
limit = {
scope:puppet_or_actor = {
has_government = landless_adventurer_government
}
}
#Has to be used instead of diplo range checks in laamp to landed interactions
ep3_laamp_diplo_range_trigger = {
TARGET = scope:recipient
LAAMP = scope:puppet_or_actor
}
#limit range for landless adventurers/merchants
exceptional_diplo_range_trigger = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
}
}
@ -2258,6 +2290,15 @@ sway_interaction = {
empire = 6
hegemony = 6
}
ai_frequency_by_tier_government_override = {
government = merchant_government
barony = 0
county = 360
duchy = 0
kingdom = 0
empire = 0
hegemony = 0
}
is_available = {
trigger_if = {
@ -2347,18 +2388,10 @@ sway_interaction = {
target_character = scope:recipient
}
}
#limit range for landless adventurers
trigger_if = {
limit = {
scope:puppet_or_actor = {
has_government = landless_adventurer_government
}
}
#Has to be used instead of diplo range checks in laamp to landed interactions
ep3_laamp_diplo_range_trigger = {
TARGET = scope:recipient
LAAMP = scope:puppet_or_actor
}
#limit range for landless adventurers/merchants
exceptional_diplo_range_trigger = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
}
}
@ -2664,18 +2697,10 @@ learn_language_interaction = {
target_character = scope:recipient
}
}
#limit range for landless adventurers
trigger_if = {
limit = {
scope:puppet_or_actor = {
has_government = landless_adventurer_government
}
}
#Has to be used instead of diplo range checks in laamp to landed interactions
ep3_laamp_diplo_range_trigger = {
TARGET = scope:recipient
LAAMP = scope:puppet_or_actor
}
#limit range for landless adventurers/merchants
exceptional_diplo_range_trigger = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
}
}
@ -2784,6 +2809,23 @@ learn_language_interaction = {
scope:puppet_or_actor.religion = scope:recipient.religion
}
modifier = {
add = 50
scope:puppet_or_actor = {
culture = {
has_cultural_parameter = wants_to_learn_chinese
}
NOT = {
knows_language = language_chinese
}
}
scope:recipient = {
culture = {
has_cultural_pillar = language_chinese
}
}
}
modifier = {
add = 25
scope:puppet_or_actor = {
@ -2969,7 +3011,7 @@ learn_language_interaction = {
modifier = {
add = 100
scope:puppet_or_actor.culture = {
has_cultural_tradition = tradition_loyal_soldiers
has_cultural_parameter = wants_to_learn_liege_language
}
top_liege != this
scope:puppet_or_actor = {
@ -3057,6 +3099,15 @@ study_faith_interaction = {
empire = 36
hegemony = 36
}
ai_frequency_by_tier_government_override = {
government = merchant_government
barony = 0
county = 216
duchy = 0
kingdom = 0
empire = 0
hegemony = 0
}
is_available = {
trigger_if = {
@ -3104,18 +3155,10 @@ study_faith_interaction = {
target_character = scope:recipient
}
}
#limit range for landless adventurers
trigger_if = {
limit = {
scope:puppet_or_actor = {
has_government = landless_adventurer_government
}
}
#Has to be used instead of diplo range checks in laamp to landed interactions
ep3_laamp_diplo_range_trigger = {
TARGET = scope:recipient
LAAMP = scope:puppet_or_actor
}
#limit range for landless adventurers/merchants
exceptional_diplo_range_trigger = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
}
trigger_if = {
limit = { scope:is_puppet_action ?= yes }
@ -3521,3 +3564,350 @@ study_faith_interaction = {
}
}
influence_house_ambition_interaction = {
icon = influence_house_ambition
category = interaction_category_friendly
common_interaction = yes
send_name = START_SCHEME
interface_priority = 75
scheme = influence_house_ambition
ignores_pending_interaction_block = yes
ai_targets = {
ai_recipients = liege
ai_recipients = neighboring_rulers
max = 10
}
ai_targets = {
ai_recipients = vassals
ai_recipients = peer_vassals
max = 10
}
ai_frequency_by_tier = {
barony = 0
county = 120
duchy = 24
kingdom = 6
empire = 6
hegemony = 6
}
is_available = {
government_has_flag = government_is_republic
this = house.house_head
NOT = {
house = {
has_house_aspiration_parameter = republic_no_ambition
}
}
NOR = {
scheme_generic_ai_blocker_trigger = yes
primary_title = {
is_mercenary_company = yes
}
}
}
is_shown = {
scope:actor != scope:recipient
scope:recipient = {
government_has_flag = government_is_republic
this = house.house_head
}
}
is_valid_showing_failures_only = {
scope:actor = {
can_start_scheme = {
type = sway
target_character = scope:recipient
}
}
custom_tooltip = {
scope:actor.house = {
NOT = {
has_same_house_aspiration_as = scope:recipient.house
}
}
text = influence_house_ambition_same_ambition
}
}
desc = scheme_interaction_tt_influence_house_ambition_approved
on_accept = {
scope:actor = {
send_interface_toast = {
type = event_toast_effect_neutral
title = influence_house_ambition_interaction_notification
left_icon = scope:actor
right_icon = scope:recipient
begin_scheme_basic_effect = {
SCHEME_TYPE = influence_house_ambition
TARGET_TYPE = target_character
TARGET_SCOPE = scope:recipient
}
}
}
}
auto_accept = yes
ai_will_do = {
base = 10
modifier = { # Prefer seducing if you've got the focus for it
add = -20
scope:actor = {
has_focus = intrigue_temptation_focus
}
}
modifier = {
add = 10
scope:recipient = {
is_vassal_of = scope:actor
}
}
modifier = { # Try to sway those who you might want to vassalize
add = 30
scope:actor = {
top_liege = this
primary_title.tier >= tier_county
NOT = {
any_targeting_faction = {
exists = yes
OR = {
faction_is_type = liberty_faction
faction_is_type = claimant_faction
faction_is_type = independence_faction
}
}
}
}
scope:recipient = {
top_liege = this
is_playable_character = yes
primary_title.tier < scope:actor.primary_title.tier
OR = {
faith.religion = scope:actor.faith.religion
AND = {
faith = {
has_doctrine = doctrine_pluralism_pluralistic
}
scope:actor.faith = {
has_doctrine = doctrine_pluralism_pluralistic
}
}
}
}
}
modifier = {
add = 10
scope:recipient = {
joined_faction ?= {
faction_target = scope:actor
faction_is_type = liberty_faction
faction_is_at_war = no
}
}
}
modifier = {
add = 20
scope:recipient = {
joined_faction ?= {
faction_target = scope:actor
faction_is_type = claimant_faction
faction_is_at_war = no
}
}
}
modifier = {
add = 30
scope:recipient = {
joined_faction ?= {
faction_target = scope:actor
faction_is_type = independence_faction
faction_is_at_war = no
}
}
}
modifier = {
factor = 2
scope:recipient = {
is_a_faction_leader = yes
is_vassal_of = scope:actor
}
}
modifier = {
factor = 3
scope:recipient = {
is_vassal_of = scope:actor
opinion = {
target = scope:actor
value < 0
}
}
}
modifier = {
factor = 4
scope:recipient = {
is_powerful_vassal_of = scope:actor
opinion = {
target = scope:actor
value < 0
}
}
}
modifier = {
factor = 0.5
scope:recipient.faith != scope:actor.faith
}
modifier = {
factor = 0.25
scope:actor = {
is_ruler = yes
tier_difference = {
target = scope:recipient
value > 2
}
}
scope:recipient = {
is_theocratic_lessee = no
}
}
modifier = {
factor = 0.5
scope:actor = {
has_personality_malicious_trigger = yes
}
}
modifier = {
factor = 2
scope:actor = {
OR = {
has_trait = gregarious
has_trait = diplomat
has_trait = family_first
has_trait = august
}
}
}
modifier = {
factor = 0.75
scope:recipient = {
is_child_of = scope:actor
}
}
modifier = {
factor = 2
scope:actor = {
is_child_of = scope:recipient
}
}
modifier = {
factor = 0.25
scope:recipient = {
any_claim = {
this = scope:actor.primary_title
}
}
}
modifier = { # Butter up the realm priest
factor = 10
scope:recipient = {
is_theocratic_lessee = yes
opinion = {
target = scope:actor
value <= 50
}
}
}
modifier = { # Try to make your tax collectors like you
factor = 10
scope:actor = {
government_has_flag = government_is_clan
}
scope:recipient = {
is_tax_collector = yes
opinion = {
target = scope:actor
value <= 50
}
}
}
modifier = { # No point in swaying if opinion is already at 100
factor = 0
scope:recipient = {
opinion = {
target = scope:actor
value >= 100
}
}
}
modifier = { # Unlanded only if a realm priest, spymaster, or clan tax collector
factor = 0
scope:recipient = {
is_ruler = no
NOR = {
is_theocratic_lessee = yes
has_council_position = councillor_spymaster
AND = {
is_tax_collector = yes
scope:actor = { government_has_flag = government_is_clan }
}
}
}
}
modifier = { # Ignore rivals unless forgiving
factor = 0
scope:actor = {
has_relation_rival = scope:recipient
NOT = { has_trait = forgiving }
}
}
modifier = { # Ignore non-councillor barons
factor = 0
scope:recipient = {
primary_title.tier = tier_barony
is_councillor = no
}
}
modifier = { # Ignore neighboring Kings+
factor = 0
scope:recipient = {
top_liege = this
is_playable_character = yes
primary_title.tier >= tier_kingdom
}
}
modifier = { # Ignore neighboring Herders
factor = 0
scope:recipient = {
government_has_flag = government_is_herder
}
}
}
}

View file

@ -319,7 +319,7 @@ appoint_podesta_interaction = {
any_county_province = {
has_holding_type = city_holding
}
development_level > 20
prosperity_level > 20
}
}
}
@ -412,7 +412,7 @@ appoint_podesta_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = minor_unity_gain

View file

@ -52,7 +52,7 @@
limit = { tier <= tier_county }
title_province = {
barony_controller = scope:actor
has_ongoing_construction = no
has_ongoing_holding_construction = no
}
}
}
@ -139,7 +139,7 @@ tribalize_holding_interaction = {
limit = { tier <= tier_county }
title_province = {
barony_controller = scope:actor
has_ongoing_construction = no
has_ongoing_holding_construction = no
}
}
}
@ -290,7 +290,7 @@ support_feudalize_tribal_holding_interaction = {
limit = { tier <= tier_county }
title_province = {
barony_controller = scope:recipient
has_ongoing_construction = no
has_ongoing_holding_construction = no
}
}
}

View file

@ -11,9 +11,25 @@ become_tributary_interaction = {
desc = become_tributary_interaction_desc
is_available = {
is_landed = yes # Landless have no realm to render tribute from;
is_independent_ruler = yes # You have to be independent - This check exists to prevent a lot of edge-cases where you can change liege
is_confederation_member = no
NOT = {
government_has_flag = cannot_be_vassal_or_liege
}
trigger_if = {
limit = {
is_ai = yes
}
is_at_war = no
is_available_allow_travelling = yes
}
}
is_shown = {
scope:recipient = {
is_independent_ruler = yes # while it's possible for tributaries to have their own tributaries, it should not be possible to create a tributary relationship with a non-independent ruler
this = top_liege # while it's possible for tributaries to have their own tributaries, it should not be possible to create a tributary relationship with a non-independent ruler
NOR = {
this = scope:actor
this = scope:actor.suzerain
@ -26,6 +42,18 @@ become_tributary_interaction = {
limit = { is_ai = yes }
current_military_strength < scope:recipient.one_and_a_half_times_current_military_strength
primary_title.tier < scope:recipient.primary_title.tier
# We skip recipients that ai_will_do weights down so far the AI never picks them
scope:recipient = {
OR = {
government_has_flag = government_is_mandala
government_has_flag = government_is_tribal
NOR = {
government_has_mechanic = administrative
government_is_japanese_trigger = yes
government_has_flag = government_is_nomadic
}
}
}
}
}
}
@ -34,7 +62,7 @@ become_tributary_interaction = {
#These triggers need to match the Tribute Mission Decision
trigger_if = {
limit = {
scope:recipient = { primary_title.tier = tier_hegemony }
scope:recipient = { highest_held_title_tier = tier_hegemony }
}
custom_tooltip = {
text = become_tributary_interaction_hegemony_not_neighbor_tt
@ -279,13 +307,6 @@ become_tributary_interaction = {
}
}
is_available = {
is_landed = yes # Landless have no realm to render tribute from;
top_liege ?= this # You have to be independent - This check exists to prevent a lot of edge-cases where you can change liege
is_confederation_member = no
NOT = { government_has_flag = cannot_be_vassal_or_liege }
}
ai_targets = {
ai_recipients = neighboring_rulers_including_tributary_borders
max = 5
@ -414,23 +435,23 @@ become_tributary_interaction = {
### MANDALA ###
#Added threshold for Mandalas who already are Tributaries
modifier = {
scope:recipient = { is_tributary = yes }
NOT = { scope:recipient.suzerain = scope:actor }
scope:recipient.suzerain = { primary_title.tier = tier_duchy }
scope:actor = { is_tributary = yes }
NOT = { scope:actor.suzerain = scope:recipient }
scope:actor.suzerain = { primary_title.tier = tier_duchy }
add = -25
desc = already_tributary_threshold
}
modifier = {
scope:recipient = { is_tributary = yes }
NOT = { scope:recipient.suzerain = scope:actor }
scope:recipient.suzerain = { primary_title.tier = tier_kingdom }
scope:actor = { is_tributary = yes }
NOT = { scope:actor.suzerain = scope:recipient }
scope:actor.suzerain = { primary_title.tier = tier_kingdom }
add = -50
desc = already_tributary_threshold
}
modifier = {
scope:recipient = { is_tributary = yes }
NOT = { scope:recipient.suzerain = scope:actor }
scope:recipient.suzerain = { primary_title.tier >= tier_empire }
scope:actor = { is_tributary = yes }
NOT = { scope:actor.suzerain = scope:recipient }
scope:actor.suzerain = { primary_title.tier >= tier_empire }
add = -75
desc = already_tributary_threshold
}
@ -479,7 +500,6 @@ become_tributary_interaction = {
modifier = {
trigger_if = {
limit = {
scope:recipient = { has_unruined_mandala_capital_trigger = yes }
scope:actor = {
is_tributary = no
OR = {
@ -487,6 +507,7 @@ become_tributary_interaction = {
government_has_flag = government_is_tribal
}
}
scope:recipient = { has_unruined_mandala_capital_trigger = yes }
}
scope:recipient = {
OR = {
@ -754,7 +775,7 @@ become_tributary_interaction = {
modifier = { # Can't flee the conqueror this way
add = -1000
desc = NO_FRIVOLOUS_ACTIVITIES_REASON
scope:actor = { has_variable = conqueror }
scope:recipient = { has_variable = conqueror }
}
modifier = { # Wide difference in rank
@ -777,6 +798,8 @@ become_tributary_interaction = {
any_neighboring_top_liege_realm_owner = { this = scope:recipient }
}
}
exists = scope:actor.capital_province
exists = scope:recipient.capital_province
scope:actor.capital_province = { squared_distance = { target = scope:recipient.capital_province value < squared_distance_major } }
}
add = -15
@ -789,6 +812,8 @@ become_tributary_interaction = {
any_neighboring_top_liege_realm_owner = { this = scope:recipient }
}
}
exists = scope:actor.capital_province
exists = scope:recipient.capital_province
scope:actor.capital_province = { squared_distance = { target = scope:recipient.capital_province value >= squared_distance_major } }
}
add = -25
@ -929,7 +954,7 @@ demand_tributary_interaction = {
}
is_valid_showing_failures_only = {
scope:puppet_or_actor = {
scope:puppet_or_actor ?= {
NOT = { has_truce = scope:recipient }
is_available_allow_travelling = yes
}
@ -1210,11 +1235,16 @@ demand_tributary_interaction = {
}
# if the actor is a major threat to the recipient they're more likely to accept
ai_military_threat_modifier_with_cbs = {
SENDER = scope:recipient
RECEIVER = scope:puppet_or_actor
MULTIPLIER = 1
modifier = { # Casus bellis on target
scope:recipient ?= { NOT = { has_government = herder_government } } # herders don't care
scope:puppet_or_actor ?= { NOT = { has_any_cb_on = scope:recipient } }
add = {
add = dominant_negative_ai_value
multiply = 1
}
desc = NO_CASUS_BELLI_REASON
}
ai_military_threat_modifier = { SENDER = scope:recipient RECEIVER = scope:puppet_or_actor MULTIPLIER = 1 }
modifier = { # They are a King
desc = tributary_interaction_aibehavior_recipient_tier_tt
@ -1386,7 +1416,10 @@ demand_tributary_interaction = {
add = {
add = -10
if = {
limit = { scope:puppet_or_actor.culture ?= { has_cultural_pillar = ethos_bellicose } }
limit = {
exists = scope:puppet_or_actor
scope:puppet_or_actor.culture = { has_cultural_pillar = ethos_bellicose }
}
add = -10
}
}
@ -1495,10 +1528,13 @@ cease_paying_tribute_interaction = {
is_available = {
trigger_if = {
limit = { is_ai = yes }
is_at_war = no
is_migrating = no
suzerain ?= {
is_migrating = no
OR = {
is_landed = no
AND = {
NOT = { root = { government_has_flag = government_is_herder } }
trigger_if = { # Obedience is a hard blocker, but only if suzerain is landed
@ -1513,7 +1549,6 @@ cease_paying_tribute_interaction = {
this = root
}
}
is_landed = no
}
trigger_if = {
limit = {
@ -1533,7 +1568,6 @@ cease_paying_tribute_interaction = {
}
}
}
is_at_war = no
trigger_if = {
limit = {
suzerain = {
@ -1542,7 +1576,6 @@ cease_paying_tribute_interaction = {
}
subject_standing < 20
}
is_migrating = no
}
}
@ -1551,6 +1584,7 @@ cease_paying_tribute_interaction = {
this != scope:recipient
suzerain ?= scope:recipient
is_tributary = yes
NOT = { government_has_flag = government_is_merchant }
}
}
@ -1966,7 +2000,7 @@ cease_paying_tribute_interaction = {
government_has_flag = government_is_mandala
capital_province = {
has_building_with_flag = mandala_capital_building
has_ruined_great_building = no
has_ruined_great_district = no
}
}
add = 50
@ -1985,7 +2019,7 @@ cease_paying_tribute_interaction = {
faith = scope:puppet_or_actor.faith
capital_province = {
has_building_with_flag = mandala_capital_building
has_ruined_great_building = no
has_ruined_great_district = no
}
}
add = -10
@ -2041,6 +2075,7 @@ release_tributary_interaction = {
scope:recipient = {
this != scope:puppet_or_actor
suzerain ?= scope:puppet_or_actor
NOT = { government_has_flag = government_is_merchant }
OR = { # AI should only ever consider releasing unruly subjects
scope:actor = { is_ai = no }
NOT = { is_obedient_to = scope:puppet_or_actor }
@ -2287,7 +2322,10 @@ exact_tribute_interaction = {
desc = exact_tribute_interaction_desc
is_shown = {
scope:recipient = { is_ai = yes }
scope:recipient = {
is_ai = yes
NOT = { government_has_flag = government_is_merchant }
}
scope:actor = {
OR = {
highest_held_title_tier >= tier_hegemony
@ -2773,19 +2811,19 @@ exact_tribute_interaction = {
add = 25
if = {
limit = {
OR = {
NOT = { scope:recipient.primary_title = title:h_china }
government_has_flag = government_is_meritocratic
NAND = {
primary_title = title:h_china
government_has_flag = government_is_celestial
}
}
add = 25
}
}
desc = tributary_interaction_aibehavior_recipient_hegemon_tier_tt
desc = tributary_interaction_aibehavior_actor_hegemon_tier_tt
}
# Unstable Phase
modifier = {
scope:actor = { highest_held_title_tier >= tier_hegemony }
scope:actor = { has_title = title:h_china }
situation:dynastic_cycle ?= {
OR = {
situation_current_phase = situation_dynastic_cycle_phase_instability
@ -2798,7 +2836,7 @@ exact_tribute_interaction = {
# Stable Phase
modifier = {
scope:actor = {
highest_held_title_tier >= tier_hegemony
has_title = title:h_china
legitimacy_level < dynastic_cycle_legitimacy_expectation
}
situation:dynastic_cycle ?= {
@ -2812,7 +2850,7 @@ exact_tribute_interaction = {
}
modifier = {
scope:actor = {
highest_held_title_tier >= tier_hegemony
has_title = title:h_china
legitimacy_level > dynastic_cycle_legitimacy_expectation
}
situation:dynastic_cycle ?= {
@ -2941,7 +2979,10 @@ exact_tribute_player_interaction = {
desc = exact_tribute_player_interaction_desc
is_shown = {
scope:recipient = { is_ai = no }
scope:recipient = {
is_ai = no
NOT = { government_has_flag = government_is_merchant }
}
trigger_if = {
limit = {
scope:actor = { highest_held_title_tier >= tier_hegemony }
@ -3220,6 +3261,9 @@ offer_courtier_interaction = {
is_shown = {
scope:actor != scope:recipient
scope:actor = {
NOT = { government_has_flag = government_is_merchant }
}
scope:recipient = {
is_ruler = yes
NOT = { government_has_flag = government_is_herder }
@ -3251,16 +3295,10 @@ offer_courtier_interaction = {
}
}
trigger_if = { #For adventurers we check range
limit = {
scope:actor = {
is_landless_adventurer = yes
}
}
ep3_laamp_diplo_range_trigger = {
TARGET = scope:recipient
LAAMP = scope:actor
}
#limit range for landless adventurers/merchants
exceptional_diplo_range_trigger = {
CHARACTER = scope:actor
TARGET = scope:recipient
}
}
@ -3312,15 +3350,15 @@ offer_courtier_interaction = {
prowess >= extremely_high_skill_rating
AND = {
diplomacy >= monumentally_high_skill_rating
scope:actor.cp:councillor_chancellor ?= { diplomacy < monumentally_high_skill_rating }
scope:recipient.cp:councillor_chancellor ?= { diplomacy < monumentally_high_skill_rating }
}
AND = {
diplomacy >= monumentally_high_skill_rating
scope:actor.cp:councillor_steward ?= { stewardship < monumentally_high_skill_rating }
stewardship >= monumentally_high_skill_rating
scope:recipient.cp:councillor_steward ?= { stewardship < monumentally_high_skill_rating }
}
AND = {
diplomacy >= monumentally_high_skill_rating
scope:actor.cp:councillor_spymaster ?= { intrigue < monumentally_high_skill_rating }
intrigue >= monumentally_high_skill_rating
scope:recipient.cp:councillor_spymaster ?= { intrigue < monumentally_high_skill_rating }
}
has_relation_lover = scope:recipient # Shhh, don't tell anyone, of course you're 'skilled'!
trigger_if = {
@ -3479,15 +3517,15 @@ offer_courtier_interaction = {
exists = inspiration
AND = {
diplomacy >= monumentally_high_skill_rating
scope:actor.cp:councillor_chancellor ?= { diplomacy < monumentally_high_skill_rating }
scope:recipient.cp:councillor_chancellor ?= { diplomacy < monumentally_high_skill_rating }
}
AND = {
diplomacy >= monumentally_high_skill_rating
scope:actor.cp:councillor_steward ?= { stewardship < monumentally_high_skill_rating }
stewardship >= monumentally_high_skill_rating
scope:recipient.cp:councillor_steward ?= { stewardship < monumentally_high_skill_rating }
}
AND = {
diplomacy >= monumentally_high_skill_rating
scope:actor.cp:councillor_spymaster ?= { intrigue < monumentally_high_skill_rating }
intrigue >= monumentally_high_skill_rating
scope:recipient.cp:councillor_spymaster ?= { intrigue < monumentally_high_skill_rating }
}
trigger_if = {
limit = {
@ -3709,11 +3747,11 @@ demand_courtier_interaction = {
scope:actor.cp:councillor_chancellor ?= { diplomacy < monumentally_high_skill_rating }
}
AND = {
diplomacy >= monumentally_high_skill_rating
stewardship >= monumentally_high_skill_rating
scope:actor.cp:councillor_steward ?= { stewardship < monumentally_high_skill_rating }
}
AND = {
diplomacy >= monumentally_high_skill_rating
intrigue >= monumentally_high_skill_rating
scope:actor.cp:councillor_spymaster ?= { intrigue < monumentally_high_skill_rating }
}
trigger_if = {
@ -3777,6 +3815,7 @@ demand_courtier_interaction = {
is_shown = {
scope:actor != scope:recipient
scope:recipient = {
NOT = { government_has_flag = government_is_merchant }
OR = {
trigger_if = {
limit = {
@ -3990,11 +4029,11 @@ demand_courtier_interaction = {
scope:actor.cp:councillor_chancellor ?= { diplomacy < monumentally_high_skill_rating }
}
AND = {
diplomacy >= monumentally_high_skill_rating
stewardship >= monumentally_high_skill_rating
scope:actor.cp:councillor_steward ?= { stewardship < monumentally_high_skill_rating }
}
AND = {
diplomacy >= monumentally_high_skill_rating
intrigue >= monumentally_high_skill_rating
scope:actor.cp:councillor_spymaster ?= { intrigue < monumentally_high_skill_rating }
}
trigger_if = {
@ -4128,7 +4167,10 @@ demand_courtier_interaction = {
}
# Use Hook
if = {
limit = { scope:hook = yes }
limit = {
scope:hook = yes
has_usable_hook = scope:recipient
}
use_hook = scope:recipient
}
}
@ -4395,11 +4437,11 @@ demand_concubine_interaction = {
scope:actor.cp:councillor_chancellor ?= { diplomacy < monumentally_high_skill_rating }
}
AND = {
diplomacy >= monumentally_high_skill_rating
stewardship >= monumentally_high_skill_rating
scope:actor.cp:councillor_steward ?= { stewardship < monumentally_high_skill_rating }
}
AND = {
diplomacy >= monumentally_high_skill_rating
intrigue >= monumentally_high_skill_rating
scope:actor.cp:councillor_spymaster ?= { intrigue < monumentally_high_skill_rating }
}
has_conventionally_attractive_trigger = yes
@ -4677,7 +4719,10 @@ offer_tributary_status_interaction = { #Embrace as Tributary
if = {
limit = {
is_confederation_member = yes
confederation ?= { is_house_based = no }
confederation ?= {
is_house_based = no
is_title_based = no
}
}
confederation = { remove_confederation_member = scope:recipient }
}
@ -4921,7 +4966,7 @@ offer_tributary_status_interaction = { #Embrace as Tributary
trigger = {
scope:recipient.capital_province ?= {
has_building_with_flag = mandala_capital_building
has_ruined_great_building = no
has_ruined_great_district = no
}
}
add = -200
@ -4948,7 +4993,7 @@ offer_tributary_status_interaction = { #Embrace as Tributary
scope:actor.faith = scope:recipient.faith
scope:actor.capital_province = {
has_building_with_flag = mandala_capital_building
has_ruined_great_building = no
has_ruined_great_district = no
}
}
add = {
@ -5361,6 +5406,7 @@ reassert_tributary_interaction = {
is_shown = {
scope:recipient = {
is_tributary_of = scope:actor
NOT = { government_has_flag = government_is_merchant }
is_ai = yes
cease_tribute_payments_ai_chance > 0
}

View file

@ -45,6 +45,14 @@ grant_vassal_interaction = {
}
}
scope:recipient.highest_held_title_tier > tier_barony
scope:actor = {
trigger_if = {
limit = {
government_has_flag = government_is_republic
}
is_landed = yes
}
}
}
is_valid_showing_failures_only = {
@ -266,7 +274,7 @@ grant_vassal_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = miniscule_unity_gain
@ -424,7 +432,7 @@ grant_vassal_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:recipient
TARGET = scope:puppet_or_actor
VALUE = miniscule_unity_loss
@ -513,6 +521,15 @@ retract_vassal_interaction = {
has_realm_law_flag = vassal_retraction_allowed
}
}
trigger_else_if = {
limit = {
government_has_flag = government_is_republic
}
custom_description = {
text = "has_law_allowing_vassal_retraction_republic"
has_realm_law_flag = vassal_retraction_allowed
}
}
trigger_else_if = {
limit = {
realm_law_use_church_authority = yes
@ -596,10 +613,17 @@ retract_vassal_interaction = {
on_decline = {
scope:puppet_or_actor = { vassal_revocation_tyranny_effect = yes }
war_for_retraction_effect = {
LIEGE = scope:puppet_or_actor
REBEL = scope:recipient
SUBVASSAL = scope:secondary_recipient
if = {
limit = {
scope:puppet_or_actor = {
NOT = { has_realm_law_flag = republic_vassal_refusal_allowed }
}
}
war_for_retraction_effect = {
LIEGE = scope:puppet_or_actor
REBEL = scope:recipient
SUBVASSAL = scope:secondary_recipient
}
}
scope:recipient = {
add_opinion = {
@ -909,6 +933,15 @@ retract_vassal_interaction = {
}
desc = VASSALS_REFUSAL_indomitable_azatani
}
#GG modifier
modifier = {
add = -50
OR = {
gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:actor SECOND = scope:recipient }
scope:recipient = { is_gg_undecided_trigger = yes }
}
desc = RECIPIENT_IS_NOT_YOUR_GG
}
}
#Use hook
@ -1161,9 +1194,7 @@ retract_vassal_interaction = {
scope:puppet_or_actor = {
OR = {
has_relation_friend = scope:recipient
has_relation_best_friend = scope:recipient
has_relation_lover = scope:recipient
has_relation_soulmate = scope:recipient
is_heir_of = scope:recipient
}
}
@ -1224,6 +1255,13 @@ retract_vassal_interaction = {
}
}
}
modifier = {
scope:actor = {
gg_hre_causes_additional_tyranny_trigger = { TARGET = scope:recipient }
}
factor = 0
}
}
}
@ -1382,6 +1420,12 @@ create_claimant_faction_against_interaction = {
text = "faction_can_join_create_in_another_faction"
is_a_faction_member = no
}
trigger_if = {
limit = {
government_has_flag = government_is_republic
}
is_landed = yes
}
}
is_shown = {
@ -1485,7 +1529,7 @@ create_claimant_faction_against_interaction = {
trigger_if = {
limit = {
exists = scope:landed_title
scope:actor.top_liege.primary_title.var:administrative_ui_special_title ?= scope:landed_title
scope:actor.ceremonial_liege_title ?= scope:landed_title
}
scope:recipient = {
tgp_is_in_ceremonial_house_trigger = yes
@ -1611,9 +1655,7 @@ invite_to_council_position_interaction = {
first_valid = {
triggered_desc = {
trigger = {
scope:recipient = {
is_councillor_of = scope:actor
}
scope:recipient = { is_councillor_of = scope:actor }
}
desc = liege_offer_council_position_exchange
}
@ -1641,9 +1683,7 @@ invite_to_council_position_interaction = {
}
triggered_desc = {
trigger = {
scope:recipient = {
is_powerful_vassal_of = scope:actor
}
scope:recipient = { is_powerful_vassal_of = scope:actor }
}
desc = liege_offer_council_position_powerful
}
@ -1666,14 +1706,13 @@ invite_to_council_position_interaction = {
}
is_valid_showing_failures_only = {
scope:recipient.liege = scope:actor
ALL_FALSE = {
scope:recipient.council_task = scope:target
scope:actor = { is_at_war_with = scope:recipient }
}
trigger_if = {
limit = {
exists = scope:target.councillor
}
limit = { exists = scope:target.councillor }
scope:target = { can_fire_position = yes }
NOT = {
scope:target.councillor = {
@ -1709,7 +1748,7 @@ invite_to_council_position_interaction = {
# If we're a clan this interaction affects unity
#if = {
# limit = { scope:actor = { NOT = { has_character_flag = fp3_consulted_house } } }
# add_clan_unity_interaction_effect = {
# add_house_unity_interaction_effect = {
# CHARACTER = scope:actor
# TARGET = scope:recipient
# VALUE = miniscule_unity_gain
@ -1898,7 +1937,7 @@ force_onto_council = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = medium_unity_loss
@ -2132,8 +2171,6 @@ force_onto_council = {
OR = {
has_relation_friend = scope:recipient
has_relation_lover = scope:recipient
has_relation_best_friend = scope:recipient
has_relation_soulmate = scope:recipient
}
}
}
@ -2245,7 +2282,7 @@ stop_attacker_vassal_war_interaction = {
exists = scope:actor.house
scope:recipient.house != scope:actor.house
}
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:target.primary_defender
VALUE = medium_unity_gain
@ -2259,7 +2296,7 @@ stop_attacker_vassal_war_interaction = {
exists = scope:target.primary_defender.house
scope:target.primary_defender.house != scope:actor.house
}
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = medium_unity_loss
@ -2381,7 +2418,7 @@ stop_defender_vassal_war_interaction = {
exists = scope:target.primary_attacker.house
scope:target.primary_attacker.house != scope:actor.house
}
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = medium_unity_loss
@ -2395,7 +2432,7 @@ stop_defender_vassal_war_interaction = {
exists = scope:recipient.house
scope:recipient.house != scope:actor.house
}
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:target.primary_attacker
VALUE = medium_unity_gain
@ -2552,7 +2589,7 @@ ask_for_pardon_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = minor_unity_gain
@ -2610,7 +2647,7 @@ ask_for_pardon_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:recipient
TARGET = scope:actor
VALUE = minor_unity_loss
@ -2984,7 +3021,7 @@ pardon_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = minor_unity_gain
@ -3016,9 +3053,7 @@ pardon_interaction = {
scope:recipient = {
OR = {
has_relation_friend = scope:puppet_or_actor
has_relation_best_friend = scope:puppet_or_actor
has_relation_lover = scope:puppet_or_actor
has_relation_soulmate = scope:puppet_or_actor
is_primary_heir_of = scope:puppet_or_actor
}
}
@ -3108,6 +3143,12 @@ vassal_claim_liege_title_interaction = {
scope:puppet_or_actor ?= {
is_physically_able_adult = yes
trigger_if = {
limit = {
government_has_flag = government_is_republic
}
is_landed = yes
}
}
scope:recipient = scope:puppet_or_actor.liege
@ -3377,7 +3418,7 @@ vassal_claim_liege_title_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = major_unity_loss
@ -3438,10 +3479,7 @@ vassal_claim_liege_title_interaction = {
modifier = {
add = 25
scope:recipient = {
OR = {
has_relation_rival = scope:puppet_or_actor
has_relation_nemesis = scope:puppet_or_actor
}
has_relation_rival = scope:puppet_or_actor
}
}
@ -3566,7 +3604,6 @@ vassal_claim_liege_title_interaction = {
scope:recipient = {
OR = {
has_relation_friend = scope:puppet_or_actor
has_relation_best_friend = scope:puppet_or_actor
has_relation_soulmate = scope:puppet_or_actor
}
}
@ -3618,7 +3655,7 @@ give_vassal_directive_interaction = {
}
send_option = {
flag = improve_development
flag = improve_prosperity
is_shown = {
scope:recipient = {
government_has_mechanic = administrative
@ -3810,7 +3847,7 @@ give_vassal_directive_interaction = {
text = has_any_directive
scope:recipient = {
has_variable = {
name = vassal_directive_improve_development
name = vassal_directive_improve_prosperity
name = vassal_directive_train_commanders
name = vassal_directive_build_maa
name = vassal_directive_convert_faith
@ -3834,7 +3871,7 @@ give_vassal_directive_interaction = {
if = {
limit = {
has_variable = {
name = vassal_directive_improve_development
name = vassal_directive_improve_prosperity
name = vassal_directive_train_commanders
name = vassal_directive_build_maa
name = vassal_directive_convert_faith
@ -3857,11 +3894,11 @@ give_vassal_directive_interaction = {
switch = {
trigger = yes
scope:improve_development ?= {
scope:improve_prosperity ?= {
custom_tooltip = {
text = vassal_directive_improve_development
text = vassal_directive_improve_prosperity
remove_vassal_directives = yes
add_character_flag = vassal_directive_improve_development
add_character_flag = vassal_directive_improve_prosperity
}
}
@ -3984,11 +4021,11 @@ give_vassal_directive_interaction = {
modifier = {
add = 100
scope:improve_development ?= yes
scope:improve_prosperity ?= yes
scope:recipient = {
has_none_of_variables = {
name = vassal_directive_building_focus_economy
name = vassal_directive_improve_development
name = vassal_directive_improve_prosperity
}
OR = {
vassal_contract_has_flag = admin_theme_civilian
@ -4003,7 +4040,7 @@ give_vassal_directive_interaction = {
scope:recipient = {
has_none_of_variables = {
name = vassal_directive_building_focus_economy
name = vassal_directive_improve_development
name = vassal_directive_improve_prosperity
}
OR = {
vassal_contract_has_flag = admin_theme_civilian

View file

@ -30,16 +30,13 @@ fund_inspiration_interaction = {
is_shown = {
scope:recipient = {
is_ruler = no
inspiration ?= {
NOT = {
exists = inspiration_sponsor
}
exists = inspiration
any_inspiration = {
NOT = { exists = inspiration_sponsor }
}
}
scope:actor = {
any_courtier_or_guest = {
this = scope:recipient
}
any_courtier_or_guest = { this = scope:recipient }
}
}
@ -62,8 +59,17 @@ fund_inspiration_interaction = {
}
}
scope:actor = {
can_sponsor_inspiration = scope:recipient.inspiration
gold >= scope:recipient.inspiration.base_inspiration_gold_cost
trigger_if = {
limit = { government_has_flag = government_is_merchant }
has_realm_law = company_purpose_artisan
}
trigger_else = {
custom_description = {
text = needs_inspiration_to_sponsor_tt
can_sponsor_inspiration = scope:recipient.inspiration
}
}
}
}
@ -134,7 +140,7 @@ fund_inspiration_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = miniscule_unity_gain
@ -344,7 +350,7 @@ indebt_guest_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = miniscule_unity_loss
@ -368,7 +374,7 @@ indebt_guest_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = miniscule_unity_loss

View file

@ -368,7 +368,7 @@ share_known_secrets_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = minor_unity_loss
@ -620,7 +620,7 @@ propose_best_friendship_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = minor_unity_gain
@ -669,7 +669,7 @@ propose_best_friendship_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = minor_unity_loss
@ -807,7 +807,7 @@ reaffirm_best_friendship_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = minor_unity_gain
@ -851,7 +851,7 @@ reaffirm_best_friendship_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = minor_unity_loss
@ -978,7 +978,7 @@ synergise_friendship_interaction = {
synergise_friendship_interaction_actual_effect = yes
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = minor_unity_gain
@ -1012,7 +1012,7 @@ synergise_friendship_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = minor_unity_loss
@ -1138,18 +1138,10 @@ challenge_to_2p_chess_interaction = {
bg_can_start_board_game_is_scope_banned_checks_trigger = no
}
}
#limit range for landless adventurers
trigger_if = {
limit = {
scope:actor = {
has_government = landless_adventurer_government
}
}
#Has to be used instead of diplo range checks in laamp to landed interactions
ep3_laamp_diplo_range_trigger = {
TARGET = scope:recipient
LAAMP = scope:actor
}
#limit range for landless adventurers/merchants
exceptional_diplo_range_trigger = {
CHARACTER = scope:actor
TARGET = scope:recipient
}
}
@ -1379,7 +1371,7 @@ challenge_to_2p_chess_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = miniscule_unity_loss
@ -1425,7 +1417,7 @@ challenge_to_2p_chess_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:recipient
TARGET = scope:actor
VALUE = miniscule_unity_loss
@ -2149,18 +2141,10 @@ purchase_truce_interaction = {
NOT = { any_truce_holder = { this = scope:recipient } }
}
}
#limit range for landless adventurers
trigger_if = {
limit = {
scope:puppet_or_actor = {
has_government = landless_adventurer_government
}
}
#Has to be used instead of diplo range checks in laamp to landed interactions
ep3_laamp_diplo_range_trigger = {
TARGET = scope:recipient
LAAMP = scope:puppet_or_actor
}
#limit range for landless adventurers/merchants
exceptional_diplo_range_trigger = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
}
}
@ -2234,7 +2218,7 @@ purchase_truce_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = minor_unity_gain
@ -2281,7 +2265,7 @@ purchase_truce_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:recipient
TARGET = scope:puppet_or_actor
VALUE = minor_unity_loss
@ -2656,6 +2640,15 @@ purchase_truce_interaction = {
empire = 0
hegemony = 0
}
ai_frequency_by_tier_government_override = {
government = merchant_government
barony = 0
county = 180
duchy = 0
kingdom = 0
empire = 0
hegemony = 0
}
ai_will_do = {
base = 0
@ -2899,7 +2892,7 @@ incite_revolts_interaction = {
any_sub_realm_county = {
count > 0
holder = scope:recipient
county_opinion < 0
popular_opinion < 0
NOR = {
has_county_modifier = small_investment_in_revolt_modifier
has_county_modifier = medium_investment_in_revolt_modifier
@ -2954,7 +2947,7 @@ incite_revolts_interaction = {
has_county_modifier = medium_investment_in_revolt_modifier
has_county_modifier = high_investment_in_revolt_modifier
}
county_opinion < 0
popular_opinion < 0
holder = scope:recipient
}
weight = {
@ -3005,10 +2998,7 @@ incite_revolts_interaction = {
if = {
limit = {
scope:actor = {
OR = {
has_relation_rival = scope:recipient
has_relation_nemesis = scope:recipient
}
has_relation_rival = scope:recipient
}
}
stress_and_fulfillment_impact = {
@ -3183,7 +3173,7 @@ incite_revolts_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = medium_unity_loss
@ -3289,10 +3279,7 @@ incite_revolts_interaction = {
modifier = {
add = 50
scope:recipient = {
OR = {
has_relation_rival = scope:actor
has_relation_nemesis = scope:actor
}
has_relation_rival = scope:actor
}
}
@ -3312,8 +3299,6 @@ incite_revolts_interaction = {
OR = {
has_relation_friend = scope:actor
has_relation_lover = scope:actor
has_relation_soulmate = scope:actor
has_relation_best_friend = scope:actor
}
}
}
@ -3333,16 +3318,16 @@ incite_revolts_interaction = {
# special_interaction = interfere_in_war_interaction
# popup_on_receive = yes
# pause_on_receive = yes
#
# ai_maybe = yes
# desc = contract_assistance_interaction_desc
# icon = icon_gold
#
# greeting = positive
# notification_text = contract_assistance_interaction_notification
#
# cooldown_against_recipient = { years = 5 }
#
# is_available = {
# trigger_if = {
# limit = { is_ai = yes }
@ -3361,7 +3346,7 @@ incite_revolts_interaction = {
# }
# NOT = { government_has_flag = government_is_herder }
# }
#
# is_shown = {
# # Recipient is Involved in Struggle, at war, and not at war with Actor
# scope:recipient = {
@ -3386,15 +3371,15 @@ incite_revolts_interaction = {
# }
# }
# }
#
# has_valid_target = {
# exists = scope:target
# }
#
# has_valid_target_showing_failures_only = {
# scope:target = { is_war_leader = scope:recipient }
# }
#
# is_valid_showing_failures_only = {
# scope:recipient = {
# # Cannot demand gold from allies
@ -3415,7 +3400,7 @@ incite_revolts_interaction = {
# }
# }
# }
#
# # Recipient is not in (any) war against your liege(s)
# trigger_if = {
# limit = { exists = scope:actor.liege }
@ -3427,7 +3412,7 @@ incite_revolts_interaction = {
# }
# }
# }
#
# # Cannot join wars with raised armies
# scope:actor = {
# has_raised_armies = no
@ -3442,13 +3427,13 @@ incite_revolts_interaction = {
# }
# }
# }
#
# # Can only contract one war at a time
# custom_tooltip = {
# text = contract_assistance_war_already_contracted_tt
# scope:actor = { NOT = { has_variable = owed_contract_assistance_war } }
# }
#
# # Adventurers can't join wars in places they're exiled from.
# custom_tooltip = {
# text = the_wake_1
@ -3459,7 +3444,7 @@ incite_revolts_interaction = {
# }
# }
# }
#
# # Sensible restrictions to keep CulTrads from making this OP.
# scope:recipient = {
# custom_tooltip = {
@ -3506,7 +3491,7 @@ incite_revolts_interaction = {
# # Liege checks
# can_join_war_liege_vassal_check_trigger = { WARRIOR = scope:recipient JOINER = scope:actor }
# }
#
# is_highlighted = {
# scope:actor = {
# has_realm_law = camp_purpose_mercenaries
@ -3541,7 +3526,7 @@ incite_revolts_interaction = {
# craven = medium_stress_impact_gain
# shy = minor_stress_impact_gain
# }
#
# # Struggle Catalyst
# if = {
# limit = {
@ -3587,9 +3572,9 @@ incite_revolts_interaction = {
# }
# }
# }
#
# # If we're a clan this interaction affects unity
# add_clan_unity_interaction_effect = {
# add_house_unity_interaction_effect = {
# CHARACTER = scope:actor
# TARGET = scope:recipient
# VALUE = medium_unity_loss
@ -3597,13 +3582,13 @@ incite_revolts_interaction = {
# REVERSE_NON_HOUSE_TARGET = no
# }
# }
#
# on_decline = {
# # Refusal notification
# scope:actor = { trigger_event = char_interaction.0236 }
#
# # If we're a clan this interaction affects unity
# add_clan_unity_interaction_effect = {
# add_house_unity_interaction_effect = {
# CHARACTER = scope:recipient
# TARGET = scope:actor
# VALUE = minor_unity_gain
@ -3802,7 +3787,7 @@ incite_revolts_interaction = {
# multiplier = 0.25
# desc = AI_OPINION_REASON
# }
#
# modifier = {
# add = {
# value = ai_greed
@ -3811,7 +3796,7 @@ incite_revolts_interaction = {
# ai_greed <= 0.5
# desc = AI_VALUE_MODIFIER_GREED
# }
#
# modifier = {
# add = {
# value = ai_boldness
@ -3820,7 +3805,7 @@ incite_revolts_interaction = {
# NOT = { ai_boldness = 0 }
# desc = AI_VALUE_MODIFIER_BOLDNESS
# }
#
# modifier = {
# add = 50
# desc = camp_purpose_mercenaries_reason
@ -3834,12 +3819,12 @@ incite_revolts_interaction = {
# # WARJOINER = scope:actor
# # }
# }
#
# ai_target_quick_trigger = { adult = yes }
# ai_targets = {
# ai_recipients = neighboring_rulers
# }
#
# ai_set_target = {
# scope:recipient = {
# ordered_character_war = { #We offer our services for the war where the character is losing the most
@ -3881,10 +3866,10 @@ incite_revolts_interaction = {
# empire = 12
# hegemony = 12
# }
#
# ai_will_do = {
# base = 0
#
# modifier = { # Increase chance if recipient is losing a war
# trigger_if = {
# limit = { exists = scope:target }
@ -3896,7 +3881,7 @@ incite_revolts_interaction = {
# modifier = { # Increase chance with amount of gold of recipient over interaction cost
# factor = offer_assistance_interaction_gold_modifier_value
# }
#
# modifier = { # Increase chance if likes recipient more than enemy
# scope:actor = {
# save_temporary_opinion_value_as = {
@ -3919,7 +3904,7 @@ incite_revolts_interaction = {
# }
# add = 25
# }
#
# modifier = { # Increase chance for family
# scope:recipient = {
# OR = {
@ -3929,7 +3914,7 @@ incite_revolts_interaction = {
# }
# add = 25
# }
#
# modifier = { # Decrease chance if army is small
# trigger_if = {
# limit = { exists = scope:target }
@ -3937,7 +3922,7 @@ incite_revolts_interaction = {
# }
# add = -50
# }
#
# modifier = { # Increase chance for rivalry
# trigger_if = {
# limit = { exists = scope:target }
@ -3951,7 +3936,7 @@ incite_revolts_interaction = {
# }
# add = 25
# }
#
# # Higher chance to target a human player
# modifier = {
# scope:recipient = { is_ai = no }
@ -3973,16 +3958,16 @@ incite_revolts_interaction = {
# special_interaction = call_ally_interaction
# popup_on_receive = yes
# pause_on_receive = yes
#
# ai_maybe = yes
# desc = request_contract_assistance_interaction_desc
# icon = icon_gold
#
# greeting = positive
# notification_text = request_contract_assistance_interaction_notification
#
# cooldown_against_recipient = { years = 5 }
#
# is_available = {
# is_at_war = yes
# any_character_struggle = {
@ -3997,7 +3982,7 @@ incite_revolts_interaction = {
# is_imprisoned = no
# }
# }
#
# is_shown = {
# # Actor is Involved in Struggle
# scope:actor = {
@ -4014,15 +3999,15 @@ incite_revolts_interaction = {
# }
# }
# }
#
# has_valid_target = {
# exists = scope:target
# }
#
# has_valid_target_showing_failures_only = {
# scope:target = {
# is_war_leader = scope:actor
#
# # Cannot contract against allies
# trigger_if = {
# limit = {
@ -4038,7 +4023,7 @@ incite_revolts_interaction = {
# }
# }
# }
#
# # Adventurers can't join wars in places they're exiled from.
# trigger_if = {
# limit = {
@ -4055,7 +4040,7 @@ incite_revolts_interaction = {
# }
# }
# }
#
# is_valid_showing_failures_only = {
# scope:recipient = {
# # Cannot demand gold from allies
@ -4074,10 +4059,10 @@ incite_revolts_interaction = {
# }
# }
# }
#
# # Cannot join wars with raised armies
# scope:recipient = { has_raised_armies = no }
#
# # Can only contract one war at a time
# custom_tooltip = {
# text = contract_assistance_war_already_contracted_tt
@ -4086,7 +4071,7 @@ incite_revolts_interaction = {
# }
# }
# }
#
# can_be_picked = {
# # Recipient is war leader in chosen war
# scope:target = {
@ -4103,7 +4088,7 @@ incite_revolts_interaction = {
# # Liege checks
# can_join_war_liege_vassal_check_trigger = { WARRIOR = scope:actor JOINER = scope:recipient }
# }
#
# on_accept = {
# # Add Actor to Recipient's war
# scope:target = {
@ -4133,8 +4118,8 @@ incite_revolts_interaction = {
# craven = medium_stress_impact_gain
# shy = minor_stress_impact_gain
# }
#
#
# # Struggle Catalyst
# if = {
# limit = {
@ -4180,9 +4165,9 @@ incite_revolts_interaction = {
# }
# }
# }
#
# # If we're a clan this interaction affects unity
# add_clan_unity_interaction_effect = {
# add_house_unity_interaction_effect = {
# CHARACTER = scope:actor
# TARGET = scope:recipient
# VALUE = medium_unity_loss
@ -4190,13 +4175,13 @@ incite_revolts_interaction = {
# REVERSE_NON_HOUSE_TARGET = no
# }
# }
#
# on_decline = {
# # Refusal notification
# scope:actor = { trigger_event = char_interaction.0236 }
#
# # If we're a clan this interaction affects unity
# add_clan_unity_interaction_effect = {
# add_house_unity_interaction_effect = {
# CHARACTER = scope:recipient
# TARGET = scope:actor
# VALUE = minor_unity_gain
@ -4204,10 +4189,10 @@ incite_revolts_interaction = {
# REVERSE_NON_HOUSE_TARGET = no
# }
# }
#
# ai_accept = {
# base = 0 # Reluctant to spend money without good reason
#
# # Recipient has low cash
# modifier = {
# add = {
@ -4291,7 +4276,7 @@ incite_revolts_interaction = {
# multiplier = 0.25
# desc = AI_OPINION_REASON
# }
#
# modifier = {
# add = {
# value = ai_greed
@ -4300,7 +4285,7 @@ incite_revolts_interaction = {
# ai_greed <= 0.5
# desc = AI_VALUE_MODIFIER_GREED
# }
#
# modifier = {
# add = {
# value = ai_boldness
@ -4309,19 +4294,19 @@ incite_revolts_interaction = {
# NOT = { ai_boldness = 0 }
# desc = AI_VALUE_MODIFIER_BOLDNESS
# }
#
# # Allegiances
# fp2_contracting_ally_modifier = {
# WARMONGER = scope:actor
# WARJOINER = scope:recipient
# }
# }
#
# ai_target_quick_trigger = { adult = yes }
# ai_targets = {
# ai_recipients = neighboring_rulers
# }
#
# ai_set_target = {
# scope:actor = {
# ordered_character_war = { #We offer our services for the war where the character is losing the most
@ -4350,7 +4335,7 @@ incite_revolts_interaction = {
# }
# }
# }
#
# ai_targets = {
# ai_recipients = peer_vassals
# }
@ -4362,10 +4347,10 @@ incite_revolts_interaction = {
# empire = 36
# hegemony = 0
# }
#
# ai_will_do = {
# base = 0
#
# modifier = { # AI is losing the war
# trigger_if = {
# limit = { exists = scope:target }
@ -4381,7 +4366,7 @@ incite_revolts_interaction = {
# }
# add = 15
# }
#
# modifier = { # Increase chance for asking family
# scope:recipient = {
# OR = {
@ -4391,7 +4376,7 @@ incite_revolts_interaction = {
# }
# factor = 2
# }
#
# modifier = { # Decrease chance if army is small
# trigger_if = {
# limit = { exists = scope:target }
@ -4407,7 +4392,7 @@ incite_revolts_interaction = {
# }
# add = -50
# }
#
# modifier = { # Increase chance for rivalry
# trigger_if = {
# limit = { exists = scope:target }
@ -4421,7 +4406,7 @@ incite_revolts_interaction = {
# }
# add = 25
# }
#
# modifier = { # AI is extremely rich
# short_term_gold >= ai_war_chest_desired_gold_value
# add = 50
@ -4739,7 +4724,7 @@ enforce_truce_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = medium_unity_gain
@ -4753,7 +4738,7 @@ enforce_truce_interaction = {
scope:actor = { trigger_event = char_interaction.0236 }
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:recipient
TARGET = scope:actor
VALUE = medium_unity_loss
@ -5092,7 +5077,7 @@ bargain_fealty_interaction = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = medium_unity_gain
@ -5106,7 +5091,7 @@ bargain_fealty_interaction = {
scope:actor = { trigger_event = char_interaction.0236 }
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:recipient
TARGET = scope:actor
VALUE = minor_unity_loss

View file

@ -40,11 +40,31 @@ offer_hostage_interaction = {
# Only significant rulers use hostages
scope:recipient.highest_held_title_tier > tier_barony
# Laamps can't do anything with hostages but return/recall them.
scope:actor = {
NOR = {
government_has_flag = government_is_landless_adventurer
government_has_flag = government_is_merchant
government_has_flag = government_is_herder
}
trigger_if = {
limit = {
government_has_flag = government_is_republic
}
is_landed = yes
}
}
scope:recipient = {
NOR = {
government_has_flag = government_is_landless_adventurer
government_has_flag = government_is_merchant
government_has_flag = government_is_herder
}
trigger_if = {
limit = {
government_has_flag = government_is_republic
}
is_landed = yes
}
}
#Inside a merit realm vassals won't offer hostages except to your top liege.
trigger_if = {
@ -253,18 +273,12 @@ offer_hostage_interaction = {
}
scope:actor = { trigger_event = char_interaction.0330 }
# If we're of the same clan this interaction affects unity
if = {
limit = {
scope:actor = { government_has_flag = government_is_clan }
scope:actor.house = scope:recipient.house
}
add_clan_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = medium_unity_loss
DESC = clan_unity_hostage.desc
REVERSE_NON_HOUSE_TARGET = no
}
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = medium_unity_loss
DESC = clan_unity_hostage.desc
REVERSE_NON_HOUSE_TARGET = no
}
}
@ -468,7 +482,25 @@ offer_hostage_interaction = {
limit = {
is_ai = yes
}
NOT = { has_variable = conqueror }
NOR = {
government_has_flag = government_is_merchant
government_has_flag = government_is_herder
government_has_flag = government_is_theocracy
has_variable = conqueror
}
trigger_if = {
limit = {
government_has_flag = government_is_republic
}
is_landed = yes
}
OR = {
is_landless_ruler = no
is_landless_administrative = yes
}
any_close_family_member = {
bp2_valid_to_offer_as_hostage_trigger = { SENDER = root }
}
}
}
@ -649,8 +681,25 @@ demand_hostage_interaction = {
# Laamps can't do anything with hostages but return/recall them.
NOR = {
scope:actor = { government_has_flag = government_is_landless_adventurer }
scope:actor = { government_has_flag = government_is_merchant }
scope:recipient = { government_has_flag = government_is_landless_adventurer }
}
scope:actor = {
trigger_if = {
limit = {
government_has_flag = government_is_republic
}
is_landed = yes
}
}
scope:recipient = {
trigger_if = {
limit = {
government_has_flag = government_is_republic
}
is_landed = yes
}
}
#Inside a merit realm vassals won't demand hostages.
trigger_if = {
limit = {
@ -897,18 +946,12 @@ demand_hostage_interaction = {
}
scope:actor = { trigger_event = char_interaction.0331 }
# If we're of the same clan this interaction affects unity
if = {
limit = {
scope:actor = { government_has_flag = government_is_clan }
scope:actor.house = scope:recipient.house
}
add_clan_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = minor_unity_loss
DESC = clan_unity_hostage.desc
REVERSE_NON_HOUSE_TARGET = no
}
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = minor_unity_loss
DESC = clan_unity_hostage.desc
REVERSE_NON_HOUSE_TARGET = no
}
}
@ -1353,8 +1396,25 @@ exchange_hostage_interaction = {
# Laamps can't do anything with hostages but return/recall them.
NOR = {
scope:actor = { government_has_flag = government_is_landless_adventurer }
scope:actor = { government_has_flag = government_is_merchant }
scope:recipient = { government_has_flag = government_is_landless_adventurer }
}
scope:actor = {
trigger_if = {
limit = {
government_has_flag = government_is_republic
}
is_landed = yes
}
}
scope:recipient = {
trigger_if = {
limit = {
government_has_flag = government_is_republic
}
is_landed = yes
}
}
#Inside a merit realm vassals won't exchange hostages.
trigger_if = {
limit = {
@ -1642,18 +1702,12 @@ exchange_hostage_interaction = {
}
scope:actor = { trigger_event = char_interaction.0332 }
# If we're of the same clan this interaction affects unity
if = {
limit = {
scope:actor = { government_has_flag = government_is_clan }
scope:actor.house = scope:recipient.house
}
add_clan_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = medium_unity_loss
DESC = clan_unity_hostage.desc
REVERSE_NON_HOUSE_TARGET = no
}
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = medium_unity_loss
DESC = clan_unity_hostage.desc
REVERSE_NON_HOUSE_TARGET = no
}
scope:actor.house = {
change_house_relation_effect = {

View file

@ -1151,10 +1151,9 @@ support_candidacy_interaction = {
# No one promoting... ripe for the taking
modifier = {
scope:major_influence_option = yes
scope:target = {
holder = {
has_realm_law_flag = appointment_type_succession
}
has_order_of_succession = appointment
current_heir ?= {
NOR = {
AND = {
@ -1177,28 +1176,33 @@ support_candidacy_interaction = {
# Promote characters we like
modifier = {
scope:major_influence_option = yes
scope:secondary_recipient ?= house.house_confederation.leading_house.house_head
factor = 5
}
modifier = {
scope:major_influence_option = yes
scope:secondary_recipient ?= {
is_close_family_of = scope:actor
}
factor = 3
}
modifier = {
scope:major_influence_option = yes
scope:secondary_recipient ?= {
is_extended_family_of = scope:actor
}
factor = 1.5
}
modifier = {
scope:major_influence_option = yes
scope:actor = {
has_relation_friend = scope:secondary_recipient
}
factor = 2
}
modifier = {
scope:major_influence_option = yes
scope:actor = {
has_relation_best_friend = scope:secondary_recipient
}
@ -1207,6 +1211,7 @@ support_candidacy_interaction = {
# For the imperial title, we want to promote ourselves
modifier = {
scope:major_influence_option = yes
scope:target.tier >= tier_empire
scope:actor = scope:secondary_recipient
factor = 5
@ -1214,6 +1219,7 @@ support_candidacy_interaction = {
# Prefer unlanded relatives
modifier = {
scope:major_influence_option = yes
scope:target.tier < tier_empire
scope:secondary_recipient ?= {
is_ruler = no
@ -1223,6 +1229,7 @@ support_candidacy_interaction = {
# Prefer titles that are somewhat close to the capital
modifier = {
scope:major_influence_option = yes
exists = scope:recipient.capital_province # Make sure the top liege has a capital
scope:target = {
title_capital_county ?= {
@ -1237,6 +1244,7 @@ support_candidacy_interaction = {
# Try to avoid promoting the same candidate for multiple titles if they are winning a title already
modifier = {
scope:major_influence_option = yes
scope:secondary_recipient ?= {
any_heir_title = {
is_noble_family_title = no
@ -1250,10 +1258,15 @@ support_candidacy_interaction = {
# Promote only one house member for each title
modifier = {
scope:major_influence_option = yes
scope:target = { has_order_of_succession = appointment }
scope:secondary_recipient ?= {
exists = house
exists = scope:actor.house
house = scope:actor.house
"appointment_candidate_accumulated_score(scope:target)" <= 0
}
scope:target = {
holder = {
has_realm_law_flag = appointment_type_succession
}
any_title_heir = {
exists = house
exists = scope:actor.house
@ -1261,17 +1274,12 @@ support_candidacy_interaction = {
"appointment_candidate_accumulated_score(scope:target)" > 0
}
}
scope:secondary_recipient ?= {
exists = house
exists = scope:actor.house
house = scope:actor.house
"appointment_candidate_accumulated_score(scope:target)" <= 0
}
factor = 0
}
# Don't outcompete our own house/candidate at the top, or someone we like in the top 3
modifier = {
scope:major_influence_option = yes
scope:target = {
any_title_heir = {
save_temporary_scope_as = heir
@ -1283,12 +1291,6 @@ support_candidacy_interaction = {
}
OR = {
AND = {
scope:target = {
place_in_line_of_succession = {
target = scope:heir
value = 1
}
}
OR = {
scope:heir = scope:secondary_recipient
AND = {
@ -1297,6 +1299,12 @@ support_candidacy_interaction = {
scope:heir.house = scope:actor.house
}
}
scope:target = {
place_in_line_of_succession = {
target = scope:heir
value = 1
}
}
}
scope:actor = {
has_any_good_relationship_with_character_trigger = { CHARACTER = scope:heir }
@ -1309,6 +1317,7 @@ support_candidacy_interaction = {
# Don't support someone who has renounced their aspirations for the throne
modifier = {
scope:major_influence_option = yes
scope:secondary_recipient = {
OR = {
has_character_modifier = ep3_admin_renounce_throne_personal
@ -1318,6 +1327,12 @@ support_candidacy_interaction = {
scope:target.tier = scope:recipient.highest_held_title_tier
factor = 0
}
# The major option always wins because of the factor above, so we don't score the others
modifier = {
scope:major_influence_option = no
factor = 0
}
}
}
@ -3898,8 +3913,6 @@ request_council_interaction = {
OR = {
has_relation_friend = scope:recipient
has_relation_lover = scope:recipient
has_relation_best_friend = scope:recipient
has_relation_soulmate = scope:recipient
}
}
}
@ -4162,6 +4175,7 @@ transfer_county_interaction = {
custom_description = {
text = grant_titles_interaction_can_only_give_diarch_de_jure_liege_to_diarch
subject = scope:actor.diarch
object = scope:actor
NAND = {
# Only applies if we have an active diarchy.
scope:actor = { has_active_diarchy = yes }
@ -4178,6 +4192,7 @@ transfer_county_interaction = {
custom_description = {
text = grant_titles_interaction_title_being_wagered
subject = scope:actor
NOT = {
scope:target = { has_variable = wagered_county }
}
@ -4752,15 +4767,13 @@ castrate_child_interaction = {
scope:actor = {
remove_courtier_or_guest = scope:recipient
if = {
limit = {
has_hook = scope:recipient
}
limit = { has_hook = scope:recipient }
remove_hook = { target = scope:recipient }
}
scope:recipient = {
set_relation_rival = {
target = scope:actor
reason = rival_attempted_castration
set_relation_rival_effect = {
TARGET = scope:actor
REASON = rival_attempted_castration
}
add_stress = medium_stress_gain
@ -5789,6 +5802,11 @@ boost_efficiency_interaction = {
trigger_if = {
limit = { is_ai = yes }
government_has_mechanic = administrative
is_adult = yes
trigger_if = {
limit = { exists = top_participant_group:dynastic_cycle }
top_participant_group:dynastic_cycle = { participant_group_type = advancement_movement }
}
top_liege ?= {
any_vassal = {
is_governor = yes
@ -6064,6 +6082,13 @@ damage_efficiency_interaction = {
trigger_if = {
limit = { is_ai = yes }
government_has_mechanic = administrative
is_adult = yes
trigger_if = {
limit = { exists = top_participant_group:dynastic_cycle }
top_participant_group:dynastic_cycle = {
NOT = { participant_group_type = advancement_movement }
}
}
top_liege ?= {
any_vassal = {
is_governor = yes
@ -6597,7 +6622,6 @@ governor_removal_interaction = {
house ?= scope:recipient.house
}
has_relation_friend = scope:recipient
has_relation_best_friend = scope:recipient
is_allied_to = scope:recipient
has_relation_soulmate = scope:recipient
is_spouse_of = scope:recipient
@ -6621,7 +6645,6 @@ governor_removal_interaction = {
house ?= scope:recipient.house
}
has_relation_friend = scope:recipient
has_relation_best_friend = scope:recipient
is_allied_to = scope:recipient
has_relation_soulmate = scope:recipient
is_spouse_of = scope:recipient
@ -6836,6 +6859,18 @@ force_governor_removal_interaction = {
ai_min_reply_days = 4
ai_max_reply_days = 9
is_available = {
government_has_mechanic = administrative
trigger_if = {
limit = {
is_ai = yes
}
influence > massive_influence_value
}
is_independent_ruler = no
top_liege ?= { government_has_mechanic = administrative }
}
is_shown = {
scope:secondary_recipient ?= {
is_governor = yes
@ -6847,10 +6882,7 @@ force_governor_removal_interaction = {
trigger_if = {
limit = {
top_liege = {
NAND = {
highest_held_title_tier >= tier_hegemony
government_has_flag = government_is_celestial
}
tgp_has_access_to_ministry_trigger = no
}
}
is_vassal_of = scope:recipient
@ -7346,18 +7378,6 @@ force_governor_removal_interaction = {
hegemony = 12
}
is_available = {
government_has_mechanic = administrative
trigger_if = {
limit = {
is_ai = yes
}
influence > massive_influence_value
}
top_liege != this
top_liege ?= { government_has_mechanic = administrative }
}
ai_accept = {
base = -50
# SEND OPTIONS
@ -7639,7 +7659,7 @@ force_step_down_interaction = {
government_has_mechanic = administrative
trigger_if = {
limit = { is_ai = yes }
highest_held_title_tier >= tier_duchy
highest_held_title_tier >= main_administrative_tier
NOT = {
any_scheme = {
is_scheme_category = political
@ -7657,6 +7677,7 @@ force_step_down_interaction = {
government_has_mechanic = administrative
is_governor = yes
top_liege ?= scope:actor.top_liege
highest_held_title_tier >= main_administrative_tier
}
}
@ -7793,10 +7814,12 @@ force_step_down_interaction = {
}
}
if = {
limit = { can_set_relation_rival_trigger = { CHARACTER = scope:actor } }
set_relation_rival = {
target = scope:actor
reason = rival_forced_my_resignation_reason
limit = {
can_set_relation_rival_trigger = { CHARACTER = scope:actor }
}
set_relation_rival_effect = {
TARGET = scope:actor
REASON = rival_forced_my_resignation_reason
}
}
house ?= {
@ -7847,10 +7870,12 @@ force_step_down_interaction = {
modifier = attempted_force_step_down_opinion
}
if = {
limit = { can_set_relation_rival_trigger = { CHARACTER = scope:actor } }
set_relation_rival = {
target = scope:actor
reason = rival_attempted_to_force_my_resignation_reason
limit = {
can_set_relation_rival_trigger = { CHARACTER = scope:actor }
}
set_relation_rival_effect = {
TARGET = scope:actor
REASON = rival_attempted_to_force_my_resignation_reason
}
}
}
@ -8186,10 +8211,6 @@ request_governorship_interaction = {
cooldown_against_recipient = { years = 10 }
redirect = {
scope:recipient = { save_scope_as = secondary_recipient }
}
cost = {
influence = {
add = {
@ -8199,7 +8220,7 @@ request_governorship_interaction = {
}
desc = BASE
}
# Province Size
# Settlement Size
add = {
value = 0
if = {
@ -8256,16 +8277,21 @@ request_governorship_interaction = {
}
is_shown = {
scope:recipient != scope:actor
OR = {
scope:recipient = scope:actor.top_liege
scope:recipient = {
liege ?= scope:actor.top_liege
has_title = title:e_minister_of_personnel
}
}
scope:recipient = {
government_has_mechanic = administrative
NOT = { this = scope:actor }
}
scope:actor.top_liege = {
OR = {
this = scope:recipient
trigger_if = {
limit = {
tgp_has_access_to_ministry_trigger = yes
exists = cp:minister_personnel
}
cp:minister_personnel = scope:recipient
}
}
}
}
@ -8273,14 +8299,19 @@ request_governorship_interaction = {
if = {
limit = {
scope:actor.top_liege = {
this = scope:recipient # prevents redirect making this shown for everyone with same top_liege
tgp_has_access_to_ministry_trigger = yes
exists = cp:minister_personnel
}
}
title:e_minister_of_personnel.holder ?= {
scope:actor.top_liege.cp:minister_personnel ?= {
save_scope_as = recipient
save_scope_as = secondary_recipient
}
}
else = {
scope:recipient = { save_scope_as = secondary_recipient }
}
}
is_valid_showing_failures_only = {
@ -8294,6 +8325,10 @@ request_governorship_interaction = {
text = is_a_minister_desc
tgp_is_any_minister = no
}
trigger_if = {
limit = { government_allows = merit }
merit_level >= 3
}
}
}
@ -8344,13 +8379,16 @@ request_governorship_interaction = {
any_de_jure_county = { holder = scope:actor.top_liege }
}
}
trigger_if = {
limit = {
min_appointment_level > 0
}
scope:actor = { has_appointment_level_for_title = scope:target }
}
custom_tooltip = { # Titles below the holder's primary tier are inherited alongside it, so they cannot be contested on their own
text = follows_other_title_appointment_tt
holder ?= { primary_title.tier = scope:target.tier }
}
}
}
@ -8440,7 +8478,7 @@ request_governorship_interaction = {
}
desc = BASE
}
# Province Size
# Settlement Size
add = {
value = 0
if = {
@ -8705,11 +8743,8 @@ request_governorship_interaction = {
# Your Efficiency
modifier = {
add = {
value = {
value = scope:actor.governor_efficiency
multiply = 25
}
round = yes
value = scope:actor.governor_efficiency_presented
multiply = 0.5
}
desc = AI_GOVERNOR_EFFICIENCY
}
@ -8722,10 +8757,9 @@ request_governorship_interaction = {
}
add = {
value = {
value = scope:target.current_heir.governor_efficiency
multiply = -50
value = scope:target.current_heir.governor_efficiency_presented
multiply = -1
}
round = yes
}
desc = AI_GOVERNOR_EFFICIENCY_HEIR
}
@ -11055,7 +11089,7 @@ request_co_emperor_interaction = {
desc = declare_me_regent_interaction.tt.actor_is.close_family
is_close_family_of = scope:actor
# Make sure this isn't cancelled out by the incumbent sharing the relation.
diarchy_successor = {
diarchy_successor ?= {
NOT = { is_close_family_of = scope:recipient }
}
}
@ -11065,7 +11099,7 @@ request_co_emperor_interaction = {
desc = declare_me_regent_interaction.tt.actor_is.extended_family
is_extended_family_of = scope:actor
# Make sure this isn't cancelled out by the incumbent sharing the relation.
diarchy_successor = {
diarchy_successor ?= {
NOT = { is_extended_family_of = scope:recipient }
}
}
@ -11076,7 +11110,7 @@ request_co_emperor_interaction = {
house = scope:actor.house
NOT = { is_close_or_extended_family_of = scope:actor }
# Make sure this isn't cancelled out by the incumbent sharing the relation.
diarchy_successor = {
diarchy_successor ?= {
house != scope:recipient.house
}
}
@ -12799,6 +12833,17 @@ ep3_hof_ask_for_influence_interaction = {
}
desc = you_have_faithful_nobles_attribute_with_value_desc
}
modifier = {
add = 40
scope:actor = { has_character_modifier = favored_by_pope_modifier }
desc = FAVORED_BY_POPE
}
modifier = {
add = -40
scope:actor = { has_character_modifier = scorned_pope_modifier }
desc = HAS_SCORNED_POPE
}
secular_to_ecclesiastical_pam_factors_acceptance_modifier = yes
modifier = {

View file

@ -6,7 +6,6 @@
purchase_land_interaction = {
category = interaction_category_laamp
icon = purchase_land_interaction
desc = purchase_land_interaction_desc
target_type = title
target_filter = recipient_de_jure_titles
@ -17,7 +16,7 @@ purchase_land_interaction = {
first_valid = {
triggered_desc = {
trigger = {
scope:recipient = { top_liege != this }
scope:recipient.top_liege != this
scope:target = {
trigger_if = {
limit = { tier = tier_duchy }
@ -61,33 +60,23 @@ purchase_land_interaction = {
}
is_shown = {
has_ep3_dlc_trigger = yes
scope:actor = {
this != scope:recipient
}
scope:recipient = {
is_landed = yes
# Need to own the land/cannot directly buy a governorship (procure estate first)
NOT = { government_allows = noble_families }
NOR = {
government_allows = noble_families
government_has_flag = government_is_republic # join instead
}
}
scope:recipient != scope:actor
}
has_valid_target = {
custom_tooltip = { #prevent unwanted trigger tooltip
text = blank_line
scope:target ?= {
is_title_created = yes
holder = {
is_ai = yes
this = scope:recipient
}
OR = { #flatten the selection
tier = tier_duchy
tier = tier_county
}
NOR = {
this = scope:recipient.capital_county
this = scope:recipient.capital_county.duchy
}
}
scope:target ?= { is_purchasable_title_trigger = yes }
}
}
@ -100,9 +89,7 @@ purchase_land_interaction = {
send_option = {
flag = hook
is_valid = {
scope:actor = {
has_usable_hook = scope:recipient
}
scope:actor = { has_usable_hook = scope:recipient }
}
localization = GENERIC_SPEND_A_HOOK
}
@ -111,9 +98,7 @@ purchase_land_interaction = {
flag = offer_hook
is_valid = {
NOT = {
scope:recipient = {
has_usable_hook = scope:actor
}
scope:recipient = { has_usable_hook = scope:actor }
}
}
localization = purchase_land_interaction_offer_hook
@ -123,53 +108,17 @@ purchase_land_interaction = {
send_option = {
flag = vassal_obligation
is_shown = {
scope:recipient = {
government_has_flag = government_is_feudal
}
scope:recipient = { government_has_flag = government_is_feudal }
}
localization = purchase_land_interaction_offer_obligations
current_description = purchase_land_interaction_offer_obligations_desc
}
can_be_picked_title = {
custom_tooltip = {
text = purchase_land_tier_tt
scope:target = {
tier >= tier_county
tier <= tier_duchy
}
}
custom_tooltip = {
text = purchase_land_capital_tt
scope:target != scope:recipient.capital_county
}
custom_tooltip = {
text = purchase_land_primary_tt
scope:target != scope:recipient.primary_title
}
custom_tooltip = {
text = purchase_land_duchy_tt
scope:target = {
trigger_if = {
limit = { tier = tier_duchy }
scope:actor = {
prestige_level >= 3
}
}
}
}
custom_tooltip = {
text = PURCHASE_LAND_COMPLETE_CONTROL_TT
trigger_if = {
limit = { scope:target = { tier = tier_duchy } }
scope:recipient = {
completely_controls = scope:target
}
}
}
trigger_if = {
limit = { exists = scope:target.holder }
scope:target.holder = scope:recipient
is_title_purchasable_shared_trigger = {
TITLE = scope:target
BUYER = scope:actor
SELLER = scope:recipient
}
}
@ -184,64 +133,17 @@ purchase_land_interaction = {
}
scope:recipient = {
is_contact_of = scope:actor
is_at_war = no
NOT = { has_strong_hook = scope:actor }
}
trigger_if = { # Can't purchase Baronies
limit = {
scope:target ?= { tier = tier_barony }
}
custom_description = {
text = purchase_land_barony_tt
always = no
}
}
trigger_if = { # Can't purchase Kingdoms or Empires
limit = {
scope:target ?= { tier >= tier_kingdom }
}
custom_description = {
text = purchase_land_kingdom_tt
always = no
}
}
trigger_if = { # Can't purchase HoF titles
limit = {
scope:target ?= { is_head_of_faith = yes }
}
custom_description = {
text = purchase_land_religious_tt
always = no
}
}
trigger_if = { # Can't purchase nf titles
limit = {
scope:target ?= { is_noble_family_title = yes }
}
custom_description = {
text = purchase_land_noble_family_tt
always = no
}
}
trigger_if = { # Can't purchase laamp titles
limit = {
scope:target ?= { has_variable = adventurer_creation_reason }
}
custom_description = {
text = purchase_land_landless_adventurer_tt
always = no
custom_tooltip = {
text = purchase_land_no_land_tt
any_held_title = { is_purchasable_title_trigger = yes }
}
}
trigger_if = {
limit = {
scope:recipient = {
any_held_county = { count < 2 }
}
}
custom_description = {
text = purchase_land_minimum_county_tt
object = scope:recipient
always = no
limit = { exists = scope:target }
is_title_purchase_valid_shared_trigger = {
TITLE = scope:target
BUYER = scope:actor
SELLER = scope:recipient
}
}
#Has to be used instead of diplo range checks in laamp to landed interactions
@ -290,102 +192,12 @@ purchase_land_interaction = {
}
on_accept = {
scope:actor = { save_scope_as = adventurer }
scope:target = {
save_scope_as = purchase_land_target
add_to_list = purchased_titles
if = {
limit = { tier = tier_duchy }
every_de_jure_county = {
limit = {
holder ?= {
OR = {
this = scope:recipient
target_is_liege_or_above = scope:recipient
}
}
}
if = {
limit = { holder = scope:recipient }
add_to_list = purchased_titles
}
else_if = {
limit = {
holder ?= {
highest_held_title_tier < scope:purchase_land_target.tier
NOT = { government_has_flag = government_is_administrative }
target_is_liege_or_above = scope:recipient
}
}
holder = {
if = {
limit = {
NOT = { is_in_list = purchase_land_vassals_taken }
}
add_to_list = purchase_land_vassals_taken
}
}
}
else = {
add_to_list = purchased_titles
}
}
}
}
ordered_in_list = {
list = purchased_titles
order_by = tier
save_scope_as = new_primary_title
}
save_scope_value_as = {
name = purchase_land_cost
value = {
if = {
limit = { scope:target.tier = tier_county }
add = purchase_land_county_cost_value
}
else = {
add = purchase_land_duchy_cost_value
scope:target = {
every_de_jure_county = {
limit = { ep3_purchase_land_valid_county_trigger = yes }
add = purchase_land_county_cost_value
}
}
}
if = {
limit = {
scope:actor = { has_variable = ep3_grace_to_the_family_var }
}
multiply = 0.5
}
if = {
limit = { scope:offer_gold = yes }
multiply = 2
}
}
}
save_scope_value_as = {
name = purchase_land_legitimacy_cost
value = {
value = 0
if = {
limit = {
scope:target.holder != scope:recipient
}
every_in_list = {
list = purchased_titles
if = {
limit = { tier = tier_county }
add = minor_legitimacy_loss
}
else = { add = medium_legitimacy_loss }
}
}
}
}
purchase_land_interaction_save_scopes_effect = yes
show_as_tooltip = {
scope:actor = { purchase_land_interaction_effect = yes }
purchase_land_interaction_shortened_effect = {
TITLE_RECEIVER = scope:actor
TITLE_GIVER = scope:recipient
}
}
if = {
limit = { always = scope:hook }
@ -400,10 +212,7 @@ purchase_land_interaction = {
}
on_decline = {
scope:actor = {
save_scope_as = adventurer
trigger_event = ep3_laamps.0102
}
scope:actor = { trigger_event = ep3_laamps.0102 }
}
ai_targets = {
@ -420,7 +229,7 @@ purchase_land_interaction = {
ai_frequency_by_tier = {
barony = 0
county = 0
duchy = 60
duchy = 60 # adventurers are dukes
kingdom = 0
empire = 0
hegemony = 0
@ -464,7 +273,7 @@ purchase_land_interaction = {
value = 0
if = {
limit = { scope:target.tier = tier_county }
add = scope:target.development_level
add = scope:target.prosperity_level
scope:target = {
every_county_province = { add = num_buildings }
}
@ -473,7 +282,7 @@ purchase_land_interaction = {
scope:target = {
every_de_jure_county = {
limit = { ep3_purchase_land_valid_county_trigger = yes }
add = development_level
add = prosperity_level
every_county_province = { add = num_buildings }
}
}
@ -1113,7 +922,10 @@ purchase_sacred_land_interaction = {
}
}
show_as_tooltip = {
scope:actor = { purchase_land_interaction_effect = yes }
purchase_land_interaction_effect = {
TITLE_RECEIVER = scope:actor
TITLE_GIVER = scope:recipient
}
}
scope:actor = {
if = {
@ -1197,7 +1009,7 @@ purchase_sacred_land_interaction = {
value = 0
if = {
limit = { exists = scope:target }
add = scope:target.development_level
add = scope:target.prosperity_level
scope:target = {
every_county_province = { add = num_buildings }
}
@ -1420,7 +1232,7 @@ request_laamp_invasion_sponsorship_interaction = {
is_shown = {
scope:actor = { OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority } }
NOT = { scope:actor = { has_realm_law = camp_purpose_legitimists } }
has_ep3_dlc_trigger = yes
has_playable_adventurer_dlc_trigger = yes
scope:recipient = { is_landed = yes }
scope:recipient != scope:actor
}
@ -1905,7 +1717,7 @@ negotiate_settlement_interaction = {
}
}
is_landed = yes
has_ep3_dlc_trigger = yes
has_playable_adventurer_dlc_trigger = yes
}
is_shown = {
@ -2008,6 +1820,15 @@ negotiate_settlement_interaction = {
always = no
}
}
trigger_if = { # Can't purchase merchant titles
limit = {
scope:target ?= { has_variable = merchant_creation_reason }
}
custom_description = {
text = negotiate_settlement_merchant_tt
always = no
}
}
trigger_if = {
limit = {
scope:actor = { government_has_flag = government_is_administrative }
@ -2319,7 +2140,7 @@ negotiate_settlement_interaction = {
value = 0
if = {
limit = { scope:target.tier = tier_county }
add = scope:target.development_level
add = scope:target.prosperity_level
scope:target = {
every_county_province = { add = num_buildings }
}
@ -2328,7 +2149,7 @@ negotiate_settlement_interaction = {
scope:target = {
every_de_jure_county = {
limit = { ep3_negotiate_settlement_valid_county_trigger = yes }
add = development_level
add = prosperity_level
every_county_province = { add = num_buildings }
}
}
@ -2813,13 +2634,13 @@ negotiate_settlement_interaction = {
limit = {
scope:target.tier = tier_county
}
subtract = scope:target.development_level
subtract = scope:target.prosperity_level
}
if = {
limit = {
scope:target.tier > tier_county
}
subtract = scope:target.title_capital_county.development_level
subtract = scope:target.title_capital_county.prosperity_level
}
}
}
@ -3221,7 +3042,7 @@ complete_task_contract_interaction = {
pause_on_receive = yes
is_shown = {
has_ep3_dlc_trigger = yes
has_playable_adventurer_dlc_trigger = yes
scope:actor = {
any_character_active_contract = {
OR = {
@ -3440,7 +3261,7 @@ contact_list_request_interaction = { # make a request, make_a_request
is_shown = {
scope:actor = { OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority } }
has_ep3_dlc_trigger = yes
has_playable_adventurer_dlc_trigger = yes
scope:actor != scope:recipient
}
is_valid_showing_failures_only = {
@ -3450,7 +3271,6 @@ contact_list_request_interaction = { # make a request, make_a_request
NOR = {
is_at_war_with = scope:actor
has_relation_rival = scope:actor
has_relation_nemesis = scope:actor
has_opinion_modifier = {
target = scope:actor
modifier = released_from_prison
@ -3934,7 +3754,7 @@ contact_list_request_interaction = { # make a request, make_a_request
name = provisions_transformed_to_gold_value
value = {
value = scope:provisions_overflow_value
multiply = 0.05
multiply = 0.02
}
}
}
@ -3996,7 +3816,7 @@ contact_list_request_interaction = { # make a request, make_a_request
name = requested_gold_value
value = {
value = scope:recipient.gold
divide = 4
divide = 8
multiply = {
value = scope:recipient.ai_greed
divide = -300
@ -4626,6 +4446,7 @@ contact_list_request_interaction = { # make a request, make_a_request
}
ai_targets = { ai_recipients = contacts }
ai_targets = { ai_recipients = hooked_characters }
ai_target_quick_trigger = { adult = yes }
auto_accept = {
scope:actor = { has_usable_hook = scope:recipient }
scope:recipient = { is_ai = yes }
@ -5164,7 +4985,7 @@ reinforce_soldiers_interaction = {
}
is_shown = {
has_ep3_dlc_trigger = yes
has_playable_adventurer_dlc_trigger = yes
scope:recipient = scope:actor
}
@ -5418,15 +5239,33 @@ hire_laamp_mercenaries_interaction = {
is_available = {
trigger_if = {
limit = { is_ai = yes }
debt_level <= 1
any_character_war = {
is_war_leader = prev
}
war_chest_gold >= quarter_ai_war_chest_gold_maximum
any_war_ally = {
count < 3
has_government = landless_adventurer_government
}
any_character_war = {
count = all
OR = {
AND = {
primary_attacker = root
defender_war_score <= 95
}
AND = {
primary_defender = root
attacker_war_score <= 95
}
}
}
}
}
is_shown = {
has_ep3_dlc_trigger = yes
has_playable_adventurer_dlc_trigger = yes
scope:recipient = {
OR = {
has_government = landless_adventurer_government
@ -5479,6 +5318,11 @@ hire_laamp_mercenaries_interaction = {
has_government = landless_minority_government
}
}
custom_tooltip = {
at_mercenary_limit = yes
text = MERCENARY_HIRE_LIMIT_REACHED
}
}
}
scope:puppet_or_actor = {
@ -5610,7 +5454,7 @@ hire_laamp_mercenaries_interaction = {
value = scope:puppet_or_actor
}
}
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = medium_unity_gain
@ -5654,7 +5498,7 @@ hire_laamp_mercenaries_interaction = {
# add = 1
# }
#}
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = minor_unity_loss
@ -5686,6 +5530,15 @@ hire_laamp_mercenaries_interaction = {
empire = 6
hegemony = 6
}
ai_frequency_by_tier_government_override = {
government = merchant_government
barony = 0
county = 36
duchy = 0
kingdom = 0
empire = 0
hegemony = 0
}
ai_targets = {
ai_recipients = nearby_domicile_owners
}
@ -6161,7 +6014,7 @@ refill_maa_interaction = {
}
is_shown = {
has_ep3_dlc_trigger = yes
has_playable_adventurer_dlc_trigger = yes
scope:recipient = scope:actor
}
@ -6312,7 +6165,7 @@ evict_adventurer_interaction = {
is_shown = {
scope:puppet_or_actor ?= { is_landed = yes }
has_ep3_dlc_trigger = yes
has_playable_adventurer_dlc_trigger = yes
scope:recipient != scope:puppet_or_actor
scope:recipient = {
OR = {
@ -6694,7 +6547,7 @@ procure_estate_interaction = {
is_shown = {
scope:actor = { OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority } }
has_ep3_dlc_trigger = yes
has_playable_adventurer_dlc_trigger = yes
scope:recipient = {
is_landed = yes
government_allows = noble_families
@ -7375,7 +7228,7 @@ request_laamp_legitimist_support = {
}
is_shown = {
has_ep3_dlc_trigger = yes
has_playable_adventurer_dlc_trigger = yes
scope:recipient = {
is_landed = yes
is_ai = yes
@ -7404,12 +7257,8 @@ request_laamp_legitimist_support = {
NOT = {
any_claim = {
OR = {
holder = {
this = scope:recipient
}
holder.top_liege = {
this = scope:recipient
}
holder ?= scope:recipient
holder.top_liege ?= scope:recipient
}
}
}
@ -7646,7 +7495,7 @@ task_contract_train_knight_interaction = {
}
is_shown = {
has_ep3_dlc_trigger = yes
has_playable_adventurer_dlc_trigger = yes
scope:actor = {
any_character_active_contract = {
task_contract_type = laamp_help_train_commanders_contract

View file

@ -33,6 +33,7 @@
}
}
age >= 6
is_imprisoned = no
}
is_playable_character = yes
}
@ -732,6 +733,7 @@
}
has_trait = denounced
has_trait = disinherited
has_trait = adopted_no_inheritance
}
}
}
@ -1430,7 +1432,7 @@
scope:actor = {
custom_tooltip = create_confederation_tt
custom_tooltip = confederation_defensive_wars_tt
custom_tooltip = unlock_leave_confederation_interaction_tt
custom_tooltip = unlock_leave_confederation_decision_tt
if = {
limit = {
government_has_flag = government_is_nomadic
@ -2546,6 +2548,7 @@ migration_interaction = {
}
desc = migration_interaction_desc
notification_text = migration_interaction_notification
is_available = {
government_has_flag = government_is_nomadic
@ -2563,6 +2566,7 @@ migration_interaction = {
is_imprisoned = no
is_independent_ruler = yes
is_travelling = no
has_raised_armies = no
custom_tooltip = {
text = no_primary_wars_tt
NOT = {
@ -4301,6 +4305,10 @@ mpo_interaction_leverage_khan_authority = {
NOT = {
has_character_flag = established_paiza_system
}
any_character_artifact = {
has_variable = paiza_patron
root = { can_benefit_from_artifact = prev }
}
}
is_shown = {
@ -4308,8 +4316,12 @@ mpo_interaction_leverage_khan_authority = {
is_ai = yes
is_gurkhan = no
age >= 12
NOT = {
has_character_flag = established_paiza_system
NOT = { has_character_flag = established_paiza_system }
# Implied by the artifact check below: a paiza only benefits while its patron is the gurkhan
OR = {
top_liege ?= situation:the_great_steppe.situation_top_herd
AND = { is_independent_ruler = yes primary_title.tier < scope:actor.primary_title.tier government_has_flag = government_is_nomadic }
liege ?= { government_has_flag = government_is_nomadic }
}
}
scope:actor = {
@ -4318,19 +4330,10 @@ mpo_interaction_leverage_khan_authority = {
scope:actor = { can_benefit_from_artifact = prev }
OR = {
scope:recipient.top_liege ?= var:paiza_patron
scope:recipient = {
is_independent_ruler = yes
primary_title.tier < scope:actor.primary_title.tier
scope:recipient = { is_independent_ruler = yes primary_title.tier < scope:actor.primary_title.tier government_has_flag = government_is_nomadic }
scope:recipient.liege ?= {
government_has_flag = government_is_nomadic
}
scope:recipient = {
liege = {
OR = {
government_has_flag = government_is_nomadic
scope:recipient.top_liege ?= prev.var:paiza_patron
}
}
}
}
}
}
@ -4441,20 +4444,35 @@ mpo_interaction_leverage_khan_authority = {
}
modifier = {
add = -10
var:paiza_patron ?= {
domicile ?= { has_domicile_parameter = nomad_yurt_paiza_abuse_less_likely_lvl_1 }
scope:actor = {
any_character_artifact = {
scope:actor = { can_benefit_from_artifact = prev }
var:paiza_patron ?= {
domicile ?= { has_domicile_parameter = nomad_yurt_paiza_abuse_less_likely_lvl_1 }
}
}
}
}
modifier = {
add = -20
var:paiza_patron ?= {
domicile ?= { has_domicile_parameter = nomad_yurt_paiza_abuse_less_likely_lvl_2 }
scope:actor = {
any_character_artifact = {
scope:actor = { can_benefit_from_artifact = prev }
var:paiza_patron ?= {
domicile ?= { has_domicile_parameter = nomad_yurt_paiza_abuse_less_likely_lvl_2 }
}
}
}
}
modifier = {
add = -35
var:paiza_patron ?= {
domicile ?= { has_domicile_parameter = nomad_yurt_paiza_abuse_less_likely_lvl_3 }
scope:actor = {
any_character_artifact = {
scope:actor = { can_benefit_from_artifact = prev }
var:paiza_patron ?= {
domicile ?= { has_domicile_parameter = nomad_yurt_paiza_abuse_less_likely_lvl_3 }
}
}
}
}
}
@ -4471,17 +4489,21 @@ mpo_interaction_leverage_khan_authority = {
title = mpo_interaction_leverage_khan_authority
make_obedient_recipient_to_actor_effect = yes
scope:recipient = {
pay_short_term_gold = {
target = scope:actor
gold = {
value = current_gold_value
divide = 2
if = {
limit = { gold > 0 }
pay_short_term_gold = {
target = scope:actor
gold = {
value = current_gold_value
divide = 2
}
}
}
if = {
limit = {
government_has_flag = government_is_nomadic
scope:recipient = {
domicile ?= { herd > 0 }
scope:actor = {
government_has_flag = government_is_nomadic
}
}
@ -4508,22 +4530,6 @@ mpo_interaction_leverage_khan_authority = {
add_prestige = minor_prestige_value
}
}
if = {
limit = {
government_has_flag = government_is_nomadic
scope:recipient = {
government_has_flag = government_is_nomadic
}
}
pay_herd = {
target = scope:actor
value = {
value = domicile.herd
multiply = 0.5
}
}
}
}
scope:actor = {
@ -6874,7 +6880,7 @@ mpo_make_blood_brother = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = minor_unity_gain
@ -6954,7 +6960,7 @@ mpo_make_blood_brother = {
}
# If we're a clan this interaction affects unity
add_clan_unity_interaction_effect = {
add_house_unity_interaction_effect = {
CHARACTER = scope:actor
TARGET = scope:recipient
VALUE = minor_unity_loss
@ -7176,7 +7182,7 @@ feudalize_nomadic_holding_interaction = {
}
trigger_else = {
custom_description = {
text = "feudalize_nomadic_holding_interaction_title_not_county_or_below"
text = "feudalize_holding_interaction_title_not_county_or_below"
always = no
}
}
@ -7189,7 +7195,7 @@ feudalize_nomadic_holding_interaction = {
limit = { tier <= tier_county }
title_province = {
barony_controller = scope:actor
has_ongoing_construction = no
has_ongoing_holding_construction = no
}
}
}
@ -7319,7 +7325,7 @@ feudalize_herder_holding_interaction = {
}
trigger_else = {
custom_description = {
text = "feudalize_herder_holding_interaction_title_not_county_or_below"
text = "feudalize_holding_interaction_title_not_county_or_below"
always = no
}
}
@ -7332,7 +7338,7 @@ feudalize_herder_holding_interaction = {
limit = { tier <= tier_county }
title_province = {
barony_controller = scope:actor
has_ongoing_construction = no
has_ongoing_holding_construction = no
}
}
}
@ -7498,10 +7504,7 @@ mpo_retrieve_land_from_herder_interaction = {
is_vassal_of = scope:actor
}
}
custom_tooltip = {
text = mpo_retrieve_land_migration_tt
capital_county = { is_migration_target = no }
}
capital_county = { is_migration_target = no }
}
}
@ -8043,9 +8046,7 @@ mpo_gift_herd_interaction = {
}
has_secret_relation_lover = scope:actor
has_relation_lover = scope:actor
has_relation_soulmate = scope:actor
has_relation_friend = scope:actor
has_relation_best_friend = scope:actor
}
domicile.herd < minor_herd_value_static
}
@ -8053,9 +8054,7 @@ mpo_gift_herd_interaction = {
OR = {
has_secret_relation_lover = scope:actor
has_relation_lover = scope:actor
has_relation_soulmate = scope:actor
has_relation_friend = scope:actor
has_relation_best_friend = scope:actor
}
scope:actor = {
OR = {
@ -8086,7 +8085,6 @@ mpo_gift_herd_interaction = {
OR = {
scope:actor.liege ?= this
has_relation_friend = scope:actor
has_relation_best_friend = scope:actor
is_allied_to = scope:actor
is_close_or_extended_family_of = scope:actor
}
@ -8361,7 +8359,6 @@ mpo_offer_submission_or_ruin = {
ceiling = yes
}
}
# TRAITS/PERSONALITY
modifier = { # Ambitious
desc = TAKE_THE_VOWS_AMBITIOUS
@ -9861,6 +9858,7 @@ join_confederation_interaction = {
}
has_trait = denounced
has_trait = disinherited
has_trait = adopted_no_inheritance
}
}
}
@ -10306,7 +10304,7 @@ join_confederation_interaction = {
scope:actor = {
custom_tooltip = join_confederation_recipient_tt
custom_tooltip = confederation_defensive_wars_tt
custom_tooltip = unlock_leave_confederation_interaction_tt
custom_tooltip = unlock_leave_confederation_decision_tt
}
}
if = {

View file

@ -1,12 +1,11 @@
### Apply some impact to the relation between two houses.
#
debug_impact_house_relation_interaction = {
category = interaction_debug_tgp
category = interaction_debug_extra
desc = debug_impact_house_relation_interaction_desc
use_diplomatic_range = no
ignores_pending_interaction_block = yes
icon = debug_chars
common_interaction = yes
is_shown = {
debug_only = yes
@ -162,10 +161,9 @@ debug_impact_house_relation_interaction = {
debug_spawn_natural_disaster = {
category = interaction_debug_tgp
category = interaction_debug_extra
use_diplomatic_range = no
ignores_pending_interaction_block = yes
common_interaction = yes
icon = debug_bad
auto_accept = yes
is_shown = {
@ -248,10 +246,9 @@ debug_spawn_natural_disaster = {
debug_change_bloc_cohesion = {
category = interaction_debug_tgp
category = interaction_debug_extra
use_diplomatic_range = no
ignores_pending_interaction_block = yes
common_interaction = yes
icon = icon_leave_bloc
auto_accept = yes
is_shown = {

File diff suppressed because it is too large Load diff

View file

@ -22538,6 +22538,184 @@ c_nottinghamshire = {
}
c_rutland = {
pattern="pattern_horizontal_split_01.dds"
color1=green
color2=green
color3=red
colored_emblem={
color1=yellow
texture="NEOW_ce_acorn.dds"
instance={
position={ 0.800000 1.000000 }
scale={ 0.200000 0.200000 }
depth=1.010000
}
instance={
position={ 0.600000 1.000000 }
scale={ 0.200000 0.200000 }
depth=2.010000
}
instance={
position={ 0.400000 1.000000 }
scale={ 0.200000 0.200000 }
depth=3.010000
}
instance={
position={ 0.200000 1.000000 }
scale={ 0.200000 0.200000 }
depth=4.010000
}
instance={
position={ 0.850000 0.800000 }
scale={ 0.200000 0.200000 }
depth=5.010000
}
instance={
position={ 0.700000 0.880000 }
scale={ 0.200000 0.200000 }
depth=6.010000
}
instance={
position={ 0.500000 0.800000 }
scale={ 0.200000 0.200000 }
depth=7.010000
}
instance={
position={ 0.300000 0.880000 }
scale={ 0.200000 0.200000 }
depth=8.010000
}
instance={
position={ 0.150000 0.800000 }
scale={ 0.200000 0.200000 }
depth=9.010000
}
instance={
position={ 0.820000 0.600000 }
scale={ 0.200000 0.200000 }
depth=10.010000
}
instance={
position={ 0.180000 0.600000 }
scale={ 0.200000 0.200000 }
depth=11.010000
}
instance={
position={ 0.900000 0.400000 }
scale={ 0.200000 0.200000 }
depth=12.010000
}
instance={
position={ 0.500000 0.470000 }
scale={ 0.200000 0.200000 }
depth=13.010000
}
instance={
position={ 0.100000 0.400000 }
scale={ 0.200000 0.200000 }
depth=14.010000
}
instance={
position={ 1.000000 0.200000 }
scale={ 0.200000 0.200000 }
depth=15.010000
}
instance={
position={ 0.800000 0.200000 }
scale={ 0.200000 0.200000 }
depth=16.010000
}
instance={
position={ 0.200000 0.200000 }
scale={ 0.200000 0.200000 }
depth=17.010000
}
instance={
position={ 0.000000 0.200000 }
scale={ 0.200000 0.200000 }
depth=18.010000
}
instance={
position={ 0.900000 0.000000 }
scale={ 0.200000 0.200000 }
depth=19.010000
}
instance={
position={ 0.700000 0.060000 }
scale={ 0.200000 0.200000 }
depth=20.010000
}
instance={
position={ 0.500000 0.060000 }
scale={ 0.200000 0.200000 }
depth=21.010000
}
instance={
position={ 0.300000 0.070000 }
scale={ 0.200000 0.200000 }
depth=22.010000
}
instance={
position={ 0.100000 0.000000 }
scale={ 0.200000 0.200000 }
depth=23.010000
}
}
colored_emblem={
color1=yellow
texture="ce_horse_shoe.dds"
instance={
scale={ 0.850000 0.850000 }
}
}
}
c_huntingdonshire = {
pattern="pattern_horizontal_split_01.dds"
color1=green
color2=green
color3=red
colored_emblem={
color1=yellow
color2=yellow_light
texture="ce_horn.dds"
instance={
scale={ -1.000000 1.000000 }
}
}
}
c_birmingham = {
pattern="pattern_horizontal_split_01.dds"
color1=yellow

View file

@ -5137,7 +5137,6 @@ behrends_dynasty={
}
dynn_britannia_fitsosbern={
pattern="pattern_horizontal_split_02.dds"
color1=blue
@ -5147,36 +5146,24 @@ dynn_britannia_fitsosbern={
color1=yellow
texture="ce_crescent.dds"
instance={
position={ 0.810000 0.140000 }
scale={ 0.280000 0.280000 }
position={ 0.800000 0.140000 }
scale={ 0.400000 0.400000 }
depth=1.010000
}
instance={
position={ 0.500000 0.140000 }
scale={ 0.400000 0.400000 }
depth=2.010000
}
instance={
position={ 0.500000 0.140000 }
scale={ 0.280000 0.280000 }
depth=3.010000
}
}
colored_emblem={
color1=red
color2=red
color3=yellow
texture="ce_cockerel.dds"
instance={
position={ 0.220000 0.140000 }
scale={ 0.300000 0.250000 }
}
}
colored_emblem={
color1=blue
texture="ce_block_02.dds"
instance={
depth=8.010000
depth=7.010000
}
}
@ -5187,8 +5174,8 @@ dynn_britannia_fitsosbern={
texture="ce_chief.dds"
instance={
position={ 0.500000 0.000000 }
scale={ 1.000000 0.510000 }
depth=4.010000
scale={ 1.000000 0.550000 }
depth=3.010000
}
}
@ -5197,9 +5184,9 @@ dynn_britannia_fitsosbern={
color1=white
texture="ce_norse_gungnir.dds"
instance={
position={ 0.500000 0.600000 }
scale={ 1.000000 0.940000 }
depth=7.010000
position={ 0.500000 0.605000 }
scale={ 0.850000 0.850000 }
depth=6.010000
}
}
@ -5208,25 +5195,27 @@ dynn_britannia_fitsosbern={
color1=white
texture="ce_bendlet.dds"
instance={
position={ 0.500000 0.600000 }
scale={ 1.000000 -1.000000 }
depth=5.010000
position={ 1.000000 0.105000 }
scale={ 0.680000 -0.680000 }
depth=4.010000
}
instance={
position={ 0.500000 0.610000 }
depth=6.010000
position={ 0.000000 0.105000 }
scale={ 0.680000 0.680000 }
depth=5.010000
}
}
colored_emblem={
color1=yellow
texture="ce_block_02.dds"
color2=red
color3=yellow
texture="ce_crescent.dds"
instance={
position={ 0.000000 0.000000 }
scale={ 0.750000 0.520000 }
depth=1.010000
position={ 0.210000 0.140000 }
scale={ 0.400000 0.400000 }
}
}
@ -5234,6 +5223,7 @@ dynn_britannia_fitsosbern={
}
dynn_britannia_solomonid = {
pattern="pattern_tricolor_horizontal_01.dds"
color1=green_light
@ -12624,24 +12614,124 @@ dynn_britannia_knwcks = {
}
dynn_britannia_carnegie = {
pattern="pattern__solid_designer.dds"
color1=yellow_light
color2=white
color3=black
pattern="pattern_checkers_02.dds"
color1=red
color2=blue
color3=blue
colored_emblem={
color1=blue
texture="ce_eagle_small.dds"
color1=red
color2=blue
color3=black
texture="ce_lion_rampant.dds"
instance={
depth=1.010000
position={ 0.750000 0.750000 }
scale={ 0.300000 0.300000 }
depth=3.010000
}
}
colored_emblem={
color1=yellow
texture="ce_chalice_01.dds"
texture="ce_harp.dds"
instance={
scale={ 0.340000 0.340000 }
position={ 0.320000 0.750000 }
scale={ 0.500000 0.500000 }
depth=9.010000
rotation=348
}
}
colored_emblem={
color1=red
color2=blue
color3=black
texture="ce_double_tressure.dds"
instance={
position={ 0.750000 0.760000 }
scale={ 0.610000 0.540000 }
depth=4.010000
}
}
colored_emblem={
color1=yellow
color2=yellow
color3=yellow
texture="ce_moors_head_02.dds"
instance={
position={ 0.145000 0.660000 }
scale={ 0.200000 0.200000 }
depth=2.010000
}
}
colored_emblem={
color1=yellow
color2=blue
texture="ce_quarterly.dds"
instance={
depth=10.010000
}
}
colored_emblem={
color1=red
texture="ce_block_02.dds"
instance={
position={ 1.000000 0.000000 }
depth=8.010000
}
}
colored_emblem={
color1=red
color2=blue
texture="ce_lion_rampant.dds"
instance={
position={ 0.250000 0.250000 }
scale={ 0.300000 0.300000 }
}
}
colored_emblem={
color1=yellow
color2=blue
color3=black
texture="ce_leopard_passant_guardant.dds"
instance={
position={ 0.750000 0.100000 }
scale={ 0.500000 0.500000 }
depth=5.010000
}
instance={
position={ 0.750000 0.250000 }
scale={ 0.500000 0.500000 }
depth=6.010000
}
instance={
position={ 0.750000 0.400000 }
scale={ 0.500000 0.500000 }
depth=7.010000
}
}
colored_emblem={
color1=red
texture="ce_double_tressure.dds"
instance={
position={ 0.250000 0.260000 }
scale={ 0.610000 0.540000 }
depth=1.010000
}
}
@ -12649,6 +12739,7 @@ dynn_britannia_carnegie = {
}
dynn_britannia_keith= {
pattern="pattern__solid_designer.dds"
color1=white
@ -12840,42 +12931,31 @@ dynn_britannia_chatain = {
dynn_britannia_brus = {
pattern="pattern_solid.dds"
color1=yellow_light
color1=yellow
color2=yellow
color3=red
colored_emblem={
color1=white
texture="ce_block_02.dds"
instance={
position={ 0.170000 0.110000 }
scale={ 0.350000 0.250000 }
depth=1.010000
}
}
colored_emblem={
color1=red
texture="ce_bend_thin.dds"
instance={
position={ 0.540000 0.500000 }
position={ 0.550000 0.620000 }
scale={ -1.000000 1.000000 }
depth=3.010000
depth=2.010000
}
instance={
position={ 0.450000 0.510000 }
depth=4.010000
position={ 0.450000 0.620000 }
depth=3.010000
}
}
colored_emblem={
color1=blue
texture="ce_lion_rampant_holding_sword.dds"
color1=black
texture="ce_block_05.dds"
instance={
position={ 0.220000 0.140000 }
scale={ 0.210000 0.210000 }
position={ 0.500000 0.270000 }
scale={ 1.000000 0.100000 }
}
}
@ -12885,14 +12965,15 @@ dynn_britannia_brus = {
texture="ce_block_02.dds"
instance={
position={ 0.500000 0.000000 }
scale={ 1.000000 0.460000 }
depth=2.010000
scale={ 1.000000 0.550000 }
depth=1.010000
}
}
}
dynn_britannia_duns={
pattern="pattern_solid.dds"
color1=yellow_light

View file

@ -469,6 +469,144 @@ task_domestic_affairs = {
}
}
task_republic_assembly_preparation = {
position = councillor_chancellor
task_type = task_type_general
task_progress = task_progress_infinite
is_shown = {
scope:councillor_liege = {
government_has_flag = government_is_republic
}
}
asset = {
icon = "gfx/interface/icons/council_task_types/task_assembly_preparation.dds"
background = "gfx/interface/buttons/button_round_bg.dds"
frame = "gfx/interface/buttons/button_round_frame.dds"
glow = "gfx/particles/halo.dds"
}
effect_desc = {
# Effect and breakdown
desc = task_republic_assembly_preparation_effect_desc
triggered_desc = {
trigger = {
scope:councillor_liege.house ?= {
house_power_score >= gdp_patrician_house_score_threshold_2_value
}
}
desc = task_republic_assembly_preparation_patrician_bonus_desc
}
# Add text about reaching the max if applicable
triggered_desc = {
trigger = {
republic_assembly_preparation_max_value >= republic_assembly_preparation_max_limit_value
}
desc = task_republic_assembly_preparation_max_limit_desc
}
# Info that the bonus resets
desc = task_republic_assembly_preparation_reset_bonus_desc
# Side effects
desc = {
desc = council_task_possible_side_effects
triggered_desc = {
trigger = { diplomacy > mediocre_skill_rating }
desc = task_republic_assembly_preparation_secured_endorsement
}
triggered_desc = {
trigger = {
diplomacy > mediocre_skill_rating
NOT = { has_character_modifier = republic_procedural_advantage_modifier }
}
desc = task_republic_assembly_preparation_procedural_advantage
}
triggered_desc = {
trigger = {
diplomacy < high_skill_rating
has_variable = republic_assembly_preparation_value
var:republic_assembly_preparation_value > 0
}
desc = task_republic_assembly_preparation_leaked_bargains
}
triggered_desc = {
trigger = { diplomacy < high_skill_rating }
desc = task_republic_assembly_preparation_assembly_resentment
}
}
}
is_valid_showing_failures_only = {
tgp_natural_disaster_councillor_available_for_task_trigger = yes
}
on_start_task = {
liege = {
set_variable = {
name = republic_assembly_preparation_value
value = 0
}
}
}
on_cancel_task = {
if = {
limit = {
is_alive = yes
has_variable = republic_assembly_preparation_value
}
remove_variable = republic_assembly_preparation_value
}
}
on_monthly = {
if = {
limit = { liege = { is_ai = no } }
if = {
limit = {
liege = {
has_variable = republic_assembly_preparation_value
}
}
liege = {
if = {
limit = {
var:republic_assembly_preparation_value < root.republic_assembly_preparation_max_value
}
change_variable = {
name = republic_assembly_preparation_value
add = root.republic_assembly_preparation_monthly_increase
}
}
if = {
limit = {
var:republic_assembly_preparation_value > root.republic_assembly_preparation_max_value
}
set_variable = {
name = republic_assembly_preparation_value
value = root.republic_assembly_preparation_max_value
}
}
}
}
else = {
liege = {
set_variable = {
name = republic_assembly_preparation_value
value = 0
}
}
}
}
}
monthly_on_action = task_republic_assembly_preparation_side_effects
ai_will_do = {
value = 0
}
}
task_integrate_title = {
position = councillor_chancellor
task_type = task_type_county
@ -478,6 +616,17 @@ task_integrate_title = {
task_max_value = define:NTitle|DRIFT_PROGRESS_LIMIT
is_shown = {
scope:councillor_liege = {
trigger_if = {
limit = {
government_has_flag = government_is_republic
}
is_landed = yes
}
}
}
asset = {
icon = "gfx/interface/icons/council_task_types/task_integrate_title.dds"
background = "gfx/interface/buttons/button_round_bg.dds"
@ -641,6 +790,24 @@ task_bestow_royal_favor = {
task_progress = task_progress_percentage
restart_on_finish = yes
is_shown = {
has_dlc_feature = royal_court
trigger_if = {
limit = {
scope:councillor_liege = { tgp_has_access_to_ministry_trigger = yes }
}
has_council_position = minister_personnel
}
scope:councillor_liege = {
trigger_if = {
limit = {
government_has_flag = government_is_republic
}
is_landed = yes
}
}
}
asset = {
icon = "gfx/interface/icons/council_task_types/task_bestow_royal_favor.dds"
background = "gfx/interface/buttons/button_round_bg.dds"
@ -733,16 +900,6 @@ task_bestow_royal_favor = {
}
}
is_shown = {
has_dlc_feature = royal_court
trigger_if = {
limit = {
scope:councillor_liege = { tgp_has_access_to_ministry_trigger = yes }
}
has_council_position = minister_personnel
}
}
is_valid_showing_failures_only = {
liege = {
court_grandeur_current_level >= 2

View file

@ -145,6 +145,10 @@ task_kurultai_fertility_1 = {
}
effect_desc = {
triggered_desc = {
trigger = { council_task_not_started_in_county_trigger = yes }
desc = task_kurultai_current_fertility_status
}
desc = task_kurultai_fertility_effect_desc
desc = task_kurultai_fertility_gain_desc
desc = {
@ -167,7 +171,7 @@ task_kurultai_fertility_1 = {
stewardship >= high_skill_rating
}
}
desc = task_kurultai_fertility_county_opinion
desc = task_kurultai_fertility_popular_opinion
}
## Negative
# Lose Fertility
@ -259,7 +263,7 @@ task_kurultai_control_1 = {
ai_county_target = domain
task_progress = task_progress_value
task_current_value = scope:councillor_liege.marshal_increase_control_current_progress
task_max_value = 100 # Highest possible county control
task_max_value = scope:councillor_liege.marshal_increase_control_max_progress
highlight_own_realm = yes
restart_on_finish = yes # If it "finishes" by removing a corruption modifier, there'll still be control to regain
@ -272,6 +276,10 @@ task_kurultai_control_1 = {
effect_desc = {
desc = task_kurultai_control_effect_desc
triggered_desc = {
trigger = { council_task_not_started_in_county_trigger = yes }
desc = task_increase_control_current_status
}
desc = task_kurultai_increase_control_effect_desc
desc = {
desc = council_task_possible_side_effects
@ -426,7 +434,7 @@ task_kurultai_control_1 = {
if = {
limit = { exists = scope:county }
multiply = {
value = scope:county.monthly_county_control_growth_factor
value = scope:county.monthly_county_control_change
desc = MARSHAL_COUNTY_SPEED_MODIFIERS
}
}
@ -466,13 +474,10 @@ task_kurultai_control_1 = {
custom_description = {
text = potential_county_control_task_trigger
OR = {
county_control < county_control_baseline
has_county_corruption_trigger = yes
county_control < full_county_control
}
}
# If the growth factor is 0, no amount of trying to control helps
# (happens when the county is under siege/occupied most likely)
monthly_county_control_growth_factor > 0
custom_tooltip = {
text = potential_county_control_task_only_one_target
scope:county = {
@ -488,7 +493,7 @@ task_kurultai_control_1 = {
county_modifier = {
name = marshal_increase_control_modifier
monthly_county_control_growth_add = 1
monthly_control_change_when_below_baseline_add = 0.5
scale = marshal_increase_control_total
}
@ -1054,6 +1059,10 @@ task_kurultai_exploit_area_1 = {
}
effect_desc = {
triggered_desc = {
trigger = { council_task_not_started_in_county_trigger = yes }
desc = task_kurultai_current_fertility_status
}
desc = task_kurultai_exploit_effect_desc
desc = task_kurultai_exploit_fertility_desc
desc = task_kurultai_exploit_income_desc
@ -1096,7 +1105,7 @@ task_kurultai_exploit_area_1 = {
stewardship <= decent_skill_rating
}
}
desc = task_kurultai_exploit_lose_county_opinion
desc = task_kurultai_exploit_lose_popular_opinion
}
}
}
@ -1604,6 +1613,10 @@ task_kurultai_fertility_2 = {
}
effect_desc = {
triggered_desc = {
trigger = { council_task_not_started_in_county_trigger = yes }
desc = task_kurultai_current_fertility_status
}
desc = task_kurultai_fertility_effect_desc
desc = task_kurultai_fertility_gain_desc
desc = {
@ -1626,7 +1639,7 @@ task_kurultai_fertility_2 = {
stewardship >= high_skill_rating
}
}
desc = task_kurultai_fertility_county_opinion
desc = task_kurultai_fertility_popular_opinion
}
## Negative
# Lose Fertility
@ -1720,7 +1733,7 @@ task_kurultai_control_2 = {
task_progress = task_progress_value
task_current_value = scope:councillor_liege.marshal_increase_control_current_progress
task_max_value = 100 # Highest possible county control
task_max_value = scope:councillor_liege.marshal_increase_control_max_progress
highlight_own_realm = yes
restart_on_finish = yes # If it "finishes" by removing a corruption modifier, there'll still be control to regain
@ -1734,6 +1747,10 @@ task_kurultai_control_2 = {
effect_desc = {
desc = task_kurultai_control_effect_desc
triggered_desc = {
trigger = { council_task_not_started_in_county_trigger = yes }
desc = task_increase_control_current_status
}
desc = task_kurultai_increase_control_effect_desc
desc = {
desc = council_task_possible_side_effects
@ -1885,13 +1902,6 @@ task_kurultai_control_2 = {
desc = INCREASE_COUNTY_CONTROL_EXPERIENCE_BONUS_VALUE
}
}
if = {
limit = { exists = scope:county }
multiply = {
value = scope:county.monthly_county_control_growth_factor
desc = MARSHAL_COUNTY_SPEED_MODIFIERS
}
}
if = {
limit = {
exists = scope:county
@ -1928,13 +1938,10 @@ task_kurultai_control_2 = {
custom_description = {
text = potential_county_control_task_trigger
OR = {
county_control < county_control_baseline
has_county_corruption_trigger = yes
county_control < full_county_control
}
}
# If the growth factor is 0, no amount of trying to control helps
# (happens when the county is under siege/occupied most likely)
monthly_county_control_growth_factor > 0
custom_tooltip = {
text = potential_county_control_task_only_one_target
scope:county = {
@ -1950,7 +1957,7 @@ task_kurultai_control_2 = {
county_modifier = {
name = marshal_increase_control_modifier
monthly_county_control_growth_add = 1
monthly_control_change_when_below_baseline_add = 0.5
scale = marshal_increase_control_total
}
@ -2516,6 +2523,10 @@ task_kurultai_exploit_area_2 = {
}
effect_desc = {
triggered_desc = {
trigger = { council_task_not_started_in_county_trigger = yes }
desc = task_kurultai_current_fertility_status
}
desc = task_kurultai_exploit_effect_desc
desc = task_kurultai_exploit_fertility_desc
desc = task_kurultai_exploit_income_desc
@ -2558,7 +2569,7 @@ task_kurultai_exploit_area_2 = {
stewardship <= decent_skill_rating
}
}
desc = task_kurultai_exploit_lose_county_opinion
desc = task_kurultai_exploit_lose_popular_opinion
}
}
}
@ -3045,6 +3056,10 @@ task_kurultai_fertility_3 = {
}
effect_desc = {
triggered_desc = {
trigger = { council_task_not_started_in_county_trigger = yes }
desc = task_kurultai_current_fertility_status
}
desc = task_kurultai_fertility_effect_desc
desc = task_kurultai_fertility_gain_desc
desc = {
@ -3067,7 +3082,7 @@ task_kurultai_fertility_3 = {
stewardship >= high_skill_rating
}
}
desc = task_kurultai_fertility_county_opinion
desc = task_kurultai_fertility_popular_opinion
}
## Negative
# Lose Fertility
@ -3162,7 +3177,7 @@ task_kurultai_control_3 = {
task_progress = task_progress_value
task_current_value = scope:councillor_liege.marshal_increase_control_current_progress
task_max_value = 100 # Highest possible county control
task_max_value = scope:councillor_liege.marshal_increase_control_max_progress
highlight_own_realm = yes
restart_on_finish = yes # If it "finishes" by removing a corruption modifier, there'll still be control to regain
@ -3176,6 +3191,10 @@ task_kurultai_control_3 = {
effect_desc = {
desc = task_kurultai_control_effect_desc
triggered_desc = {
trigger = { council_task_not_started_in_county_trigger = yes }
desc = task_increase_control_current_status
}
desc = task_kurultai_increase_control_effect_desc
desc = {
desc = council_task_possible_side_effects
@ -3327,13 +3346,6 @@ task_kurultai_control_3 = {
desc = INCREASE_COUNTY_CONTROL_EXPERIENCE_BONUS_VALUE
}
}
if = {
limit = { exists = scope:county }
multiply = {
value = scope:county.monthly_county_control_growth_factor
desc = MARSHAL_COUNTY_SPEED_MODIFIERS
}
}
if = {
limit = {
exists = scope:county
@ -3370,13 +3382,10 @@ task_kurultai_control_3 = {
custom_description = {
text = potential_county_control_task_trigger
OR = {
county_control < county_control_baseline
has_county_corruption_trigger = yes
county_control < full_county_control
}
}
# If the growth factor is 0, no amount of trying to control helps
# (happens when the county is under siege/occupied most likely)
monthly_county_control_growth_factor > 0
custom_tooltip = {
text = potential_county_control_task_only_one_target
scope:county = {
@ -3392,7 +3401,7 @@ task_kurultai_control_3 = {
county_modifier = {
name = marshal_increase_control_modifier
monthly_county_control_growth_add = 1
monthly_control_change_when_below_baseline_add = 0.5
scale = marshal_increase_control_total
}
@ -3958,6 +3967,10 @@ task_kurultai_exploit_area_3 = {
}
effect_desc = {
triggered_desc = {
trigger = { council_task_not_started_in_county_trigger = yes }
desc = task_kurultai_current_fertility_status
}
desc = task_kurultai_exploit_effect_desc
desc = task_kurultai_exploit_fertility_desc
desc = task_kurultai_exploit_income_desc
@ -4000,7 +4013,7 @@ task_kurultai_exploit_area_3 = {
stewardship <= decent_skill_rating
}
}
desc = task_kurultai_exploit_lose_county_opinion
desc = task_kurultai_exploit_lose_popular_opinion
}
}
}
@ -4487,6 +4500,10 @@ task_kurultai_fertility_4 = {
}
effect_desc = {
triggered_desc = {
trigger = { council_task_not_started_in_county_trigger = yes }
desc = task_kurultai_current_fertility_status
}
desc = task_kurultai_fertility_effect_desc
desc = task_kurultai_fertility_gain_desc
desc = {
@ -4509,7 +4526,7 @@ task_kurultai_fertility_4 = {
stewardship >= high_skill_rating
}
}
desc = task_kurultai_fertility_county_opinion
desc = task_kurultai_fertility_popular_opinion
}
## Negative
# Lose Fertility
@ -4603,7 +4620,7 @@ task_kurultai_control_4 = {
task_progress = task_progress_value
task_current_value = scope:councillor_liege.marshal_increase_control_current_progress
task_max_value = 100 # Highest possible county control
task_max_value = scope:councillor_liege.marshal_increase_control_max_progress
highlight_own_realm = yes
restart_on_finish = yes # If it "finishes" by removing a corruption modifier, there'll still be control to regain
@ -4617,6 +4634,10 @@ task_kurultai_control_4 = {
effect_desc = {
desc = task_kurultai_control_effect_desc
triggered_desc = {
trigger = { council_task_not_started_in_county_trigger = yes }
desc = task_increase_control_current_status
}
desc = task_kurultai_increase_control_effect_desc
desc = {
desc = council_task_possible_side_effects
@ -4768,13 +4789,6 @@ task_kurultai_control_4 = {
desc = INCREASE_COUNTY_CONTROL_EXPERIENCE_BONUS_VALUE
}
}
if = {
limit = { exists = scope:county }
multiply = {
value = scope:county.monthly_county_control_growth_factor
desc = MARSHAL_COUNTY_SPEED_MODIFIERS
}
}
if = {
limit = {
exists = scope:county
@ -4811,13 +4825,10 @@ task_kurultai_control_4 = {
custom_description = {
text = potential_county_control_task_trigger
OR = {
county_control < county_control_baseline
has_county_corruption_trigger = yes
county_control < full_county_control
}
}
# If the growth factor is 0, no amount of trying to control helps
# (happens when the county is under siege/occupied most likely)
monthly_county_control_growth_factor > 0
custom_tooltip = {
text = potential_county_control_task_only_one_target
scope:county = {
@ -4833,7 +4844,7 @@ task_kurultai_control_4 = {
county_modifier = {
name = marshal_increase_control_modifier
monthly_county_control_growth_add = 1
monthly_control_change_when_below_baseline_add = 0.5
scale = marshal_increase_control_total
}
@ -5399,6 +5410,10 @@ task_kurultai_exploit_area_4 = {
}
effect_desc = {
triggered_desc = {
trigger = { council_task_not_started_in_county_trigger = yes }
desc = task_kurultai_current_fertility_status
}
desc = task_kurultai_exploit_effect_desc
desc = task_kurultai_exploit_fertility_desc
desc = task_kurultai_exploit_income_desc
@ -5441,7 +5456,7 @@ task_kurultai_exploit_area_4 = {
stewardship <= decent_skill_rating
}
}
desc = task_kurultai_exploit_lose_county_opinion
desc = task_kurultai_exploit_lose_popular_opinion
}
}
}
@ -5782,4 +5797,3 @@ task_kurultai_culture_4 = {
}
}
}

View file

@ -54,7 +54,7 @@ innovation_british_ironsides = {
icon = @knight
potential = {
NOT = { culture = culture:angler }
NOT = { this = culture:angler }
OR = {
has_cultural_pillar = heritage_brythonic
has_cultural_pillar = heritage_anglo_frisian
@ -93,7 +93,7 @@ innovation_pioneers = {
icon = @knighthood
potential = {
culture = culture:metropolitain
this = culture:metropolitain
}
@ -131,9 +131,9 @@ innovation_gardians = {
potential = {
OR = {
culture = culture:provencal
culture = culture:rottisch
culture = culture:patoues
this = culture:provencal
this = culture:rottisch
this = culture:patoues
}
}
@ -154,9 +154,9 @@ innovation_voltigeurs = {
potential = {
OR = {
culture = culture:elsasse
culture = culture:lorin
culture = culture:gascon
this = culture:elsasse
this = culture:lorin
this = culture:gascon
}
}
@ -197,8 +197,8 @@ innovation_guides = {
potential = {
OR = {
culture = culture:belge
culture = culture:letzebuerge
this = culture:belge
this = culture:letzebuerge
}
}
@ -217,7 +217,7 @@ innovation_cacadores = {
icon = @gunpowder
potential = {
culture = culture:portuguese
this = culture:portuguese
}
unlock_maa = cacadores
@ -236,11 +236,11 @@ innovation_almogavares = {
potential = {
OR = {
culture = culture:andorra
culture = culture:aragonese
culture = culture:asturleonese
culture = culture:basque
culture = culture:galician
this = culture:andorra
this = culture:aragonese
this = culture:asturleonese
this = culture:basque
this = culture:galician
}
}
@ -257,9 +257,9 @@ innovation_tercos = {
potential = {
OR = {
culture = culture:catalan
culture = culture:balearic
culture = culture:valencian
this = culture:catalan
this = culture:balearic
this = culture:valencian
}
}
@ -275,9 +275,9 @@ innovation_lanceros = {
potential = {
OR = {
culture = culture:castilian
culture = culture:extremeno
culture = culture:NEOW_andalusian
this = culture:castilian
this = culture:extremeno
this = culture:NEOW_andalusian
}
}
@ -293,14 +293,14 @@ innovation_betyars = {
potential = {
OR = {
culture = culture:hungarian
culture = culture:szeklers
culture = culture:translyvanian
culture = culture:czech
culture = culture:NEOW_moravian
culture = culture:NEOW_slovak
culture = culture:goral
culture = culture:NEOW_carpathian
this = culture:hungarian
this = culture:szeklers
this = culture:translyvanian
this = culture:czech
this = culture:NEOW_moravian
this = culture:NEOW_slovak
this = culture:goral
this = culture:NEOW_carpathian
}
}
unlock_maa = betyars
@ -315,11 +315,11 @@ innovation_peacekeepers = {
potential = {
OR = {
culture = culture:wallachian
culture = culture:banatian
culture = culture:moldavian
culture = culture:NEOW_gagauz
culture = culture:NEOW_ucrainean
this = culture:wallachian
this = culture:banatian
this = culture:moldavian
this = culture:NEOW_gagauz
this = culture:NEOW_ucrainean
}
}
unlock_maa = peacekeepers
@ -334,12 +334,12 @@ innovation_tachanka {
potential = {
OR = {
culture = culture:NEOW_kievan
culture = culture:NEOW_cossack
culture = culture:NEOW_crimean
culture = culture:NEOW_nizhnevolzhan
culture = culture:NEOW_povolzhan
culture = culture:kalmyk
this = culture:NEOW_kievan
this = culture:NEOW_cossack
this = culture:NEOW_crimean
this = culture:NEOW_nizhnevolzhan
this = culture:NEOW_povolzhan
this = culture:kalmyk
}
}
unlock_maa = tachanka
@ -354,20 +354,20 @@ innovation_uhlan = {
potential = {
OR = {
culture = culture:NEOW_greater_polish
culture = culture:NEOW_lesser_polish
culture = culture:NEOW_mazovian_polish
culture = culture:sorbian
culture = culture:kashubian
culture = culture:goral
culture = culture:NEOW_silesian
culture = culture:lipka
culture = culture:NEOW_pribaltic
culture = culture:NEOW_polessian
culture = culture:NEOW_minskian
culture = culture:NEOW_vohlynian
culture = culture:lithuanian
culture = culture:samogitian
this = culture:NEOW_greater_polish
this = culture:NEOW_lesser_polish
this = culture:NEOW_mazovian_polish
this = culture:sorbian
this = culture:kashubian
this = culture:goral
this = culture:NEOW_silesian
this = culture:lipka
this = culture:NEOW_pribaltic
this = culture:NEOW_polessian
this = culture:NEOW_minskian
this = culture:NEOW_vohlynian
this = culture:lithuanian
this = culture:samogitian
}
}
unlock_maa = uhlan
@ -382,13 +382,13 @@ innovation_bike_cav = {
potential = {
OR = {
culture = culture:latvian
culture = culture:latgalian
culture = culture:estonian
culture = culture:livonian
culture = culture:voroseto
culture = culture:dansk
culture = culture:slesvigsk
this = culture:latvian
this = culture:latgalian
this = culture:estonian
this = culture:livonian
this = culture:voroseto
this = culture:dansk
this = culture:slesvigsk
has_cultural_pillar = heritage_west_germanic
}
}

View file

@ -270,7 +270,8 @@ bedirhan_male = { Mpentirch_a_act_n Bedirhan }
bedivere_male = { Beddiveer Bedivere Bedivuh Bediev_ae_re Bedwyr Behdihvuh Bwdiv_pst_rah }
bedri_male = { Mpentr_i_act_ Bedri }
behic_male = { Mpech_i_act_ts Behi_c_ced_ }
bekbolat_male = { Baybolat Biybolat }
bekbolat_male = { Baybolat Bekbolat Biybolat }
beksultan_male = { Biysoltan Biysultan }
bela_male = { Belo }
belisarius_male = { Velis_a_act_rios }
bellerophon_male = { Vellerof_o_act_ntis }
@ -288,7 +289,7 @@ berthold_male = { Berthold Bertold Bertolt T_o_uml_lke }
bertrand_male = { B_ae_rtr_a_grv_nd Beltr_a_act_n Beltram Bertram Bertrand }
bessarion_male = { Visarion }
beyhan_male = { Mpe_i_uml_ch_a_act_n Beyhan }
bilal_male = { Bil_a_hat_l Bilal Bylal Byllall Bil_a_act_l }
bilal_male = { Bil_a_hat_l Bilal Bilyal Bylal Byllall Bil_a_act_l }
binali_male = { Mpinal_i_act_ Binali }
birger_male = { B_o_stk_rge B_o_uml_rje Birger Birgir }
birkan_male = { Mpirk_a_act_n Birkan }
@ -416,8 +417,8 @@ daniel_male = { D_a_brv_nu_t_cma_ Daan Dahnyuhl Dan Dan_i_act_el Danail Danas Da
darius_male = { D_ae_rias Daeyyus Dar_i_act_o Dar_i_act_u Darijan Dario Dariu_s_crn_ Darius Dariusz Darrius Dayruss Ddaryus }
daron_male = { D_ae_ren D_ae_rrhen Daar_pst_n Daron Daroon Darun Dayrun Darren }
darwish_male = { Darbish Dervish }
david_male = { D_a_act_vid D_a_grv_vi D_a_grv_vid D_a_mcn_vis Da_eth_i Daafid Dafydd Daivie Daivudd Danvid Daud Daut Dav_i_act_ Dav_i_act__eth_ Dav_i_act_d Dave Daveth Davi David Davide Davido Davud Davy Dawt Deivad Dewi Divi Dovid Dovydas Taavi }
dawlat_male = { D_a_uml_ulet Davled Devlet Ntevl_e_act_t }
david_male = { D_a_act_vid D_a_grv_vi D_a_grv_vid D_a_mcn_vis Da_eth_i Daafid Dafydd Daivie Daivudd Danvid Daud Daut Dav_i_act_ Dav_i_act__eth_ Dav_i_act_d Dave Daveth Davi David Davide Davido Davud Davy Dawt Dawut Deivad Dewi Divi Dovid Dovydas Taavi }
dawlat_male = { D_a_uml_ulet Davled Dawlet Devlet Ntevl_e_act_t }
dawlatbek_male = { D_a_uml_letbek D_a_uml_wl_a_uml_tbay }
delphinus_male = { Delf_i_act_ Delf_i_act_n Delfim }
dean_male = { Di_e_uml_hn }
@ -630,7 +631,7 @@ friedemann_male = { Friedemann }
fuad_male = { Foat Fouad Foued Fu_pst_ad Fuad Fuat Fu_a_act_t }
fulk_male = { Ffulk Folke Folkke }
furkan_male = { Furk_a_act_n Furkan }
gabriel_male = { Biel C_shw_bray_i_dot_l D_z_stk_abrail Djibril Gabri_e_act_u Gabriel Gabriele_male Gabriello Gabrielo Gabrielius Gabryyll Gaby Gavrail Gavri_i_act_l Gavriil Gavril Gibrael Grabiel Havr_i_hat__i_hat_l Zhabra_g_dot_il Zhabrail }
gabriel_male = { Biel C_shw_bray_i_dot_l D_z_stk_abrail Djibril Gabri_e_act_u Gabriel Gabriele_male Gabriello Gabrielo Gabrielius Gabryyll Gaby Gavrail Gavri_i_act_l Gavriil Gavril Gibrael Grabiel Havr_i_hat__i_hat_l Jabrail Zhabra_g_dot_il Zhabrail }
gael_male = { Ga_e_grv_l Ga_e_uml_l Gael }
gaetan_male = { Gaetano Gaiet_a_grv_ Gaietan Kajet_a_act_n }
gaius_washington_male = { Gaius Washington }
@ -835,7 +836,7 @@ izzat_male = { _I_dot_zz_shw_t _I_dot_zzet Izet Iz_e_act_t }
izzuddin_male = { Azzedine Yzedin }
jabbar_male = { Cabbar Cebbar Zhabbar }
jabir_male = { Jabyr }
jafar_male = { C_shw_f_shw_r Cafer Xhafer Tzaf_e_act_r }
jafar_male = { C_shw_f_shw_r Cafer Jagafar Xhafer Tzaf_e_act_r }
jahan_male = { Cihan Jihan Tzich_a_act_n }
jahangir_male = { Cahangir Cihangir Tzichang_i_act_r }
jahanshah_male = { Cihan_s_ced_a }
@ -844,7 +845,7 @@ jair_male = { Chair Jair Jairo Xairo Xairu Ya_i_uml_r }
jalal_male = { C_shw_lal Cel_a_hat_l Celal J_a_uml_lel Xhelal Zhalal Tzel_a_act_l }
jalaluddin_male = { C_a_uml_l_a_uml_letdin Celaledin Celalettin Xheladin Tzelalett_i_act_n }
jalil_male = { C_shw_lil Jalyl Xhelil Zhalil Zhelil }
jamal_male = { Camal Cemal Djamel Jamel Xhemal Tzem_a_act_l }
jamal_male = { Camal Cemal Djamel Jamal_male Jamel Xhemal Tzem_a_act_l }
jamaluddin_male = { C_shw_m_shw_l_shw_ddin Camalutdin D_z_stk_amaldi Jamel_spc_Eddine Zhamaludin }
james_male = { _Y_act_akup Chaime Diago Diego Diogo Geovane Giachen Giacobe Giacomo Giacun Giako_u_act_p I_a_act_kovos Iacob Iago Iakov J_e_mcn_kabs Jaak Jaakko Jaap Jachen Jacky Jacob Jacobo Jacobus Jacopo Jacques Jacquot Jago Jagoba Jaicob Jaime Jaimes Jaka Jakes Jakez Jakob Jakobo Jakov Jakub Jakup Jaky James Jamie Jamys Jamyy Jaqub Jaque Jaume Jeppe Jim Jimi Jimmy Jokeb Kaupo Koop Lapo Santi Santiago Santiagu Sch_a_grv_k Sch_a_grv_kobb Seumas Thiago Tiago Xacob Xacobe Xacobu Xaime Xanti Xhimi Ya_pst_qub Yaacov Yaakov Yago Yakov Yakup Yankel Yaqub Gkou_act_m }
jamesgeorge_male = { Jacob_dsh_G_o_uml_ran }
@ -853,6 +854,7 @@ jamesyves_male = { Jacques_dsh_Yves Jaque_dsh_Ives }
jamil_male = { C_a_uml_mil C_shw_mil Cemil Xhemil Y_a_uml_mil Tzem_i_act_l }
jamshid_male = { C_shw_m_s_ced_id C_u_uml_m_s_ced__u_uml_d }
janbulat_male = { Cambulat Jembulat }
janibek_male = { J_a_uml_n_i_dot_bek Jan_i_dot_bek }
jantje_male = { Jantje Jantick }
januarius_male = { Gener Gennaro Gianuario Janu_a_act_rio Xenaro }
jared_male = { Jarydd }
@ -1605,7 +1607,7 @@ tahmasp_male = { T_shw_hmasib }
tahsin_male = { Tachs_i_act_n Tahsin }
tajuddin_male = { Tac_shw_ddin Tacettin Tacuddin Tazhidin Tatzett_i_act_n }
takiuddin_male = { Takiddin Takintd_i_act_n }
talaat_male = { T_a_uml_l_g_brv__a_uml_t T_pst_al_h_mbw_at T_shw_l_shw_t Tal_g_brv_at }
talaat_male = { Dalhat T_a_uml_l_g_brv__a_uml_t T_pst_al_h_mbw_at T_shw_l_shw_t Tal_g_brv_at }
talal_male = { Talal }
talha_male = { Talch_a_act_ Talha }
talib_male = { Tal_i_dot_b Talyb }

View file

@ -7,7 +7,12 @@
}
male_names = {
A_c_ced_ah Abdul Abdulhamit Abdulkerim Abdullah Abdulmajit Abdulmanaf Abdulra_s_ced_id Abdulrahim Abdulsamat Abdurahman Abu Abubekir Abuk Adam Adiham Adik Adil Adilbiy Adilgeriy Ahil Ahk_o_uml_bek Ahmadiya Ahmat Ahmathan Ajok Akkay Ako Alau_g_brv_an Ali Alim Amin Amirhan Anuar Apay Apon Aqqu_s_ced_ Ashat Askerbiy Aslan Aslanali Aslanbek Aslangeriy Aslanm_i_dot_rza Aslantoq Aslanuq Atabiy Atto Ay_i_dot_w Aybekir Aydaruq Aytm_i_dot_rza Azamat Azatgeriy Azatqul Aznor
_O_uml_r_u_uml_zmek
A_c_ced_ah A_c_ced_ahmat A_c_ced_emez A_c_ced_ey Abdul Abdulhamit Abdulkerim Abdullah Abdulmajit Abdulmanaf Abdulra_s_ced_id Abdulrahim Abdulsamat Abdurahman Abu Abubekir Abuk Adam Adiham Adik Adil Adilbiy Adilgeriy Ahil Ahk_o_uml_bek Ahmadiya Ahmat Ahmathan Ajok Akkay Ako Alau_g_brv_an Ali Alim Amin Amirhan Anuar Apay Apon Aqqu_s_ced_ Ashat Askerbiy Aslan Aslanali Aslanbek Aslangeriy Aslanm_i_dot_rza Aslantoq Aslanuq Atabiy Atto Ay_i_dot_w Aybekir Aydaruq Aytm_i_dot_rza Azamat Azatgeriy Azatqul Aznor
B_o_uml_r_u_uml_ka Ba_c_ced_i Ba_s_ced__c_ced__i_dot_ Ba_s_ced_il Ba_s_ced_ir Babi Badinat Balba_s_ced_ Bap_i_dot_na Baraq Baraz Barisbiy Bat_i_dot_rbek Bat_i_dot_rbiy Battal Bawuk Baybat_i_dot_r Baydullah Baym_i_dot_rza Bekbolat Bekir Bekm_i_dot_rza Bibo Bilyal Biso Biyaka Biybert Biym_i_dot_rza Biyn_o_uml_ger Biysoltan Bolat Bota_s_ced_ Botta Buzjigit
Dad_i_dot_k Dada_s_ced_ Dalhat Daniyal Dawlet Dawut Didin Dogalay Domalay Dondu Dongay Dudaruq Duray
G_i_dot_kga Ga_c_ced__i_dot_w Gilyastan Git_c_ced_e Git_c_ced_ew
Ja_s_ced__i_dot_w Ja_s_ced_akku Ja_s_ced_arbek Ja_s_ced_aw Jabrail Jagafar Jamal_male Jamarqul Jambot Jan_i_dot_bek Janaqayt Janhot Janm_i_dot_rza Jansuy Jappu Jara_s_ced_t_i_dot_ Jarahmat Jawbermez Jigit
}
female_names = {
}

View file

@ -708,33 +708,36 @@ tradition_landstinget = {
# }
#}
tradition_wine_culture = {
category = regional
tradition_wine_culture= {
category = realm
layers = {
0 = diplo
1 = western
4 = food.dds
}
is_shown = {
OR = {
has_cultural_pillar = heritage_south_slavic
has_cultural_pillar = heritage_magyar
has_cultural_pillar = heritage_west_slavic
has_cultural_pillar = heritage_greek
has_cultural_pillar = heritage_italian
has_cultural_pillar = heritage_french
has_cultural_pillar = heritage_central_germanic
has_cultural_pillar = heritage_hispanic
can_pick = {
custom_tooltip = {
text = cannot_have_tradition_brewery
scope:character = {
NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } }
}
}
}
parameters = {
allows_vineyards = yes
brewery_farming_bonus = yes
wine_prestige_boost = yes
}
character_modifier = {
trade_category_alcohol_xp_gain_mult = 0.2
trade_good_wine_sell_price_mult = 0.05
trade_good_wine_buy_price_mult = 0.025
}
county_modifier = {
trade_good_wine_production_mult = 0.2
}
cost = {
prestige = {
add = {
@ -759,10 +762,7 @@ tradition_wine_culture = {
any_culture_county = {
count >= 5
any_county_province = {
OR = {
has_building_or_higher = farm_estates_01
has_building_or_higher = cereal_fields_01
}
has_farming_district_or_building = yes
}
}
}

View file

@ -3,7 +3,7 @@
text = { # Zone Rouge
trigger = {
has_special_building = yes
has_special_district = yes
has_building_or_higher = zone_rouge_01
}
localization_key = building_zone_rouge_destination_desc

View file

@ -39,6 +39,9 @@ recruit_terrain_specialist_decision = {
decision_group_type = courtier
is_shown = {
is_landless_adventurer = no
is_landless_merchant = no
is_herder = no
# You can hire at least one type of terrain expert
OR = {
culture ?= {

View file

@ -21,9 +21,12 @@ create_cadet_branch_decision = {
}
is_shown = {
highest_held_title_tier > tier_barony
government_allows = rulers_should_have_dynasty
NOT = {
highest_held_title_tier = tier_barony
}
is_house_head = no
government_allows = rulers_should_have_dynasty
is_lowborn = no
NOR = {
AND = {
has_council_position = councillor_court_chaplain
@ -34,7 +37,6 @@ create_cadet_branch_decision = {
has_tgp_dlc_trigger = yes
}
}
exists = house.house_head
is_playable_character = yes
}
@ -183,6 +185,17 @@ create_cadet_branch_decision = {
}
ai_potential = {
is_house_head = no
highest_held_title_tier > tier_barony
is_adult = yes
is_playable_character = yes
government_allows = rulers_should_have_dynasty
government_allows = create_cadet_branches
exists = house.house_head
trigger_if = {
limit = { government_has_flag = government_is_clan }
top_liege = this
}
any_child = { is_alive = yes } # move it beforehand for performance reason
trigger_if = {
limit = {
@ -195,6 +208,7 @@ create_cadet_branch_decision = {
}
}
}
years_from_game_start >= 5
# Childless rulers should not found houses
any_child = {
is_alive = yes
@ -237,7 +251,6 @@ create_cadet_branch_decision = {
}
}
}
years_from_game_start >= 5
}
}
@ -245,18 +258,77 @@ create_cadet_branch_decision = {
base = 30
modifier = { # Dukes and above are more keen
add = {
value = primary_title.tier
subtract = tier_county
multiply = 20
add = 70
exists = primary_title
primary_title.tier > tier_county
}
modifier = { # Prefer to stay in liege's dynasty
add = -50
government_is_japanese_trigger = no
top_liege != this
any_liege_or_above = {
dynasty = root.dynasty
}
}
modifier = { # Childless rulers should not found houses
factor = 0
any_child = {
is_alive = yes
count < 3
}
}
modifier = { # Stop stealing player's house members
factor = 0
any_player = {
OR = {
any_child = {
OR = {
is_child_of = root
is_grandchild_of = root
is_great_grandchild_of = root
}
}
any_child = {
even_if_dead = yes
any_child = {
OR = {
is_child_of = root
is_grandchild_of = root
is_great_grandchild_of = root
}
}
}
any_child = {
even_if_dead = yes
any_child = {
even_if_dead = yes
any_child = {
OR = {
is_child_of = root
is_grandchild_of = root
is_great_grandchild_of = root
}
}
}
}
}
}
}
# we don't want AI to split from their House unless they dislike their house head
modifier = {
add = {
value = 0
subtract = "opinion(house.house_head)"
factor = 0
OR = {
government_has_flag = government_is_clan
government_has_flag = government_is_merchant
}
opinion = {
target = house.house_head
value >= -50
}
}
@ -264,11 +336,13 @@ create_cadet_branch_decision = {
modifier = {
add = 1000
government_allows = noble_families
liege = this
trigger_if = {
limit = { exists = house.house_head.liege }
house.house_head.liege != root
}
top_liege = this
this != house.house_head.top_liege
}
modifier = {
add = -250
years_from_game_start < 5
}
### TGP
@ -278,7 +352,7 @@ create_cadet_branch_decision = {
top_liege.primary_title = {
any_past_holder = { is_close_family_of = root }
}
add = -20
add = -25
}
modifier = { # Prefer to branch away from leading house if distant to split up blocs
@ -298,7 +372,6 @@ create_cadet_branch_decision = {
modifier = { # Ruler should not break family apart
government_is_japanese_trigger = yes
is_independent_ruler = yes
house.house_head ?= { is_vassal_or_below_of = root }
add = -1000
}

View file

@ -31,8 +31,9 @@ invite_knights_decision = {
cooldown = { years = invite_knights_decision_cooldown_value }
is_shown = {
max_number_of_knights > 0
is_landless_adventurer = no
is_landless_merchant = no
max_number_of_knights > 0
}
is_valid = {
@ -139,8 +140,8 @@ invite_claimants_decision = {
cooldown = { days = 3650 }
is_shown = {
primary_title.tier > tier_county
is_landed_or_landless_administrative = yes
primary_title.tier > tier_county
NOT = { government_has_flag = government_is_nomadic }
}
@ -210,10 +211,10 @@ scrape_the_barrel_decision = {
cooldown = { years = 2 }
is_shown = {
has_royal_court = yes
court_grandeur_current_level <= 4
has_dlc_feature = royal_court
is_landed_or_landless_administrative_or_theocratic = yes
has_royal_court = yes
has_dlc_feature = royal_court
court_grandeur_current_level <= 4
}
effect = {

View file

@ -21,7 +21,8 @@ create_holy_order_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds"
}
decision_group_type = major
decision_group_type = realm
sort_order = 30
ai_goal = yes
@ -31,6 +32,7 @@ create_holy_order_decision = {
highest_held_title_tier >= tier_kingdom
any_held_county = {
any_in_de_jure_hierarchy = {
holder = root
barony_is_valid_for_holy_order_lease_trigger = { CHARACTER = root }
}
}
@ -65,6 +67,7 @@ create_holy_order_decision = {
title_valid = {
trigger_if = {
limit = { exists = this }
holder = scope:ruler
barony_is_valid_for_holy_order_lease_trigger = { CHARACTER = scope:ruler }
}
trigger_else = {
@ -102,6 +105,7 @@ create_holy_order_decision = {
text = "has_two_castle_county"
any_held_county = {
any_in_de_jure_hierarchy = {
holder = root
barony_is_valid_for_holy_order_lease_trigger = { CHARACTER = root }
}
}
@ -185,24 +189,6 @@ create_holy_order_decision = {
limit = {
exists = scope:barony
}
hidden_effect = {
if = {
limit = { scope:barony.holder != root }
create_title_and_vassal_change = {
type = leased_out
save_scope_as = change
add_claim_on_loss = no
}
scope:barony = {
change_title_holder_include_vassals = {
holder = root
change = scope:change
}
}
resolve_title_and_vassal_change = scope:change
}
}
create_character = {
template = holy_order_leader_character
location = scope:barony.title_province
@ -239,18 +225,11 @@ create_holy_order_decision = {
ai_potential = {
highest_held_title_tier >= tier_kingdom
is_playable_character = yes
OR = {
any_held_title = {
title_tier = barony
barony_is_valid_for_holy_order_lease_trigger = { CHARACTER = root }
}
any_vassal = {
primary_title.tier = tier_barony
any_held_title = {
barony_is_valid_for_holy_order_lease_trigger = { CHARACTER = root }
}
}
}
is_at_war = no
piety_level >= 1
trigger_if = { limit = { has_pam_dlc_trigger = yes } OR = { government_has_flag = government_is_theocracy exists = root.puppet:theological_agent_puppet exists = root.puppet:external_theological_agent_puppet } }
is_available_adult = yes
any_held_title = { title_tier = barony barony_is_valid_for_holy_order_lease_trigger = { CHARACTER = root } }
}
ai_will_do = {
@ -304,6 +283,7 @@ borrow_from_holy_order_decision = { #by Linnéa Thimrén
is_shown = {
highest_held_title_tier > tier_barony
is_playable_character = yes
faith ?= {
any_faith_holy_order = { #Your faith must have a Military Order
leader = {
@ -311,12 +291,6 @@ borrow_from_holy_order_decision = { #by Linnéa Thimrén
}
}
}
is_playable_character = yes
# cannot already have a loan - keep it simple
NOR = {
exists = var:loan_amount_owed
exists = var:loan_holder
}
}
is_valid_showing_failures_only = {
@ -331,6 +305,15 @@ borrow_from_holy_order_decision = { #by Linnéa Thimrén
NOT = {
has_any_bad_relationship_with_character_trigger = { CHARACTER = root }
}
save_temporary_scope_as = lender_temp
}
root = {
NOT = {
any_owned_story = {
story_Type = story_cycle_loan
var:lender = scope:lender_temp
}
}
}
}
}
@ -360,7 +343,7 @@ borrow_from_holy_order_decision = { #by Linnéa Thimrén
}
ai_potential = {
always = yes
is_available = yes
}
ai_will_do = {
@ -431,6 +414,30 @@ cancel_holy_order_lease_decision = {
trigger_if = {
limit = { exists = this }
barony_is_valid_for_holy_order_lease_cancellation_trigger = { ACTOR = scope:ruler }
trigger_if = {
limit = {
scope:ruler = { is_ai = yes }
exists = lessee.faith
}
trigger_if = {
limit = { scope:ruler.faith = root.lessee.faith }
scope:ruler.piety >= cancel_holy_order_piety_cost
}
trigger_else_if = {
limit = {
scope:ruler.faith = {
faith_hostility_level = {
target = root.lessee.faith
value <= faith_astray_level
}
}
}
scope:ruler.piety >= cancel_astray_holy_order_piety_cost
}
trigger_else = {
always = yes
}
}
}
trigger_else = {
custom_description = {
@ -537,11 +544,12 @@ cancel_holy_order_lease_decision = {
age >= 12
is_at_war = no
highest_held_title_tier >= tier_county
years_from_game_start >= 1
any_sub_realm_barony = {
is_under_holy_order_lease = yes
county.holder = { is_ai = yes }
barony_is_valid_for_holy_order_lease_cancellation_trigger = { ACTOR = root }
}
years_from_game_start >= 1
}
ai_will_do = {
@ -597,7 +605,8 @@ create_holy_order_monastic_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/pam_pre-romanesque_church_exterior.dds"
}
decision_group_type = major
decision_group_type = realm
sort_order = 30
ai_goal = yes
@ -713,6 +722,20 @@ create_holy_order_monastic_decision = {
ai_potential = {
highest_held_title_tier >= tier_duchy
is_playable_character = yes
is_at_war = no
piety_level >= 1
trigger_if = {
limit = {
has_pam_dlc_trigger = yes
}
OR = {
government_has_flag = government_is_theocracy
exists = root.puppet:theological_agent_puppet
exists = root.puppet:external_theological_agent_puppet
}
}
faith ?= { faith_has_monasticism_trigger = yes }
is_available_adult = yes
any_held_county = {
county_is_valid_for_monastic_lease_trigger = { CHARACTER = root }
}
@ -1135,6 +1158,42 @@ pam_monastic_order_new_movement_decision = {
ai_potential = {
highest_held_title_tier >= tier_duchy
is_playable_character = yes
piety_level >= 1
trigger_if = {
limit = {
has_pam_dlc_trigger = yes
NOT = {
government_has_flag = government_is_theocracy
}
}
exists = root.puppet:theological_agent_puppet
}
trigger_else = {
OR = {
AND = {
has_trait = lifestyle_scholar
has_trait_xp = {
trait = lifestyle_scholar
value >= 60
}
}
has_trait = theologian
has_trait = erudite
has_trait = lifestyle_mystic
has_trait = devoted
has_trait = family_first
has_trait = diplomat
has_trait = schemer
}
}
trigger_if = {
limit = {
has_pam_dlc_trigger = yes
}
exists = root.puppet:external_theological_agent_puppet
}
faith = { faith_has_monasticism_trigger = yes }
is_available_adult = yes
any_held_county = {
county_is_valid_for_monastic_lease_trigger = { CHARACTER = root }
}

View file

@ -186,7 +186,14 @@ sale_of_titles_decision = {
}
cost = {
prestige = @sale_of_titles_prestige_cost
prestige = {
value = 250
multiply = {
value = root.highest_held_title_tier
subtract = 1
min = 1
}
}
}
effect = {
@ -208,7 +215,10 @@ sale_of_titles_decision = {
}
}
add_gold = major_gold_value
add_gold = {
value = medium_gold_value
divide = 2
}
custom_tooltip = sale_of_titles_side_effects_tt
@ -526,6 +536,7 @@ local_arbitration_decision = {
is_valid_showing_failures_only = {
custom_tooltip = {
text = inside_realm_trigger
exists = root.location.county
any_sub_realm_county = {
this = root.location.county
}

View file

@ -3,7 +3,7 @@
###################
@deceitful_progress_hostile_schemes_cooldown_time = 1095
@diligent_development_focus_cooldown_time = 3650
@diligent_prosperity_focus_cooldown_time = 3650
@impatient_rushing_all_schemes_cooldown_time = 1825
@vengeful_fabricate_hook_rivals_cooldown_time = 3665
@ -116,7 +116,7 @@ deceitful_progress_hostile_schemes_decision = {
#Diligent overwork
### Develop Capital ###
diligent_development_focus_decision = {
diligent_prosperity_focus_decision = {
ai_check_interval = 0
picture = {
@ -140,11 +140,11 @@ diligent_development_focus_decision = {
}
sort_order = 60
desc = diligent_development_focus_decision_desc
desc = diligent_prosperity_focus_decision_desc
selection_tooltip = diligent_development_focus_decision_tooltip
selection_tooltip = diligent_prosperity_focus_decision_tooltip
cooldown = { days = @diligent_development_focus_cooldown_time }
cooldown = { days = @diligent_prosperity_focus_cooldown_time }
is_shown = {
is_landed = yes
@ -167,7 +167,7 @@ diligent_development_focus_decision = {
send_interface_toast = {
type = event_toast_effect_neutral
title = msg_diligent_development_focus
title = msg_diligent_prosperity_focus
left_icon = root
if = {
@ -178,7 +178,7 @@ diligent_development_focus_decision = {
}
add_character_modifier = {
modifier = diligent_development_focus
modifier = diligent_prosperity_focus
years = 10
}
}
@ -244,6 +244,7 @@ impatient_rushing_all_schemes_decision = {
is_shown = {
has_trait = impatient
any_scheme = { count >= 1 }
}
is_valid_showing_failures_only = {
@ -260,7 +261,7 @@ impatient_rushing_all_schemes_decision = {
effect = {
if = {
limit = {
any_scheme = { }
any_scheme = { count >= 1 }
}
send_interface_toast = {
type = event_toast_effect_neutral

File diff suppressed because it is too large Load diff

View file

@ -4,7 +4,7 @@
decision_solve_the_journals = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_realm.dds"
reference = "gfx/interface/illustrations/decisions/decision_erudition.dds"
}
decision_group_type = major
ai_check_interval_by_tier = {

View file

@ -138,7 +138,7 @@ clear_ground_for_legendary_building = {
text = clear_ground_for_legendary_building_no_barony_tt
any_held_title = {
title_tier = barony
title_province = { has_special_building_slot = no }
title_province = { has_special_district_slot = no }
is_capital_barony = yes
holder = root
is_leased_out = no
@ -162,7 +162,7 @@ clear_ground_for_legendary_building = {
}
current_description = clear_ground_legendary_shrine_desc
localization = clear_ground_legendary_shrine
icon = "gfx/interface/icons/building_types/icon_building_legendary_shrine.dds"
icon = "gfx/interface/icons/building_types/special_buildings/legendary_shrine.dds"
flat = yes
ai_chance = { value = 10 }
}
@ -176,7 +176,7 @@ clear_ground_for_legendary_building = {
}
current_description = clear_ground_legendary_statue_desc
localization = clear_ground_legendary_statue
icon = "gfx/interface/icons/building_types/icon_building_legendary_statue.dds"
icon = "gfx/interface/icons/building_types/special_buildings/legendary_statue.dds"
flat = yes
ai_chance = { value = 10 }
}
@ -190,7 +190,7 @@ clear_ground_for_legendary_building = {
}
current_description = clear_ground_legendary_palace_desc
localization = clear_ground_legendary_palace
icon = "gfx/interface/icons/building_types/icon_building_legendary_palace.dds"
icon = "gfx/interface/icons/building_types/special_buildings/legendary_palace.dds"
flat = yes
ai_chance = { value = 10 }
}
@ -204,7 +204,7 @@ clear_ground_for_legendary_building = {
}
current_description = clear_ground_legendary_watchtower_desc
localization = clear_ground_legendary_watchtower
icon = "gfx/interface/icons/building_types/icon_building_legendary_watchtower.dds"
icon = "gfx/interface/icons/building_types/special_buildings/legendary_watchtower.dds"
flat = yes
ai_chance = { value = 10 }
}
@ -218,7 +218,7 @@ clear_ground_for_legendary_building = {
}
current_description = clear_ground_legendary_hunting_lodge_desc
localization = clear_ground_legendary_hunting_lodge
icon = "gfx/interface/icons/building_types/icon_building_legendary_hunting_grounds.dds"
icon = "gfx/interface/icons/building_types/special_buildings/legendary_hunting_grounds.dds"
flat = yes
ai_chance = { value = 10 }
}
@ -297,7 +297,7 @@ pick_legendary_barony_decision = {
title_valid = {
trigger_if = {
limit = { exists = this }
title_province = { has_special_building_slot = no }
title_province = { has_special_district_slot = no }
is_capital_barony = yes
holder = scope:ruler
is_leased_out = no
@ -317,27 +317,27 @@ pick_legendary_barony_decision = {
trigger = root.var:clear_ground
flag:legendary_shrine = {
scope:barony.title_province ?= {
add_special_building_slot = legendary_shrine
add_special_district_slot = legendary_shrine_district
}
}
flag:legendary_palace = {
scope:barony.title_province ?= {
add_special_building_slot = legendary_palace
add_special_district_slot = legendary_palace_district
}
}
flag:legendary_statue = {
scope:barony.title_province ?= {
add_special_building_slot = legendary_statue
add_special_district_slot = legendary_statue_district
}
}
flag:legendary_watchtower = {
scope:barony.title_province ?= {
add_special_building_slot = legendary_watchtower
add_special_district_slot = legendary_watchtower_district
}
}
flag:legendary_hunting_lodge = {
scope:barony.title_province ?= {
add_special_building_slot = legendary_hunting_lodge
add_special_district_slot = legendary_hunting_lodge_district
}
}
}
@ -398,6 +398,7 @@ pick_legendary_barony_decision = {
}
ai_potential = {
has_variable = clear_ground
is_playable_character = yes
}
ai_will_do = {
@ -452,8 +453,8 @@ isolate_capital_decision = {
}
OR = {
any_held_title = {
has_province_with_epidemic = { intensity = any }
title_tier = county
has_province_with_epidemic = { intensity = any }
}
capital_county ?= {
any_neighboring_county = {
@ -566,7 +567,24 @@ isolate_capital_decision = {
}
ai_potential = {
is_landed = yes
highest_held_title_tier >= tier_county
NOT = { has_character_flag = ai_capital_isolation_cooldown }
# Mirrors the is_ai branch of is_shown
OR = {
any_held_title = {
title_tier = county
has_province_with_epidemic = { intensity = any }
}
capital_county ?= {
OR = {
has_county_modifier = isolate_capital_decision_modifier
any_neighboring_county = {
has_province_with_epidemic = { intensity = any }
}
}
}
}
}
ai_will_do = {
@ -745,25 +763,33 @@ isolate_family_decision = {
}
ai_potential = {
NOT = { has_character_flag = ai_unisolate_cooldown }
NOR = {
has_character_flag = ai_unisolate_cooldown
has_government = landless_adventurer_government
}
OR = {
has_character_modifier = isolating_modifier
capital_county ?= {
OR = {
# Own capital
has_province_with_epidemic = { intensity = any }
# Neighboring own capital
any_neighboring_county = {
has_province_with_epidemic = { intensity = any }
}
}
}
# Somewhere in domain
any_held_title = {
title_tier = county
has_province_with_epidemic = { intensity = any }
}
tgp_natural_disaster_character_is_affected_by_any_imminent_disaster_trigger = yes
AND = {
has_trait = paranoid # without a really valid reason, ai_will_do is only positive enough to fire when paranoid
OR = {
capital_county ?= {
OR = {
# Own capital
has_province_with_epidemic = { intensity = any }
# Neighboring own capital
any_neighboring_county = {
has_province_with_epidemic = { intensity = any }
}
}
}
tgp_natural_disaster_character_is_affected_by_any_imminent_disaster_trigger = yes
}
}
}
}

View file

@ -421,7 +421,7 @@ stewardship_oath_1_decision = {
}
every_realm_county = {
custom = custom_every_realm_county
change_development_progress_with_overflow = 250
change_prosperity_progress_with_overflow = 250
}
}
@ -508,7 +508,7 @@ stewardship_oath_2_decision = {
}
county = {
change_development_progress_with_overflow = 50
change_prosperity_progress_with_overflow = 50
}
}
}
@ -549,7 +549,7 @@ learning_oath_1_decision = {
}
trigger_else = {
title_province = {
has_special_building_slot = no
has_special_district_slot = no
is_county_capital = yes
}
holder = scope:ruler
@ -754,7 +754,7 @@ learning_oath_1_decision = {
}
}
scope:barony.title_province ?= {
add_special_building = generic_university
add_special_district = generic_university_district
}
}
else = {

View file

@ -175,6 +175,7 @@ convert_to_local_culture_decision = {
ai_potential = {
is_playable_character = yes
exists = capital_province
culture != capital_province.culture
is_landless_adventurer = no
}

View file

@ -1387,20 +1387,21 @@ return_rome_decision = {
}
ai_potential = {
is_at_war = no
top_liege = this
religion = religion:catholic_religion
ai_zeal > very_high_negative_ai_value
title:c_roma = {
holder = {
is_ai = yes
top_liege = root
}
}
is_at_war = no
ai_zeal > very_high_negative_ai_value
}
ai_will_do = {
base = 100
modifier = { # If you fought the pope to get rome, don't immediately hand it back
factor = 0
faith.religious_head = {
@ -2513,6 +2514,8 @@ petition_head_of_faith_decision = {
cooldown = { years = 4 }
is_shown = {
is_landless_adventurer = no
is_landless_merchant = no
is_ai = no
has_pam_dlc_trigger = yes
# Antipopes, their sponsors, and their realms use petition_antipope_decision instead

View file

@ -32,7 +32,7 @@ hold_court_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_knight_kneeling.dds"
}
decision_group_type = major
decision_group_type = realm
is_invisible = yes
cost = {
@ -339,10 +339,10 @@ petition_liege_decision = {
}
}
trigger_if = { # Opinion
limit = { scope:petition_liege_county_opinion = yes }
limit = { scope:petition_liege_popular_opinion = yes }
custom_tooltip = {
text = petition_liege_county_opinion_tt
any_held_title = { petition_liege_county_opinion_trigger = yes }
text = petition_liege_popular_opinion_tt
any_held_title = { petition_liege_popular_opinion_trigger = yes }
}
}
trigger_if = { # Fortify
@ -400,12 +400,12 @@ petition_liege_decision = {
liege.gold > main_building_tier_1_cost
}
}
trigger_if = { # Development
limit = { scope:petition_liege_development = yes }
trigger_if = { # Prosperity
limit = { scope:petition_liege_prosperity = yes }
custom_tooltip = {
text = petition_liege_development_tt
text = petition_liege_prosperity_tt
exists = liege
liege.capital_province.county.development_level >= petitioner_development_difference_decision_value
liege.capital_province.county.prosperity_level >= petitioner_prosperity_difference_decision_value
}
}
trigger_if = { # House Fief
@ -724,22 +724,22 @@ petition_liege_decision = {
ai_chance = { value = 0 } # Currently unused
}
item = { # Opinion
value = petition_liege_county_opinion
value = petition_liege_popular_opinion
is_shown = {
petition_liege_admin_valid_trigger = no
}
is_valid = {
custom_tooltip = {
text = petition_liege_county_opinion_tt
any_held_title = { petition_liege_county_opinion_trigger = yes }
text = petition_liege_popular_opinion_tt
any_held_title = { petition_liege_popular_opinion_trigger = yes }
}
}
current_description = petition_liege_county_opinion_desc
localization = petition_liege_decision_option_county_opinion
current_description = petition_liege_popular_opinion_desc
localization = petition_liege_decision_option_popular_opinion
icon = "gfx/interface/icons/message_feed/tier_up.dds"
ai_chance = { value = 0 } # Currently unused
}
### Construction/Development
### Construction/Prosperity
item = { # Fortify
value = petition_liege_fortify_border
is_shown = {
@ -810,18 +810,18 @@ petition_liege_decision = {
icon = "gfx/interface/icons/message_feed/religious.dds"
ai_chance = { value = 0 } # Currently unused
}
item = { # Development
value = petition_liege_development
item = { # Prosperity
value = petition_liege_prosperity
is_valid = {
custom_tooltip = {
text = petition_liege_development_tt
text = petition_liege_prosperity_tt
exists = liege
liege.capital_province.county.development_level >= petitioner_development_difference_decision_value
liege.capital_province.county.prosperity_level >= petitioner_prosperity_difference_decision_value
}
is_landed = yes
}
current_description = petition_liege_development_desc
localization = petition_liege_decision_option_development
current_description = petition_liege_prosperity_desc
localization = petition_liege_decision_option_prosperity
icon = "gfx/interface/icons/message_feed/guest.dds"
ai_chance = { value = 0 } # Currently unused
}
@ -883,8 +883,8 @@ petition_liege_decision = {
scope:petition_liege_county_convert = { # Convert County
set_variable = { name = petition_type value = flag:county_convert }
}
scope:petition_liege_county_opinion = { # County Opinion
set_variable = { name = petition_type value = flag:county_opinion }
scope:petition_liege_popular_opinion = { # County Opinion
set_variable = { name = petition_type value = flag:popular_opinion }
}
scope:petition_liege_fortify_border = { # Fortify Border
set_variable = { name = petition_type value = flag:fortify_border }
@ -901,8 +901,8 @@ petition_liege_decision = {
scope:petition_liege_construct_temple = { # Construct Temple
set_variable = { name = petition_type value = flag:construct_temple }
}
scope:petition_liege_development = { # Development
set_variable = { name = petition_type value = flag:development }
scope:petition_liege_prosperity = { # Prosperity
set_variable = { name = petition_type value = flag:prosperity }
}
scope:petition_liege_gold = { # Gold
set_variable = { name = petition_type value = flag:gold }

View file

@ -33,6 +33,7 @@ pay_homage_decision = {
reference = "gfx/interface/illustrations/decisions/decision_knight_kneeling.dds"
}
decision_group_type = major
sort_order = 20
cost = {
prestige = standard_activity_base_cost
@ -348,7 +349,23 @@ pay_homage_decision = {
}
ai_potential = {
liege ?= { has_royal_court = yes }
top_liege != this
OR = {
government_has_flag = government_is_feudal
government_has_flag = government_is_clan
}
is_at_war = no
NOT = {
liege = { has_variable = pay_homage_cooldown }
}
trigger_if = {
limit = {
has_variable = pay_homage_grace
exists = liege
}
NOT = { var:pay_homage_grace = liege }
}
}
ai_will_do = {

View file

@ -366,7 +366,7 @@ petition_ceremonial_liege_decision = {
title = {
first_valid = {
triggered_desc = {
trigger = { exists = top_liege.primary_title.var:administrative_ui_special_title.holder }
trigger = { exists = ceremonial_liege }
desc = petition_ceremonial_liege_decision_title
}
desc = petition_ceremonial_liege_decision
@ -450,10 +450,10 @@ petition_ceremonial_liege_decision = {
government_has_mechanic = administrative
is_independent_ruler = no
trigger_if = {
limit = { exists = top_liege.primary_title.var:administrative_ui_special_title.holder }
limit = { exists = ceremonial_liege }
custom_tooltip = {
text = petition_ceremonial_liege_regent_already_given_tt
NOT = { var:petition_liege_regent_support ?= top_liege.primary_title.var:administrative_ui_special_title.holder }
NOT = { var:petition_liege_regent_support ?= ceremonial_liege }
}
}
trigger_else = { always = no }
@ -494,7 +494,7 @@ petition_ceremonial_liege_decision = {
}
effect = {
top_liege.primary_title.var:administrative_ui_special_title.holder = { save_scope_as = ceremonial_liege }
ceremonial_liege = { save_scope_as = ceremonial_liege }
custom_tooltip = petition_ceremonial_liege_decision_effects
if = {
limit = {

View file

@ -7,52 +7,6 @@
# by Mathilda Bjarnehed
##################################################
# Deprecated decision of yore.
#convert_to_feudalism_decision = {
#picture = {
#reference = "gfx/interface/illustrations/decisions/decision_realm.dds"
#}
#decision_group_type = major
#desc = convert_to_feudalism_decision_desc
#
#ai_check_interval = 36
#
#is_shown = {
#government_has_flag = government_is_tribal
#}
#
#is_valid = {
#has_realm_law = tribal_authority_3
#custom_description = {
#text = faith_is_reformed
#subject = root
#faith = { NOT = { has_doctrine_parameter = unreformed } }
#}
#prestige_level = 5
#}
#
#cost = {
#prestige = 150
#}
#
#effect = {
#change_government = feudal_government
#trigger_event = major_decisions.0001
#add_realm_law_skip_effects = crown_authority_0
#}
#
#ai_potential = {
##always = yes
#}
#
#ai_will_do = {
#base = 100
#modifier = { #Go for the more lenient decision if this is the case
#add = -100
#liege = { government_has_flag = government_is_feudal }
#}
#}
#}
##################################################
# Convert Realm to Feudalism/Clan through Liege
@ -83,6 +37,7 @@ convert_to_feudalism_liege_converted_decision = {
reference = "gfx/interface/illustrations/decisions/decision_realm.dds"
}
decision_group_type = major
sort_order = 100
desc = convert_to_feudalism_liege_converted_decision_desc
ai_check_interval_by_tier = {
@ -134,12 +89,47 @@ convert_to_feudalism_liege_converted_decision = {
}
cost = {
prestige = 150
prestige = 250
}
effect = {
trigger_event = major_decisions.0001
save_scope_as = actor
# Bonus Cities and Temples only when the liege's culture is in a later era than ours
save_scope_value_as = {
name = feudalize_bonus_holdings
value = no
}
if = {
limit = {
liege ?= {
OR = {
AND = {
culture = { has_cultural_era_or_later = culture_era_early_medieval }
root.culture = {
NOT = { has_cultural_era_or_later = culture_era_early_medieval }
}
}
AND = {
culture = { has_cultural_era_or_later = culture_era_high_medieval }
root.culture = {
NOT = { has_cultural_era_or_later = culture_era_high_medieval }
}
}
AND = {
culture = { has_cultural_era_or_later = culture_era_late_medieval }
root.culture = {
NOT = { has_cultural_era_or_later = culture_era_late_medieval }
}
}
}
}
}
save_scope_value_as = {
name = feudalize_bonus_holdings
value = yes
}
}
convert_whole_realm_to_feudalism_effect = yes
hidden_effect = {
every_vassal = {
@ -166,7 +156,8 @@ convert_clan_to_feudalism_through_liege_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_realm.dds"
}
decision_group_type = major
decision_group_type = realm
sort_order = 40
desc = convert_clan_to_feudalism_through_liege_decision_desc
ai_check_interval_by_tier = {
@ -211,7 +202,7 @@ convert_clan_to_feudalism_through_liege_decision = {
}
cost = {
prestige = 150
prestige = 250
}
effect = {
@ -233,7 +224,7 @@ convert_clan_to_feudalism_through_liege_decision = {
}
ai_potential = {
prestige >= 150
prestige >= 250
}
ai_will_do = {
@ -255,7 +246,8 @@ convert_feudalism_to_clan_through_liege_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_realm.dds"
}
decision_group_type = major
decision_group_type = realm
sort_order = 40
desc = convert_feudalism_to_clan_through_liege_decision_desc
ai_check_interval_by_tier = {
@ -300,7 +292,7 @@ convert_feudalism_to_clan_through_liege_decision = {
}
cost = {
prestige = 150
prestige = 250
}
effect = {
@ -322,7 +314,7 @@ convert_feudalism_to_clan_through_liege_decision = {
}
ai_potential = {
prestige >= 150
prestige >= 250
}
ai_will_do = {
@ -359,6 +351,7 @@ convert_whole_realm_to_feudalism_decision = {
reference = "gfx/interface/illustrations/decisions/decision_realm.dds"
}
decision_group_type = major
sort_order = 100
desc = convert_whole_realm_to_feudalism_decision_desc
ai_check_interval_by_tier = {
@ -384,38 +377,70 @@ convert_whole_realm_to_feudalism_decision = {
}
}
}
trigger_if = {
limit = {
government_has_flag = government_is_wanua
is_ai = yes
}
faith = { has_doctrine = doctrine_monotheist }
}
}
is_valid = {
has_realm_law = tribal_authority_3
custom_description = {
text = faith_is_reformed
subject = root
faith = { NOT = { has_doctrine_parameter = unreformed } }
trigger_if = {
limit = {
faith = { has_doctrine_parameter = unreformed }
faith_qualifies_for_west_african_pagan_feudalisation_trigger = yes
}
OR = {
custom_description = {
text = faith_is_reformed
subject = root
faith = { NOT = { has_doctrine_parameter = unreformed } }
}
calc_true_if = {
amount >= 2
realm_size >= minor_realm_size
highest_held_title_tier >= tier_kingdom
custom_tooltip = {
text = convert_whole_realm_to_feudalism_west_african_pagan_decision.tt.vassal_count
any_vassal = { count >= convert_whole_realm_to_feudalism_west_african_pagan_decision_vassal_count_value }
}
}
}
}
trigger_else = {
custom_description = {
text = faith_is_reformed
subject = root
faith = { NOT = { has_doctrine_parameter = unreformed } }
}
}
prestige_level >= 2
capital_province.county = {
development_level >= convert_to_feudalism_development_requirement
capital_province = {
province_size_level >= 2
}
custom_description = { #You need to have 70% of all (non-regional/unique) tribal innovations!
text = has_all_tribal_innovations
subject = root.culture
culture = {
calc_true_if = {
amount >= 9
amount >= 10
has_innovation = innovation_motte
has_innovation = innovation_catapult
has_innovation = innovation_barracks
has_innovation = innovation_mustering_grounds
has_innovation = innovation_bannus
has_innovation = innovation_quilted_armor
has_innovation = innovation_pattern_welding
has_innovation = innovation_gavelkind
has_innovation = innovation_crop_rotation
has_innovation = innovation_city_planning
has_innovation = innovation_casus_belli
has_innovation = innovation_plenary_assemblies
has_innovation = innovation_ledger
has_innovation = innovation_development_01
has_innovation = innovation_prosperity_01
has_innovation = innovation_currency_01
}
}
@ -437,7 +462,7 @@ convert_whole_realm_to_feudalism_decision = {
}
cost = {
prestige = 200
prestige = 500
}
effect = {
@ -476,7 +501,8 @@ convert_to_tribalism_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_realm.dds"
}
decision_group_type = major
decision_group_type = realm
sort_order = 40
desc = convert_to_tribalism_decision_desc
ai_check_interval_by_tier = {
@ -540,25 +566,28 @@ convert_to_tribalism_decision = {
# by Ewan Cowhig Croft
##################################################
# A decision for West African pagans to feudalise without reforming.
###### DEPRECATED ###### (merged the functionality into regular feudal/clan adopting)
### Adopt [ROOT.Char.Custom('GetTribalReformGovernment')|U] Ways: #weak (West African Pagan)#! ###
convert_whole_realm_to_feudalism_west_african_pagan_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_realm.dds"
}
decision_group_type = major
sort_order = 100
desc = convert_whole_realm_to_feudalism_west_african_pagan_decision_desc
ai_check_interval_by_tier = {
barony = 0
county = 72
duchy = 36
kingdom = 36
empire = 36
hegemony = 36
county = 0
duchy = 0
kingdom = 0
empire = 0
hegemony = 0
}
is_shown = {
always = no
# Only tribals need formalise.
government_has_flag = government_is_tribal
# Unreformed West African Pagans are our targets.
@ -584,9 +613,9 @@ convert_whole_realm_to_feudalism_west_african_pagan_decision = {
prestige_level >= high_prestige_level
piety_level >= high_piety_level
custom_tooltip = {
text = convert_whole_realm_to_feudalism_west_african_pagan_decision.tt.wa_capital_development
text = convert_whole_realm_to_feudalism_west_african_pagan_decision.tt.wa_capital_prosperity
capital_county = {
development_level >= convert_whole_realm_to_feudalism_west_african_pagan_decision_wa_capital_development_value
prosperity_level >= convert_whole_realm_to_feudalism_west_african_pagan_decision_wa_capital_prosperity_value
title_province = { geographical_region = world_africa_west }
}
}
@ -597,20 +626,21 @@ convert_whole_realm_to_feudalism_west_african_pagan_decision = {
subject = root.culture
culture = {
calc_true_if = {
amount >= 9
amount >= 10
has_innovation = innovation_motte
has_innovation = innovation_catapult
has_innovation = innovation_barracks
has_innovation = innovation_mustering_grounds
has_innovation = innovation_bannus
has_innovation = innovation_quilted_armor
has_innovation = innovation_pattern_welding
has_innovation = innovation_gavelkind
has_innovation = innovation_crop_rotation
has_innovation = innovation_city_planning
has_innovation = innovation_casus_belli
has_innovation = innovation_plenary_assemblies
has_innovation = innovation_ledger
has_innovation = innovation_development_01
has_innovation = innovation_prosperity_01
has_innovation = innovation_currency_01
}
}
@ -680,6 +710,7 @@ declare_bloodline_holy_decision = {
reference = "gfx/interface/illustrations/decisions/decision_family_tree.dds"
}
decision_group_type = major
sort_order = 20
desc = declare_bloodline_holy_decision_desc
ai_check_interval_by_tier = {
@ -799,6 +830,7 @@ strengthen_bloodline_decision = {
reference = "gfx/interface/illustrations/decisions/decision_dynasty_house.dds"
}
decision_group_type = major
sort_order = 20
desc = strengthen_bloodline_decision_desc
ai_check_interval_by_tier = {
@ -913,6 +945,7 @@ dynasty_of_many_crowns_decision = {
}
desc = dynasty_of_many_crowns_decision_desc
decision_group_type = major
sort_order = 20
ai_check_interval_by_tier = {
barony = 0
county = 0
@ -1012,7 +1045,8 @@ found_kingdom_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_found_kingdom.dds"
}
decision_group_type = major
decision_group_type = realm
sort_order = 50
ai_check_interval_by_tier = {
barony = 0
county = 0
@ -1147,7 +1181,8 @@ found_empire_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_dynasty_house.dds"
}
decision_group_type = major
decision_group_type = realm
sort_order = 50
ai_check_interval_by_tier = {
barony = 0
county = 0
@ -1171,6 +1206,7 @@ found_empire_decision = {
has_game_rule = off_custom_kingdoms
}
is_landed_or_landless_administrative = yes
NOT = { government_has_flag = government_is_republic }
is_confederation_member = no
}
@ -2244,36 +2280,61 @@ found_witch_coven_decision = {
### Repay Loan ###
repay_loan_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_spend_money.dds"
}
picture = { reference = "gfx/interface/illustrations/decisions/decision_spend_money.dds" }
decision_group_type = major
desc = repay_loan_decision_decision_desc
selection_tooltip = repay_loan_decision_decision_tooltip
ai_check_interval = 0
ai_check_interval = 24
is_shown = {
var:loan_holder ?= {
any_in_list = {
variable = owes_me_money
this = root
any_owned_story = {
story_type = story_cycle_loan
exists = var:amount_owed
var:lender ?= {
any_in_list = {
variable = owes_me_money
this = root
}
}
}
exists = var:loan_amount_owed
}
is_valid_showing_failures_only = {
is_available = yes
gold >= var:loan_amount_owed
is_available_quick = {
adult = yes
incapable = no
}
custom_tooltip = {
text = repay_loan_decision_afford_any_tt
any_owned_story = {
story_type = story_cycle_loan
exists = var:amount_owed
var:amount_owed <= prev.gold
}
}
}
effect = {
var:loan_holder ?= { save_scope_as = recipient }
pay_short_term_gold = {
gold = var:loan_amount_owed
target = scope:recipient
scope:selected_item ?= { save_scope_as = recipient }
ordered_owned_story = {
limit = {
story_type = story_cycle_loan
exists = var:amount_owed
var:lender = {
this = scope:recipient
any_in_list = {
variable = owes_me_money
this = root
}
}
}
order_by = { # repay smallest first
value = 0
subtract = var:amount_owed
}
save_scope_as = repaid_loan
}
clear_loanee_variables_effect = yes
scope:recipient = {
@ -2282,14 +2343,37 @@ repay_loan_decision = {
target = root
}
}
}
ai_potential = {
always = no
ai_select_item = {
scope:actor = {
ordered_owned_story = {
limit = {
story_type = story_cycle_loan
exists = var:amount_owed
var:lender ?= {
any_in_list = {
variable = owes_me_money
this = scope:actor
}
}
var:amount_owed < scope:actor.short_term_gold
}
order_by = {
value = 0
add = var:years_since
if = {
limit = { var:lender = { is_ai = no } }
add = 2
}
}
var:lender = { save_scope_as = selected_item }
}
}
}
}
ai_will_do = {
base = 0
base = 25
}
}
@ -2500,7 +2584,8 @@ found_duchy_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_found_kingdom.dds"
}
decision_group_type = major
decision_group_type = realm
sort_order = 50
ai_check_interval_by_tier = {
barony = 0
county = 60
@ -2606,6 +2691,7 @@ expand_duchy_decision = {
reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds"
}
decision_group_type = realm
sort_order = 20
ai_check_interval_by_tier = {
barony = 0
county = 0
@ -2671,6 +2757,7 @@ expand_duchy_decision = {
has_game_rule = on_custom_duchies
}
is_landed_or_landless_administrative = yes
NOT = { government_has_flag = government_is_republic }
trigger_if = {
limit = {
highest_held_title_tier = tier_duchy
@ -2821,7 +2908,7 @@ expand_duchy_decision = {
}
scope:barony.duchy = {
ordered_de_jure_county = {
order_by = development_level
order_by = prosperity_level
limit = { NOT = { this = scope:barony.county } }
save_scope_as = new_duchy_capital
}
@ -2880,6 +2967,7 @@ set_de_jure_capital_decision = {
reference = "gfx/interface/illustrations/decisions/ep3_decision_city.dds"
}
decision_group_type = realm
sort_order = 20
ai_check_interval_by_tier = {
barony = 0
county = 0
@ -3147,7 +3235,6 @@ set_de_jure_capital_decision = {
scope:current_de_jure_scope ?= {
set_capital_county = root.capital_county
}
# A bit of an ugly script hack, to make sure the Duchy Building slot is properly moved, which happens when a duchy capital is moved out of the duchy de jure. We temporarily move them out of the duchy de jure, and back again, to force this effect. Remove when Code gets a chance to have a look at it
if = {
limit = {
scope:set_duchy_capital = yes

View file

@ -30,7 +30,10 @@ recruit_court_position_decision = {
decision_group_type = courtier
is_shown = {
is_landed_or_landless_administrative_or_theocratic = yes
OR = {
is_landed_or_landless_administrative_or_theocratic = yes
government_has_flag = government_is_merchant
}
}
is_valid_showing_failures_only = {
@ -164,6 +167,7 @@ recruit_court_position_decision = {
item = { # Charioteer
value = hire_charioteer_decision
is_shown = {
is_landed_or_landless_administrative_or_theocratic = yes
has_ep3_dlc_trigger = yes
is_landless_adventurer = no
culture = {
@ -188,6 +192,7 @@ recruit_court_position_decision = {
item = { # Bookmaker
value = hire_bookmaker_decision
is_shown = {
is_landed_or_landless_administrative_or_theocratic = yes
has_ep3_dlc_trigger = yes
is_landless_adventurer = no
culture = {
@ -212,6 +217,7 @@ recruit_court_position_decision = {
item = { # Eunuch
value = hire_eunuch_decision
is_shown = {
is_landed_or_landless_administrative_or_theocratic = yes
has_ep3_dlc_trigger = yes
is_landless_adventurer = no
culture = {
@ -236,6 +242,7 @@ recruit_court_position_decision = {
item = { # Gardener
value = recruit_gardener_decision
is_shown = {
is_landed_or_landless_administrative_or_theocratic = yes
culture = {
has_cultural_parameter = can_recruit_gardeners
}
@ -2298,7 +2305,7 @@ stress_loss_inappetetic_decision = { #by Linnéa Thimrén
### Write Thoughts Down ###
stress_loss_journaller_decision = { #by Linnéa Thimrén
picture = {
reference = "gfx/interface/illustrations/decisions/decision_misc.dds"
reference = "gfx/interface/illustrations/decisions/decision_erudition.dds"
}
desc = stress_loss_journaller_decision_desc
selection_tooltip = stress_loss_journaller_decision_tooltip
@ -2356,7 +2363,7 @@ stress_loss_journaller_decision = { #by Linnéa Thimrén
### Talk to Confidant ###
stress_loss_confider_decision = { #by Linnéa Thimrén
picture = {
reference = "gfx/interface/illustrations/decisions/decision_misc.dds"
reference = "gfx/interface/illustrations/decisions/decision_blood.dds"
}
desc = stress_loss_confider_decision_desc
selection_tooltip = stress_loss_confider_decision_tooltip

View file

@ -63,7 +63,7 @@ choose_designated_terrain_decision = {
current_description = designated_terrain_forest_decision
localization = designated_terrain_forest_decision
icon = "gfx/interface/icons/terrain_types/forest.dds"
ai_chance = {
ai_chance = {
value = 0
if = {
limit = {
@ -85,7 +85,7 @@ choose_designated_terrain_decision = {
current_description = designated_terrain_mountain_decision
localization = designated_terrain_mountain_decision
icon = "gfx/interface/icons/terrain_types/mountains.dds"
ai_chance = {
ai_chance = {
value = 0
if = {
limit = {
@ -107,7 +107,7 @@ choose_designated_terrain_decision = {
current_description = designated_terrain_plains_decision
localization = designated_terrain_plains_decision
icon = "gfx/interface/icons/terrain_types/plains.dds"
ai_chance = {
ai_chance = {
value = 5
if = {
limit = {
@ -129,7 +129,7 @@ choose_designated_terrain_decision = {
current_description = designated_terrain_drylands_decision
localization = designated_terrain_drylands_decision
icon = "gfx/interface/icons/terrain_types/drylands.dds"
ai_chance = {
ai_chance = {
value = 0
if = {
limit = {
@ -235,16 +235,16 @@ choose_master_terrain_decision = {
decision_to_second_step_button = "CHOOSE_MASTER_TERRAIN_DECISION_NEXT_STEP_BUTTON"
show_from_start = yes
### Woodlands
### Woodlands
item = { # Forest
value = master_terrain_forest_terrain
current_description = master_terrain_forest_decision
localization = master_terrain_forest_decision
icon = "gfx/interface/icons/terrain_types/forest.dds"
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = woodlands }
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = woodlands }
}
ai_chance = {
ai_chance = {
value = 0
if = {
limit = {
@ -259,10 +259,10 @@ choose_master_terrain_decision = {
current_description = master_terrain_jungle_decision
localization = master_terrain_jungle_decision
icon = "gfx/interface/icons/terrain_types/jungle.dds"
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = woodlands }
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = woodlands }
}
ai_chance = {
ai_chance = {
value = 0
if = {
limit = {
@ -277,10 +277,10 @@ choose_master_terrain_decision = {
current_description = master_terrain_taiga_decision
localization = master_terrain_taiga_decision
icon = "gfx/interface/icons/terrain_types/taiga.dds"
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = woodlands }
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = woodlands }
}
ai_chance = {
ai_chance = {
value = 0
if = {
limit = {
@ -295,10 +295,10 @@ choose_master_terrain_decision = {
current_description = master_terrain_wetlands_decision
localization = master_terrain_wetlands_decision
icon = "gfx/interface/icons/terrain_types/wetlands.dds"
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = woodlands }
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = woodlands }
}
ai_chance = {
ai_chance = {
value = 0
if = {
limit = {
@ -315,10 +315,10 @@ choose_master_terrain_decision = {
current_description = master_terrain_mountains_decision
localization = master_terrain_mountains_decision
icon = "gfx/interface/icons/terrain_types/mountains.dds"
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = highlands }
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = highlands }
}
ai_chance = {
ai_chance = {
value = 0
if = {
limit = {
@ -333,10 +333,10 @@ choose_master_terrain_decision = {
current_description = master_terrain_hills_decision
localization = master_terrain_hills_decision
icon = "gfx/interface/icons/terrain_types/hills.dds"
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = highlands }
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = highlands }
}
ai_chance = {
ai_chance = {
value = 0
if = {
limit = {
@ -351,10 +351,10 @@ choose_master_terrain_decision = {
current_description = master_terrain_desert_mountains_decision
localization = master_terrain_desert_mountains_decision
icon = "gfx/interface/icons/terrain_types/desert_mountains.dds"
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = highlands }
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = highlands }
}
ai_chance = {
ai_chance = {
value = 0
if = {
limit = {
@ -371,10 +371,10 @@ choose_master_terrain_decision = {
current_description = master_terrain_plains_decision
localization = master_terrain_plains_decision
icon = "gfx/interface/icons/terrain_types/plains.dds"
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = lowlands }
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = lowlands }
}
ai_chance = {
ai_chance = {
value = 0
if = {
limit = {
@ -389,10 +389,10 @@ choose_master_terrain_decision = {
current_description = master_terrain_steppe_decision
localization = master_terrain_steppe_decision
icon = "gfx/interface/icons/terrain_types/steppe.dds"
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = lowlands }
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = lowlands }
}
ai_chance = {
ai_chance = {
value = 0
if = {
limit = {
@ -407,10 +407,10 @@ choose_master_terrain_decision = {
current_description = master_terrain_farmlands_decision
localization = master_terrain_farmlands_decision
icon = "gfx/interface/icons/terrain_types/farmlands.dds"
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = lowlands }
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = lowlands }
}
ai_chance = {
ai_chance = {
value = 0
if = {
limit = {
@ -425,10 +425,10 @@ choose_master_terrain_decision = {
current_description = master_terrain_floodplains_decision
localization = master_terrain_floodplains_decision
icon = "gfx/interface/icons/terrain_types/floodplains.dds"
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = lowlands }
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = lowlands }
}
ai_chance = {
ai_chance = {
value = 0
if = {
limit = {
@ -446,10 +446,10 @@ choose_master_terrain_decision = {
current_description = master_terrain_drylands_decision
localization = master_terrain_drylands_decision
icon = "gfx/interface/icons/terrain_types/drylands.dds"
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = drylands }
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = drylands }
}
ai_chance = {
ai_chance = {
value = 0
if = {
limit = {
@ -464,10 +464,10 @@ choose_master_terrain_decision = {
current_description = master_terrain_desert_decision
localization = master_terrain_desert_decision
icon = "gfx/interface/icons/terrain_types/desert.dds"
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = drylands }
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = drylands }
}
ai_chance = {
ai_chance = {
value = 0
if = {
limit = {
@ -482,10 +482,10 @@ choose_master_terrain_decision = {
current_description = master_terrain_oasis_decision
localization = master_terrain_oasis_decision
icon = "gfx/interface/icons/terrain_types/oasis.dds"
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = drylands }
is_shown = {
landless_inspector_terrain_master_trigger = { TERRAIN = drylands }
}
ai_chance = {
ai_chance = {
value = 0
if = {
limit = {
@ -523,7 +523,7 @@ choose_master_terrain_decision = {
landless_inspector_terrain_master_trigger = { TERRAIN = highlands }
}
switch = {
trigger = yes
trigger = yes
scope:master_terrain_mountains_terrain = {
landless_inspector_master_terrain_effect = { TERRAIN = mountains }
}
@ -913,7 +913,7 @@ enact_legacy_of_adventurer_decision = {
has_ep3_dlc_trigger = yes
is_landless_adventurer = yes
NOT = { has_trait = gallowsbait }
NOT = {
NOT = {
house = {
has_house_modifier = legacy_adventurer_house_modifier
}
@ -947,7 +947,7 @@ enact_legacy_of_adventurer_decision = {
save_temporary_scope_value_as = {
name = contract_tally
value = 0
}
}
}
custom_tooltip = {
text = has_enough_contracts_tt

View file

@ -126,6 +126,10 @@ rites_of_passage_decision = {
}
ai_potential = {
OR = {
government_has_flag = government_is_tribal
government_has_flag = government_is_nomadic
}
OR = {
any_child = {
character_can_rites_of_passage_trigger = yes

View file

@ -2564,7 +2564,12 @@ commission_icon_decision = {
if = {
# Conditional exists to avoid false-positives during tooltip generation, but 'local_artisan' should always exist on execution!
limit = { exists = scope:local_artisan }
root = { add_courtier = scope:local_artisan }
if = {
limit = {
NOT = { scope:local_artisan = { is_courtier_of = root } }
}
root = { add_courtier = scope:local_artisan }
}
scope:local_artisan = {
add_trait = devoted
}

View file

@ -375,13 +375,13 @@ introduce_a_new_fashion_at_court_decision = {
}
#############################################
# Finance Culture Development #
# Finance Culture Prosperity #
# by Maxence Voleau #
#############################################
### Promote Other Culture Development Decision ###
promote_other_culture_development_decision = {
title = promote_other_culture_development_decision_name
### Promote Other Culture Prosperity Decision ###
promote_other_culture_prosperity_decision = {
title = promote_other_culture_prosperity_decision_name
picture = {
trigger = {
culture = { has_graphical_east_asia_culture_group_trigger = yes }
@ -397,8 +397,8 @@ promote_other_culture_development_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_misc.dds"
}
desc = promote_other_culture_development_decision_desc
selection_tooltip = promote_other_culture_development_decision_tooltip
desc = promote_other_culture_prosperity_decision_desc
selection_tooltip = promote_other_culture_prosperity_decision_tooltip
cooldown = { years = 10 }
sort_order = 90
@ -410,7 +410,7 @@ promote_other_culture_development_decision = {
is_valid_showing_failures_only = {
custom_tooltip = {
text = promote_other_culture_development_decision_not_acceptance_tt
text = promote_other_culture_prosperity_decision_not_acceptance_tt
any_sub_realm_county = {
count > 0
AND = {
@ -471,11 +471,11 @@ promote_other_culture_development_decision = {
every_in_list = {
list = promoted_culture
this = { save_scope_as = current_culture }
custom_tooltip = promote_other_culture_development_decision_effect_summary #see if a modifier can be injected for better effect
custom_tooltip = promote_other_culture_prosperity_decision_effect_summary #see if a modifier can be injected for better effect
}
}
else = {
custom_tooltip = promote_other_culture_development_decision_no_effect
custom_tooltip = promote_other_culture_prosperity_decision_no_effect
}
#Apply the actual effect: add a County Modifier on the relevant Counties
@ -495,6 +495,7 @@ promote_other_culture_development_decision = {
modifier = promote_culture_modifier
years = 10
}
change_county_control = 5
}
}
}

View file

@ -221,6 +221,7 @@ estate_governor_patrols_decision = {
modifier = ep3_estate_governor_patrols_modifier
years = 15
}
change_county_control = 5
}
increase_governance_effect = { VALUE = 6 }
}
@ -370,7 +371,7 @@ estate_granary_decision = {
limit = {
domicile ?= {
domicile_location.county = {
county_control < 100
county_control < county_control_baseline
}
}
}
@ -380,21 +381,21 @@ estate_granary_decision = {
limit = {
domicile ?= {
domicile_location.county = {
development_level >= estate_granary_development_bonus_2_value
prosperity_level >= estate_granary_prosperity_bonus_2_value
}
}
}
custom_tooltip = estate_unlock_granary_decision_development_2_tt
custom_tooltip = estate_unlock_granary_decision_prosperity_2_tt
}
else_if = {
limit = {
domicile ?= {
domicile_location.county = {
development_level >= estate_granary_development_bonus_1_value
prosperity_level >= estate_granary_prosperity_bonus_1_value
}
}
}
custom_tooltip = estate_unlock_granary_decision_development_1_tt
custom_tooltip = estate_unlock_granary_decision_prosperity_1_tt
}
if = {
limit = {
@ -731,7 +732,8 @@ convert_to_administrative_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/ep3_cerimonial_decision.dds"
}
decision_group_type = major
decision_group_type = realm
sort_order = 40
title = {
first_valid = {
triggered_desc = {
@ -783,6 +785,10 @@ convert_to_administrative_decision = {
government_has_flag = government_is_feudal
government_has_flag = government_is_clan
government_has_flag = government_is_japan_feudal
AND = { # Republic doges may become admin
government_has_flag = government_is_republic
highest_liege_matching_rule:uses_assembly = this
}
}
NOT = {
has_character_flag = granted_title_government_blocker
@ -851,6 +857,7 @@ convert_to_administrative_decision = {
limit = {
top_liege = this
is_ai = no
NOT = { government_has_flag = government_is_republic }
}
custom_tooltip = {
text = all_powerful_vassals_required_tt
@ -863,6 +870,12 @@ convert_to_administrative_decision = {
}
}
}
trigger_if = { # Republics have to be despots
limit = {
government_has_flag = government_is_republic
}
has_realm_law = republican_despot_succession_law
}
trigger_if = {
limit = { is_ai = yes }
calc_true_if = {
@ -872,7 +885,7 @@ convert_to_administrative_decision = {
culture = { has_cultural_pillar = ethos_egalitarian }
culture = { has_cultural_tradition = tradition_legalistic }
has_realm_law = crown_authority_3
capital_county = { development_level > medium_development_level }
capital_county = { prosperity_level > medium_prosperity_level }
rite = { rite_has_tenet = tenet_legalism }
dynasty = { has_dynasty_perk = erudition_legacy_5 }
dynasty = { has_dynasty_perk = law_legacy_5 }
@ -1354,7 +1367,8 @@ convert_to_feudalism_from_administrative_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_realm.dds"
}
decision_group_type = major
decision_group_type = realm
sort_order = 40
desc = convert_to_feudalism_from_administrative_decision_desc
is_shown = {
@ -1373,12 +1387,11 @@ convert_to_feudalism_from_administrative_decision = {
is_valid = {
is_landed = yes
trigger_if = {
limit = {
is_independent_ruler = no
}
top_liege ?= {
realm_law_authority_level_0 = yes
}
limit = { is_independent_ruler = no }
custom_tooltip = {
text = liege_has_realm_law_authority_0_tt
top_liege ?= { realm_law_authority_level_0 = yes }
}
custom_tooltip = {
text = governorship_is_on_the_border_tt
any_sub_realm_county = {
@ -1858,10 +1871,8 @@ change_imperial_aspirations_decision = {
is_valid = {
government_has_flag = government_is_administrative
trigger_if = { # Unavailable if you are the top liege - Unless you have either modifier, so you may remove it.
limit = {
top_liege = this
}
trigger_if = { # Unavailable if you are the top liege - Unless if you have either modifier, so you may remove it.
limit = { top_liege = this }
OR = {
has_character_modifier = ep3_admin_renounce_throne_personal
house ?= { has_house_modifier = ep3_admin_renounce_throne_house }

View file

@ -112,13 +112,14 @@ become_landless_adventurer_decision = {
# Relevant cultures/faiths
trigger_if = {
limit = {
NOT = { government_has_flag = government_is_merchant }
}
NAND = {
is_ai = no
government_has_mechanic = administrative
top_liege = this
is_landed = no
}
}
OR = {
culture = { has_cultural_parameter = unlock_voluntary_laampdom }
faith = { has_doctrine_parameter = unlock_voluntary_laampdom_faith }
@ -127,9 +128,27 @@ become_landless_adventurer_decision = {
text = nomadic_government_tt
government_has_flag = government_is_nomadic
}
has_character_modifier = tgp_gave_up_modifier
OR = {
culture = { has_cultural_parameter = unlock_voluntary_laampdom }
rite = { rite_has_parameter = unlock_voluntary_laampdom_faith }
has_personal_tenet_flag = unlock_voluntary_laampdom_faith
has_trait = nomadic_philosophy
custom_tooltip = {
text = nomadic_government_tt
government_has_flag = government_is_nomadic
}
has_character_modifier = tgp_gave_up_modifier
}
}
}
# Triggers for merchants
trigger_else = {
custom_tooltip = {
text = gdp_recently_became_merchant_decision_cooldown_tt
NOT = { exists = var:gdp_recently_became_merchant_cooldown }
}
}
}
is_valid_showing_failures_only = {
@ -141,11 +160,16 @@ become_landless_adventurer_decision = {
effect = {
save_scope_as = adventurer
set_variable = {
name = gdp_recently_became_adventurer_cooldown
years = 5
}
if = {
limit = {
player_heir ?= {
this != root
is_adult = yes
is_ruler = no
}
}
player_heir = {
@ -185,12 +209,29 @@ become_landless_adventurer_decision = {
}
create_landless_adventurer_title_tooltip_effect = yes
show_as_tooltip = {
add_prestige = medium_prestige_gain
if = {
limit = {
NOT = { government_has_flag = government_is_merchant }
}
add_prestige = medium_prestige_gain
}
add_character_modifier = {
modifier = ep3_voluntary_laamp_character_modifier
years = 5
}
}
if = {
limit = {
any_in_list = { variable = owes_me_money }
}
custom_tooltip = gdp_become_adventurer_debtors_to_contracts_tt
}
if = {
limit = {
any_owned_story = { story_type = story_cycle_loan }
}
custom_tooltip = gdp_become_adventurer_debts_transferred_tt
}
trigger_event = { id = ep3_laamps.0030 }
# Debug tracking
if = {
@ -476,10 +517,10 @@ wipe_slate_decision = {
cost = {
gold = {
value = 100
value = 50
add = {
value = highest_held_title_tier
multiply = 25
multiply = 12
}
}
prestige = {
@ -864,7 +905,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_europe
geographical_region = world_steppe_west
@ -883,7 +924,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_europe
geographical_region = world_africa_north
@ -902,7 +943,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_europe
geographical_region = world_steppe_west
@ -922,7 +963,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_europe
geographical_region = world_steppe_west
@ -943,7 +984,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_europe_south
geographical_region = world_europe_west
@ -965,7 +1006,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_europe_south
geographical_region = world_africa
@ -984,7 +1025,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_europe_south
geographical_region = world_asia_minor
@ -1006,7 +1047,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_europe_south
geographical_region = world_asia_minor
@ -1028,7 +1069,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_europe_south
geographical_region = world_middle_east
@ -1049,7 +1090,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_europe_south
geographical_region = world_middle_east
@ -1070,7 +1111,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_europe_south
geographical_region = world_middle_east
@ -1093,7 +1134,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_middle_east
geographical_region = world_india
@ -1114,7 +1155,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_middle_east
geographical_region = world_india
@ -1135,7 +1176,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_middle_east
geographical_region = world_india
@ -1156,7 +1197,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_india
geographical_region = world_tibet
@ -1175,7 +1216,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_india
geographical_region = world_steppe
@ -1194,7 +1235,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_india
geographical_region = world_tibet
@ -1214,7 +1255,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_india
geographical_region = world_tibet
@ -1237,7 +1278,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_india
geographical_region = world_tibet
@ -1816,7 +1857,10 @@ reject_inheritance_decision = {
# They have children with you.
any_child = {
count >= 1
NOT = { has_trait = disinherited }
NOR = {
has_trait = disinherited
has_trait = adopted_no_inheritance
}
any_parent = { this = root }
}
# Or thought they might.
@ -2171,6 +2215,12 @@ embrace_responsibilities_decision = {
### Change Election Candidacy Status ###
change_election_candidacy_status_decision = {
# Everyone else's picture.
picture = {
trigger = {
government_has_flag = government_is_republic
}
reference = "gfx/interface/illustrations/decisions/fractious.dds"
}
picture = { reference = "gfx/interface/illustrations/decisions/decision_found_kingdom.dds" }
desc = {
first_valid = {
@ -2330,7 +2380,7 @@ bandit_king_decision = {
}
cost = {
gold = 500
gold = 250
prestige = 2000
}
@ -2432,14 +2482,14 @@ seasoned_visitor_decision = {
custom_tooltip = {
text = seasoned_visitor_decision_not_enough_poi
has_variable = poi_visited
var:poi_visited >= 26 #1066 all poi in India. If you change the value here, please also change the value in loc string above
var:poi_visited >= 35
}
calc_true_if = {
amount >= 2
custom_tooltip = {
text = seasoned_visitor_decision_not_enough_poi_advanced
has_variable = poi_visited
var:poi_visited >= 42 #1066 all poi in two Indias. If you change the value here, please also change the value in loc string above
var:poi_visited >= 60
}
prestige_level >= 4
has_trait_xp = {
@ -2457,8 +2507,8 @@ seasoned_visitor_decision = {
}
cost = {
prestige = 1500
gold = 500
prestige = 500
gold = 250
}
effect = {

View file

@ -63,7 +63,7 @@ separatist_uprising_decision = {
cost = {
prestige = 2000
gold = 500
gold = 250
}
effect = {

View file

@ -1094,6 +1094,8 @@ fp3_become_clan_government_decision = {
}
desc = fp3_become_clan_government_decision_desc
selection_tooltip = fp3_become_clan_government_decision_tooltip
decision_group_type = realm
sort_order = 40
ai_check_interval_by_tier = {
barony = 0
@ -1147,7 +1149,7 @@ fp3_become_clan_government_decision = {
change_government = clan_government
# Increase unity, uses this effect since both chars are not clan when script is evaluated
house.house_head = {
apply_clan_unity_interaction_effect = {
apply_house_unity_interaction_effect = {
CHARACTER = root
TARGET = root.house.house_head
DESC = clan_unity_adopt_clan.desc

View file

@ -24,7 +24,7 @@ raise_stele_decision = {
cooldown = { years = 10 }
sort_order = 80
sort_order = 10
is_shown = {
# Landed characters only: nobody likes a mercenary.

View file

@ -82,14 +82,23 @@ mpo_desperate_stance_decision = {
sort_order = 100
is_shown = {
has_mpo_dlc_trigger = yes
government_has_flag = government_is_nomadic
exists = situation:the_great_steppe
any_character_situation = {
any_participant_group = {
participant_group_type = nomad_rulers_capital
}
}
exists = situation:the_great_steppe
has_mpo_dlc_trigger = yes
any_character_situation = {
any_situation_sub_region = {
has_sub_region_phase_parameter = the_great_steppe_desperate_stance_decision
any_situation_sub_region_participant_group = {
participant_group_type = nomad_rulers_capital
participant_group_has_character = root
}
}
}
}
is_valid = {
@ -146,13 +155,13 @@ adopt_nomadic_ways_decision = {
picture = {
reference = "gfx/interface/illustrations/event_story/mpo_steppe_region.dds"
}
decision_group_type = adventurer
decision_group_type = realm
sort_order = 100
is_shown = {
is_landless_adventurer = yes
has_ep3_dlc_trigger = yes
has_mpo_dlc_trigger = yes
has_playable_adventurer_dlc_trigger = yes
is_landless_adventurer = yes
}
is_valid = {

File diff suppressed because it is too large Load diff

View file

@ -9,18 +9,24 @@ mpo_pleasure_dome_decision = {
sort_order = 80
is_shown = {
has_mpo_dlc_trigger = yes
OR = {
government_has_flag = government_is_nomadic
has_trait = nomadic_philosophy
}
NOT = { has_global_variable = devised_pleasure_dome }
culture ?= {
OR = {
has_cultural_pillar = heritage_turkic
has_cultural_pillar = heritage_mongolic
}
}
NOT = { has_global_variable = devised_pleasure_dome }
has_mpo_dlc_trigger = yes
OR = {
has_realm_law = nomadic_authority_5
has_realm_law = nomadic_authority_4
has_realm_law = meritocratic_bureaucracy_2
has_realm_law = meritocratic_bureaucracy_3
}
}
widget = {
@ -31,10 +37,10 @@ mpo_pleasure_dome_decision = {
title_province = {
trigger_if = {
limit = { scope:ruler = { is_ai = yes } }
has_special_building_slot = no
has_special_district_slot = no
}
trigger_else = {
has_special_building = no
has_special_district = no
}
}
is_capital_barony = yes
@ -50,13 +56,7 @@ mpo_pleasure_dome_decision = {
any_held_title = {
tier = tier_barony
title_province = {
trigger_if = {
limit = { root = { is_ai = yes } }
has_special_building_slot = no
}
trigger_else = {
has_special_building = no
}
has_special_district_slot = no
}
is_capital_barony = yes
holder = root
@ -120,6 +120,21 @@ mpo_pleasure_dome_decision = {
}
}
widget = {
controller = create_holy_order
title_valid = {
trigger_if = {
limit = { exists = this }
title_province = {
has_special_district_slot = no
}
is_capital_barony = yes
holder = scope:ruler
is_leased_out = no
}
}
}
effect = {
send_interface_toast = {
type = event_toast_effect_good
@ -129,7 +144,7 @@ mpo_pleasure_dome_decision = {
limit = { exists = scope:barony }
custom_tooltip = {
text = mpo_add_pleasure_dome_effect_tt
scope:barony.title_province = { add_special_building = pleasure_dome }
scope:barony.title_province = { add_special_district = pleasure_dome_district }
}
}
}
@ -170,19 +185,17 @@ mpo_establish_paiza_system_decision = {
sort_order = 80
is_shown = {
has_mpo_dlc_trigger = yes
government_has_flag = government_is_nomadic
NOT = { has_character_flag = established_paiza_system }
exists = situation:the_great_steppe
any_character_situation = {
this = situation:the_great_steppe
}
government_has_flag = government_is_nomadic
OR = {
has_realm_law = nomadic_authority_2
has_realm_law = nomadic_authority_3
has_realm_law = nomadic_authority_4
has_realm_law = nomadic_authority_5
}
has_mpo_dlc_trigger = yes
NOT = { has_character_flag = established_paiza_system }
exists = situation:the_great_steppe
}
is_valid = {
@ -296,9 +309,9 @@ mpo_call_for_merchants_decision = {
sort_order = 80
is_shown = {
has_character_flag = established_paiza_system
government_has_flag = government_is_nomadic
has_mpo_dlc_trigger = yes
government_has_flag = government_is_nomadic
has_character_flag = established_paiza_system
}
is_valid = {
@ -322,7 +335,7 @@ mpo_call_for_merchants_decision = {
trigger_else = {
always = yes
}
gold >= 800
gold >= 400
}
is_valid_showing_failures_only = {
@ -386,7 +399,7 @@ mpo_call_for_merchants_decision = {
}
modifier = {
add = 20
gold >= 2400
gold >= 1200
}
}
@ -405,18 +418,21 @@ mpo_call_for_merchants_small_decision = {
sort_order = 80
is_shown = {
has_mpo_dlc_trigger = yes
government_has_flag = government_is_nomadic
NOT = {
has_character_flag = established_paiza_system
}
has_mpo_dlc_trigger = yes
domicile ?= {
has_domicile_building_or_higher = trade_yurt_01
}
}
is_valid = {
domicile ?= {
has_domicile_building_or_higher = trade_yurt_01
}
gold >= 400
gold >= 200
}
is_valid_showing_failures_only = {
@ -481,7 +497,7 @@ mpo_call_for_merchants_small_decision = {
}
modifier = {
add = 20
gold >= 1200
gold >= 600
}
}
@ -621,24 +637,41 @@ mpo_abuse_authority_paiza_decision = {
}
}
modifier = {
add = -15
any_character_artifact = {
root = { can_benefit_from_artifact = prev }
var:paiza_patron ?= { has_character_flag = paiza_abuse_punished }
}
}
modifier = {
add = -25
var:paiza_patron ?= {
domicile ?= { has_domicile_parameter = nomad_yurt_paiza_abuse_less_likely_lvl_3 }
any_character_artifact = {
root = { can_benefit_from_artifact = prev }
var:paiza_patron ?= {
domicile ?= { has_domicile_parameter = nomad_yurt_paiza_abuse_less_likely_lvl_3 }
}
}
}
modifier = {
add = -15
var:paiza_patron ?= {
domicile ?= { has_domicile_parameter = nomad_yurt_paiza_abuse_less_likely_lvl_2 }
any_character_artifact = {
root = { can_benefit_from_artifact = prev }
var:paiza_patron ?= {
domicile ?= { has_domicile_parameter = nomad_yurt_paiza_abuse_less_likely_lvl_2 }
}
}
}
modifier = {
add = -10
var:paiza_patron ?= {
domicile ?= { has_domicile_parameter = nomad_yurt_paiza_abuse_less_likely_lvl_1 }
any_character_artifact = {
root = { can_benefit_from_artifact = prev }
var:paiza_patron ?= {
domicile ?= { has_domicile_parameter = nomad_yurt_paiza_abuse_less_likely_lvl_1 }
}
}
}
}

View file

@ -1,136 +1,137 @@
##Pax Mongolica
### Peace of the Great Khan ###
mpo_pax_mongolica_decision = {
picture = {
reference = "gfx/interface/illustrations/event_scenes/mpo_city_steppe.dds"
}
decision_group_type = nomad_major
sort_order = 120
# NEOW 2555: historical Pax Mongolica decision disabled.
###Pax Mongolica
#### Peace of the Great Khan ###
#mpo_pax_mongolica_decision = {
# picture = {
# reference = "gfx/interface/illustrations/event_scenes/mpo_city_steppe.dds"
# }
# decision_group_type = nomad_major
# sort_order = 120
is_shown = {
government_has_flag = government_is_nomadic
any_character_situation = {
this = situation:the_great_steppe
}
NOT = { has_variable = pax_mongolica_var }
exists = situation:the_great_steppe
}
# is_shown = {
# government_has_flag = government_is_nomadic
# any_character_situation = {
# this = situation:the_great_steppe
# }
# NOT = { has_variable = pax_mongolica_var }
# exists = situation:the_great_steppe
# }
is_valid = {
dynasty ?= { has_dynasty_perk = mpo_nomad_legacy_5 }
OR = {
has_realm_law = nomadic_authority_4
has_realm_law = nomadic_authority_5
}
}
# is_valid = {
# dynasty ?= { has_dynasty_perk = mpo_nomad_legacy_5 }
# OR = {
# has_realm_law = nomadic_authority_4
# has_realm_law = nomadic_authority_5
# }
# }
is_valid_showing_failures_only = {
is_available_adult = yes
}
# is_valid_showing_failures_only = {
# is_available_adult = yes
# }
cost = {
gold = {
value = 0
if = {
limit = {
has_treasury = no
}
add = monumental_gold_value
}
}
treasury = {
value = 0
if = {
limit = {
has_treasury = yes
}
add = monumental_gold_value
}
}
prestige = {
value = massive_prestige_value
}
}
# cost = {
# gold = {
# value = 0
# if = {
# limit = {
# has_treasury = no
# }
# add = monumental_gold_value
# }
# }
# treasury = {
# value = 0
# if = {
# limit = {
# has_treasury = yes
# }
# add = monumental_gold_value
# }
# }
# prestige = {
# value = massive_prestige_value
# }
# }
effect = {
set_variable = pax_mongolica_var
# Rewards given out in the event
show_as_tooltip = {
add_character_modifier = {
modifier = pax_mongolica_ruler_modifier # Forever
}
custom_tooltip = pax_mongolica_every_county_in_steppe_tt
every_realm_county = {
limit = {
is_landless_type_title = no
any_county_situation = { this = situation:the_great_steppe }
holder.dynasty = root.dynasty
}
random_county_province = {
limit = { has_holding = no }
set_holding_type = city_holding
}
}
if = {
limit = {
NOT = {
culture = { has_innovation = innovation_city_planning }
}
}
culture = { add_innovation = innovation_city_planning }
}
else_if = {
limit = {
NOT = {
culture = { has_innovation = innovation_development_01 }
}
}
culture = { add_innovation = innovation_development_01 }
}
else = {
culture = { add_random_innovation = culture_group_civic }
}
}
trigger_event = mpo_decisions_events.0400
}
# effect = {
# set_variable = pax_mongolica_var
# # Rewards given out in the event
# show_as_tooltip = {
# add_character_modifier = {
# modifier = pax_mongolica_ruler_modifier # Forever
# }
# custom_tooltip = pax_mongolica_every_county_in_steppe_tt
# every_realm_county = {
# limit = {
# is_landless_type_title = no
# any_county_situation = { this = situation:the_great_steppe }
# holder.dynasty = root.dynasty
# }
# random_county_province = {
# limit = { has_holding = no }
# set_holding_type = city_holding
# }
# }
# if = {
# limit = {
# NOT = {
# culture = { has_innovation = innovation_city_planning }
# }
# }
# culture = { add_innovation = innovation_city_planning }
# }
# else_if = {
# limit = {
# NOT = {
# culture = { has_innovation = innovation_development_01 }
# }
# }
# culture = { add_innovation = innovation_development_01 }
# }
# else = {
# culture = { add_random_innovation = culture_group_civic }
# }
# }
# trigger_event = mpo_decisions_events.0400
# }
ai_check_interval_by_tier = {
barony = 0
county = 0
duchy = 0
kingdom = 0
empire = 24
hegemony = 24
}
# ai_check_interval_by_tier = {
# barony = 0
# county = 0
# duchy = 0
# kingdom = 0
# empire = 24
# hegemony = 24
# }
ai_potential = {
prestige >= massive_prestige_value
}
# ai_potential = {
# prestige >= massive_prestige_value
# }
ai_will_do = {
base = 30
modifier = {
add = -100
NOT = {
prestige >= {
value = monumental_gold_value
multiply = 2
}
}
}
modifier = {
add = -100
NOT = {
prestige >= {
value = massive_prestige_value
multiply = 2
}
}
}
modifier = {
add = 50
highest_held_title_tier >= tier_empire
}
}
}
# ai_will_do = {
# base = 30
# modifier = {
# add = -100
# NOT = {
# prestige >= {
# value = monumental_gold_value
# multiply = 2
# }
# }
# }
# modifier = {
# add = -100
# NOT = {
# prestige >= {
# value = massive_prestige_value
# multiply = 2
# }
# }
# }
# modifier = {
# add = 50
# highest_held_title_tier >= tier_empire
# }
# }
#}

View file

@ -606,6 +606,25 @@ pam_permit_tenet_bull_decision = {
save_scope_as = selected_item
}
}
else_if = { # A tenet intrinsic to the faith is restored before anything else is sanctioned
limit = {
any_character_tenet = {
knowledge_filter = known
pam_tenet_can_be_permitted_trigger = yes
pam_tenet_ai_should_permit_intrinsic_trigger = { CHARACTER = scope:actor }
}
}
ordered_character_tenet = {
knowledge_filter = known
limit = {
pam_tenet_can_be_permitted_trigger = yes
pam_tenet_ai_should_permit_intrinsic_trigger = { CHARACTER = scope:actor }
}
order_by = pam_raw_tenet_popularity_value
position = 0
save_scope_as = selected_item
}
}
else_if = { # A tenet the faith adores gets sanctioned whether or not the Pope cares for it
limit = {
any_character_tenet = {
@ -649,6 +668,10 @@ pam_permit_tenet_bull_decision = {
this = tenet:tenet_love_under_will
}
}
modifier = {
factor = anathema_to_faith_ai_weight_factor
tenet_is_anathema_to_faith_trigger = { FAITH = scope:actor.faith }
}
}
save_scope_as = selected_item
}
@ -674,6 +697,10 @@ pam_permit_tenet_bull_decision = {
this = tenet:tenet_love_under_will
}
}
modifier = {
factor = anathema_to_faith_ai_weight_factor
tenet_is_anathema_to_faith_trigger = { FAITH = scope:actor.faith }
}
}
save_scope_as = selected_item
}
@ -710,6 +737,10 @@ pam_permit_tenet_bull_decision = {
pam_tenet_can_be_permitted_no_actor_trigger = yes
pam_tenet_is_overwhelmingly_popular_trigger = { CHARACTER = root }
}
any_character_tenet = {
knowledge_filter = known
pam_tenet_ai_should_permit_intrinsic_trigger = { CHARACTER = root }
}
}
}
@ -876,6 +907,31 @@ pam_prohibit_tenet_bull_decision = {
save_scope_as = selected_item
}
}
else_if = { # An anathema the faith permits is struck down next
limit = {
any_character_tenet = {
knowledge_filter = known
pam_tenet_can_be_prohibited_trigger = yes
scope:actor = {
NOT = { has_personal_tenet = scope:pam_tenet_candidate }
}
pam_tenet_ai_should_prohibit_anathema_trigger = { CHARACTER = scope:actor }
}
}
ordered_character_tenet = {
knowledge_filter = known
limit = {
pam_tenet_can_be_prohibited_trigger = yes
scope:actor = {
NOT = { has_personal_tenet = scope:pam_tenet_candidate }
}
pam_tenet_ai_should_prohibit_anathema_trigger = { CHARACTER = scope:actor }
}
order_by = pam_raw_tenet_popularity_value
position = 0
save_scope_as = selected_item
}
}
else = {
random_undesired_tenet = {
limit = {
@ -916,6 +972,14 @@ pam_prohibit_tenet_bull_decision = {
}
pam_tenet_ai_should_purge_trigger = { CHARACTER = root }
}
any_character_tenet = {
knowledge_filter = known
pam_tenet_can_be_prohibited_no_actor_trigger = yes
root = {
NOT = { has_personal_tenet = scope:pam_tenet_candidate }
}
pam_tenet_ai_should_prohibit_anathema_trigger = { CHARACTER = root }
}
any_undesired_tenet = {
known_tenets = yes
only_negative = yes

View file

@ -102,6 +102,10 @@ declare_antipope_decision = {
limit = { pam_antipope_declaration_discounted_trigger = yes }
multiply = 0.67
}
if = {
limit = { gg_excommunicated_ghibelline_leader_in_dictatus_papae_trigger = yes }
multiply = 0.5
}
}
}
treasury = {
@ -119,6 +123,10 @@ declare_antipope_decision = {
limit = { pam_antipope_declaration_discounted_trigger = yes }
multiply = 0.67
}
if = {
limit = { gg_excommunicated_ghibelline_leader_in_dictatus_papae_trigger = yes }
multiply = 0.5
}
}
}
piety = {
@ -131,6 +139,10 @@ declare_antipope_decision = {
limit = { pam_antipope_declaration_discounted_trigger = yes }
multiply = 0.67
}
if = {
limit = { gg_excommunicated_ghibelline_leader_in_dictatus_papae_trigger = yes }
multiply = 0
}
if = {
limit = {
has_variable = antipope_squabble_unlock
@ -226,7 +238,10 @@ declare_antipope_decision = {
ai_potential = {
is_adult = yes
ai_zeal >= 0
OR = {
ai_zeal >= 0
gg_excommunicated_ghibelline_leader_in_dictatus_papae_trigger = yes
}
any_vassal_or_below = {
pam_valid_antipope_clergy_vassal_trigger = { LIEGE = root }
}
@ -260,23 +275,22 @@ declare_antipope_decision = {
step = 5
max = 25
}
modifier = {
add = 25
gg_excommunicated_ghibelline_leader_in_dictatus_papae_trigger = yes
}
modifier = {
factor = 2
OR = {
has_relation_rival = faith.religious_head
has_relation_nemesis = faith.religious_head
}
has_relation_rival = faith.religious_head
}
modifier = { # AI shouldn't usually do this if they're main rite
factor = 0.15
rite = faith.main_rite
gg_excommunicated_ghibelline_leader_in_dictatus_papae_trigger = no
}
modifier = {
factor = 0
OR = {
has_relation_friend = faith.religious_head
has_relation_best_friend = faith.religious_head
}
has_relation_friend = faith.religious_head
}
}
}
@ -558,17 +572,11 @@ declare_yourself_antipope_decision = {
}
modifier = {
factor = 2
OR = {
has_relation_rival = faith.religious_head
has_relation_nemesis = faith.religious_head
}
has_relation_rival = faith.religious_head
}
modifier = {
factor = 0
OR = {
has_relation_friend = faith.religious_head
has_relation_best_friend = faith.religious_head
}
has_relation_friend = faith.religious_head
}
}
}

View file

@ -55,6 +55,8 @@ pam_decision_confession = {
sort_order = 110
is_shown = {
is_landless_adventurer = no
is_landless_merchant = no
has_spiritual_fulfillment_type = christian_fulfillment
root.rite ?= {
has_at_least_tenet_status = {
@ -135,17 +137,18 @@ pam_decision_act_of_devotion = {
ai_check_interval_by_tier = {
barony = 0
county = 60
duchy = 60
kingdom = 48
county = 120
duchy = 120
kingdom = 60
empire = 48
hegemony = 24
hegemony = 12
}
sort_order = 80
is_shown = {
has_spiritual_fulfillment_type = christian_fulfillment
has_fulfillment_parameter = sp_act_of_devotion_decision
has_pam_dlc_trigger = yes
is_landless_adventurer = no
}
@ -228,10 +231,10 @@ pam_mentor_sp_decision = {
ai_check_interval_by_tier = {
barony = 0
county = 24
duchy = 24
kingdom = 12
empire = 12
county = 120
duchy = 120
kingdom = 60
empire = 24
hegemony = 12
}
@ -239,6 +242,7 @@ pam_mentor_sp_decision = {
is_shown = {
has_spiritual_fulfillment_type = christian_fulfillment
has_fulfillment_parameter = sp_mentor_in_sp
has_pam_dlc_trigger = yes
}
@ -362,8 +366,8 @@ pam_establish_theocratic_dynasty_decision = {
ai_check_interval_by_tier = {
barony = 0
county = 0
duchy = 48
kingdom = 24
duchy = 120
kingdom = 60
empire = 12
hegemony = 12
}
@ -429,6 +433,7 @@ pam_convert_to_theocracy_decision = {
reference = "gfx/interface/illustrations/decisions/decision_personal_religious.dds"
}
decision_group_type = realm
sort_order = 40
desc = pam_convert_to_theocracy_decision_desc
selection_tooltip = pam_convert_to_theocracy_decision_tooltip
@ -635,6 +640,7 @@ pam_convert_theocracy_to_feudal_decision = {
reference = "gfx/interface/illustrations/decisions/decision_realm.dds"
}
decision_group_type = realm
sort_order = 40
desc = pam_convert_theocracy_to_feudal_decision_desc
selection_tooltip = pam_convert_theocracy_to_feudal_decision_tooltip
@ -683,7 +689,7 @@ pam_convert_theocracy_to_feudal_decision = {
culture = { has_cultural_pillar = ethos_stoic }
culture = { has_cultural_tradition = tradition_legalistic }
has_realm_law = church_authority_3
capital_county = { development_level > medium_development_level }
capital_county = { prosperity_level > medium_prosperity_level }
dynasty ?= { has_dynasty_perk = law_legacy_5 }
dynasty ?= { has_dynasty_perk = erudition_legacy_5 }
NOT = { has_trait = zealous }
@ -792,9 +798,7 @@ pam_kowtow_to_pope_decision = {
is_shown = {
exists = top_participant_group:the_christian_church
situation:the_christian_church ?= {
situation_current_phase = investiture_crisis
}
situation:the_christian_church ?= { situation_current_phase = investiture_crisis }
government_is_religious_trigger = no
is_christian_trigger = yes
has_pam_dlc_trigger = yes
@ -836,6 +840,20 @@ pam_kowtow_to_pope_decision = {
modifier = grateful_opinion
opinion = 20
}
if = {
limit = {
is_ghibelline_leader_trigger = yes
faith = { religious_head_title ?= title:k_papal_state }
NOT = { has_trait = excommunicated }
pam_is_antipope_sponsor_trigger = no
}
gg_reconciliation_catalyst_effect = {
ACTOR = root
RECIPIENT = faith.religious_head
CATALYST = catalyst_gg_submission_to_pope
ONCE_A_YEAR = no
}
}
}
send_interface_toast = {
type = event_toast_effect_good
@ -848,6 +866,8 @@ pam_kowtow_to_pope_decision = {
}
ai_potential = {
situation:the_christian_church ?= { situation_current_phase = investiture_crisis }
religion ?= religion:christianity_religion
has_pam_dlc_trigger = yes
government_is_religious_trigger = no
}
@ -883,6 +903,7 @@ pam_determine_patron_saint_decision = {
# Christian specific
is_christian_trigger = yes
NOT = { has_variable = pam_chose_patron_saint_var }
has_personal_tenet_flag = tenet_dulia_can_select_patron_saint
has_pam_dlc_trigger = yes
}
@ -998,8 +1019,8 @@ pam_determine_patron_saint_decision = {
ai_check_interval_by_tier = {
barony = 0
county = 96
duchy = 96
county = 120
duchy = 120
kingdom = 96
empire = 96
hegemony = 96
@ -1216,15 +1237,15 @@ create_hof_decision = {
}
ai_potential = {
faith ?= {
NOT = { exists = religious_head }
OR = { has_doctrine_parameter = spiritual_head_of_faith has_doctrine_parameter = temporal_head_of_faith }
}
is_adult = yes
# Defer to a same-faith liege; they should be the one establishing the HoF
OR = {
top_liege = this
NOT = {
any_liege_or_above = {
faith = root.faith
}
}
NOT = { any_liege_or_above = { faith = root.faith } }
}
}
@ -1233,6 +1254,337 @@ create_hof_decision = {
}
}
#TODO_PAM: Test debug decision, remove if no longer needed as demo
start_test_select_rite = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_personal_religious.dds"
}
decision_group_type = debug
ai_check_interval_by_tier = {
barony = 0
county = 0
duchy = 0
kingdom = 0
empire = 0
hegemony = 0
}
sort_order = 110
is_shown = {
always = no # Disabled from GDP onwards
}
is_valid = {
scope:selected_item ?= { exists = this }
}
is_valid_showing_failures_only = {
always = yes
}
cooldown = { years = 0 }
effect = {
scope:actor = {
set_character_rite = scope:selected_item
}
}
ai_potential = {
always = yes
}
ai_will_do = {
base = 1000
}
widget = {
gui = "decision_view_widget_select_rite"
controller = select_scope_object
show_from_start = no
setup_items = {
scope:actor = {
every_available_rite = {
limit = {
scope:actor.rite != this
}
add_to_list = item_list
}
}
}
default_item = {
scope:actor = {
rite = {
save_scope_as = selected_item
}
}
}
ai_item_will_do = {
value = 100
if = {
limit = {
"divergence(faith.main_rite)" >= minor_rite_divergence_value
}
add = 50
}
}
}
}
#TODO_PAM: Test debug decision, remove if no longer needed as demo
start_test_select_tenet = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_personal_religious.dds"
}
decision_group_type = debug
ai_check_interval_by_tier = {
barony = 0
county = 0
duchy = 0
kingdom = 0
empire = 0
hegemony = 0
}
sort_order = 110
is_shown = {
always = no # Disabled from GDP onwards
}
is_valid = {
always = yes
}
is_valid_showing_failures_only = {
exists = scope:selected_item
}
cooldown = { years = 0 }
effect = {
scope:actor = {
every_personal_tenet = {
scope:actor = {
remove_personal_tenet = prev
}
}
set_personal_tenet = scope:selected_item
pam_remove_forbidden_personal_tenet_secret_if_invalid_effect = yes
}
}
ai_potential = {
always = yes
}
ai_will_do = {
base = 1000
}
widget = {
gui = "decision_view_widget_select_tenet"
controller = select_scope_object
show_from_start = yes
decision_to_second_step_button = "SELECT"
setup_items = {
scope:actor = {
every_character_tenet = {
knowledge_filter = known
add_to_list = item_list
}
}
}
default_item = {
scope:actor = {
random_personal_tenet = {
save_scope_as = selected_item
}
}
}
is_item_valid = {
this != tenet:tenet_confession
}
ai_select_item = {
scope:actor = {
random_personal_tenet = {
save_scope_as = selected_item
}
}
}
}
}
#TODO_PAM: Test debug decision, remove if no longer needed as demo
start_test_select_character = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_personal_religious.dds"
}
decision_group_type = debug
is_shown = {
debug_only = yes
}
ai_check_interval_by_tier = {
barony = 0
county = 0
duchy = 0
kingdom = 0
empire = 0
hegemony = 0
}
sort_order = 110
is_valid = {
always = yes
}
is_valid_showing_failures_only = {
exists = scope:selected_item
}
cooldown = { years = 0 }
effect = {
scope:selected_item = {
add_trait = saint
}
}
ai_potential = {
always = yes
}
ai_will_do = {
base = 1000
}
widget = {
gui = "decision_view_widget_select_character"
controller = select_scope_object
show_from_start = yes
decision_to_second_step_button = "SELECT"
setup_items = {
scope:actor = {
every_ancestor = {
even_if_dead = yes
limit = {
is_alive = no
NOT = { has_trait = saint }
}
add_to_list = item_list
}
}
}
default_item = {
scope:actor = {
random_ancestor = {
even_if_dead = yes
limit = {
is_alive = no
NOT = { has_trait = saint }
}
save_scope_as = selected_item
}
}
}
is_item_valid = {
is_alive = no
}
ai_select_item = {
scope:actor = {
random_ancestor = {
even_if_dead = yes
limit = {
is_alive = no
NOT = { has_trait = saint }
}
save_scope_as = selected_item
}
}
}
}
}
#TODO_PAM: Test debug decision, remove if no longer needed as demo
start_test_select_kingdom = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_personal_religious.dds"
}
decision_group_type = debug
ai_check_interval_by_tier = {
barony = 0
county = 0
duchy = 0
kingdom = 0
empire = 0
hegemony = 0
}
sort_order = 110
is_shown = {
always = no # Disabled from GDP onwards
}
is_valid = {
always = yes
}
is_valid_showing_failures_only = {
always = yes
}
cooldown = { years = 0 }
effect = {}
ai_potential = {
always = yes
}
ai_will_do = {
base = 1000
}
widget = {
controller = select_kingdom_title
title_valid = {
# Title must have real land under it
exists = capital_vassal.capital_vassal
# At least 5 de-jure counties must be hostile to our faith
any_in_de_jure_hierarchy = {
continue = { tier > tier_county }
tier = tier_county
count >= 5
scope:ruler.faith.main_rite = {
is_hostile_enough_for_holy_war_trigger = { RITE = prev.holder.top_liege.rite }
}
}
}
}
}
# Levy the Tithes
pam_levy_the_tithes_decision = {
picture = {
@ -1260,9 +1612,14 @@ pam_levy_the_tithes_decision = {
}
is_shown = {
is_landless_adventurer = no
is_landless_merchant = no
any_character_situation = { # You are part of the Christian Situation
situation_type = the_christian_church
}
top_participant_group:the_christian_church ?= {
has_participant_group_parameter = the_christian_church_levy_the_tithes_decision
}
has_pam_dlc_trigger = yes
is_clergy = no
is_ruler = yes
@ -1339,15 +1696,16 @@ pam_send_legatine_mission_decision = {
barony = 0
county = 0
duchy = 0
kingdom = 24
empire = 12
kingdom = 60
empire = 24
hegemony = 12
}
is_shown = {
is_clergy = yes
any_sub_realm_county = {
always = yes
is_landed = yes
top_participant_group:the_christian_church ?= {
has_participant_group_parameter = the_christian_church_legatine_mission
}
has_pam_dlc_trigger = yes
is_ruler = yes
@ -1420,13 +1778,13 @@ pam_send_legatine_mission_decision = {
}
if = {
limit = {
development_level <= bad_development_level
prosperity_level <= bad_prosperity_level
}
add = 10
}
if = {
limit = {
county_control <= 50
county_control < county_control_baseline
}
add = 50
}
@ -3109,9 +3467,9 @@ pam_promulgate_word_of_pious_deeds_decision = {
ai_check_interval_by_tier = {
barony = 0
county = 24
duchy = 24
kingdom = 12
county = 120
duchy = 120
kingdom = 24
empire = 12
hegemony = 12
}
@ -3119,6 +3477,7 @@ pam_promulgate_word_of_pious_deeds_decision = {
sort_order = 110
is_shown = {
domicile ?= { has_domicile_parameter = unlocks_pam_propagate_word_of_my_piety_decision }
pam_can_hold_cardinalate_trigger = yes
is_clergy = yes
has_spiritual_fulfillment_type = christian_fulfillment
@ -3425,7 +3784,7 @@ pam_declare_rite_heresy_decision = {
selection_tooltip = pam_declare_rite_heresy_decision_tooltip
confirm_text = pam_declare_rite_heresy_decision_confirm
sort_order = 108
sort_order = 50
ai_check_interval_by_tier = {
barony = 0
@ -3640,7 +3999,7 @@ pam_permit_tenet_decision = {
selection_tooltip = pam_permit_tenet_decision_tooltip
confirm_text = pam_permit_tenet_decision_confirm
sort_order = 110
sort_order = 50
ai_check_interval_by_tier = {
barony = 0
@ -3743,7 +4102,26 @@ pam_permit_tenet_decision = {
ai_select_item = {
scope:actor = {
if = { # A tenet the faith adores gets sanctioned whether or not the Head of Faith cares for it
if = { # A tenet intrinsic to the faith is restored before anything else is sanctioned
limit = {
any_character_tenet = {
knowledge_filter = known
pam_tenet_can_be_permitted_trigger = yes
pam_tenet_ai_should_permit_intrinsic_trigger = { CHARACTER = scope:actor }
}
}
ordered_character_tenet = {
knowledge_filter = known
limit = {
pam_tenet_can_be_permitted_trigger = yes
pam_tenet_ai_should_permit_intrinsic_trigger = { CHARACTER = scope:actor }
}
order_by = pam_raw_tenet_popularity_value
position = 0
save_scope_as = selected_item
}
}
else_if = { # A tenet the faith adores gets sanctioned whether or not the Head of Faith cares for it
limit = {
any_character_tenet = {
knowledge_filter = known
@ -3776,6 +4154,10 @@ pam_permit_tenet_decision = {
modifier = {
add = pam_tenet_popularity_impact_value
}
modifier = {
factor = anathema_to_faith_ai_weight_factor
tenet_is_anathema_to_faith_trigger = { FAITH = scope:actor.faith }
}
}
save_scope_as = selected_item
}
@ -3791,6 +4173,10 @@ pam_permit_tenet_decision = {
religion = religion:eastern_orthodox_religion
}
OR = {
any_character_tenet = {
knowledge_filter = known
pam_tenet_ai_should_permit_intrinsic_trigger = { CHARACTER = root }
}
any_desired_tenet = {
only_positive = yes
threshold = 1
@ -3971,6 +4357,25 @@ pam_prohibit_tenet_decision = {
save_scope_as = selected_item
}
}
else_if = { # An anathema the faith permits is struck down next
limit = {
any_character_tenet = {
knowledge_filter = known
pam_tenet_can_be_prohibited_trigger = yes
pam_tenet_ai_should_prohibit_anathema_trigger = { CHARACTER = scope:actor }
}
}
ordered_character_tenet = {
knowledge_filter = known
limit = {
pam_tenet_can_be_prohibited_trigger = yes
pam_tenet_ai_should_prohibit_anathema_trigger = { CHARACTER = scope:actor }
}
order_by = pam_raw_tenet_popularity_value
position = 0
save_scope_as = selected_item
}
}
else = {
random_undesired_tenet = {
limit = {
@ -4006,6 +4411,11 @@ pam_prohibit_tenet_decision = {
pam_tenet_can_be_prohibited_no_actor_trigger = yes
pam_tenet_ai_should_purge_trigger = { CHARACTER = root }
}
any_character_tenet = {
knowledge_filter = known
pam_tenet_can_be_prohibited_no_actor_trigger = yes
pam_tenet_ai_should_prohibit_anathema_trigger = { CHARACTER = root }
}
any_undesired_tenet = {
known_tenets = yes
only_negative = yes
@ -4827,6 +5237,8 @@ pam_persecute_tenet_decision = {
}
is_shown = {
is_landless_adventurer = no
is_landless_merchant = no
has_tenet_popularity_trigger = yes
is_playable_character = yes
has_pam_dlc_trigger = yes
@ -5079,6 +5491,7 @@ consecrate_kingdom_decision = {
}
is_landed_or_landless_administrative = yes
is_confederation_member = no
NOT = { government_has_flag = government_is_republic }
OR = {
exists = rite.head_of_rite
exists = faith.religious_head
@ -6072,7 +6485,7 @@ pam_invite_syncretic_exiles_decision = {
limit = {
pam_personal_syncretism_exile_rite_trigger = yes
}
order_by = var:converted_development
order_by = var:converted_prosperity
save_scope_as = target_rite
}
}
@ -6306,7 +6719,7 @@ pam_personal_sacrifice_of_wealth_decision = {
ai_item_will_do = {
value = 10
if = {
limit = { development_level <= bad_development_level }
limit = { prosperity_level <= bad_prosperity_level }
add = 50
}
if = {
@ -6350,7 +6763,7 @@ pam_personal_sacrifice_of_wealth_decision = {
}
modifier = {
factor = 0
NOT = { any_sub_realm_county = { development_level <= bad_development_level } }
NOT = { any_sub_realm_county = { prosperity_level <= bad_prosperity_level } }
}
}
}
@ -6420,8 +6833,10 @@ pam_develop_clerical_court_decision = {
}
ai_potential = {
is_available_adult = yes
is_at_war = no
pam_government_is_religious_playable_trigger = yes
short_term_treasury_or_gold >= minor_treasury_or_gold_value
OR = {
any_courtier = { pam_clerical_court_ordain_candidate_trigger = yes }
any_courtier = { pam_clerical_court_pupil_trigger = yes }

View file

@ -635,7 +635,8 @@ pam_extract_relic_decision = {
}
ai_potential = {
always = yes
# Must stay at or below the lowest possible pam_extract_relic_piety_cost, or the AI cannot afford the decision
piety >= 1250
}
ai_will_do = {

View file

@ -2095,11 +2095,16 @@ ai_movement_petition_change_laws_decision = {
}
}
# Renounce Family Title
### Retire from Heading the [ROOT.Char.GetHouse.GetNameNoTooltip] House ###
### Retire from Heading House [ROOT.Char.GetHouse.GetNameNoTooltip] ###
renounce_noble_family_title_decision = {
picture = {
trigger = { tgp_retires_to_eastern_estate_trigger = yes }
reference = "gfx/interface/illustrations/event_scenes/tgp_asia_estate.dds"
}
picture = {
reference = "gfx/interface/illustrations/event_scenes/ep3_medi_estate.dds"
}
sort_order = 85
desc = {
@ -2121,8 +2126,11 @@ renounce_noble_family_title_decision = {
is_shown = {
any_held_title = { is_noble_family_title = yes }
NOT = { religion = religion:buddhism_religion } # Uses tgp_japan_become_a_monk_decision
NOT = { top_liege = root } #This is not a general abdication decision
NOR = {
religion = religion:buddhism_religion # Uses tgp_japan_become_a_monk_decision
top_liege = root # This is not a general abdication decision
government_has_flag = government_is_republic
}
is_house_head = yes
is_playable_character = yes
has_tgp_dlc_trigger = yes
@ -2140,15 +2148,22 @@ renounce_noble_family_title_decision = {
current_heir ?= { is_available_ai_adult = yes }
}
}
trigger_if = {
limit = {
OR = {
government_has_flag = government_is_republic
government_has_flag = government_is_administrative
}
}
is_landed = no
}
}
is_valid_showing_failures_only = {
is_available_adult = yes
is_at_war_with_liege = no
trigger_if = {
limit = {
has_realm_law_flag = celestial_retirement_law
}
limit = { has_realm_law_flag = celestial_retirement_law }
tgp_is_above_retirement_age_trigger = { REALM_OWNER = root }
}
}
@ -2162,7 +2177,13 @@ renounce_noble_family_title_decision = {
}
}
show_as_tooltip = {
add_character_modifier = { modifier = ep3_renounced_estate }
if = {
limit = { tgp_retires_to_eastern_estate_trigger = yes }
add_character_modifier = { modifier = ep3_renounced_estate }
}
else = {
add_character_modifier = { modifier = tgp_western_renounced_estate }
}
custom_tooltip = renounce_noble_family_title_decision_tt
if = {
limit = { exists = scope:new_player }

View file

@ -58,7 +58,8 @@ convert_to_mandala_government_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/tgp_decision_mandala.dds"
}
decision_group_type = major
decision_group_type = realm
sort_order = 40
desc = convert_to_mandala_government_decision_desc
ai_check_interval_by_tier = {
@ -248,7 +249,8 @@ assimilate_to_mandala_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/tgp_decision_mandala.dds"
}
decision_group_type = major
decision_group_type = realm
sort_order = 40
desc = {
first_valid = {
triggered_desc = {
@ -273,6 +275,7 @@ assimilate_to_mandala_decision = {
}
is_shown = {
is_landed = yes
highest_held_title_tier > tier_barony
overlord ?= { government_has_flag = government_is_mandala }
NAND = {
@ -436,6 +439,7 @@ assimilate_to_mandala_decision = {
this != top_overlord
overlord = { government_has_flag = government_is_mandala }
primary_title.tier > tier_barony
NOT = { government_has_flag = government_is_republic }
#Keep the tributaries Wanua
trigger_if = {
limit = {
@ -524,7 +528,8 @@ mandala_adopt_clan_government_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_realm.dds"
}
decision_group_type = major
decision_group_type = realm
sort_order = 40
desc = mandala_adopt_clan_government_decision_desc
ai_check_interval_by_tier = {
@ -668,7 +673,7 @@ seize_mandala_capital_decision = {
any_sub_realm_barony = {
title_province ?= {
has_building_with_flag = mandala_capital_building
has_ruined_great_building = no
has_ruined_great_district = no
}
kingdom ?= root.capital_county.kingdom
}
@ -689,7 +694,7 @@ seize_mandala_capital_decision = {
kingdom = root.capital_county.kingdom
title_province = {
has_building_with_flag = mandala_capital_building
has_ruined_great_building = no
has_ruined_great_district = no
}
}
}
@ -698,7 +703,7 @@ seize_mandala_capital_decision = {
kingdom = root.capital_county.kingdom
title_province = {
has_building_with_flag = mandala_capital_building
has_ruined_great_building = no
has_ruined_great_district = no
}
}
holder = { save_scope_as = previous_holder }

View file

@ -21,9 +21,15 @@ visit_silk_road_market_decision = {
is_shown = {
exists = situation:silk_road_situation
OR = {
any_character_situation = { situation_type = silk_road_situation }
is_ai = no
any_character_situation = { situation_type = silk_road_situation }
}
OR = {
has_tgp_dlc_trigger = yes # All Under Heaven
has_gdp_dlc_trigger = yes # Silk & Silver
}
is_playable_character = yes
#There is no point in showing this decision if you cannot benefit from going at all:
OR = {
silk_road_valid_market_to_visit_trigger = { SUB_REGION = china }
@ -33,14 +39,10 @@ visit_silk_road_market_decision = {
silk_road_valid_market_to_visit_trigger = { SUB_REGION = transcaspia }
silk_road_valid_market_to_visit_trigger = { SUB_REGION = occident }
}
is_playable_character = yes
has_tgp_dlc_trigger = yes
}
is_valid = {
is_adult = yes
gold >= major_gold_value
}
is_valid_showing_failures_only = {
@ -49,6 +51,10 @@ visit_silk_road_market_decision = {
is_incapable = no
}
cost = {
gold = major_gold_value
}
widget = {
gui = "decision_view_widget_option_list_generic"
controller = decision_option_list_controller
@ -62,8 +68,8 @@ visit_silk_road_market_decision = {
is_valid = {
custom_tooltip = {
text = no_building_at_silk_road_market_desc
title:c_jingzhao = { # Chang'an
any_county_province = { has_building_with_flag = silk_road_node }
title:b_zhouzhi.title_province = { # Chang'an
has_building_with_flag = silk_road_node
}
}
custom_tooltip = {
@ -116,8 +122,8 @@ visit_silk_road_market_decision = {
is_valid = {
custom_tooltip = {
text = no_building_at_silk_road_market_desc
title:c_lhasa = {
any_county_province = { has_building_with_flag = silk_road_node }
title:b_potala.title_province = { # Lhasa
has_building_with_flag = silk_road_node
}
}
custom_tooltip = {
@ -170,8 +176,8 @@ visit_silk_road_market_decision = {
is_valid = {
custom_tooltip = {
text = no_building_at_silk_road_market_desc
title:c_lahur = {
any_county_province = { has_building_with_flag = silk_road_node }
title:b_lahur.title_province = { # Lahur
has_building_with_flag = silk_road_node
}
}
custom_tooltip = {
@ -224,8 +230,8 @@ visit_silk_road_market_decision = {
is_valid = {
custom_tooltip = {
text = no_building_at_silk_road_market_desc
title:c_shazhou = { # Dunhuang
any_county_province = { has_building_with_flag = silk_road_node }
title:b_dunhuang_2.title_province = { # Dunhuang
has_building_with_flag = silk_road_node
}
}
custom_tooltip = {
@ -272,14 +278,14 @@ visit_silk_road_market_decision = {
}
}
}
item = { # Khiva
value = c_khiva
item = { # Gurganj
value = c_gurganj
is_shown = { always = yes }
is_valid = {
custom_tooltip = {
text = no_building_at_silk_road_market_desc
title:c_khiva = {
any_county_province = { has_building_with_flag = silk_road_node }
title:b_gurganj.title_province = { # Gurganj
has_building_with_flag = silk_road_node
}
}
custom_tooltip = {
@ -287,7 +293,7 @@ visit_silk_road_market_decision = {
silk_road_valid_market_to_visit_trigger = { SUB_REGION = transcaspia }
}
}
localization = visit_silk_road_market_decision_khiva
localization = visit_silk_road_market_decision_gurganj
icon = "gfx/interface/icons/travel/icon_travel_silk_road_marketplace.dds"
ai_chance = {
value = 1
@ -295,7 +301,7 @@ visit_silk_road_market_decision = {
limit = {
root.location = {
squared_distance = {
target = title:c_khiva.title_province
target = title:c_gurganj.title_province
value <= squared_distance_small
}
}
@ -306,7 +312,7 @@ visit_silk_road_market_decision = {
limit = {
root.location = {
squared_distance = {
target = title:c_khiva.title_province
target = title:c_gurganj.title_province
value <= squared_distance_large
}
}
@ -317,7 +323,7 @@ visit_silk_road_market_decision = {
limit = {
root.location = {
squared_distance = {
target = title:c_khiva.title_province
target = title:c_gurganj.title_province
value > squared_distance_huge
}
}
@ -326,14 +332,14 @@ visit_silk_road_market_decision = {
}
}
}
item = { # Dvin
value = c_dvin
item = { # Tabriz
value = c_tabriz
is_shown = { always = yes }
is_valid = {
custom_tooltip = {
text = no_building_at_silk_road_market_desc
title:c_dvin = {
any_county_province = { has_building_with_flag = silk_road_node }
title:b_tabriz.title_province = { # Tabriz
has_building_with_flag = silk_road_node
}
}
custom_tooltip = {
@ -341,7 +347,7 @@ visit_silk_road_market_decision = {
silk_road_valid_market_to_visit_trigger = { SUB_REGION = occident }
}
}
localization = visit_silk_road_market_decision_dvin
localization = visit_silk_road_market_decision_tabriz
icon = "gfx/interface/icons/travel/icon_travel_silk_road_marketplace.dds"
ai_chance = {
value = 1
@ -349,7 +355,7 @@ visit_silk_road_market_decision = {
limit = {
root.location = {
squared_distance = {
target = title:c_dvin.title_province
target = title:c_tabriz.title_province
value <= squared_distance_small
}
}
@ -360,7 +366,7 @@ visit_silk_road_market_decision = {
limit = {
root.location = {
squared_distance = {
target = title:c_dvin.title_province
target = title:c_tabriz.title_province
value <= squared_distance_large
}
}
@ -371,7 +377,7 @@ visit_silk_road_market_decision = {
limit = {
root.location = {
squared_distance = {
target = title:c_dvin.title_province
target = title:c_tabriz.title_province
value > squared_distance_huge
}
}
@ -383,11 +389,10 @@ visit_silk_road_market_decision = {
}
effect = {
remove_short_term_gold = major_gold_value
switch = {
trigger = yes
scope:c_dvin = { # Dvin
title:c_dvin = { tgp_silk_road_decision_scope_effect = yes }
scope:c_tabriz = { # Tabriz
title:c_tabriz = { tgp_silk_road_decision_scope_effect = yes }
}
scope:c_jingzhao = { # Chang'an
title:c_jingzhao = { tgp_silk_road_decision_scope_effect = yes }
@ -401,8 +406,8 @@ visit_silk_road_market_decision = {
scope:c_lhasa = { # Lhasa
title:c_lhasa = { tgp_silk_road_decision_scope_effect = yes }
}
scope:c_khiva = { # Khiva
title:c_khiva = { tgp_silk_road_decision_scope_effect = yes }
scope:c_gurganj = { # Gurganj
title:c_gurganj = { tgp_silk_road_decision_scope_effect = yes }
}
}
if = {
@ -419,16 +424,22 @@ visit_silk_road_market_decision = {
on_arrival_event = tgp_silk_road_events.0010
travel_with_domicile = no
return_trip = yes
on_travel_planner_cancel_on_action = silk_road_market_visit_travel_planner_cancel_on_action # here comes the refund!
on_travel_planner_cancel_event = tgp_silk_road_events.0011
players_use_planner = yes
#on_arrival_destinations = last
}
}
if = {
limit = { exists = scope:innovation_temp }
custom_tooltip = potential_innovation_at_silk_road_market_desc
limit = { government_has_flag = government_is_merchant }
custom_tooltip = visit_silk_road_market_merchant_rewards_tt
}
else = {
if = {
limit = { exists = scope:innovation_temp }
custom_tooltip = potential_innovation_at_silk_road_market_desc
}
custom_tooltip = travel_silk_road_market_innovation_warning_tt
}
custom_tooltip = travel_silk_road_market_innovation_warning_tt
if = {
limit = {
root.location = {

View file

@ -382,7 +382,8 @@ convert_to_meritocratic_decision = {
picture = {
reference = "gfx/interface/illustrations/event_story/tgp_dynastic_cycle_stability.dds"
}
decision_group_type = major
decision_group_type = realm
sort_order = 40
ai_check_interval_by_tier = {
barony = 0

View file

@ -5,6 +5,7 @@ tribute_mission_decision_mandala = {
reference = "gfx/interface/illustrations/decisions/tgp_projects_mandala_capital.dds"
}
decision_group_type = realm
sort_order = 10
should_create_alert = { always = yes }
@ -13,6 +14,7 @@ tribute_mission_decision_mandala = {
cooldown = { years = 5 }
is_shown = {
NOT = { government_has_flag = government_is_merchant }
is_tributary = yes
suzerain ?= { government_has_flag = government_is_mandala }
}
@ -126,6 +128,8 @@ tribute_mission_decision_mandala = {
}
ai_potential = {
is_tributary = yes
suzerain ?= { government_has_flag = government_is_mandala }
tribute_mission_decision_ai_potential_trigger = { TARGET = suzerain }
}
@ -140,6 +144,7 @@ tribute_mission_decision_china = {
reference = "gfx/interface/illustrations/decisions/tgp_kowtow.dds"
}
decision_group_type = realm
sort_order = 10
should_create_alert = { always = yes }
@ -148,8 +153,9 @@ tribute_mission_decision_china = {
cooldown = { years = 5 }
is_shown = {
is_tributary_or_independent_neighbor_of_hegemon_trigger = { HEGEMON = h_china }
NOT = { government_has_flag = government_is_merchant }
title:h_china ?= { is_title_created = yes }
is_tributary_or_independent_neighbor_of_hegemon_trigger = { HEGEMON = h_china }
}
is_valid_showing_failures_only = {
@ -253,7 +259,8 @@ tribute_mission_decision_china = {
}
ai_potential = {
exists = title:h_china.holder
NOT = { government_has_flag = government_is_merchant }
is_tributary_or_independent_neighbor_of_hegemon_trigger = { HEGEMON = h_china }
tribute_mission_decision_ai_potential_trigger = { TARGET = title:h_china.holder }
}
@ -274,6 +281,7 @@ tribute_mission_decision_roman_empire = {
reference = "gfx/interface/illustrations/decisions/ep3_decision_roman_restoration.dds"
}
decision_group_type = realm
sort_order = 10
should_create_alert = { always = yes }
@ -282,6 +290,7 @@ tribute_mission_decision_roman_empire = {
cooldown = { years = 5 }
is_shown = {
NOT = { government_has_flag = government_is_merchant }
title:h_roman_empire ?= { is_title_created = yes }
is_tributary_or_independent_neighbor_of_hegemon_trigger = { HEGEMON = h_roman_empire }
}
@ -408,6 +417,7 @@ tribute_mission_decision_eastern_roman_empire = {
reference = "gfx/interface/illustrations/decisions/ep3_decision_roman_restoration.dds"
}
decision_group_type = realm
sort_order = 10
should_create_alert = { always = yes }
@ -416,6 +426,7 @@ tribute_mission_decision_eastern_roman_empire = {
cooldown = { years = 5 }
is_shown = {
NOT = { government_has_flag = government_is_merchant }
title:h_eastern_roman_empire ?= { is_title_created = yes }
is_tributary_or_independent_neighbor_of_hegemon_trigger = { HEGEMON = h_eastern_roman_empire }
}
@ -542,6 +553,7 @@ tribute_mission_decision_dar_al_islam = {
reference = "gfx/interface/illustrations/decisions/decision_golden_age.dds"
}
decision_group_type = realm
sort_order = 10
should_create_alert = { always = yes }
@ -550,6 +562,7 @@ tribute_mission_decision_dar_al_islam = {
cooldown = { years = 5 }
is_shown = {
NOT = { government_has_flag = government_is_merchant }
title:h_dar_al_islam ?= { is_title_created = yes }
is_tributary_or_independent_neighbor_of_hegemon_trigger = { HEGEMON = h_dar_al_islam }
}
@ -676,6 +689,7 @@ tribute_mission_decision_india = {
reference = "gfx/interface/illustrations/decisions/decision_golden_age.dds"
}
decision_group_type = realm
sort_order = 10
should_create_alert = { always = yes }
@ -684,6 +698,7 @@ tribute_mission_decision_india = {
cooldown = { years = 5 }
is_shown = {
NOT = { government_has_flag = government_is_merchant }
title:h_india ?= { is_title_created = yes }
is_tributary_or_independent_neighbor_of_hegemon_trigger = { HEGEMON = h_india }
}

View file

@ -6,7 +6,7 @@ wild_goose_chase_decision = {
reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds"
}
is_shown = {
debug_only = yes
always = no # Disabled from GDP onwards
}
is_valid_showing_failures_only = {
@ -132,7 +132,7 @@ adjust_confederation_cohesion_decision = {
change_all_house_relations_decision = {
decision_group_type = debug
is_shown = {
debug_only = yes
always = no # Disabled from GDP onwards
}
picture = {
@ -301,6 +301,7 @@ add_to_steppe_decision = {
is_shown = {
debug_only = yes
government_has_flag = government_is_nomadic
}
is_valid_showing_failures_only = {
always = yes
@ -339,6 +340,7 @@ remove_from_steppe_decision = {
is_shown = {
debug_only = yes
government_has_flag = government_is_nomadic
}
is_valid_showing_failures_only = {
always = yes

View file

@ -0,0 +1,423 @@

### Duchy office districts ###
governance_district = {
primary_building = governance_district_01
#East Asia
background = {
trigger = {
culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
}
reference = "gfx/interface/illustrations/event_scenes/tgp_courtyard_asia.dds"
}
#Fallback
background = {
reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds"
}
type = duchy_capital
can_be_replaced = yes
is_enabled = {
scope:holder = { government_has_flag = government_is_celestial }
can_have_duchy_capital_building_trigger = yes
}
can_construct_potential = {
scope:holder = { government_has_flag = government_is_celestial }
}
show_disabled = yes
buildings = {
examination_hall_01
celestial_great_barracks_01
state_granary_01
dragon_kiln_01
mining_office_01
exchequer_01
minting_court_01
prerogative_chancery_01
reckoning_school_01
feodarys_circuit_01
}
}
assay_district = {
primary_building = assay_district_01
#Fallback
background = {
reference = "gfx/interface/illustrations/event_scenes/gdp_smithy_workshop.dds"
}
type = duchy_capital
can_be_replaced = yes
is_enabled = {
can_have_duchy_capital_building_trigger = yes
}
can_construct_potential = {
scope:holder = {
NOT = { government_has_flag = government_is_celestial }
}
}
show_disabled = yes
buildings = {
mining_office_01
exchequer_01
minting_court_01
prerogative_chancery_01
reckoning_school_01
feodarys_circuit_01
}
}
bailiwick_district = {
primary_building = bailiwick_01
#Fallback
background = {
reference = "gfx/interface/illustrations/event_scenes/fp1_steward_study.dds"
}
type = duchy_capital
can_be_replaced = yes
is_enabled = {
can_have_duchy_capital_building_trigger = yes
}
show_disabled = yes
buildings = {
survey_office_01
verderers_hall_01
colonization_office_01
ducal_chase_01
courts_of_commons_01
}
}
### Unique duchy specials ###
theodosian_walls_01_district = {
primary_building = theodosian_walls_01
#Fallback
background = {
reference = "gfx/interface/illustrations/event_scenes/ep3_constantinople.dds"
}
type = duchy_capital
can_be_replaced = yes
buildings = {
staple_court_01
court_of_the_towns_01
alnagers_office_01
admiralty_court_01
grain_exchange_01
town_liberties_court_01
dragon_kiln_01
}
}
aurelian_walls_01_district = {
primary_building = aurelian_walls_01
#Fallback
background = {
reference = "gfx/interface/illustrations/event_scenes/ep3_city_gate.dds"
}
type = duchy_capital
can_be_replaced = yes
buildings = {
staple_court_01
court_of_the_towns_01
alnagers_office_01
admiralty_court_01
grain_exchange_01
town_liberties_court_01
dragon_kiln_01
}
}
staple_district = {
primary_building = staple_district_01
#East Asia
background = {
trigger = {
culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
}
reference = "gfx/interface/illustrations/event_scenes/tgp_market_asia.dds"
}
#India & MENA
background = {
trigger = {
OR = {
culture ?= { has_graphical_india_culture_group_trigger = yes }
culture ?= { has_graphical_mena_culture_group_trigger = yes }
culture ?= { has_graphical_iranian_culture_group_trigger = yes }
culture ?= { has_graphical_african_culture_group_trigger = yes }
}
}
reference = "gfx/interface/illustrations/event_scenes/market_east.dds"
}
#Mediterranean
background = {
trigger = {
culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
}
reference = "gfx/interface/illustrations/event_scenes/gdp_italian_market.dds"
}
#Steppe & Norse
background = {
trigger = {
OR = {
culture ?= { has_graphical_steppe_culture_group_trigger = yes }
culture ?= { has_graphical_norse_culture_group_trigger = yes }
}
}
reference = "gfx/interface/illustrations/event_scenes/market_tribal.dds"
}
#Western Fallback
background = {
reference = "gfx/interface/illustrations/event_scenes/market_west.dds"
}
type = duchy_capital
can_be_replaced = yes
is_enabled = {
can_have_duchy_capital_building_trigger = yes
}
show_disabled = yes
buildings = {
staple_court_01
court_of_the_towns_01
alnagers_office_01
admiralty_court_01
grain_exchange_01
town_liberties_court_01
dragon_kiln_01
}
}
endowment_district = {
primary_building = endowment_district_01
#Islamic
background = {
trigger = {
faith ?= { religion = religion:islam_religion }
}
reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_mena.dds"
}
#Fallback
background = {
reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_western.dds"
}
type = duchy_capital
can_be_replaced = yes
is_enabled = {
can_have_duchy_capital_building_trigger = yes
}
show_disabled = yes
buildings = {
consistory_01
almonry_general_01
pilgrimage_office_01
burial_site_01
charnel_grounds_01
great_megalith_01
tower_of_silence_01
}
}
military_duchy_capital_district = {
primary_building = military_duchy_building_01
#East Asia
background = {
trigger = {
culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
}
reference = "gfx/interface/illustrations/event_scenes/tgp_camp_asia.dds"
}
#MENA
background = {
trigger = {
OR = {
culture ?= { has_graphical_mena_culture_group_trigger = yes }
culture ?= { has_graphical_iranian_culture_group_trigger = yes }
culture ?= { has_graphical_african_culture_group_trigger = yes }
}
}
reference = "gfx/interface/illustrations/event_scenes/ep3_camp_arid_terrain.dds"
}
#Steppe
background = {
trigger = {
culture ?= { has_graphical_steppe_culture_group_trigger = yes }
}
reference = "gfx/interface/illustrations/event_scenes/mpo_camp_steppe.dds"
}
#Western Fallback
background = {
reference = "gfx/interface/illustrations/event_scenes/genericcamp.dds"
}
type = duchy_capital
can_be_replaced = yes
is_enabled = {
can_have_duchy_capital_building_trigger = yes
}
show_disabled = yes
buildings = {
military_academy_01
march_01
siege_works_01
royal_armory_01
jousting_lists_01
blacksmiths_01
archery_ranges_01
}
}
ducal_residence_district = {
primary_building = ducal_residence_01
#East Asia
background = {
trigger = {
culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
}
reference = "gfx/interface/illustrations/event_scenes/tgp_relaxing_room_asia.dds"
}
#MENA
background = {
trigger = {
OR = {
culture ?= { has_graphical_mena_culture_group_trigger = yes }
culture ?= { has_graphical_iranian_culture_group_trigger = yes }
culture ?= { has_graphical_african_culture_group_trigger = yes }
}
}
reference = "gfx/interface/illustrations/event_scenes/bp1_relaxing_room_mena.dds"
}
#Iberian
background = {
trigger = {
culture ?= { has_graphical_iberian_culture_group_trigger = yes }
}
reference = "gfx/interface/illustrations/event_scenes/fp2_relaxing_room.dds"
}
#Western Fallback
background = {
reference = "gfx/interface/illustrations/event_scenes/ep3_relaxing_room.dds"
}
triggered_name = {
trigger = { county.holder ?= { highest_held_title_tier >= tier_kingdom } }
reference = "royal_residence_district"
}
type = duchy_capital
can_be_replaced = yes
is_enabled = {
can_have_duchy_capital_building_trigger = yes
scope:holder = { household_government_trigger = yes }
}
show_disabled = yes
can_construct_potential = {
scope:holder = { household_government_trigger = yes }
}
buildings = {
leisure_palace_01
royal_garden_01
royal_forest_01
burial_site_01
ducal_chase_01
reception_rooms_1
}
}
# NEOW original definitions, updated for CK3 1.21
# Additional NEOW duchy-capital districts, based on the existing vanilla 1.21 office system.
water_filter_mills_district = {
primary_building = water_filter_mills_01
background = { reference = "gfx/interface/illustrations/event_scenes/gdp_smithy_workshop.dds" }
type = duchy_capital
can_be_replaced = yes
is_enabled = { can_have_duchy_capital_building_trigger = yes }
show_disabled = yes
}
edenic_garden_district = {
primary_building = edenic_garden_01
background = { reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" }
type = duchy_capital
can_be_replaced = yes
is_enabled = { can_have_duchy_capital_building_trigger = yes }
can_construct_potential = {
scope:holder = { rite = { rite_has_parameter = can_build_edenic_garden } }
}
show_disabled = yes
}
# Thelemic pyramids: unique duchy-capital building unlocked by the rite.
thelemic_pyramids_district = {
primary_building = thelemic_pyramids_01
background = { reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" }
type = duchy_capital
can_be_replaced = yes
can_construct_potential = {
scope:holder = { rite = { rite_has_parameter = can_build_pyramids } }
}
is_enabled = {
can_have_duchy_capital_building_trigger = yes
county.rite = { rite_has_parameter = can_build_pyramids }
}
show_disabled = yes
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -97,10 +97,11 @@ farmstead_main_02 = {
camp_unlocks_second_officer = yes
reduce_success_of_raid_estate = yes
estate_increase_house_member_investment_cap_1 = yes
monthly_barter_goods = 1.2
}
character_modifier = {
monthly_barter_goods = 1.2
domicile_monthly_gold_add = 0.25
domicile_external_slots_capacity_add = 1
men_at_arms_cap = 1

View file

@ -1,4 +1,12 @@

@camp_building_internal_slot_construction_duration_t2 = 240
@camp_building_main_slot_construction_duration_t1 = 180
@camp_building_main_slot_construction_duration_t2 = 210
@camp_building_main_slot_construction_duration_t3 = 240
@camp_building_main_slot_construction_duration_t4 = 300
@camp_building_main_slot_construction_duration_t5 = 360
@camp_building_main_slot_construction_duration_t6 = 420
minority_community_main_01 = {
slot_type = main
internal_slots = 2
@ -99,10 +107,11 @@ minority_community_main_02 = {
camp_unlocks_second_officer = yes
reduce_success_of_raid_estate = yes
estate_increase_house_member_investment_cap_1 = yes
monthly_barter_goods = 1.2
}
character_modifier = {
monthly_barter_goods = 1.2
domicile_monthly_gold_add = 0.25
domicile_external_slots_capacity_add = 1
men_at_arms_cap = 1

View file

@ -20,25 +20,25 @@ palace = {
}
if = {
limit = {
domicile ?= { has_domicile_building_or_higher = estate_main_05 }
domicile ?= { has_domicile_building_or_higher = palace_main_05 }
}
add = 80
}
else_if = {
limit = {
domicile ?= { has_domicile_building_or_higher = estate_main_04 }
domicile ?= { has_domicile_building_or_higher = palace_main_04 }
}
add = 60
}
else_if = {
limit = {
domicile ?= { has_domicile_building_or_higher = estate_main_03 }
domicile ?= { has_domicile_building_or_higher = palace_main_03 }
}
add = 40
}
else_if = {
limit = {
domicile ?= { has_domicile_building_or_higher = estate_main_02 }
domicile ?= { has_domicile_building_or_higher = palace_main_02 }
}
add = 20
}

View file

@ -1677,7 +1677,6 @@ deledda_dynasty = {
}
dynn_britannia_fitsosbern = {
prefix = "dynnp_de"
name = dynn_fitsosbern
culture = angler
}

View file

@ -0,0 +1,7 @@
NEOW_restoration_jerusalem = {
background = {
reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_jerusalem.dds"
environment = "environment_jerusalem"
ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jerusalem"
}
}

View file

@ -773,7 +773,7 @@ peasant_faction = {
war_keep_on_attacker_victory = yes
}
}
}
# } # NEOW: closes a disabled historical Roman-restoration conditional
}
leader_leaves = {

View file

@ -126,7 +126,6 @@ action_excommunication_at_risk = {
}
OR = {
has_relation_rival = faith.religious_head
has_relation_nemesis = faith.religious_head
is_at_war_with = faith.religious_head
AND = {
opinion = {
@ -138,7 +137,6 @@ action_excommunication_at_risk = {
NOT = { this = root }
OR = {
has_relation_rival = root
has_relation_nemesis = root
is_at_war_with = root
}
root = { save_temporary_scope_as = secondary_recipient }
@ -155,7 +153,6 @@ action_excommunication_at_risk = {
}
NOR = {
has_relation_rival = faith.religious_head
has_relation_nemesis = faith.religious_head
is_at_war_with = faith.religious_head
}
}
@ -166,7 +163,6 @@ action_excommunication_at_risk = {
limit = {
OR = {
has_relation_rival = faith.religious_head
has_relation_nemesis = faith.religious_head
is_at_war_with = faith.religious_head
}
}
@ -191,7 +187,6 @@ action_excommunication_at_risk = {
NOT = { this = root }
OR = {
has_relation_rival = root
has_relation_nemesis = root
is_at_war_with = root
}
root = { save_temporary_scope_as = secondary_recipient }

View file

@ -193,65 +193,18 @@ e_britannia = { # Great Britain
}
}
}
d_bedford = { # North Thames
color = { 191 9 9 }
capital = c_bedford
d_norfolk = { #East Anglia
color = { 229 71 57 }
capital = c_essex # Cambridge
cultural_names = {
name_list_NEOW_welsh = cn_gogledd_tafwys
name_list_NEOW_breton = cn_tavoez_an_norzh
name_list_NEOW_goidelic = cn_an_tamais_thuaidh
name_list_NEOW_manx = cn_yn_thaimish_twoaie
name_list_brittannic = cn_norf_spc_famys
name_list_scouseg = cn_norf_spc_famys
name_list_prytoneg = cn_norhf_spc_famys
name_list_strafclideg = cn_nort_taimes
name_list_NEOW_cypriot = cn_sofronopoli
}
c_bedford = {
color = { 204 10 10 }
cultural_names = {
name_list_brittannic = cn_byddffordd
name_list_scouseg = cn_byddffordd
name_list_prytoneg = cn_byddfforhdd
name_list_strafclideg = cn_beddfford
}
b_bedford = {
province = 1538
color = { 205 20 15 }
cultural_names = {
name_list_brittannic = cn_byddffordd
name_list_scouseg = cn_byddffordd
name_list_prytoneg = cn_byddfforhdd
name_list_strafclideg = cn_beddfford
}
}
b_ampthill = {
province = 1539
color = { 205 20 15 }
cultural_names = {
name_list_brittannic = cn_ampthyll
name_list_prytoneg = cn_ampthyll
name_list_scouseg = cn_ampthyll
name_list_strafclideg = cn_aimpthill
}
}
b_luton = {
province = 1540
color = { 205 20 15 }
cultural_names = {
name_list_brittannic = cn_lwton
name_list_prytoneg = cn_lwton
name_list_scouseg = cn_llwton
name_list_strafclideg = cn_lwton
}
}
name_list_NEOW_welsh = cn_dwyrain_anglia
name_list_NEOW_breton = cn_anglia_ar_reter
name_list_brittannic = cn_east_anglya
name_list_prytoneg = cn_east_anglya
name_list_scouseg = cn_east_angllya
name_list_strafclideg = cn_eaist_aingliai
}
c_essex = {
color = { 178 8 8 }
@ -318,66 +271,7 @@ e_britannia = { # Great Britain
name_list_strafclideg = cn_turroc
}
}
}
c_hertfordshire = {
color = { 229 11 11 }
cultural_names = {
name_list_brittannic = cn_hyrtfforddshyry
name_list_prytoneg = cn_hyrtfforhddshyry
name_list_scouseg = cn_hyrtfforddshyry
name_list_strafclideg = cn_hertforddshire
}
b_berkhamsted = { #Watford
province = 1531
color = { 250 35 35 }
cultural_names = {
name_list_brittannic = cn_watffordd
name_list_prytoneg = cn_watfforhdd
name_list_scouseg = cn_watffordd
name_list_strafclideg = cn_waitfordd
}
}
b_saint_albans = { #Stevenage
province = 1532
color = { 250 35 35 }
cultural_names = {
name_list_brittannic = cn_styfynagy
name_list_prytoneg = cn_styfynagy
name_list_scouseg = cn_styfynagy
name_list_strafclideg = cn_stevenaige
}
}
b_hertford = {
province = 1533
color = { 250 35 35 }
cultural_names = {
name_list_brittannic = cn_hyrtffordd
name_list_prytoneg = cn_hyrhtfforhdd
name_list_scouseg = cn_hyrtffordd
name_list_strafclideg = cn_hertfordd
}
}
}
}
d_norfolk = { #East Anglia
color = { 229 71 57 }
capital = c_cambridgeshire # Cambridge
cultural_names = {
name_list_NEOW_welsh = cn_dwyrain_anglia
name_list_NEOW_breton = cn_anglia_ar_reter
name_list_brittannic = cn_east_anglya
name_list_prytoneg = cn_east_anglya
name_list_scouseg = cn_east_angllya
name_list_strafclideg = cn_eaist_aingliai
}
}
c_norfolk = {
color = { 204 63 51 }
@ -439,6 +333,95 @@ e_britannia = { # Great Britain
}
}
}
c_bedford = {
color = { 204 10 10 }
cultural_names = {
name_list_brittannic = cn_byddffordd
name_list_scouseg = cn_byddffordd
name_list_prytoneg = cn_byddfforhdd
name_list_strafclideg = cn_beddfford
}
b_bedford = {
province = 1538
color = { 205 20 15 }
cultural_names = {
name_list_brittannic = cn_byddffordd
name_list_scouseg = cn_byddffordd
name_list_prytoneg = cn_byddfforhdd
name_list_strafclideg = cn_beddfford
}
}
b_ampthill = {
province = 1539
color = { 205 20 15 }
cultural_names = {
name_list_brittannic = cn_ampthyll
name_list_prytoneg = cn_ampthyll
name_list_scouseg = cn_ampthyll
name_list_strafclideg = cn_aimpthill
}
}
b_luton = {
province = 1540
color = { 205 20 15 }
cultural_names = {
name_list_brittannic = cn_lwton
name_list_prytoneg = cn_lwton
name_list_scouseg = cn_llwton
name_list_strafclideg = cn_lwton
}
}
}
c_hertfordshire = {
color = { 229 11 11 }
cultural_names = {
name_list_brittannic = cn_hyrtfforddshyry
name_list_prytoneg = cn_hyrtfforhddshyry
name_list_scouseg = cn_hyrtfforddshyry
name_list_strafclideg = cn_hertforddshire
}
b_berkhamsted = { #Watford
province = 1531
color = { 250 35 35 }
cultural_names = {
name_list_brittannic = cn_watffordd
name_list_prytoneg = cn_watfforhdd
name_list_scouseg = cn_watffordd
name_list_strafclideg = cn_waitfordd
}
}
b_saint_albans = { #Stevenage
province = 1532
color = { 250 35 35 }
cultural_names = {
name_list_brittannic = cn_styfynagy
name_list_prytoneg = cn_styfynagy
name_list_scouseg = cn_styfynagy
name_list_strafclideg = cn_stevenaige
}
}
b_hertford = {
province = 1533
color = { 250 35 35 }
cultural_names = {
name_list_brittannic = cn_hyrtffordd
name_list_prytoneg = cn_hyrhtfforhdd
name_list_scouseg = cn_hyrtffordd
name_list_strafclideg = cn_hertfordd
}
}
}
c_cambridgeshire = {
color = { 255 79 63 }
@ -587,53 +570,51 @@ e_britannia = { # Great Britain
name_list_scouseg = cn_norfampton
name_list_strafclideg = cn_nortaimpton
}
c_warwickshire = {
color = { 7 76 65 }
c_leicestershire = {
color = { 178 52 26 }
cultural_names = {
name_list_NEOW_welsh = cn_swydd_gaerl_y_hat_r
name_list_brittannic = cn_lyysystyrshyry
name_list_prytoneg = cn_lyycystyrhshyrhy
name_list_scouseg = cn_llyycystyrshyry
name_list_NEOW_welsh = cn_swydd_warwick
name_list_brittannic = cn_warwykshyry
name_list_prytoneg = cn_warhwycshyrhy
name_list_scouseg = cn_warwycshyry
name_list_strafclideg = cn_wairwickshire
}
b_leicester = {
province = 1615
color = { 130 5 25 }
b_warwick = {
province = 1603
color = { 190 30 30 }
cultural_names = {
name_list_NEOW_welsh = cn_caerl_y_hat_r
name_list_NEOW_breton = cn_kerlir
name_list_brittannic = cn_lyysystyr
name_list_prytoneg = cn_lyycystyrh
name_list_scouseg = cn_llyycystyr
name_list_brittannic = cn_warwyk
name_list_prytoneg = cn_warhwyc
name_list_scouseg = cn_warwyc
name_list_strafclideg = cn_wairwick
}
}
b_melton = {
province = 1616
color = { 130 5 25 }
b_coventry = {
province = 1604
color = { 190 30 30 }
cultural_names = {
name_list_brittannic = cn_mylton
name_list_prytoneg = cn_mylton
name_list_scouseg = cn_myllton
name_list_brittannic = cn_kovyntry
name_list_prytoneg = cn_covyntrhy
name_list_scouseg = cn_covyntry
name_list_strafclideg = cn_coventri
}
}
}
c_rutland = {
b_rutland = {
province = 1613
color = { 130 5 25 }
b_stratford_on_avon = {
province = 9727
color = { 190 30 30 }
cultural_names = {
name_list_brittannic = cn_rutlandd
name_list_prytoneg = cn_rhutlandd
name_list_scouseg = cn_rutllandd
name_list_strafclideg = cn_rutlaindd
name_list_brittannic = cn_stratffordd_upon_afon
name_list_prytoneg = cn_strhatfforhdd_upon_afon
name_list_scouseg = cn_stratffordd_upon_afon
name_list_strafclideg = cn_straitfordd_upon_avon
}
}
}
}
c_northamptonshire = {
color = { 153 44 22 }
@ -839,6 +820,95 @@ e_britannia = { # Great Britain
}
}
}
c_bedford = {
color = { 204 10 10 }
cultural_names = {
name_list_brittannic = cn_byddffordd
name_list_scouseg = cn_byddffordd
name_list_prytoneg = cn_byddfforhdd
name_list_strafclideg = cn_beddfford
}
b_bedford = {
province = 1538
color = { 205 20 15 }
cultural_names = {
name_list_brittannic = cn_byddffordd
name_list_scouseg = cn_byddffordd
name_list_prytoneg = cn_byddfforhdd
name_list_strafclideg = cn_beddfford
}
}
b_ampthill = {
province = 1539
color = { 205 20 15 }
cultural_names = {
name_list_brittannic = cn_ampthyll
name_list_prytoneg = cn_ampthyll
name_list_scouseg = cn_ampthyll
name_list_strafclideg = cn_aimpthill
}
}
b_luton = {
province = 1540
color = { 205 20 15 }
cultural_names = {
name_list_brittannic = cn_lwton
name_list_prytoneg = cn_lwton
name_list_scouseg = cn_llwton
name_list_strafclideg = cn_lwton
}
}
}
c_hertfordshire = {
color = { 229 11 11 }
cultural_names = {
name_list_brittannic = cn_hyrtfforddshyry
name_list_prytoneg = cn_hyrtfforhddshyry
name_list_scouseg = cn_hyrtfforddshyry
name_list_strafclideg = cn_hertforddshire
}
b_berkhamsted = { #Watford
province = 1531
color = { 250 35 35 }
cultural_names = {
name_list_brittannic = cn_watffordd
name_list_prytoneg = cn_watfforhdd
name_list_scouseg = cn_watffordd
name_list_strafclideg = cn_waitfordd
}
}
b_saint_albans = { #Stevenage
province = 1532
color = { 250 35 35 }
cultural_names = {
name_list_brittannic = cn_styfynagy
name_list_prytoneg = cn_styfynagy
name_list_scouseg = cn_styfynagy
name_list_strafclideg = cn_stevenaige
}
}
b_hertford = {
province = 1533
color = { 250 35 35 }
cultural_names = {
name_list_brittannic = cn_hyrtffordd
name_list_prytoneg = cn_hyrhtfforhdd
name_list_scouseg = cn_hyrtffordd
name_list_strafclideg = cn_hertfordd
}
}
}
}
d_canterbury = { # Kent/The Sunk Ports
@ -1210,7 +1280,17 @@ e_britannia = { # Great Britain
name_list_prytoneg = cn_wyltshyrhy
name_list_scouseg = cn_wylltshyry
}
b_wilton = { #Trowbridge
province = 1562
color = { 250 55 15 }
cultural_names = {
name_list_brittannic = cn_trowbryddgy
name_list_prytoneg = cn_trhowbrhyddgy
name_list_scouseg = cn_trowbryddgy
name_list_strafclideg = cn_trowbriddge
}
}
b_salisbury = {
province = 1561
color = { 250 55 15 }
@ -1224,17 +1304,6 @@ e_britannia = { # Great Britain
name_list_strafclideg = cn_sailisburi
}
}
b_wilton = { #Trowbridge
province = 1562
color = { 250 55 15 }
cultural_names = {
name_list_brittannic = cn_trowbryddgy
name_list_prytoneg = cn_trhowbrhyddgy
name_list_scouseg = cn_trowbryddgy
name_list_strafclideg = cn_trowbriddge
}
}
b_ramsbury = { #Swindon
province = 1563
color = { 250 55 15 }
@ -1379,6 +1448,77 @@ e_britannia = { # Great Britain
}
}
}
c_devon = {
color = { 178 71 116 }
cultural_names = {
name_list_NEOW_welsh = cn_dyfnaint
name_list_NEOW_breton = cn_devnent
name_list_NEOW_cornish = cn_dewnens
name_list_brittannic = cn_ddyfon
name_list_prytoneg = cn_ddyfon
name_list_scouseg = cn_ddyfon
name_list_strafclideg = cn_ddevon
}
ai_primary_priority = {
if = {
limit = {
culture = culture:cornish
}
add = @better_than_the_alternatives_score
}
}
b_exeter = {
province = 1569
color = { 170 60 10 }
cultural_names = {
name_list_NEOW_welsh = cn_caerwysg
name_list_NEOW_breton = cn_keresk
name_list_NEOW_cornish = cn_karesk
name_list_brittannic = cn_eksytyr
name_list_prytoneg = cn_ecsytyrh
name_list_scouseg = cn_ecsytyr
}
}
b_totnes = { # Plymouth
province = 1570
color = { 170 60 10 }
cultural_names = {
name_list_NEOW_welsh = cn_aberplym
name_list_NEOW_cornish = cn_aberplymm
name_list_brittannic = cn_plymouf
name_list_prytoneg = cn_plymouf
name_list_scouseg = cn_pllymouf
name_list_strafclideg = cn_plimout
}
}
b_okehampton = { # Rideford
province = 1571
color = { 170 60 10 }
cultural_names = {
name_list_brittannic = cn_ryddyffordd
name_list_prytoneg = cn_rhyddyfforhdd
name_list_scouseg = cn_ryddyffordd
name_list_strafclideg = cn_riddeford
}
}
b_barnstaple = { # Barnstaple
province = 1572
color = { 170 60 10 }
cultural_names = {
name_list_brittannic = cn_barnstaply
name_list_prytoneg = cn_barhnstaply
name_list_scouseg = cn_barnstaplly
name_list_strafclideg = cn_bairnstaiple
}
}
}
}
d_lincoln = {
@ -1494,77 +1634,6 @@ e_britannia = { # Great Britain
}
}
c_devon = {
color = { 178 71 116 }
cultural_names = {
name_list_NEOW_welsh = cn_dyfnaint
name_list_NEOW_breton = cn_devnent
name_list_NEOW_cornish = cn_dewnens
name_list_brittannic = cn_ddyfon
name_list_prytoneg = cn_ddyfon
name_list_scouseg = cn_ddyfon
name_list_strafclideg = cn_ddevon
}
ai_primary_priority = {
if = {
limit = {
culture = culture:cornish
}
add = @better_than_the_alternatives_score
}
}
b_exeter = {
province = 1569
color = { 170 60 10 }
cultural_names = {
name_list_NEOW_welsh = cn_caerwysg
name_list_NEOW_breton = cn_keresk
name_list_NEOW_cornish = cn_karesk
name_list_brittannic = cn_eksytyr
name_list_prytoneg = cn_ecsytyrh
name_list_scouseg = cn_ecsytyr
}
}
b_totnes = { # Plymouth
province = 1570
color = { 170 60 10 }
cultural_names = {
name_list_NEOW_welsh = cn_aberplym
name_list_NEOW_cornish = cn_aberplymm
name_list_brittannic = cn_plymouf
name_list_prytoneg = cn_plymouf
name_list_scouseg = cn_pllymouf
name_list_strafclideg = cn_plimout
}
}
b_okehampton = { # Rideford
province = 1571
color = { 170 60 10 }
cultural_names = {
name_list_brittannic = cn_ryddyffordd
name_list_prytoneg = cn_rhyddyfforhdd
name_list_scouseg = cn_ryddyffordd
name_list_strafclideg = cn_riddeford
}
}
b_barnstaple = { # Barnstaple
province = 1572
color = { 170 60 10 }
cultural_names = {
name_list_brittannic = cn_barnstaply
name_list_prytoneg = cn_barhnstaply
name_list_scouseg = cn_barnstaplly
name_list_strafclideg = cn_bairnstaiple
}
}
}
c_cornwall = {
color = { 229 91 149 }
@ -1722,6 +1791,52 @@ e_britannia = { # Great Britain
}
}
}
c_leicestershire = {
color = { 178 52 26 }
cultural_names = {
name_list_NEOW_welsh = cn_swydd_gaerl_y_hat_r
name_list_brittannic = cn_lyysystyrshyry
name_list_prytoneg = cn_lyycystyrhshyrhy
name_list_scouseg = cn_llyycystyrshyry
}
b_leicester = {
province = 1615
color = { 130 5 25 }
cultural_names = {
name_list_NEOW_welsh = cn_caerl_y_hat_r
name_list_NEOW_breton = cn_kerlir
name_list_brittannic = cn_lyysystyr
name_list_prytoneg = cn_lyycystyrh
name_list_scouseg = cn_llyycystyr
}
}
b_melton = {
province = 1616
color = { 130 5 25 }
cultural_names = {
name_list_brittannic = cn_mylton
name_list_prytoneg = cn_mylton
name_list_scouseg = cn_myllton
}
}
}
c_rutland = {
b_rutland = {
province = 1613
color = { 130 5 25 }
cultural_names = {
name_list_brittannic = cn_rutlandd
name_list_prytoneg = cn_rhutlandd
name_list_scouseg = cn_rutllandd
name_list_strafclideg = cn_rutlaindd
}
}
}
c_derby = {
color = { 153 72 15 }
@ -2292,7 +2407,20 @@ e_britannia = { # Great Britain
name_list_scouseg = cn_wystmorllandd
name_list_strafclideg = cn_westmorlaindd
}
b_penrith = {
province = 9718
color = { 240 25 25 }
cultural_names = {
name_list_NEOW_welsh = cn_penrhudd
name_list_NEOW_highlander = cn_p_i_grv_orait
name_list_NEOW_goidelic = cn_p_i_grv_orait
name_list_brittannic = cn_pynryf
name_list_prytoneg = cn_pynrhyf
name_list_scouseg = cn_pynryf
name_list_strafclideg = cn_penrit
}
}
b_kendal = {
province = 1637
color = { 210 35 10 }
@ -2326,20 +2454,7 @@ e_britannia = { # Great Britain
name_list_strafclideg = cn_ailston_moor
}
}
b_penrith = {
province = 9718
color = { 240 25 25 }
cultural_names = {
name_list_NEOW_welsh = cn_penrhudd
name_list_NEOW_highlander = cn_p_i_grv_orait
name_list_NEOW_goidelic = cn_p_i_grv_orait
name_list_brittannic = cn_pynryf
name_list_prytoneg = cn_pynrhyf
name_list_scouseg = cn_pynryf
name_list_strafclideg = cn_penrit
}
}
}
}
d_york = {
@ -2936,65 +3051,6 @@ e_britannia = { # Great Britain
}
}
}
c_shropshire = {
color = { 45 229 183 }
cultural_names = {
name_list_NEOW_welsh = cn_swydd_amwythig
name_list_NEOW_cornish = cn_konteth_amwydhek
name_list_brittannic = cn_shropshyry
name_list_prytoneg = cn_shrhopshyrhy
name_list_scouseg = cn_shropshyry
}
b_shrewsbury = {
province = 1646
color = { 241 55 25 }
cultural_names = {
name_list_NEOW_welsh = cn_amwythig
name_list_NEOW_cornish = cn_amwydhek
name_list_brittannic = cn_shrywsbury
name_list_prytoneg = cn_shrhywsburhy
name_list_scouseg = cn_shrywsbury
name_list_strafclideg = cn_shrewsburi
}
}
b_ludlow = {
province = 1647
color = { 241 55 25 }
cultural_names = {
name_list_NEOW_welsh = cn_llwydlo
name_list_brittannic = cn_luddlow
name_list_prytoneg = cn_luddlow
name_list_scouseg = cn_lluddllow
name_list_strafclideg = cn_luddlow
}
}
b_bishops_castle = { # Westbury
province = 1648
color = { 241 55 25 }
cultural_names = {
name_list_brittannic = cn_wystbury
name_list_prytoneg = cn_wystburhy
name_list_scouseg = cn_wystbury
name_list_strafclideg = cn_westburi
}
}
b_telford = {
province = 9723
color = { 241 55 25 }
cultural_names = {
name_list_brittannic = cn_tylffordd
name_list_prytoneg = cn_tylfforhdd
name_list_scouseg = cn_tyllffordd
name_list_strafclideg = cn_telfordd
}
}
}
c_hereford = { # Herefordshire
color = { 30 153 122 }
@ -3244,7 +3300,7 @@ e_britannia = { # Great Britain
}
d_black_country = { # The Black Country
color = { 10 102 86 }
capital = c_warwickshire
capital = c_birmingham
cultural_names = {
name_list_NEOW_welsh = cn_y_wlad_ddu
@ -3254,6 +3310,12 @@ e_britannia = { # Great Britain
name_list_strafclideg = cn_te_blaick_country
}
c_birmingham= {
cultural_names = {
name_list_brittannic = cn_byrmyngham
name_list_prytoneg = cn_byrhmyngham
name_list_scouseg = cn_byrmyngham
name_list_strafclideg = cn_birminghaim
}
color = { 12 127 108 }
b_birmingham = {
province = 1605
@ -3333,51 +3395,6 @@ e_britannia = { # Great Britain
}
}
}
c_warwickshire = {
color = { 7 76 65 }
cultural_names = {
name_list_NEOW_welsh = cn_swydd_warwick
name_list_brittannic = cn_warwykshyry
name_list_prytoneg = cn_warhwycshyrhy
name_list_scouseg = cn_warwycshyry
name_list_strafclideg = cn_wairwickshire
}
b_warwick = {
province = 1603
color = { 190 30 30 }
cultural_names = {
name_list_brittannic = cn_warwyk
name_list_prytoneg = cn_warhwyc
name_list_scouseg = cn_warwyc
name_list_strafclideg = cn_wairwick
}
}
b_coventry = {
province = 1604
color = { 190 30 30 }
cultural_names = {
name_list_brittannic = cn_kovyntry
name_list_prytoneg = cn_covyntrhy
name_list_scouseg = cn_covyntry
name_list_strafclideg = cn_coventri
}
}
b_stratford_on_avon = {
province = 9727
color = { 190 30 30 }
cultural_names = {
name_list_brittannic = cn_stratffordd_upon_afon
name_list_prytoneg = cn_strhatfforhdd_upon_afon
name_list_scouseg = cn_stratffordd_upon_afon
name_list_strafclideg = cn_straitfordd_upon_avon
}
}
}
c_worcestershire = {
color = { 15 153 130 }
@ -3420,6 +3437,65 @@ e_britannia = { # Great Britain
}
}
}
c_shropshire = {
color = { 45 229 183 }
cultural_names = {
name_list_NEOW_welsh = cn_swydd_amwythig
name_list_NEOW_cornish = cn_konteth_amwydhek
name_list_brittannic = cn_shropshyry
name_list_prytoneg = cn_shrhopshyrhy
name_list_scouseg = cn_shropshyry
}
b_ludlow = {
province = 1647
color = { 241 55 25 }
cultural_names = {
name_list_NEOW_welsh = cn_llwydlo
name_list_brittannic = cn_luddlow
name_list_prytoneg = cn_luddlow
name_list_scouseg = cn_lluddllow
name_list_strafclideg = cn_luddlow
}
}
b_shrewsbury = {
province = 1646
color = { 241 55 25 }
cultural_names = {
name_list_NEOW_welsh = cn_amwythig
name_list_NEOW_cornish = cn_amwydhek
name_list_brittannic = cn_shrywsbury
name_list_prytoneg = cn_shrhywsburhy
name_list_scouseg = cn_shrywsbury
name_list_strafclideg = cn_shrewsburi
}
}
b_bishops_castle = { # Westbury
province = 1648
color = { 241 55 25 }
cultural_names = {
name_list_brittannic = cn_wystbury
name_list_prytoneg = cn_wystburhy
name_list_scouseg = cn_wystbury
name_list_strafclideg = cn_westburi
}
}
b_telford = {
province = 9723
color = { 241 55 25 }
cultural_names = {
name_list_brittannic = cn_tylffordd
name_list_prytoneg = cn_tylfforhdd
name_list_scouseg = cn_tyllffordd
name_list_strafclideg = cn_telfordd
}
}
}
}
d_powys = {
color = { 11 114 80 }

View file

@ -249,7 +249,7 @@ e_caucasia = {
b_ashtarak = { # Ashtarak
province = 8958
color = { 148 124 23 }
color2 = { 255 255 255 }
# color2 removed: invalid CK3 landed-title property in 1.21
}
}
c_gegharkunik = { # Gegharkunik

View file

@ -1031,7 +1031,7 @@ e_finland = {
}
b_uusikaupunki = { # Uusikaupunki
province = 180
ccolor = { 235 245 245 }
color = { 235 245 245 }
cultural_names = {
name_list_NEOW_norwegian=cn_nystad

Some files were not shown because too many files have changed in this diff Show more