scripted triggers

This commit is contained in:
Fishedotjpg 2026-11-18 14:45:30 +00:00
parent 134dc3348b
commit 648b12fbf0
29 changed files with 1559 additions and 1060 deletions

View file

@ -27,6 +27,10 @@ eligible_for_fp2_dynasty_legacies_trigger = {
dynasty.dynast = {
OR = {
game_rule_unrestricted_dynasty_legacies_trigger = yes
any_character_struggle = {
involvement = involved
is_struggle_type = iberian_struggle
}
culture = {
has_cultural_pillar = heritage_iberian
}
@ -358,12 +362,12 @@ fp2_struggle_conciliation_special_cultural_rules_trigger = {
are_holy_wars_disabled_by_struggle_conciliation_trigger = {
has_global_variable = fp2_struggle_conciliation_ending
any_in_global_list = {
variable = fp2_struggle_ending_faith_list
this = scope:attacker.faith
variable = fp2_struggle_ending_culture_list
this = scope:attacker.culture
}
any_in_global_list = {
variable = fp2_struggle_ending_faith_list
this = scope:defender.faith
variable = fp2_struggle_ending_culture_list
this = scope:defender.culture
}
}
@ -651,7 +655,10 @@ fp2_purchase_truce_interaction_soft_requirements_trigger = {
# involvement = involved
# has_struggle_phase_parameter = unlocks_truce_purchasing_interaction
# }
has_perk = defensive_negotiations_perk
AND = {
has_perk = defensive_negotiations_perk
NOT = { government_has_flag = government_is_merchant }
}
culture = { has_cultural_parameter = unlocks_purchase_truce }
has_personal_tenet_flag = tenet_peace_of_god_personal_truce
}