More fixes

This commit is contained in:
Heidesommer 2026-05-28 07:00:37 -04:00
parent f78dbd4986
commit a6f8acc22f
23 changed files with 5790 additions and 1934 deletions

File diff suppressed because it is too large Load diff

View file

@ -3253,36 +3253,36 @@ undirected_great_holy_war = {
force_truce_GHW_defenders_effect = yes
on_declared_war = yes
#Tell non diverting-players about the crazy 4th crusade plan
if = {
limit = {
scope:attacker.faith = { this = faith:roman_catholic }
exists = global_var:byz_claimant_champion
global_var:byz_claimant_champion = {
is_alive = yes
is_ruler = yes
any_character_war = {
using_cb = crusading_claim_cb
}
}
}
global_var:byz_claimant_champion = {
random_character_war = {
limit = {
using_cb = crusading_claim_cb
}
save_scope_as = redirected_crusade
}
}
every_player = {
limit = {
NOT = {
is_attacker_in_war = scope:redirected_crusade
}
ep3_frankokratia_notification_recipient_trigger = yes
}
trigger_event = ep3_frankokratia_events.0031
}
}
# if = {
# limit = {
# scope:attacker.faith = { this = faith:roman_catholic }
# exists = global_var:byz_claimant_champion
# global_var:byz_claimant_champion = {
# is_alive = yes
# is_ruler = yes
# any_character_war = {
# using_cb = crusading_claim_cb
# }
# }
# }
# global_var:byz_claimant_champion = {
# random_character_war = {
# limit = {
# using_cb = crusading_claim_cb
# }
# save_scope_as = redirected_crusade
# }
# }
# every_player = {
# limit = {
# NOT = {
# is_attacker_in_war = scope:redirected_crusade
# }
# ep3_frankokratia_notification_recipient_trigger = yes
# }
# trigger_event = ep3_frankokratia_events.0031
# }
# }
every_player = { #Fluff for attackers/defenders
limit = {
scope:attacker.faith.great_holy_war = {

File diff suppressed because it is too large Load diff

View file

@ -933,18 +933,18 @@ offer_vassalization_interaction = {
}
add = 5
}
modifier = { # FP3 modifier.
desc = GENERIC_YOUR_PIETY_LEVEL_MODIFIER
trigger = { scope:actor = { any_character_struggle = { has_struggle_phase_parameter = piety_level_affects_vassalage_acceptance } } }
add = {
value = {
value = scope:actor.piety_level
subtract = low_piety_level
}
multiply = 10
}
}
#
# modifier = { # FP3 modifier.
# desc = GENERIC_YOUR_PIETY_LEVEL_MODIFIER
# trigger = { scope:actor = { any_character_struggle = { has_struggle_phase_parameter = piety_level_affects_vassalage_acceptance } } }
# add = {
# value = {
# value = scope:actor.piety_level
# subtract = low_piety_level
# }
# multiply = 10
# }
# }
# OPINION INFLUENCE
modifier = {
@ -1334,10 +1334,10 @@ offer_vassalization_interaction = {
remove_character_modifier = event_bonus_to_vassal_accept
}
if = { # FP3
limit = { any_character_struggle = { has_struggle_phase_parameter = offer_vassalization_removes_disloyalty } }
scope:recipient = { remove_trait = disloyal }
}
# if = { # FP3
# limit = { any_character_struggle = { has_struggle_phase_parameter = offer_vassalization_removes_disloyalty } }
# scope:recipient = { remove_trait = disloyal }
# }
}
}
@ -2241,23 +2241,23 @@ grant_independence_interaction = {
custom_tooltip = grant_vassal_independence_interaction_toast_desc
# Struggle Parameter
if = {
limit = {
exists = dynasty
NOT = {
any_held_title = {
is_de_jure_liege_or_above_target = scope:recipient.primary_title
}
}
any_character_struggle = {
involvement = involved
has_struggle_phase_parameter = granting_independence_to_non_dejure_gives_renown
}
}
dynasty = {
add_dynasty_prestige = medium_dynasty_prestige_value
}
}
# if = {
# limit = {
# exists = dynasty
# NOT = {
# any_held_title = {
# is_de_jure_liege_or_above_target = scope:recipient.primary_title
# }
# }
# any_character_struggle = {
# involvement = involved
# has_struggle_phase_parameter = granting_independence_to_non_dejure_gives_renown
# }
# }
# dynasty = {
# add_dynasty_prestige = medium_dynasty_prestige_value
# }
# }
}
}
}
@ -2432,30 +2432,30 @@ grant_independence_interaction = {
}
}
}
add = {
value = 0
if = {
limit = {
scope:actor = {
any_character_struggle = {
phase_has_catalyst = catalyst_independence_from_non_dejure_vassal
}
has_character_flag = agenda_towards_escalation
}
}
add = -50
}
else_if = {
limit = {
scope:actor = {
any_character_struggle = {
phase_has_catalyst = catalyst_independence_from_non_dejure_vassal
}
}
}
add = 100
}
}
# add = {
# value = 0
# if = {
# limit = {
# scope:actor = {
# any_character_struggle = {
# phase_has_catalyst = catalyst_independence_from_non_dejure_vassal
# }
# has_character_flag = agenda_towards_escalation
# }
# }
# add = -50
# }
# else_if = {
# limit = {
# scope:actor = {
# any_character_struggle = {
# phase_has_catalyst = catalyst_independence_from_non_dejure_vassal
# }
# }
# }
# add = 100
# }
# }
}
# Unity modifiers

View file

@ -2192,20 +2192,20 @@ grant_governorship_interaction = {
custom_tooltip = grant_titles_interaction_notification_effect_5
}
else = { custom_tooltip = grant_titles_interaction_notification_effect }
if = {
limit = {
exists = dynasty
is_diff_faith_or_culture_trigger = {
CHAR = scope:recipient
STATUS = involved
}
any_character_struggle = {
involvement = involved
has_struggle_phase_parameter = struggle_grant_titles_diff_faith_culture_gives_prestige
}
}
dynasty = { add_dynasty_prestige = minor_dynasty_prestige_gain }
}
# if = {
# limit = {
# exists = dynasty
# is_diff_faith_or_culture_trigger = {
# CHAR = scope:recipient
# STATUS = involved
# }
# any_character_struggle = {
# involvement = involved
# has_struggle_phase_parameter = struggle_grant_titles_diff_faith_culture_gives_prestige
# }
# }
# dynasty = { add_dynasty_prestige = minor_dynasty_prestige_gain }
# }
remove_variable = lower_count
}
}
@ -2214,38 +2214,38 @@ grant_governorship_interaction = {
hidden_effect = {
# Struggle Catalyst
if = {
limit = {
scope:actor = {
is_diff_faith_or_culture_trigger = {
CHAR = scope:recipient
STATUS = involved
}
any_character_struggle = {
involvement = involved
activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
CHAR = scope:recipient
}
}
}
}
scope:actor = {
every_character_struggle = {
involvement = involved
limit = {
activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
CHAR = scope:recipient
}
}
activate_struggle_catalyst = {
catalyst = catalyst_grant_privilege_to_diff_faith_culture_vassal
character = scope:actor
}
}
}
}
# if = {
# limit = {
# scope:actor = {
# is_diff_faith_or_culture_trigger = {
# CHAR = scope:recipient
# STATUS = involved
# }
# any_character_struggle = {
# involvement = involved
# activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
# CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
# CHAR = scope:recipient
# }
# }
# }
# }
# scope:actor = {
# every_character_struggle = {
# involvement = involved
# limit = {
# activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
# CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
# CHAR = scope:recipient
# }
# }
# activate_struggle_catalyst = {
# catalyst = catalyst_grant_privilege_to_diff_faith_culture_vassal
# character = scope:actor
# }
# }
# }
# }
}
# Achievements.

