scripted_triggers updated files
This commit is contained in:
parent
37045a17ee
commit
072e45c086
36 changed files with 4934 additions and 1754 deletions
|
|
@ -111,26 +111,26 @@ is_diarch_able_trigger = {
|
|||
regency_for_personal_reasons_trigger = no
|
||||
# You'd clearly be preoccupied.
|
||||
trigger_if = {
|
||||
limit = { exists = involved_activity }
|
||||
limit = {
|
||||
exists = involved_activity
|
||||
# An independent candidate has no liege whose realm could clash with the activity
|
||||
exists = liege
|
||||
}
|
||||
save_temporary_scope_as = diarch_temp
|
||||
involved_activity.activity_location.county.holder = {
|
||||
NOR = {
|
||||
this = scope:diarch_temp.liege
|
||||
NOT = {
|
||||
any_liege_or_above = { this = scope:diarch_temp.liege }
|
||||
}
|
||||
}
|
||||
target_is_same_character_or_above = scope:diarch_temp.liege
|
||||
}
|
||||
}
|
||||
# allow diarchy of diarchy of diarchy anyway, otherwise grand secretary get broken.
|
||||
# If you're in a diarchy for any other reason, you need to chill.
|
||||
NOT = { has_active_diarchy = yes }
|
||||
# NOT = { has_active_diarchy = yes }
|
||||
}
|
||||
|
||||
# And *this* needs to be added to guest activity intents to keep diarchs from showing up to the same parties as their liege.
|
||||
bannable_serving_diarch_trigger = {
|
||||
bannable_serving_diarch_trigger = {
|
||||
liege ?= {
|
||||
NOR = {
|
||||
is_landless_adventurer = yes
|
||||
is_landless_adventurer = yes
|
||||
has_diarchy_type = grand_secretariat
|
||||
}
|
||||
}
|
||||
|
|
@ -169,15 +169,15 @@ diarch_matches_liege_faith_gender_preference_trigger = {
|
|||
# Female preference.
|
||||
AND = {
|
||||
is_female = yes
|
||||
liege.faith = { has_doctrine = doctrine_gender_female_dominated }
|
||||
liege.rite = { rite_has_doctrine = doctrine_gender_female_dominated }
|
||||
}
|
||||
# Male preference.
|
||||
AND = {
|
||||
is_male = yes
|
||||
liege.faith = { has_doctrine = doctrine_gender_male_dominated }
|
||||
liege.rite = { rite_has_doctrine = doctrine_gender_male_dominated }
|
||||
}
|
||||
# Equality.
|
||||
liege.faith = { has_doctrine = doctrine_gender_equal }
|
||||
liege.rite = { rite_has_doctrine = doctrine_gender_equal }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -186,7 +186,7 @@ diarch_matches_liege_faith_gender_preference_trigger = {
|
|||
|
||||
basic_eligible_for_diarchy_trigger = {
|
||||
highest_held_title_tier >= tier_county
|
||||
is_landed_or_landless_administrative = yes
|
||||
is_landed_or_landless_administrative_or_theocratic = yes
|
||||
has_active_diarchy = no
|
||||
NOT = { government_has_flag = government_is_landless_adventurer } # Laamps don't use diarchs
|
||||
}
|
||||
|
|
@ -198,7 +198,7 @@ regency_for_personal_reasons_trigger = {
|
|||
AND = {
|
||||
is_adult = no
|
||||
NOT = {
|
||||
liege = { has_diarchy_parameter = diarchy_type_is_junior_emperorship }
|
||||
liege ?= { has_diarchy_parameter = diarchy_type_is_junior_emperorship }
|
||||
}
|
||||
}
|
||||
is_incapable = yes
|
||||
|
|
@ -326,17 +326,17 @@ diarch_swing_scales_valid_shared_hof_trigger = {
|
|||
# You must share a HoF to be able to petition one.
|
||||
custom_tooltip = {
|
||||
text = swing_scales_currency_interaction.tt.no_shared_hof
|
||||
exists = scope:actor.faith.religious_head
|
||||
exists = scope:recipient.faith.religious_head
|
||||
scope:actor.faith.religious_head = scope:recipient.faith.religious_head
|
||||
exists = scope:actor.religious_head_or_challenger
|
||||
exists = scope:recipient.religious_head_or_challenger
|
||||
scope:actor.religious_head_or_challenger = scope:recipient.religious_head_or_challenger
|
||||
}
|
||||
# And opinions've gotta line up.
|
||||
trigger_if = {
|
||||
limit = { exists = scope:actor.faith.religious_head }
|
||||
limit = { exists = scope:actor.religious_head_or_challenger }
|
||||
# They must like you.
|
||||
custom_tooltip = {
|
||||
text = swing_scales_currency_interaction.tt.hof_needs_to_like_you_more
|
||||
scope:actor.faith.religious_head = {
|
||||
scope:actor.religious_head_or_challenger = {
|
||||
opinion = {
|
||||
target = scope:actor
|
||||
value >= high_positive_opinion
|
||||
|
|
@ -346,7 +346,7 @@ diarch_swing_scales_valid_shared_hof_trigger = {
|
|||
# And not like scope:recipient too much.
|
||||
custom_tooltip = {
|
||||
text = swing_scales_currency_interaction.tt.hof_needs_to_like_them_less
|
||||
scope:actor.faith.religious_head = {
|
||||
scope:actor.religious_head_or_challenger = {
|
||||
opinion = {
|
||||
target = scope:recipient
|
||||
value <= medium_positive_opinion
|
||||
|
|
@ -357,7 +357,7 @@ diarch_swing_scales_valid_shared_hof_trigger = {
|
|||
custom_tooltip = {
|
||||
text = swing_scales_currency_interaction.tt.hof_refuses_to_cross_recipient
|
||||
NOT = {
|
||||
scope:recipient = { has_strong_hook = scope:actor.faith.religious_head }
|
||||
scope:recipient = { has_strong_hook = scope:actor.religious_head_or_challenger }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -547,7 +547,7 @@ governor_can_be_called_as_ally_in_expedition_war_basic_trigger = {
|
|||
scope:recipient = {
|
||||
liege ?= scope:actor.liege
|
||||
# Must be a governor.
|
||||
government_has_flag = government_is_special_administrative
|
||||
government_has_mechanic = administrative
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -572,6 +572,10 @@ liege_should_systematically_maim_co_ruler_trigger = {
|
|||
liege_can_maim_co_ruler_without_killing_them_trigger = yes
|
||||
is_diarch_of_target = scope:recipient
|
||||
}
|
||||
AND = {
|
||||
has_diarchy_active_parameter = diarchy_type_is_co_monarchy
|
||||
diarch ?= scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -755,10 +759,7 @@ diarch_coup_attempt_is_valid_trigger = {
|
|||
is_imprisoned = no
|
||||
is_travelling = no
|
||||
is_at_war = no
|
||||
custom_tooltip = {
|
||||
text = custom.not_attending_activity
|
||||
NOT = { exists = involved_activity }
|
||||
}
|
||||
is_in_activity = no
|
||||
age >= 5
|
||||
}
|
||||
# Support checks.
|
||||
|
|
@ -801,7 +802,7 @@ diarch_coup_attempt_is_valid_showing_failure_only_trigger = {
|
|||
# Filter this out in advance, else we risk trying to enter a duel later, only to find we're already engaged in one.
|
||||
custom_description = {
|
||||
text = ENGAGED_IN_SINGLE_COMBAT
|
||||
NOT = { exists = var:engaged_in_single_combat }
|
||||
NOT = { exists = var:engaged_in_single_combat }
|
||||
}
|
||||
# Liege must have _something_ at the highest tier that isn't a HoF title.
|
||||
custom_tooltip = {
|
||||
|
|
@ -873,6 +874,19 @@ diarch_wants_to_engage_with_mandates_trigger = {
|
|||
}
|
||||
}
|
||||
|
||||
is_powerful_vassal_or_house_head_trigger = {
|
||||
custom_tooltip = {
|
||||
text = custom_description.tt.is_power_vassal_or_family
|
||||
OR = {
|
||||
AND = {
|
||||
house ?= { is_powerful_family = yes }
|
||||
is_house_head = yes
|
||||
}
|
||||
is_powerful_vassal = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
##################################################
|
||||
# Events
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue