N3OW/common/scripted_triggers/00_major_decision_triggers.txt

246 lines
6.4 KiB
Text
Raw Normal View History

2026-05-25 07:54:55 -04:00
###Accuse the Krstjani of Heresy
accuse_krstjani_of_heresy_decision_suitable_krstjani_realm_owner_trigger = {
faith = faith:bosnian_church
realm_size >= 8
primary_title.tier >= tier_duchy
}
###Launch the Hungarian Migration
launch_hungarian_migration_ducal_processing_trigger = {
#We're currently processing dukes.
highest_held_title_tier = tier_duchy
#Doesn't hold a valid duchy-tier title in Pannonia.
NOT = {
any_held_title = {
title_tier = duchy
title_capital_county.title_province = { geographical_region = custom_hungary }
}
}
}
launch_hungarian_migration_count_processing_trigger = {
#Doesn't hold a valid county-tier title in Pannonia.
NOT = {
any_held_title = {
title_tier = county
title_province = { geographical_region = custom_hungary }
}
}
}
launch_hungarian_migration_sub_vassal_liege_pairing_trigger = {
tier = tier_county
#Liege should be a suitable duke within Pannonia.
holder = scope:receiving_vassal.liege
#Double-check that the duke can afford to give a title away.
scope:receiving_vassal.liege = {
any_held_title = {
count >= 2
title_tier = county
title_province = { geographical_region = custom_hungary }
}
}
}
launch_hungarian_migration_direct_vassal_requirements_trigger = {
tier = tier_county
holder = $INVADER$
}
launch_hungarian_migration_county_is_within_custom_hungary_trigger = {
tier = tier_county
title_province = { geographical_region = custom_hungary }
}
launch_hungarian_migration_misplaced_count_suitable_liege_trigger = {
launch_hungarian_migration_county_is_within_custom_hungary_trigger = yes
duchy = {
holder ?= {
NOT = { this = $INVADER$ }
liege = $INVADER$
}
}
}
###################################################
## Danelaw Triggers
#
### Colonial Sides
#### The decision requires one lowland British party & one colonial Norse party.
#negotiate_the_danelaw_british_side_trigger = {
# OR = {
# culture = { has_cultural_pillar = heritage_west_germanic }
# culture = { has_cultural_pillar = heritage_brythonic }
# }
# NOT = { religion = religion:germanic_religion }
#}
#negotiate_the_danelaw_norse_side_trigger = {
# OR = {
# culture = { has_cultural_pillar = heritage_north_germanic }
# culture = culture:norman
# religion = religion:germanic_religion
# }
#}
#
### Standard Filters
#### Does this character meet the basic eligibility requirements?
#negotiate_the_danelaw_basic_filter_trigger = {
# # Standard filter checks.
# is_playable_character = yes
# exists = dynasty
# OR = {
# government_has_flag = government_is_tribal
# government_has_flag = government_is_feudal
# government_has_flag = government_is_clan
# }
# # Must be one of the two valid sides.
# OR = {
# negotiate_the_danelaw_british_side_trigger = yes
# negotiate_the_danelaw_norse_side_trigger = yes
# }
#}
#negotiate_the_danelaw_additional_filter_trigger = {
# # Independent only, please.
# top_liege = this
# # Kings & Emperors are too high a rank to make concessions.
# highest_held_title_tier <= tier_duchy
# # Plus, a capital inside title:k_england. Not strictly necessary, but removes *so* many edge-cases.
# capital_county.kingdom = title:k_england
#}
#negotiate_the_danelaw_standard_filter_trigger = {
# negotiate_the_danelaw_basic_filter_trigger = yes
# negotiate_the_danelaw_additional_filter_trigger = yes
#}
#
### Valid Opponent
#### Assuming that we have a character who can take the decision (which has stricter requirements), do they have an opponent to negotiate with?
#negotiate_the_danelaw_valid_danelaw_opponent_trigger = {
# # Standard filter checks.
# negotiate_the_danelaw_standard_filter_trigger = yes
# # Ensure they match the opposing side.
# trigger_if = {
# limit = {
# root = { negotiate_the_danelaw_british_side_trigger = yes }
# }
# negotiate_the_danelaw_norse_side_trigger = yes
# }
# trigger_if = {
# limit = {
# root = { negotiate_the_danelaw_norse_side_trigger = yes }
# }
# negotiate_the_danelaw_british_side_trigger = yes
# }
# # Holds a certain amount of de jure counties within k_england.
# save_temporary_scope_as = valid_opponent
# title:k_england = {
# any_in_de_jure_hierarchy = {
# count >= 10
# tier = tier_county
# holder = {
# OR = {
# this = scope:valid_opponent
# any_liege_or_above = { this = scope:valid_opponent }
# }
# }
# }
# }
#}
#
##################################################
# Favour the Countryside Basques Triggers
favour_the_countryside_basques_counts_as_basque_trigger = {
culture = {
OR = {
this = culture:basque
any_parent_culture = { this = culture:basque }
}
}
}
## We keep these isolated so that we can maintain easy parity between the decision rationales & the event desc rationales.
favour_the_countryside_basques_rationale_negative_piety_level_trigger = {
piety_level < low_piety_level
}
favour_the_countryside_basques_rationale_sinful_traits_trigger = {
num_sinful_traits >= 2
}
favour_the_countryside_basques_rationale_virtuous_basque_pagan_traits_trigger = {
num_virtuous_traits = {
value >= favour_the_countryside_basques_decision_basque_pagan_virtues_tally_value
target = faith:basque_pagan
}
}
favour_the_countryside_basques_rationale_excommunicated_trigger = {
has_trait = excommunicated
}
favour_the_countryside_basques_rationale_naked_cynicism_trigger = {
trigger_if = {
limit = { is_ai = no }
has_trait = cynical
}
}
favour_the_countryside_basques_rationale_hof_rivalry_trigger = {
AND = {
exists = faith.religious_head
has_relation_rival = faith.religious_head
}
}
##################################################
# Rebuke Roman Revanchism Triggers
rebuke_roman_revanchism_counties_controlled_trigger = {
holder = {
OR = {
this = root
top_liege = root
}
}
}
rebuke_roman_revanchism_counties_controlled_by_ere_trigger = {
exists = title:e_byzantium.holder
holder = {
OR = {
this = title:e_byzantium.holder
top_liege = title:e_byzantium.holder
}
}
}
rebuke_roman_revanchism_sicily_controls_unlisted_empire_trigger = {
highest_held_title_tier >= tier_empire
primary_title = {
NOR = {
this = title:e_italy
this = title:e_maghreb
}
}
}
restore_roman_empire_decision_religion_culture_trigger = {
custom_tooltip = {
text = restore_roman_empire_decision_religion_culture_tt
OR = {
religion = {
OR = {
is_in_family = rf_abrahamic
this = religion:hellenism_religion
}
}
culture = {
OR = {
has_cultural_pillar = heritage_latin
has_cultural_pillar = heritage_byzantine
}
}
}
}
}