scripted_triggers updated files
This commit is contained in:
parent
37045a17ee
commit
072e45c086
36 changed files with 4934 additions and 1754 deletions
|
|
@ -30,6 +30,7 @@ has_unelectable_trait_trigger = {
|
|||
|
||||
has_unelectable_government_trigger = {
|
||||
OR = {
|
||||
government_has_flag = government_is_republic
|
||||
government_has_flag = government_is_theocracy
|
||||
government_has_flag = government_is_mercenary
|
||||
government_has_flag = government_is_holy_order
|
||||
|
|
@ -37,22 +38,22 @@ has_unelectable_government_trigger = {
|
|||
}
|
||||
|
||||
this_is_martial_society_trigger = {
|
||||
faith = {
|
||||
rite = {
|
||||
NOR = {
|
||||
has_doctrine = tenet_pacifism
|
||||
has_doctrine = tenet_dharmic_pacifism
|
||||
rite_has_tenet = tenet_pacifism
|
||||
rite_has_tenet = tenet_dharmic_pacifism
|
||||
}
|
||||
}
|
||||
OR = {
|
||||
government_has_flag = government_is_clan
|
||||
government_has_flag = government_is_tribal
|
||||
government_has_flag = government_is_mercenary
|
||||
government_has_flag = government_is_holy_order
|
||||
faith = {
|
||||
government_has_flag = government_is_military_holy_order
|
||||
rite = {
|
||||
OR = {
|
||||
has_doctrine_parameter = great_holy_wars_active
|
||||
has_doctrine_parameter = great_holy_wars_active_if_reformed
|
||||
has_doctrine_parameter = cheaper_holy_wars_active
|
||||
rite_has_parameter = great_holy_wars_active
|
||||
rite_has_parameter = great_holy_wars_active_if_reformed
|
||||
rite_has_parameter = cheaper_holy_wars_active
|
||||
}
|
||||
}
|
||||
culture = {
|
||||
|
|
@ -68,28 +69,32 @@ this_is_diplomatic_society_trigger = {
|
|||
government_has_flag = government_is_theocracy
|
||||
}
|
||||
OR = {
|
||||
faith = { has_doctrine = tenet_communal_identity }
|
||||
faith = { has_doctrine = tenet_alexandrian_catechism }
|
||||
faith = { has_doctrine = tenet_legalism }
|
||||
rite = { rite_has_tenet = tenet_communal_identity }
|
||||
rite = { rite_has_tenet = tenet_alexandrian_catechism }
|
||||
rite = { rite_has_tenet = tenet_legalism }
|
||||
}
|
||||
}
|
||||
this_is_spiritual_society_trigger = {
|
||||
faith = {
|
||||
rite = {
|
||||
NOR = {
|
||||
has_doctrine = tenet_false_conversion_sanction
|
||||
has_doctrine = tenet_hedonistic
|
||||
has_doctrine = tenet_carnal_exaltation
|
||||
has_doctrine = tenet_exaltation_of_pain
|
||||
has_doctrine = tenet_pursuit_of_power
|
||||
rite_has_tenet = tenet_false_conversion_sanction
|
||||
rite_has_tenet = tenet_hedonistic
|
||||
rite_has_tenet = tenet_carnal_exaltation
|
||||
rite_has_tenet = tenet_exaltation_of_pain
|
||||
rite_has_tenet = tenet_pursuit_of_power
|
||||
}
|
||||
OR = {
|
||||
has_doctrine = tenet_inner_journey
|
||||
has_doctrine = tenet_asceticism
|
||||
has_doctrine = tenet_literalism
|
||||
has_doctrine = tenet_esotericism
|
||||
has_doctrine = tenet_astrology
|
||||
has_doctrine = tenet_monasticism
|
||||
}
|
||||
OR = {
|
||||
rite = {
|
||||
OR = {
|
||||
rite_has_tenet = tenet_inner_journey
|
||||
rite_has_tenet = tenet_asceticism
|
||||
rite_has_tenet = tenet_literalism
|
||||
rite_has_tenet = tenet_esotericism
|
||||
rite_has_tenet = tenet_astrology
|
||||
}
|
||||
}
|
||||
faith = { faith_has_monasticism_trigger = yes }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -152,7 +157,11 @@ parent_for_elective_succession_trigger = { #This trigger is used to prevent gran
|
|||
|
||||
feudal_elective_potential_landed_candidate_trigger = {
|
||||
save_temporary_scope_as = potential_candidate
|
||||
has_same_government = scope:holder
|
||||
# Same-government matching empties the pool when the holder has an unelectable government, so fall back to electable candidates.
|
||||
OR = {
|
||||
has_same_government = scope:holder
|
||||
scope:holder = { has_unelectable_government_trigger = yes }
|
||||
}
|
||||
#Either the candidate is in the realm, or the title is independent, or the realm of the title does NOT have protected inheritance.
|
||||
OR = {
|
||||
any_liege_or_above = {
|
||||
|
|
@ -275,12 +284,12 @@ feudal_elective_potential_landless_dynastic_candidate_trigger = {
|
|||
exists = mother
|
||||
exists = father
|
||||
mother = {
|
||||
relation_with_character_is_incestuous_in_my_or_lieges_faith_trigger = { CHARACTER = prev.father }
|
||||
relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = prev.father }
|
||||
}
|
||||
}
|
||||
#Let's make the incredibly bold assumption that if incest is completely allowed we'll just default to check the child instead of parents
|
||||
scope:holder.faith = {
|
||||
has_doctrine_parameter = consanguinity_unrestricted_incest
|
||||
scope:holder.rite = {
|
||||
rite_has_parameter = consanguinity_unrestricted_incest
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue