Trigger Fixes

This commit is contained in:
Thakia 2026-10-13 21:45:07 -03:00
parent 30768edc9c
commit 9591d0f4f6
9 changed files with 130 additions and 490 deletions

View file

@ -3686,7 +3686,7 @@
scope:activity ?= { scope:activity ?= {
activity_location = { NOT = { has_holding_type = church_holding } } activity_location = { NOT = { has_holding_type = church_holding } }
scope:host = { scope:host = {
#show_byzantion_throne_room_background = yes show_byzantion_throne_room_background = yes
} }
has_current_phase = coronation_phase_coronation has_current_phase = coronation_phase_coronation
} }

View file

@ -2632,15 +2632,15 @@ embrace_heresy_decision = {
top_liege ?= { top_liege ?= {
any_realm_county = { any_realm_county = {
OR = { OR = {
faith = { rite = {
faith_is_interesting_heresy_to_state_faith_trigger = yes rite_is_interesting_heresy_to_state_rite_trigger = yes
} }
any_neighboring_county = { any_neighboring_county = {
holder.top_liege ?= { holder.top_liege ?= {
this != root.top_liege this != root.top_liege
} }
faith = { rite = {
faith_is_interesting_heresy_to_state_faith_trigger = yes rite_is_interesting_heresy_to_state_rite_trigger = yes
} }
} }
} }

View file

@ -55,85 +55,25 @@ any_laamp_portion_at_sea_trigger = {
} }
} }
#character_is_valid_for_harrying_of_the_north_trigger = { character_is_valid_for_harrying_of_the_north_trigger = {
# title:k_england.holder ?= { owns_story_of_type = story_cycle_harrying_of_the_north } always = no
# trigger_if = { }
# limit = { is_ruler = yes }
# OR = {
# this = title:k_england.holder
# any_liege_or_above = { this = title:k_england.holder }
# }
# }
# trigger_else = {
# domicile ?= {
# domicile_location = {
# county ?= {
# holder = {
# OR = {
# this = title:k_england.holder
# any_liege_or_above = { this = title:k_england.holder }
# }
# }
# }
# }
# }
# }
# OR = {
# character_is_valid_anglo_saxon_for_harrying_of_the_north_trigger = yes
# character_is_valid_norman_for_harrying_of_the_north_trigger = yes
# }
#}
#character_is_valid_anglo_saxon_for_harrying_of_the_north_trigger = { character_is_valid_anglo_saxon_for_harrying_of_the_north_trigger = {
# culture = { always = no
# OR = { }
# this = culture:anglo_saxon
# any_parent_culture_or_above = { this = culture:anglo_saxon }
# }
# NOR = {
# this = culture:norman
# any_parent_culture_or_above = { this = culture:norman }
# }
# }
#}
#character_is_valid_norman_for_harrying_of_the_north_trigger = { character_is_valid_norman_for_harrying_of_the_north_trigger = {
# culture = { always = no
# OR = { }
# this = culture:norman
# any_parent_culture_or_above = { this = culture:norman }
# }
# NOR = {
# this = culture:anglo_saxon
# any_parent_culture_or_above = { this = culture:anglo_saxon }
# }
# }
#}
#disable_interaction_for_hereward_trigger = { disable_interaction_for_hereward_trigger = {
# trigger_if = { always = no
# limit = { scope:recipient = character:90028 } }
# custom_tooltip = {
# text = owns_a_story_trigger
# scope:puppet_or_actor = {
# NOR = {
# owns_story_of_type = story_cycle_harrying_of_the_north
# any_liege_or_above = { owns_story_of_type = story_cycle_harrying_of_the_north }
# }
# }
# }
# }
#}
#disable_interaction_for_hasan_trigger = { disable_interaction_for_hasan_trigger = {
# trigger_if = { always = no
# limit = { scope:recipient = character:41702 } }
# custom_tooltip = {
# text = owns_a_story_trigger
# scope:recipient = { owns_story_of_type = story_hasan }
# }
# }
#}
laamp_request_likely_marriable_woman_trigger = { laamp_request_likely_marriable_woman_trigger = {
is_available_quick = { is_available_quick = {

View file

@ -244,23 +244,7 @@ launch_hungarian_migration_misplaced_count_suitable_liege_trigger = {
# } # }
#} #}
# #
#hre_valid_prince_elector_trigger = { hre_valid_prince_elector_trigger = {
# is_landed = yes always = no
# faith = root.faith }
# OR = { # must be de-jure vassal of empire
# AND = {
# capital_province.kingdom.holder ?= root
# capital_province.empire != title:e_italy
# }
# capital_province.empire.holder ?= root
# }
# NOT = { # not already selected
# any_held_title = {
# is_target_in_global_variable_list = {
# name = hre_elector_list
# target = this
# }
# }
# }
#}
# #

View file

@ -833,40 +833,29 @@ secret_is_blackmailable_trigger = {
# Heresy Triggers # # Heresy Triggers #
################### ###################
##Christian Heresy Groups #Christian Heresy Groups
#faiths_are_in_western_christianity_group = { faiths_are_in_western_christianity_group = {
# OR = { OR = {
# $FAITH_1$ = faith:catholic $FAITH_1$ = faith.religion = religion:catholic_religion
# $FAITH_1$ = faith:cathar $FAITH_1$ = faith.religion = religion:protestant_religion
# $FAITH_1$ = faith:waldensian }
# $FAITH_1$ = faith:lollard OR = {
# } $FAITH_2$ = faith.religion = religion:catholic_religion
# OR = { $FAITH_2$ = faith.religion = religion:protestant_religion
# $FAITH_2$ = faith:catholic }
# $FAITH_2$ = faith:cathar }
# $FAITH_2$ = faith:waldensian
# $FAITH_2$ = faith:lollard faiths_are_in_orthodox_christianity_group = {
# $FAITH_2$ = faith:gnostic_faith OR = {
# } $FAITH_1$ = faith.religion = religion:eastern_orthodox_religion
#} $FAITH_1$ = faith.religion = religion:oriental_orthodox_religion
# }
#faiths_are_in_orthodox_christianity_group = { OR = {
# OR = { $FAITH_2$ = faith.religion = religion:eastern_orthodox_religion
# $FAITH_1$ = faith:orthodox $FAITH_2$ = faith.religion = religion:oriental_orthodox_religion
# $FAITH_1$ = faith:iconoclast }
# $FAITH_1$ = faith:bogomilist }
# $FAITH_1$ = faith:paulician
# }
# OR = {
# $FAITH_2$ = faith:orthodox
# $FAITH_2$ = faith:iconoclast
# $FAITH_2$ = faith:bogomilist
# $FAITH_2$ = faith:paulician
# $FAITH_2$ = faith:bosnian_church
# $FAITH_2$ = faith:gnostic_faith
# }
#}
#
#faiths_are_in_eastern_christianity_group = { #faiths_are_in_eastern_christianity_group = {
# OR = { # OR = {
# $FAITH_1$ = faith:miaphysitism # $FAITH_1$ = faith:miaphysitism

View file

@ -58,11 +58,8 @@ eligible_for_fp2_dynasty_legacies_trigger = {
#is_toledo_ownership_valid_trigger = { #is_toledo_ownership_valid_trigger = {
# title:c_toledo.holder = { always = no
# target_is_same_character_or_above = root }
# rite = rite:mozarabic_church
# }
#}
################################################## ##################################################
# Cultural & Regional Triggers # Cultural & Regional Triggers
@ -706,21 +703,9 @@ struggle_can_access_unlocks_bargain_fealty_interaction_trigger = {
# } # }
#} #}
# #
#fp2_eligible_for_yearly_events_trigger = { fp2_eligible_for_yearly_events_trigger = {
# has_fp2_dlc_trigger = yes always = no
# OR = { }
# any_character_struggle = {
# involvement = involved
# is_struggle_type = iberian_struggle
# }
# culture = {
# has_cultural_pillar = heritage_iberian
# }
# capital_province ?= {
# geographical_region = world_europe_west_iberia
# }
# }
#}
fp2_purchase_truce_interaction_soft_requirements_trigger = { fp2_purchase_truce_interaction_soft_requirements_trigger = {
OR = { OR = {

View file

@ -1179,16 +1179,9 @@ has_any_gallowsbait_xp_trigger = {
} }
} }
#ep3_restored_rome_hard_mode_trigger = { ep3_restored_rome_hard_mode_trigger = { always = no }
# OR = { is_eastern_roman_emperor_primary_title_trigger = { always = no }
# this = title:h_roman_empire.holder show_byzantion_throne_room_background = { always = no }
# this = title:h_eastern_roman_empire.holder
# }
# any_owned_story = {
# type = ep3_story_cycle_restoring_rome
# has_variable = roman_empire_hard_mode
# }
#}
rite_is_interesting_heresy_to_state_rite_trigger = { rite_is_interesting_heresy_to_state_rite_trigger = {
faith.religion = root.top_liege.primary_title.state_rite.faith.religion faith.religion = root.top_liege.primary_title.state_rite.faith.religion
@ -1792,6 +1785,64 @@ estate_can_construct_japanese_tea_plantation_06_trigger = {
domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 } domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
} }
# Minority Communities N3OW
estate_can_construct_militia_barracks_03_trigger = {
domicile ?= { has_domicile_building_or_higher = minority_community_main_02 }
}
estate_can_construct_militia_barracks_04_trigger = {
domicile ?= { has_domicile_building_or_higher = minority_community_main_03 }
}
estate_can_construct_militia_barracks_05_trigger = {
domicile ?= { has_domicile_building_or_higher = minority_community_main_04 }
}
estate_can_construct_militia_barracks_06_trigger = {
domicile ?= { has_domicile_building_or_higher = minority_community_main_05 }
}
estate_can_construct_village_market_06_trigger = {
domicile ?= { has_domicile_building_or_higher = minority_community_main_05 }
}
estate_can_construct_village_workshop_carpenter_03_trigger = {
domicile ?= { has_domicile_building_or_higher = minority_community_main_02 }
}
estate_can_construct_village_workshop_carpenter_04_trigger = {
domicile ?= { has_domicile_building_or_higher = minority_community_main_03 }
}
estate_can_construct_village_workshop_carpenter_05_trigger = {
domicile ?= { has_domicile_building_or_higher = minority_community_main_04 }
}
estate_can_construct_village_workshop_carpenter_06_trigger = {
domicile ?= { has_domicile_building_or_higher = minority_community_main_05 }
}
estate_can_construct_village_workshop_mason_03_trigger = {
domicile ?= { has_domicile_building_or_higher = minority_community_main_02 }
}
estate_can_construct_village_workshop_mason_04_trigger = {
domicile ?= { has_domicile_building_or_higher = minority_community_main_03 }
}
estate_can_construct_village_workshop_mason_05_trigger = {
domicile ?= { has_domicile_building_or_higher = minority_community_main_04 }
}
estate_can_construct_village_workshop_mason_06_trigger = {
domicile ?= { has_domicile_building_or_higher = minority_community_main_05 }
}
estate_can_construct_village_workshop_textile_03_trigger = {
domicile ?= { has_domicile_building_or_higher = minority_community_main_02 }
}
estate_can_construct_village_workshop_textile_04_trigger = {
domicile ?= { has_domicile_building_or_higher = minority_community_main_03 }
}
estate_can_construct_village_workshop_textile_05_trigger = {
domicile ?= { has_domicile_building_or_higher = minority_community_main_04 }
}
estate_can_construct_village_workshop_textile_06_trigger = {
domicile ?= { has_domicile_building_or_higher = minority_community_main_05 }
}
# Check succession law types for Influence Candidacy validity # Check succession law types for Influence Candidacy validity
# TYPE should always be 'realm' or 'title' # TYPE should always be 'realm' or 'title'
influence_candidacy_valid_succession_law_trigger = { influence_candidacy_valid_succession_law_trigger = {

View file

@ -387,330 +387,19 @@
# #
#} #}
# #
#ep3_frankokratia_financier_trigger = { ep3_frankokratia_financier_trigger = { always = no }
# faith = faith:catholic ep3_frankokratia_financier_sub_trigger = { always = no }
# is_ai = yes ep3_frankokratia_financier_exists_trigger = { always = no }
# #Not pals with byz emperor ep3_frankokratia_valid_joiner_triggerr = { always = no }
# NOR = { ep3_frankokratia_latin_kingdom_available_trigger = { always = no }
# is_allied_to = title:e_byzantium.holder ep3_frankokratia_discard_old_lands_trigger = { always = no }
# is_vassal_of = title:e_byzantium.holder ep3_frankokratia_beneficiary_trigger = { always = no }
# has_relation_friend = title:e_byzantium.holder ep3_frankokratia_beneficiary_gender_trigger = { always = no }
# has_relation_lover = title:e_byzantium.holder ep3_frankokratia_beneficiary_gender_soft_trigger = { always = no }
# has_relation_soulmate = title:e_byzantium.holder ep3_frankokratia_notification_recipient_trigger = { always = no }
# AND = { ep3_orthodox_faith_trigger = {
# exists = faith.religious_head OR = {
# this = faith.religious_head religion = religion:eastern_orthodox_religion
# } religion = religion:oriental_orthodox_religion
# } }
# #Gotta have money to be a financier }
# gold >= 0
# #Your capital needs to be somewhere useful
# capital_county = {
# title_province = {
# OR = {
# geographical_region = world_europe_south
# geographical_region = world_europe_west_iberia
# geographical_region = world_europe_west_francia
# }
# }
# is_coastal_county = yes
# }
# is_at_war = no
#}
#
#ep3_frankokratia_financier_sub_trigger = {
# highest_held_title_tier >= tier_county
# government_has_flag = government_is_republic
# ep3_frankokratia_financier_trigger = yes
#}
#
#ep3_frankokratia_financier_exists_trigger = {
# OR = {
# AND = {
# exists = title:k_venice.holder
# title:k_venice.holder = {
# ep3_frankokratia_financier_sub_trigger = yes
# }
# }
# title:e_italy = {
# any_in_de_jure_hierarchy = {
# count >= 1
# holder ?= {
# ep3_frankokratia_financier_sub_trigger = yes
# }
# }
# }
# title:k_sicily = {
# any_in_de_jure_hierarchy = {
# count >= 1
# holder ?= {
# ep3_frankokratia_financier_sub_trigger = yes
# }
# }
# }
# title:k_croatia = {
# any_in_de_jure_hierarchy = {
# count >= 1
# holder ?= {
# ep3_frankokratia_financier_sub_trigger = yes
# }
# }
# }
# title:k_burgundy = {
# any_in_de_jure_hierarchy = {
# count >= 1
# holder ?= {
# ep3_frankokratia_financier_sub_trigger = yes
# }
# }
# }
# title:k_aquitaine = {
# any_in_de_jure_hierarchy = {
# count >= 1
# holder ?= {
# ep3_frankokratia_financier_sub_trigger = yes
# }
# }
# }
# title:e_spain = {
# any_in_de_jure_hierarchy = {
# count >= 1
# holder ?= {
# ep3_frankokratia_financier_sub_trigger = yes
# }
# }
# }
# title:e_italy = {
# any_in_de_jure_hierarchy = {
# count >= 1
# holder ?= {
# highest_held_title_tier >= tier_county
# highest_held_title_tier < tier_empire
# ep3_frankokratia_financier_trigger = yes
# }
# }
# }
# title:k_sicily = {
# any_in_de_jure_hierarchy = {
# count >= 1
# holder ?= {
# highest_held_title_tier >= tier_county
# highest_held_title_tier < tier_empire
# ep3_frankokratia_financier_trigger = yes
# }
# }
# }
# title:k_croatia = {
# any_in_de_jure_hierarchy = {
# count >= 1
# holder ?= {
# highest_held_title_tier >= tier_county
# highest_held_title_tier < tier_empire
# ep3_frankokratia_financier_trigger = yes
# }
# }
# }
# }
#}
#
#ep3_frankokratia_valid_joiner_trigger = {
# NOR = {
# has_character_flag = had_event_frankokratia_0020
# this = faith.religious_head
# any_liege_or_above = {
# this = title:e_byzantium.holder
# }
# is_allied_to = title:e_byzantium.holder
# is_vassal_of = title:e_byzantium.holder
# has_truce = title:e_byzantium.holder
# has_relation_friend = title:e_byzantium.holder
# any_owned_story = {
# type = frankokratia_story
# }
# }
#}
#
#ep3_frankokratia_latin_kingdom_available_trigger = {
# OR = {
# NOT = { exists = holder }
# holder = {
# this = title:e_byzantium.holder
# }
# holder = {
# is_vassal_or_below_of = title:e_byzantium.holder
# NOT = {
# is_at_war_with = title:e_byzantium.holder
# }
# }
# }
# #At least 2 counties in the kingdom belong to byzantine emperor
# any_de_jure_county = {
# count >= 2
# OR = {
# holder = {
# this = title:e_byzantium.holder
# }
# holder = {
# is_vassal_or_below_of = title:e_byzantium.holder
# NOT = {
# is_at_war_with = title:e_byzantium.holder
# }
# }
# }
# }
#}
#
#ep3_frankokratia_discard_old_lands_trigger = {
# NAND = {
# primary_title = {
# tier <= tier_empire
# empire = title:e_byzantium
# }
# any_sub_realm_county = {
# empire = title:e_byzantium
# }
# }
#}
#
#ep3_frankokratia_beneficiary_trigger = {
# is_ruler = no
# is_imprisoned = no
# is_adult = yes
# faith = scope:frankokratia_crusader.faith
# NOR = {
# this = scope:financier
# any_heir_title = { }
# has_trait = incapable
# has_trait = devoted
# AND = {
# scope:frankokratia_crusader.rite = {
# rite_has_doctrine = doctrine_theocracy_temporal
# }
# has_council_position = councillor_court_chaplain
# }
# }
# OR = { #Either not married, or not married to a ruler.
# is_married = no
# NOT = {
# any_spouse = {
# is_ruler = yes
# }
# }
# }
# OR = {
# AND = {
# is_male = yes
# age < 50
# }
# AND = {
# is_female = yes
# age <= 35
# }
# any_child = {
# count >= 1
# is_ruler = no
# ep3_frankokratia_beneficiary_gender_soft_trigger = yes
# }
# }
#}
#
#ep3_frankokratia_beneficiary_gender_trigger = {
# trigger_if = {
# limit = {
# scope:frankokratia_crusader = {
# OR = {
# has_realm_law = male_preference_law
# has_realm_law = male_only_law
# }
# }
# }
# is_male = yes
# }
# trigger_else_if = {
# limit = {
# scope:frankokratia_crusader = {
# OR = {
# has_realm_law = female_preference_law
# has_realm_law = female_only_law
# }
# }
# }
# is_female = yes
# }
# trigger_else = {
# scope:frankokratia_crusader = {
# has_realm_law = equal_law
# }
# }
#}
#
#ep3_frankokratia_beneficiary_gender_soft_trigger = {
# trigger_if = {
# limit = {
# scope:frankokratia_crusader = {
# has_realm_law = male_only_law
# }
# }
# is_male = yes
# }
# trigger_else_if = {
# limit = {
# scope:frankokratia_crusader = {
# has_realm_law = female_only_law
# }
# }
# is_female = yes
# }
# trigger_else = {
# scope:frankokratia_crusader = {
# OR = {
# has_realm_law = male_preference_law
# has_realm_law = female_preference_law
# has_realm_law = equal_law
# }
# }
# }
#}
#
#ep3_frankokratia_notification_recipient_trigger = {
# OR = {
# #Rulers in the Byz region
# capital_province = {
# county = {
# empire = title:e_byzantium
# }
# }
# #Most affected Christians
# faith = faith:catholic
# faith = faith:orthodox
# faith = faith:miaphysitism
# faith = faith:armenian_apostolic
# #Target faith of crusade
# faith = scope:defender.faith
# #Vassals of crusade defender
# liege ?= scope:defender
# #Vassals of byz emp
# AND = {
# exists = title:e_byzantium.holder
# liege ?= title:e_byzantium.holder
# }
# #Byz emp
# AND = {
# exists = title:e_byzantium.holder
# this ?= title:e_byzantium.holder
# }
# is_in_list = non_christian_franko_leaders
# }
#}
#
#ep3_orthodox_faith_trigger = {
# OR = {
# faith = faith:orthodox
# faith = faith:miaphysitism
# faith = faith:armenian_apostolic
# faith = faith:iconoclast
# faith = faith:bogomilist
# faith = faith:paulician
# faith = faith:nestorian
# }
#}

View file

@ -1111,3 +1111,5 @@ tgp_cranial_trophies_collection_trigger = {
has_personal_tenet_flag = killing_bestows_heads has_personal_tenet_flag = killing_bestows_heads
} }
} }
tgp_primary_title_is_ministry = { always = no }