View file

@ -205,39 +205,39 @@
}
# Improving contract catalyst
if = {
limit = {
scope:recipient.count_obligation_improvements_for_vassal > 0
scope:actor = {
is_diff_faith_or_culture_trigger = {
CHAR = scope:recipient
STATUS = involved
}
any_character_struggle = {
involvement = involved
activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
CHAR = scope:recipient
}
}
}
}
scope:actor = {
every_character_struggle = {
involvement = involved
limit = {
activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
CHAR = scope:recipient
}
}
activate_struggle_catalyst = {
catalyst = catalyst_grant_privilege_to_diff_faith_culture_vassal
character = scope:actor
}
}
}
}
# if = {
# limit = {
# scope:recipient.count_obligation_improvements_for_vassal > 0
# scope:actor = {
# is_diff_faith_or_culture_trigger = {
# CHAR = scope:recipient
# STATUS = involved
# }
# any_character_struggle = {
# involvement = involved
# activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
# CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
# CHAR = scope:recipient
# }
# }
# }
# }
# scope:actor = {
# every_character_struggle = {
# involvement = involved
# limit = {
# activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
# CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
# CHAR = scope:recipient
# }
# }
# activate_struggle_catalyst = {
# catalyst = catalyst_grant_privilege_to_diff_faith_culture_vassal
# character = scope:actor
# }
# }
# }
# }
}
# Enact changes.
@ -507,39 +507,39 @@ vassal_modify_vassal_contract_interaction = {
}
}
# Improving contract catalyst
if = {
limit = {
scope:recipient.count_obligation_improvements_for_vassal > 0
scope:actor = {
is_diff_faith_or_culture_trigger = {
CHAR = scope:recipient
STATUS = involved
}
any_character_struggle = {
involvement = involved
activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
CHAR = scope:recipient
}
}
}
}
scope:actor = {
every_character_struggle = {
involvement = involved
limit = {
activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
CHAR = scope:recipient
}
}
activate_struggle_catalyst = {
catalyst = catalyst_grant_privilege_to_diff_faith_culture_vassal
character = scope:actor
}
}
}
}
# if = {
# limit = {
# scope:recipient.count_obligation_improvements_for_vassal > 0
# scope:actor = {
# is_diff_faith_or_culture_trigger = {
# CHAR = scope:recipient
# STATUS = involved
# }
# any_character_struggle = {
# involvement = involved
# activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
# CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
# CHAR = scope:recipient
# }
# }
# }
# }
# scope:actor = {
# every_character_struggle = {
# involvement = involved
# limit = {
# activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
# CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
# CHAR = scope:recipient
# }
# }
# activate_struggle_catalyst = {
# catalyst = catalyst_grant_privilege_to_diff_faith_culture_vassal
# character = scope:actor
# }
# }
# }
# }
}
# Additional Flavor Titles
@ -956,38 +956,38 @@ admin_liege_modify_vassal_contract_interaction = {
# Improving contract catalyst
if = {
limit = {
scope:recipient.count_obligation_improvements_for_vassal > 0
scope:actor = {
is_diff_faith_or_culture_trigger = {
CHAR = scope:recipient
STATUS = involved
}
any_character_struggle = {
involvement = involved
activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
CHAR = scope:recipient
}
}
}
}
scope:actor = {
every_character_struggle = {
involvement = involved
limit = {
activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
CHAR = scope:recipient
}
}
activate_struggle_catalyst = {
catalyst = catalyst_grant_privilege_to_diff_faith_culture_vassal
character = scope:actor
}
}
}
}
# limit = {
# scope:recipient.count_obligation_improvements_for_vassal > 0
# scope:actor = {
# is_diff_faith_or_culture_trigger = {
# CHAR = scope:recipient
# STATUS = involved
# }
# any_character_struggle = {
# involvement = involved
# activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
# CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
# CHAR = scope:recipient
# }
# }
# }
# }
# scope:actor = {
# every_character_struggle = {
# involvement = involved
# limit = {
# activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
# CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
# CHAR = scope:recipient
# }
# }
# activate_struggle_catalyst = {
# catalyst = catalyst_grant_privilege_to_diff_faith_culture_vassal
# character = scope:actor
# }
# }
# }
# }
}
# Enact changes.
@ -1373,39 +1373,39 @@ admin_vassal_modify_vassal_contract_interaction = {
}
}
# Improving contract catalyst
if = {
limit = {
scope:actor.count_obligation_improvements_for_vassal > 0
scope:recipient = {
is_diff_faith_or_culture_trigger = {
CHAR = scope:actor
STATUS = involved
}
any_character_struggle = {
involvement = involved
activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
CHAR = scope:actor
}
}
}
}
scope:recipient = {
every_character_struggle = {
involvement = involved
limit = {
activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
CHAR = scope:actor
}
}
activate_struggle_catalyst = {
catalyst = catalyst_grant_privilege_to_diff_faith_culture_vassal
character = scope:recipient
}
}
}
}
# if = {
# limit = {
# scope:actor.count_obligation_improvements_for_vassal > 0
# scope:recipient = {
# is_diff_faith_or_culture_trigger = {
# CHAR = scope:actor
# STATUS = involved
# }
# any_character_struggle = {
# involvement = involved
# activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
# CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
# CHAR = scope:actor
# }
# }
# }
# }
# scope:recipient = {
# every_character_struggle = {
# involvement = involved
# limit = {
# activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
# CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
# CHAR = scope:actor
# }
# }
# activate_struggle_catalyst = {
# catalyst = catalyst_grant_privilege_to_diff_faith_culture_vassal
# character = scope:recipient
# }
# }
# }
# }
}
}
@ -1659,39 +1659,39 @@ nomad_liege_modify_vassal_contract_interaction = {
}
# Improving contract catalyst
if = {
limit = {
scope:recipient.count_obligation_improvements_for_vassal > 0
scope:actor = {
is_diff_faith_or_culture_trigger = {
CHAR = scope:recipient
STATUS = involved
}
any_character_struggle = {
involvement = involved
activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
CHAR = scope:recipient
}
}
}
}
scope:actor = {
every_character_struggle = {
involvement = involved
limit = {
activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
CHAR = scope:recipient
}
}
activate_struggle_catalyst = {
catalyst = catalyst_grant_privilege_to_diff_faith_culture_vassal
character = scope:actor
}
}
}
}
# if = {
# limit = {
# scope:recipient.count_obligation_improvements_for_vassal > 0
# scope:actor = {
# is_diff_faith_or_culture_trigger = {
# CHAR = scope:recipient
# STATUS = involved
# }
# any_character_struggle = {
# involvement = involved
# activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
# CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
# CHAR = scope:recipient
# }
# }
# }
# }
# scope:actor = {
# every_character_struggle = {
# involvement = involved
# limit = {
# activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
# CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
# CHAR = scope:recipient
# }
# }
# activate_struggle_catalyst = {
# catalyst = catalyst_grant_privilege_to_diff_faith_culture_vassal
# character = scope:actor
# }
# }
# }
# }
}
# Enact changes.

