scripted_triggers updated files

This commit is contained in:
Thakia 2026-10-04 17:18:00 -03:00
parent 37045a17ee
commit 072e45c086
36 changed files with 4934 additions and 1754 deletions

View file

@ -69,7 +69,7 @@ has_extra_criminal_reason_against_trigger = {
}
title_revocation_standard_valid_showing_failures_only_trigger = {
scope:actor = {
scope:puppet_or_actor = {
NOR = {
is_at_war_with = scope:recipient
has_truce = scope:recipient
@ -86,7 +86,7 @@ title_revocation_standard_valid_showing_failures_only_trigger = {
}
}
scope:recipient = {
NOT = { has_strong_hook = scope:actor }
NOT = { has_strong_hook = scope:puppet_or_actor }
}
}
@ -106,6 +106,25 @@ title_revocation_standard_can_pick_title_trigger = {
text = "character_interactions_not_rel_head_title"
is_head_of_faith = no
}
custom_description = {
text = "character_interactions_not_clerical_region_title"
has_clerical_region = no
}
custom_description = {
text = "character_interactions_not_clerical_elector_title"
pam_title_is_clerical_elector_trigger = no
}
custom_description = {
text = "character_interactions_not_antipope_office_title"
pam_title_is_antipope_office_trigger = no
}
custom_tooltip = {
text = special_title_cannot_be_revoked.tt
NOR = {
this = title:k_papal_state
this = title:k_orthodox
}
}
}
diarch_revocation_has_claim_check_trigger = {
@ -121,11 +140,11 @@ diarch_revocation_has_claim_check_trigger = {
}
title_revocation_is_admin_governor_trigger = {
government_allows = administrative
government_has_mechanic = administrative
top_liege = this
save_temporary_scope_as = liege_temp
$VASSAL$ = {
is_landed_or_landless_administrative = yes
government_has_mechanic = administrative
target_is_liege_or_above = scope:liege_temp
}
}
@ -139,23 +158,36 @@ title_revocation_is_tyrannical_trigger = {
has_claim_on = scope:landed_title
}
title_revocation_is_admin_governor_trigger = { VASSAL = $VASSAL$ }
faith = {
AND = {
rite = { rite_has_parameter = tenet_legalism_sinful_revocation }
$VASSAL$ = {
NOT = { vassal_contract_has_flag = religiously_protected}
num_sinful_traits = {
value > 0
target = prev.rite
}
}
}
AND = {
$VASSAL$ = {
NOT = { vassal_contract_has_flag = religiously_protected }
}
OR = {
AND = {
has_doctrine_parameter = pluralism_righteous_revocation_tyranny_reduced
faith_hostility_level = {
target = $VASSAL$.faith
value = faith_evil_level
rite = { rite_has_parameter = pluralism_righteous_revocation_tyranny_reduced }
faith = {
faith_hostility_level = {
target = $VASSAL$.faith
value = faith_evil_level
}
}
}
AND = {
has_doctrine_parameter = pluralism_fundamentalist_revocation_tyranny_minimal
faith_hostility_level = {
target = $VASSAL$.faith
value >= faith_hostile_level
rite = { rite_has_parameter = pluralism_fundamentalist_revocation_tyranny_minimal }
faith = {
faith_hostility_level = {
target = $VASSAL$.faith
value >= faith_hostile_level
}
}
}
}
@ -163,27 +195,39 @@ title_revocation_is_tyrannical_trigger = {
}
}
# The liege is root, and $VASSAL$ is the target
# Sets liege_temp and rebel_temp for revoke_refusal_war_rising_strength_value
revoke_refusal_war_would_be_massive_trigger = {
NOT = { has_revoke_title_reason = $VASSAL$ }
NOT = { government_has_flag = no_powerful_vassals }
save_temporary_scope_as = liege_temp
$VASSAL$ = { save_temporary_scope_as = rebel_temp }
current_military_strength < revoke_refusal_war_rising_strength_value
}
vassal_revocation_is_tyrannical_trigger = {
NOR = {
exists = scope:administrative_revocation
AND = {
government_allows = administrative
government_has_mechanic = administrative
$VASSAL$ = {
government_allows = administrative
government_has_mechanic = administrative
}
}
has_revoke_title_reason = $VASSAL$
faith = {
OR = {
AND = {
has_doctrine_parameter = pluralism_righteous_revocation_tyranny_reduced
OR = {
AND = {
rite = { rite_has_parameter = pluralism_righteous_revocation_tyranny_reduced }
faith = {
faith_hostility_level = {
target = $VASSAL$.faith
value = faith_evil_level
}
}
AND = {
has_doctrine_parameter = pluralism_fundamentalist_revocation_tyranny_minimal
}
AND = {
rite = { rite_has_parameter = pluralism_fundamentalist_revocation_tyranny_minimal }
faith = {
faith_hostility_level = {
target = $VASSAL$.faith
value >= faith_hostile_level
@ -196,10 +240,10 @@ vassal_revocation_is_tyrannical_trigger = {
vassal_retraction_standard_valid_showing_failures_only_trigger = {
NOT = {
scope:actor = { is_at_war_with = scope:recipient }
scope:puppet_or_actor = { is_at_war_with = scope:recipient }
}
scope:recipient = {
NOT = { has_strong_hook = scope:actor }
NOT = { has_strong_hook = scope:puppet_or_actor }
}
}
@ -271,7 +315,7 @@ can_any_traveling_family_members_travel_trigger = {
}
imprison_neutral_is_valid_showing_failures_only_triggers_trigger = {
scope:actor.liege = {
scope:puppet_or_actor.liege = {
trigger_if = {
limit = { has_realm_law_flag = imprisonment_toggle_enable }
# TIT-43801
@ -279,7 +323,7 @@ imprison_neutral_is_valid_showing_failures_only_triggers_trigger = {
NOT = { has_realm_law = tribal_authority_0 }
}
}
scope:actor = { is_imprisoned = no }
scope:puppet_or_actor = { is_imprisoned = no }
custom_description = {
text = cannot_imprison_almohad_leader
subject = scope:recipient