View file

@ -1372,38 +1372,38 @@
}
# Agenda impact
modifier = {
scope:recipient = {
is_important_or_vip_struggle_character = yes
any_character_struggle = {
involvement = involved
}
}
add = {
value = 0
if = {
limit = {
scope:actor = {
any_character_struggle = {
phase_has_catalyst = catalyst_imprison_important
}
has_character_flag = agenda_towards_escalation
}
}
add = 200
}
else_if = {
limit = {
scope:actor = {
any_character_struggle = {
phase_has_catalyst = catalyst_imprison_important
}
}
}
add = -100
}
}
}
# modifier = {
# scope:recipient = {
# is_important_or_vip_struggle_character = yes
# any_character_struggle = {
# involvement = involved
# }
# }
# add = {
# value = 0
# if = {
# limit = {
# scope:actor = {
# any_character_struggle = {
# phase_has_catalyst = catalyst_imprison_important
# }
# has_character_flag = agenda_towards_escalation
# }
# }
# add = 200
# }
# else_if = {
# limit = {
# scope:actor = {
# any_character_struggle = {
# phase_has_catalyst = catalyst_imprison_important
# }
# }
# }
# add = -100
# }
# }
# }
# modifier = {
# scope:recipient = {
# has_trait = fp3_struggle_supporter
@ -2291,42 +2291,42 @@ ransom_interaction = {
}
# Struggle Agenda
modifier = {
scope:secondary_recipient = {
any_character_struggle = {
involvement = involved
}
}
scope:actor = {
any_character_struggle = {
involvement = involved
}
}
add = {
value = 0
if = {
limit = {
scope:actor = {
any_character_struggle = {
phase_has_catalyst = catalyst_ransom_important
}
has_character_flag = agenda_towards_escalation
}
}
add = -100
}
else_if = {
limit = {
scope:actor = {
any_character_struggle = {
phase_has_catalyst = catalyst_ransom_important
}
}
}
add = 200
}
}
}
# modifier = {
# scope:secondary_recipient = {
# any_character_struggle = {
# involvement = involved
# }
# }
# scope:actor = {
# any_character_struggle = {
# involvement = involved
# }
# }
# add = {
# value = 0
# if = {
# limit = {
# scope:actor = {
# any_character_struggle = {
# phase_has_catalyst = catalyst_ransom_important
# }
# has_character_flag = agenda_towards_escalation
# }
# }
# add = -100
# }
# else_if = {
# limit = {
# scope:actor = {
# any_character_struggle = {
# phase_has_catalyst = catalyst_ransom_important
# }
# }
# }
# add = 200
# }
# }
# }
modifier = { # Do not ransom at war
factor = 0
@ -3385,42 +3385,42 @@ pay_ransom_interaction = {
}
# Struggle Agenda
modifier = {
scope:secondary_recipient = {
any_character_struggle = {
involvement = involved
}
}
scope:actor = {
any_character_struggle = {
involvement = involved
}
}
add = {
value = 0
if = {
limit = {
scope:actor = {
any_character_struggle = {
phase_has_catalyst = catalyst_ransom_important
}
has_character_flag = agenda_towards_escalation
}
}
add = -100
}
else_if = {
limit = {
scope:actor = {
any_character_struggle = {
phase_has_catalyst = catalyst_ransom_important
}
}
}
add = 200
}
}
}
# modifier = {
# scope:secondary_recipient = {
# any_character_struggle = {
# involvement = involved
# }
# }
# scope:actor = {
# any_character_struggle = {
# involvement = involved
# }
# }
# add = {
# value = 0
# if = {
# limit = {
# scope:actor = {
# any_character_struggle = {
# phase_has_catalyst = catalyst_ransom_important
# }
# has_character_flag = agenda_towards_escalation
# }
# }
# add = -100
# }
# else_if = {
# limit = {
# scope:actor = {
# any_character_struggle = {
# phase_has_catalyst = catalyst_ransom_important
# }
# }
# }
# add = 200
# }
# }
# }
evaluate_action_increasing_house_unity = {
VALUE = 100
@ -4718,22 +4718,22 @@ release_from_prison_interaction = {
callous = minor_stress_impact_gain
}
# Struggle impact
if = {
limit = {
any_character_struggle = {
involvement = involved
OR = {
has_struggle_phase_parameter = release_prisoner_diff_culture_gives_prestige
has_struggle_phase_parameter = release_prisoner_diff_faith_gives_prestige
}
}
is_diff_faith_or_culture_trigger = {
CHAR = scope:recipient
STATUS = involved
}
}
add_prestige = medium_prestige_gain
}
# if = {
# limit = {
# any_character_struggle = {
# involvement = involved
# OR = {
# has_struggle_phase_parameter = release_prisoner_diff_culture_gives_prestige
# has_struggle_phase_parameter = release_prisoner_diff_faith_gives_prestige
# }
# }
# is_diff_faith_or_culture_trigger = {
# CHAR = scope:recipient
# STATUS = involved
# }
# }
# add_prestige = medium_prestige_gain
# }
# Struggle Catalyst
# if = {
@ -5928,50 +5928,50 @@ release_from_prison_interaction = {
desc = "DEMAND_ADMIN_NEGATIVE_REASON"
}
# Struggle
modifier = {
trigger = {
scope:demand_conversion = no
scope:renounce_claims = no
scope:banish = no
scope:gain_hook = no
scope:take_vows = no
scope:recruit = no
}
scope:recipient = {
any_character_struggle = {
involvement = involved
}
}
scope:actor = {
any_character_struggle = {
involvement = involved
}
}
add = {
value = 0
if = {
limit = {
scope:recipient = {
any_character_struggle = {
phase_has_catalyst = catalyst_release_important
}
has_character_flag = agenda_towards_escalation
}
}
add = -100
}
else_if = {
limit = {
scope:recipient = {
any_character_struggle = {
phase_has_catalyst = catalyst_release_important
}
}
}
add = 200
}
}
}
# modifier = {
# trigger = {
# scope:demand_conversion = no
# scope:renounce_claims = no
# scope:banish = no
# scope:gain_hook = no
# scope:take_vows = no
# scope:recruit = no
# }
# scope:recipient = {
# any_character_struggle = {
# involvement = involved
# }
# }
# scope:actor = {
# any_character_struggle = {
# involvement = involved
# }
# }
# add = {
# value = 0
# if = {
# limit = {
# scope:recipient = {
# any_character_struggle = {
# phase_has_catalyst = catalyst_release_important
# }
# has_character_flag = agenda_towards_escalation
# }
# }
# add = -100
# }
# else_if = {
# limit = {
# scope:recipient = {
# any_character_struggle = {
# phase_has_catalyst = catalyst_release_important
# }
# }
# }
# add = 200
# }
# }
# }
}
# AI
@ -6139,62 +6139,62 @@ release_from_prison_interaction = {
}
}
# Struggle
modifier = {
trigger = {
scope:demand_conversion = no
scope:renounce_claims = no
scope:banish = no
scope:gain_hook = no
scope:take_vows = no
scope:recruit = no
}
scope:recipient = {
any_character_struggle = {
involvement = involved
}
}
scope:actor = {
any_character_struggle = {
involvement = involved
}
}
add = {
value = 0
if = {
limit = {
scope:actor = {
any_character_struggle = {
phase_has_catalyst = catalyst_release_important
}
has_character_flag = agenda_towards_escalation
}
}
add = -100
}
else_if = {
limit = {
scope:actor = {
any_character_struggle = {
phase_has_catalyst = catalyst_release_important
}
NOT = {
ai_greed >= 25
}
OR = {
ai_compassion > 50
AND = {
ai_compassion > 0
scope:recipient = {
time_in_prison = { years > 1 }
}
}
}
}
}
add = 200
}
}
}
# modifier = {
# trigger = {
# scope:demand_conversion = no
# scope:renounce_claims = no
# scope:banish = no
# scope:gain_hook = no
# scope:take_vows = no
# scope:recruit = no
# }
# scope:recipient = {
# any_character_struggle = {
# involvement = involved
# }
# }
# scope:actor = {
# any_character_struggle = {
# involvement = involved
# }
# }
# add = {
# value = 0
# if = {
# limit = {
# scope:actor = {
# any_character_struggle = {
# phase_has_catalyst = catalyst_release_important
# }
# has_character_flag = agenda_towards_escalation
# }
# }
# add = -100
# }
# else_if = {
# limit = {
# scope:actor = {
# any_character_struggle = {
# phase_has_catalyst = catalyst_release_important
# }
# NOT = {
# ai_greed >= 25
# }
# OR = {
# ai_compassion > 50
# AND = {
# ai_compassion > 0
# scope:recipient = {
# time_in_prison = { years > 1 }
# }
# }
# }
# }
# }
# add = 200
# }
# }
# }
modifier = { # Family Feud
add = -50
scope:actor = {
@ -6364,71 +6364,71 @@ execute_prisoner_interaction = {
}
# Agenda impact
modifier = {
scope:recipient = {
any_character_struggle = {
involvement = involved
}
is_important_or_vip_struggle_character = yes
}
add = {
value = 0
if = {
limit = {
scope:actor = {
any_character_struggle = {
phase_has_catalyst = catalyst_execute_important
}
has_character_flag = agenda_towards_escalation
}
}
add = 200
}
else_if = {
limit = {
scope:actor = {
any_character_struggle = {
phase_has_catalyst = catalyst_execute_important
}
}
}
add = -100
}
}
}
modifier = {
scope:recipient = {
any_character_struggle = {
involvement = involved
}
has_trait = fp3_struggle_supporter
}
add = {
value = 0
if = {
limit = {
scope:actor = {
any_character_struggle = {
phase_has_catalyst = catalyst_execute_supporter
}
has_trait = fp3_struggle_detractor
}
}
add = 200
}
else_if = {
limit = {
scope:actor = {
any_character_struggle = {
phase_has_catalyst = catalyst_execute_supporter
}
}
}
add = -100
}
}
}
# modifier = {
# scope:recipient = {
# any_character_struggle = {
# involvement = involved
# }
# is_important_or_vip_struggle_character = yes
# }
# add = {
# value = 0
# if = {
# limit = {
# scope:actor = {
# any_character_struggle = {
# phase_has_catalyst = catalyst_execute_important
# }
# has_character_flag = agenda_towards_escalation
# }
# }
# add = 200
# }
# else_if = {
# limit = {
# scope:actor = {
# any_character_struggle = {
# phase_has_catalyst = catalyst_execute_important
# }
# }
# }
# add = -100
# }
# }
# }
#
# modifier = {
# scope:recipient = {
# any_character_struggle = {
# involvement = involved
# }
# has_trait = fp3_struggle_supporter
# }
# add = {
# value = 0
# if = {
# limit = {
# scope:actor = {
# any_character_struggle = {
# phase_has_catalyst = catalyst_execute_supporter
# }
# has_trait = fp3_struggle_detractor
# }
# }
# add = 200
# }
# else_if = {
# limit = {
# scope:actor = {
# any_character_struggle = {
# phase_has_catalyst = catalyst_execute_supporter
# }
# }
# }
# add = -100
# }
# }
# }
#Nomads get the special beheading stuff
modifier = {
@ -6560,20 +6560,20 @@ execute_prisoner_interaction = {
}
# Blocked by current struggle phase
custom_tooltip = {
text = struggle_parameter_struggle_cannot_execute_involved_prisoners
NOT = {
scope:actor = {
any_character_struggle = {
involvement = involved
has_struggle_phase_parameter = struggle_cannot_execute_involved_prisoners
is_secondary_character_involvement_involved_trigger = {
CHAR = scope:recipient
}
}
}
}
}
# custom_tooltip = {
# text = struggle_parameter_struggle_cannot_execute_involved_prisoners
# NOT = {
# scope:actor = {
# any_character_struggle = {
# involvement = involved
# has_struggle_phase_parameter = struggle_cannot_execute_involved_prisoners
# is_secondary_character_involvement_involved_trigger = {
# CHAR = scope:recipient
# }
# }
# }
# }
# }
custom_tooltip = {
text = is_currently_being_purged_tt

View file

@ -97,20 +97,20 @@ ask_for_conversion_interaction = {
# If character is converting to the state faith, we add influence
state_faith_conversion_add_piety_effect = yes
scope:actor = {
if = {
limit = {
any_character_struggle = {
involvement = involved
has_struggle_phase_parameter = piety_from_converting_involved_rulers
is_secondary_character_involvement_involved_trigger = {
CHAR = scope:recipient
}
}
}
add_piety = medium_piety_gain
}
}
# scope:actor = {
# if = {
# limit = {
# any_character_struggle = {
# involvement = involved
# has_struggle_phase_parameter = piety_from_converting_involved_rulers
# is_secondary_character_involvement_involved_trigger = {
# CHAR = scope:recipient
# }
# }
# }
# add_piety = medium_piety_gain
# }
# }
}
on_decline = {
@ -270,20 +270,20 @@ ask_for_conversion_courtier_interaction = {
# If character is converting to the state faith, we add influence
state_faith_conversion_add_piety_effect = yes
scope:actor = {
if = {
limit = {
any_character_struggle = {
involvement = involved
has_struggle_phase_parameter = piety_from_converting_involved_rulers
is_secondary_character_involvement_involved_trigger = {
CHAR = scope:recipient
}
}
}
add_piety = medium_piety_gain
}
}
# scope:actor = {
# if = {
# limit = {
# any_character_struggle = {
# involvement = involved
# has_struggle_phase_parameter = piety_from_converting_involved_rulers
# is_secondary_character_involvement_involved_trigger = {
# CHAR = scope:recipient
# }
# }
# }
# add_piety = medium_piety_gain
# }
# }
}
on_decline = {
@ -597,20 +597,20 @@ demand_conversion_interaction = {
}
}
scope:actor = {
if = {
limit = {
any_character_struggle = {
involvement = involved
has_struggle_phase_parameter = piety_from_converting_involved_rulers
is_secondary_character_involvement_involved_trigger = {
CHAR = scope:recipient
}
}
}
add_piety = medium_piety_gain
}
}
# scope:actor = {
# if = {
# limit = {
# any_character_struggle = {
# involvement = involved
# has_struggle_phase_parameter = piety_from_converting_involved_rulers
# is_secondary_character_involvement_involved_trigger = {
# CHAR = scope:recipient
# }
# }
# }
# add_piety = medium_piety_gain
# }
# }
# If we're a clan this interaction affects unity
accept_faith_conversion_add_clan_unity_effect = yes
@ -880,21 +880,21 @@ demand_conversion_vassal_ruler_interaction = {
# If character is converting to the state faith, we add influence
state_faith_conversion_add_piety_effect = yes
scope:actor = {
if = {
limit = {
any_character_struggle = {
involvement = involved
has_struggle_phase_parameter = piety_from_converting_involved_rulers
is_secondary_character_involvement_involved_trigger = {
CHAR = scope:recipient
}
}
}
add_piety = medium_piety_gain
}
}
#
# scope:actor = {
# if = {
# limit = {
# any_character_struggle = {
# involvement = involved
# has_struggle_phase_parameter = piety_from_converting_involved_rulers
# is_secondary_character_involvement_involved_trigger = {
# CHAR = scope:recipient
# }
# }
# }
# add_piety = medium_piety_gain
# }
# }
}
on_decline = {
@ -1328,20 +1328,20 @@ demand_conversion_player_ruler_interaction = {
# If character is converting to the state faith, we add influence
state_faith_conversion_add_piety_effect = yes
scope:actor = {
if = {
limit = {
any_character_struggle = {
involvement = involved
has_struggle_phase_parameter = piety_from_converting_involved_rulers
is_secondary_character_involvement_involved_trigger = {
CHAR = scope:recipient
}
}
}
add_piety = medium_piety_gain
}
}
# scope:actor = {
# if = {
# limit = {
# any_character_struggle = {
# involvement = involved
# has_struggle_phase_parameter = piety_from_converting_involved_rulers
# is_secondary_character_involvement_involved_trigger = {
# CHAR = scope:recipient
# }
# }
# }
# add_piety = medium_piety_gain
# }
# }
}
on_decline = {
@ -7351,20 +7351,20 @@ attempt_conversion_of_local_ruler_interaction = {
}
}
scope:actor = {
if = {
limit = {
any_character_struggle = {
involvement = involved
has_struggle_phase_parameter = piety_from_converting_involved_rulers
is_secondary_character_involvement_involved_trigger = {
CHAR = scope:recipient
}
}
}
add_piety = medium_piety_gain
}
}
# scope:actor = {
# if = {
# limit = {
# any_character_struggle = {
# involvement = involved
# has_struggle_phase_parameter = piety_from_converting_involved_rulers
# is_secondary_character_involvement_involved_trigger = {
# CHAR = scope:recipient
# }
# }
# }
# add_piety = medium_piety_gain
# }
# }
}
on_decline = {

View file

@ -2532,39 +2532,39 @@ learn_language_interaction = {
base = 0
# Struggle
modifier = {
scope:recipient = {
any_character_struggle = {
involvement = involved
phase_has_catalyst = catalyst_learned_new_language_important
}
}
scope:actor = {
any_character_struggle = {
involvement = involved
phase_has_catalyst = catalyst_learned_new_language_important
}
}
add = {
value = 0
if = {
limit = {
scope:actor = {
has_character_flag = agenda_towards_deescalation
}
}
add = 100
}
else_if = {
limit = {
scope:actor = {
has_character_flag = agenda_towards_escalation
}
}
add = -50
}
}
}
# modifier = {
# scope:recipient = {
# any_character_struggle = {
# involvement = involved
# phase_has_catalyst = catalyst_learned_new_language_important
# }
# }
# scope:actor = {
# any_character_struggle = {
# involvement = involved
# phase_has_catalyst = catalyst_learned_new_language_important
# }
# }
# add = {
# value = 0
# if = {
# limit = {
# scope:actor = {
# has_character_flag = agenda_towards_deescalation
# }
# }
# add = 100
# }
# else_if = {
# limit = {
# scope:actor = {
# has_character_flag = agenda_towards_escalation
# }
# }
# add = -50
# }
# }
# }
modifier = { # Focus on befriending if that's the path you've chosen
add = -50

View file

@ -2241,50 +2241,50 @@ purchase_truce_interaction = {
base = 0
# Struggle
modifier = {
trigger_if = {
limit = {
scope:recipient = {
any_character_struggle = {
involvement = involved
}
}
scope:actor = {
any_character_struggle = {
involvement = involved
}
}
}
}
trigger_else = {
always = no
}
add = {
value = 0
if = {
limit = {
scope:recipient = {
any_character_struggle = {
phase_has_catalyst = catalyst_sign_truce_outside_war
}
has_character_flag = agenda_towards_escalation
}
}
add = -50
}
else_if = {
limit = {
scope:recipient = {
any_character_struggle = {
phase_has_catalyst = catalyst_sign_truce_outside_war
}
}
}
add = 100
}
}
desc = AI_STRUGGLE_INTENT
}
# modifier = {
# trigger_if = {
# limit = {
# scope:recipient = {
# any_character_struggle = {
# involvement = involved
# }
# }
# scope:actor = {
# any_character_struggle = {
# involvement = involved
# }
# }
# }
# }
# trigger_else = {
# always = no
# }
# add = {
# value = 0
# if = {
# limit = {
# scope:recipient = {
# any_character_struggle = {
# phase_has_catalyst = catalyst_sign_truce_outside_war
# }
# has_character_flag = agenda_towards_escalation
# }
# }
# add = -50
# }
# else_if = {
# limit = {
# scope:recipient = {
# any_character_struggle = {
# phase_has_catalyst = catalyst_sign_truce_outside_war
# }
# }
# }
# add = 100
# }
# }
# desc = AI_STRUGGLE_INTENT
# }
# Factor up or down based on the sum offered.
## Small.
@ -2579,42 +2579,42 @@ purchase_truce_interaction = {
}
# Struggle
modifier = {
scope:recipient = {
any_character_struggle = {
involvement = involved
}
}
scope:actor = {
any_character_struggle = {
involvement = involved
}
}
add = {
value = 0
if = {
limit = {
scope:actor = {
any_character_struggle = {
phase_has_catalyst = catalyst_sign_truce_outside_war
}
has_character_flag = agenda_towards_escalation
}
}
add = -50
}
else_if = {
limit = {
scope:actor = {
any_character_struggle = {
phase_has_catalyst = catalyst_sign_truce_outside_war
}
}
}
add = 100
}
}
}
# modifier = {
# scope:recipient = {
# any_character_struggle = {
# involvement = involved
# }
# }
# scope:actor = {
# any_character_struggle = {
# involvement = involved
# }
# }
# add = {
# value = 0
# if = {
# limit = {
# scope:actor = {
# any_character_struggle = {
# phase_has_catalyst = catalyst_sign_truce_outside_war
# }
# has_character_flag = agenda_towards_escalation
# }
# }
# add = -50
# }
# else_if = {
# limit = {
# scope:actor = {
# any_character_struggle = {
# phase_has_catalyst = catalyst_sign_truce_outside_war
# }
# }
# }
# add = 100
# }
# }
# }
# Finally, calculate factors.
## Only buy truces from weaker/roughly-equal realms if you're craven have been at war forever.
modifier = {
@ -5350,45 +5350,45 @@ invite_foreign_ruler_to = {
}
# Struggle agenda
modifier = {
desc = AI_STRUGGLE_INTENT
scope:invite_to_feast = yes
scope:recipient = {
any_character_struggle = {
involvement = involved
phase_has_catalyst = catalyst_invite_diff_faith_culture_to_feast
}
}
scope:actor = {
any_character_struggle = {
involvement = involved
phase_has_catalyst = catalyst_invite_diff_faith_culture_to_feast
}
}
NAND = {
scope:actor.faith = scope:recipient.faith
scope:actor.culture = scope:recipient.culture
}
add = {
value = 0
if = {
limit = {
scope:actor = {
has_character_flag = agenda_towards_deescalation
}
}
add = 100
}
else_if = {
limit = {
scope:actor = {
has_character_flag = agenda_towards_escalation
}
}
add = -100
}
}
}
# modifier = {
# desc = AI_STRUGGLE_INTENT
# scope:invite_to_feast = yes
# scope:recipient = {
# any_character_struggle = {
# involvement = involved
# phase_has_catalyst = catalyst_invite_diff_faith_culture_to_feast
# }
# }
# scope:actor = {
# any_character_struggle = {
# involvement = involved
# phase_has_catalyst = catalyst_invite_diff_faith_culture_to_feast
# }
# }
# NAND = {
# scope:actor.faith = scope:recipient.faith
# scope:actor.culture = scope:recipient.culture
# }
# add = {
# value = 0
# if = {
# limit = {
# scope:actor = {
# has_character_flag = agenda_towards_deescalation
# }
# }
# add = 100
# }
# else_if = {
# limit = {
# scope:actor = {
# has_character_flag = agenda_towards_escalation
# }
# }
# add = -100
# }
# }
# }
}
### Performance-enhancement
#ai_potential = {

View file

@ -7232,78 +7232,78 @@ laamp_war_change_sides_interaction = {
}
scope:actor = {
#ROOT is a 4th crusader and should not be one anymore
frankokratia_remove__war_leader_var_effect = yes
#ROOT is not a 4th crusader and should be one
if = {
limit = {
any_character_war = {
using_cb = crusading_claim_cb
any_war_participant = {
this = scope:recipient
}
any_war_participant = {
any_owned_story = {
type = frankokratia_story
NOT = {
any_in_list = {
variable = frankokratia_leaders
this = scope:actor
}
}
}
}
any_war_defender = {
this = scope:actor
}
}
}
random_character_war = {
limit = {
any_war_participant = {
any_owned_story = {
type = frankokratia_story
NOT = {
any_in_list = {
variable = frankokratia_leaders
this = scope:actor
}
}
}
}
any_war_defender = {
this = scope:actor
}
}
random_war_participant = {
limit = {
any_owned_story = {
type = frankokratia_story
NOT = {
any_in_list = {
variable = frankokratia_leaders
this = scope:actor
}
}
}
}
random_owned_story = {
type = frankokratia_story
limit = {
NOT = {
any_in_list = {
variable = frankokratia_leaders
this = scope:actor
}
}
}
add_to_variable_list = {
name = frankokratia_leaders
target = scope:actor
}
}
}
}
}
# frankokratia_remove__war_leader_var_effect = yes
# #ROOT is not a 4th crusader and should be one
# if = {
# limit = {
# any_character_war = {
# using_cb = crusading_claim_cb
# any_war_participant = {
# this = scope:recipient
# }
# any_war_participant = {
# any_owned_story = {
# type = frankokratia_story
# NOT = {
# any_in_list = {
# variable = frankokratia_leaders
# this = scope:actor
# }
# }
# }
# }
# any_war_defender = {
# this = scope:actor
# }
# }
# }
# random_character_war = {
# limit = {
# any_war_participant = {
# any_owned_story = {
# type = frankokratia_story
# NOT = {
# any_in_list = {
# variable = frankokratia_leaders
# this = scope:actor
# }
# }
# }
# }
# any_war_defender = {
# this = scope:actor
# }
# }
# random_war_participant = {
# limit = {
# any_owned_story = {
# type = frankokratia_story
# NOT = {
# any_in_list = {
# variable = frankokratia_leaders
# this = scope:actor
# }
# }
# }
# }
# random_owned_story = {
# type = frankokratia_story
# limit = {
# NOT = {
# any_in_list = {
# variable = frankokratia_leaders
# this = scope:actor
# }
# }
# }
# add_to_variable_list = {
# name = frankokratia_leaders
# target = scope:actor
# }
# }
# }
# }
# }
random_character_war = {
limit = {
OR = {

View file

@ -563,51 +563,51 @@ task_develop_county = {
}
# Struggle Catalyst
if = {
limit = {
exists = scope:county
# target someone from diff faith or culture
scope:county = {
NAND = {
faith = scope:councillor_liege.faith
culture = scope:councillor_liege.culture
}
}
any_character_struggle = {
involvement = involved
phase_has_catalyst = catalyst_improve_development_vassal_diff_faith_culture
}
}
scope:councillor_liege = {
every_character_struggle = {
involvement = involved
activate_struggle_catalyst = {
catalyst = catalyst_improve_development_vassal_diff_faith_culture
character = scope:councillor_liege
}
}
}
# Struggle Parameter
if = {
limit = {
scope:county.culture != scope:councillor_liege.culture
any_character_struggle = {
involvement = involved
has_struggle_phase_parameter = gain_acceptance_when_developing_other_culture_county
}
}
scope:county.culture = {
save_scope_as = current_culture
change_cultural_acceptance = {
target = scope:councillor_liege.culture
value = miniscule_cultural_acceptance_value
desc = cultural_acceptance_gain_from_phase_effects
}
}
}
}
# if = {
# limit = {
# exists = scope:county
# # target someone from diff faith or culture
# scope:county = {
# NAND = {
# faith = scope:councillor_liege.faith
# culture = scope:councillor_liege.culture
# }
# }
#
# any_character_struggle = {
# involvement = involved
# phase_has_catalyst = catalyst_improve_development_vassal_diff_faith_culture
# }
# }
# scope:councillor_liege = {
# every_character_struggle = {
# involvement = involved
# activate_struggle_catalyst = {
# catalyst = catalyst_improve_development_vassal_diff_faith_culture
# character = scope:councillor_liege
# }
# }
# }
# # Struggle Parameter
# if = {
# limit = {
# scope:county.culture != scope:councillor_liege.culture
# any_character_struggle = {
# involvement = involved
# has_struggle_phase_parameter = gain_acceptance_when_developing_other_culture_county
# }
# }
# scope:county.culture = {
# save_scope_as = current_culture
# change_cultural_acceptance = {
# target = scope:councillor_liege.culture
# value = miniscule_cultural_acceptance_value
# desc = cultural_acceptance_gain_from_phase_effects
# }
# }
# }
#
# }
}
else_if = { # fallback for previous save: the effect would trigger a month later
limit = {

View file

@ -342,8 +342,8 @@ WarCasusBelliShort = {
OR = {
using_cb = claim_cb
using_cb = claimant_faction_war
using_cb = norman_conquest_cb
using_cb = norwegian_invasion_cb
# using_cb = norman_conquest_cb
# using_cb = norwegian_invasion_cb
}
}
localization_key = war_memory_cb_claim

View file

@ -275,31 +275,31 @@ convert_to_local_culture_decision = {
}
}
modifier = { # Iberian Struggle modifiers
any_character_struggle = {
involvement = involved
}
add = {
value = 0
if = {
limit = {
any_character_struggle = {
phase_has_catalyst = catalyst_convert_local_culture_faith
}
has_character_flag = agenda_towards_escalation
}
add = -300
}
else_if = { # Slight boost, so players can't exploit landing lots of characters to bump catalyst progress
limit = {
any_character_struggle = {
phase_has_catalyst = catalyst_convert_local_culture_faith
}
}
add = 20
}
}
}
# modifier = { # Iberian Struggle modifiers
# any_character_struggle = {
# involvement = involved
# }
# add = {
# value = 0
# if = {
# limit = {
# any_character_struggle = {
# phase_has_catalyst = catalyst_convert_local_culture_faith
# }
# has_character_flag = agenda_towards_escalation
# }
# add = -300
# }
# else_if = { # Slight boost, so players can't exploit landing lots of characters to bump catalyst progress
# limit = {
# any_character_struggle = {
# phase_has_catalyst = catalyst_convert_local_culture_faith
# }
# }
# add = 20
# }
# }
# }
modifier = { # If you're the same culture as your liege, and your Capital is in a Duchy with your culture in it, never convert
factor = 0

View file

@ -8450,7 +8450,7 @@ village_grazing_land_04 = {
soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_grazing_lands"
}
}
grazing_land_05 = {
village_grazing_land_05 = {
construction_time = 730
allowed_domicile_types = { minority_community farmstead }
previous_building = village_grazing_land_04
@ -8568,10 +8568,10 @@ grazing_land_05 = {
soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_grazing_lands"
}
}
grazing_land_06 = {
village_grazing_land_06 = {
construction_time = 730
allowed_domicile_types = { minority_community farmstead }
previous_building = grazing_land_05
previous_building = village_grazing_land_05
can_construct = {
OR = {

View file

@ -679,7 +679,7 @@ on_siege_looting = {
on_army_enter_province = {
events = {
great_holy_war.0060 # Give Crusaders their trait upon reaching the holy land.
ep3_emperor_yearly.3010 # Byzantine emperor sends fireships to defend the strait of Marmara
# ep3_emperor_yearly.3010 # Byzantine emperor sends fireships to defend the strait of Marmara
game_rule.1021 # Figure out whether we should fire a conclusion event during the Conquest.
}
random_events = {

View file

@ -337,16 +337,16 @@ on_death = {
}
}
if = {
limit = {
exists = global_var:mongol_empire_was_broken_up
exists = global_var:handed_out_mongolia_in_mongol_succession # If Mongolia wasn't properly granted, something has gone wrong, and the primary_heir should receive the Mongol Empire as expected
any_held_title = {
this = title:e_mongol_empire
}
}
destroy_title = title:e_mongol_empire
}
# if = {
# limit = {
# exists = global_var:mongol_empire_was_broken_up
# exists = global_var:handed_out_mongolia_in_mongol_succession # If Mongolia wasn't properly granted, something has gone wrong, and the primary_heir should receive the Mongol Empire as expected
# any_held_title = {
# this = title:e_mongol_empire
# }
# }
# destroy_title = title:e_mongol_empire
# }
# Fix gods-damned Bavaria splitting from East Francia in an ugly fashion in 867.
if = {
@ -1576,48 +1576,48 @@ on_death = {
}
# EP3, Hasan story cycle stuff
if = {
limit = {
root = character:3096
}
save_scope_as = ismaili_caliph
character:41702 ?= {
trigger_event = {
id = hasan_sabbah.1030
days = 1
}
}
}
if = {
limit = {
character:41702 ?= {
any_owned_story = {
type = story_hasan
var:ultimate_foe ?= root
}
}
}
character:41702 = {
random_owned_story = {
type = story_hasan
if = {
limit = {
scope:killer = character:41702
}
hasan_sabbah_end_war = {
HASAN = character:41702
SELJUK = root
}
}
else = {
set_variable = {
name = ultimate_foe
value = root.player_heir
}
}
}
}
}
# if = {
# limit = {
# root = character:3096
# }
# save_scope_as = ismaili_caliph
# character:41702 ?= {
# trigger_event = {
# id = hasan_sabbah.1030
# days = 1
# }
# }
# }
# if = {
# limit = {
# character:41702 ?= {
# any_owned_story = {
# type = story_hasan
# var:ultimate_foe ?= root
# }
# }
# }
# character:41702 = {
# random_owned_story = {
# type = story_hasan
# if = {
# limit = {
# scope:killer = character:41702
# }
# hasan_sabbah_end_war = {
# HASAN = character:41702
# SELJUK = root
# }
# }
# else = {
# set_variable = {
# name = ultimate_foe
# value = root.player_heir
# }
# }
# }
# }
# }
if = {
limit = {
@ -2182,7 +2182,7 @@ on_death = {
fp1_other_decisions.0063 # FP1: designated HumSac has died
fp1_other_decisions.0064 # FP1: remove counties offended by HumSac modifier
bp1_house_feud.9000 # BP1: save rivals on death and fire inheritance on action
ep3_frankokratia_events.0021 #EP3 keep frankokratia leaders in the plot
# ep3_frankokratia_events.0021 #EP3 keep frankokratia leaders in the plot
mpo_nomad_events.1090 #Nomad widow-marrying event
death_management.0123 # Hosue Relations
}

View file

@ -2995,30 +2995,30 @@ on_title_gain_inheritance = {
}
resolve_title_and_vassal_change = scope:change
}
if = {
limit = {
scope:title = {
OR = {
this = title:e_mongol_empire
AND = {
exists = global_var:greatest_of_khans_title
this = global_var:greatest_of_khans_title
}
}
}
has_character_flag = gain_mongol_succession_dread
}
add_dread = 50
}
else_if = {
limit = {
OR = {
scope:title = title:h_roman_empire
scope:title = title:h_eastern_roman_empire
}
}
set_variable = uses_custom_caesar_flavourization
}
# if = {
# limit = {
# scope:title = {
# OR = {
# this = title:e_mongol_empire
# AND = {
# exists = global_var:greatest_of_khans_title
# this = global_var:greatest_of_khans_title
# }
# }
# }
# has_character_flag = gain_mongol_succession_dread
# }
# add_dread = 50
# }
# else_if = {
# limit = {
# OR = {
# scope:title = title:h_roman_empire
# scope:title = title:h_eastern_roman_empire
# }
# }
# set_variable = uses_custom_caesar_flavourization
# }
}
}
@ -3415,25 +3415,25 @@ on_title_lost = {
}
# Struggle catalyst
if = {
limit = {
any_character_struggle = {
involvement = involved
phase_has_catalyst = catalyst_revoke_title
}
OR = {
scope:transfer_type = flag:revoked
scope:transfer_type = flag:lease_revoked
}
}
every_character_struggle = {
activate_struggle_catalyst = {
catalyst = catalyst_revoke_title
character = scope:new_holder
}
}
}
# if = {
# limit = {
# any_character_struggle = {
# involvement = involved
# phase_has_catalyst = catalyst_revoke_title
# }
# OR = {
# scope:transfer_type = flag:revoked
# scope:transfer_type = flag:lease_revoked
# }
# }
# every_character_struggle = {
# activate_struggle_catalyst = {
# catalyst = catalyst_revoke_title
# character = scope:new_holder
# }
# }
# }
#
# Memories
# Lost a significant title
if = {

View file

@ -2909,7 +2909,7 @@ random_yearly_playable_pulse = {
4 = fp2_yearly_events
4 = fp3_yearly_events
2 = bp1_yearly_events
6 = ep3_yearly_events_byzantium
# 6 = ep3_yearly_events_byzantium
6 = ep3_yearly_events_admin
6 = tgp_japan_yearly_events
6 = tgp_china_yearly_events
@ -3010,8 +3010,8 @@ random_yearly_playable_pulse = {
delay = { days = { 181 240 } }
bp2_child_pulse
delay = { days = { 181 240 } }
bp2_parent_guardian_hostage_taker_pulse
delay = { days = { 241 290 } }
# bp2_parent_guardian_hostage_taker_pulse
# delay = { days = { 241 290 } }
bp2_adult_followups
delay = { days = { 291 310 } }
court_scholar_ongoing
@ -3148,24 +3148,24 @@ five_year_everyone_pulse = {
}
# FP2 - Checks to start El Cid's Travels
if = {
limit = { # Am I El Cid?
has_fp2_dlc_trigger = yes
has_ep3_dlc_trigger = no
this = character:107590
NOT = { has_character_flag = has_already_begun_travelling } # Separate first check, for performance
NOT = { # Start date employer is either dead or gone
OR = {
top_liege = character:107500
liege = character:107500
employer = character:107500
}
}
is_available_healthy_ai_adult = yes # Am I ready to go on an adventure?
}
trigger_event = fp2_struggle.2045
}
# if = {
# limit = { # Am I El Cid?
# has_fp2_dlc_trigger = yes
# has_ep3_dlc_trigger = no
# this = character:107590
# NOT = { has_character_flag = has_already_begun_travelling } # Separate first check, for performance
#
# NOT = { # Start date employer is either dead or gone
# OR = {
# top_liege = character:107500
# liege = character:107500
# employer = character:107500
# }
# }
# is_available_healthy_ai_adult = yes # Am I ready to go on an adventure?
# }
# trigger_event = fp2_struggle.2045
# }
#young nobodies getting castrated
if = {
limit = {
@ -3683,7 +3683,7 @@ on_yearly_events = {
150 = fp2_yearly.3001 # Choosing your epitaph
150 = fp2_yearly.3002 # And They Were Roommates
150 = fp2_yearly.3003 # A Flavorful Evening
180 = fp2_struggle.2003 # Band of Lost Birds
# 180 = fp2_struggle.2003 # Band of Lost Birds
#BP1 - Bontent Pack One Events
100 = bp1_yearly.1000 # Best friend introduces you to a new hobby
@ -4098,12 +4098,12 @@ on_yearly_events = {
200 = tgp_movement_events.0160 # Promise Movement leader to not scheme against each other
# TGP - Dynastic Cycle Events
200 = tgp_dynastic_cycle_events.0001 # Tilt the scales towards Advancement
200 = tgp_dynastic_cycle_events.0010 # Disciple has a mental breakdown in Instability
200 = tgp_dynastic_cycle_events.0020 # Rowdy peasants steal food during Instability
200 = tgp_dynastic_cycle_events.0030 # In this time of Expansion you should become a Military Governor
200 = tgp_dynastic_cycle_events.0040 # Steward is interested in the Silk Road
200 = tgp_dynastic_cycle_events.0050 # Debate the Favoured Movement and get ahead of them
# 200 = tgp_dynastic_cycle_events.0001 # Tilt the scales towards Advancement
# 200 = tgp_dynastic_cycle_events.0010 # Disciple has a mental breakdown in Instability
# 200 = tgp_dynastic_cycle_events.0020 # Rowdy peasants steal food during Instability
# 200 = tgp_dynastic_cycle_events.0030 # In this time of Expansion you should become a Military Governor
# 200 = tgp_dynastic_cycle_events.0040 # Steward is interested in the Silk Road
# 200 = tgp_dynastic_cycle_events.0050 # Debate the Favoured Movement and get ahead of them
# TGP - Confucianism Events
250 = tgp_china_yearly.0001 # Charitable Acts

View file

@ -10055,7 +10055,7 @@ ep3_missionary_effect = {
OR = {
$LOCATION$.religion = $PREACHER$.religion
$LOCATION$.faith = { has_doctrine_parameter = unreformed }
character:41702 ?= $PREACHER$
# character:41702 ?= $PREACHER$
}
}
$LOCATION$ = {

View file

@ -213,7 +213,7 @@ culture_is_not_historical_hybrid_trigger = {
#Used to tell if a hybrid culture is one of the historical hybrids or not, mainly in checks for AI hybridization checks related to game rules.
#Expects to be used in culture scope
NOR = {
this = culture:norman
# this = culture:norman
this = culture:maghrebi
this = culture:gaelic
this = culture:anglo_saxon

View file

@ -85,7 +85,7 @@ mpo_greatest_of_khans.0100 = {
limit = {
NOR = {
using_cb = mpo_great_war_of_defiance_cb
using_cb = crusading_claim_cb
# using_cb = crusading_claim_cb
AND = {
primary_defender = prev
NOT = {
@ -114,7 +114,7 @@ mpo_greatest_of_khans.0100 = {
limit = {
NOR = {
using_cb = mpo_great_war_of_defiance_cb
using_cb = crusading_claim_cb
# using_cb = crusading_claim_cb
AND = {
primary_defender = prev
NOT = {
@ -539,7 +539,7 @@ mpo_greatest_of_khans.0101 = {
limit = {
NOR = {
using_cb = mpo_great_war_of_defiance_cb
using_cb = crusading_claim_cb
# using_cb = crusading_claim_cb
AND = {
primary_defender = prev
NOT = {

View file

@ -1566,13 +1566,13 @@ idle = {
should_use_fat_dwarf_animation = no
NOT = { has_trait = pregnant }
}
modifier = {
add = 5000
OR = {
this = character:7757
this = character:41702
}
}
# modifier = {
# add = 5000
# OR = {
# this = character:7757
# this = character:41702
# }
# }
}
portrait_modifier = {
animations = AI_zealous_decal