scripted_triggers updated files
This commit is contained in:
parent
37045a17ee
commit
072e45c086
36 changed files with 4934 additions and 1754 deletions
|
|
@ -31,18 +31,14 @@ can_marry_common_trigger = {
|
|||
}
|
||||
is_leading_faction_type = peasant_faction
|
||||
is_leading_faction_type = populist_faction
|
||||
government_has_flag = government_is_true_herder
|
||||
government_has_flag = government_is_herder
|
||||
}
|
||||
}
|
||||
|
||||
# Clergy cannot marry if their faith disallows it
|
||||
trigger_if = {
|
||||
limit = {
|
||||
is_clergy = yes
|
||||
}
|
||||
faith = {
|
||||
has_doctrine_parameter = clergy_can_marry
|
||||
}
|
||||
limit = { is_clergy = yes }
|
||||
marriage_clergy_can_marry_trigger = yes
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
|
|
@ -62,11 +58,8 @@ can_marry_trigger = {
|
|||
|
||||
allowed_to_marry_same_sex_trigger = {
|
||||
has_game_rule = accepted_same_sex_marriage
|
||||
faith = {
|
||||
NOR = {
|
||||
has_doctrine_parameter = homosexuality_shunned
|
||||
has_doctrine_parameter = homosexuality_illegal
|
||||
}
|
||||
rite = {
|
||||
rite_has_parameter = homosexuality_accepted
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -106,8 +99,8 @@ could_marry_character_trigger = {
|
|||
#Faith hostility & consanguinity
|
||||
trigger_if = {
|
||||
limit = { NOT = { is_courtier_of = $CHARACTER$ } } #If you're someone's courtier, your liege can marry you anyway
|
||||
faith = {
|
||||
faith_allows_marriage_consanguinity_trigger = {
|
||||
rite = {
|
||||
rite_allows_marriage_consanguinity_trigger = {
|
||||
CHARACTER_1 = scope:can_marry_check
|
||||
CHARACTER_2 = $CHARACTER$
|
||||
}
|
||||
|
|
@ -119,8 +112,8 @@ could_marry_character_trigger = {
|
|||
}
|
||||
trigger_if = {
|
||||
limit = { $CHARACTER$ = { NOT = { is_courtier_of = scope:can_marry_check } } } #If you're someone's courtier, your liege can marry you anyway
|
||||
$CHARACTER$.faith = {
|
||||
faith_allows_marriage_consanguinity_trigger = {
|
||||
$CHARACTER$.rite = {
|
||||
rite_allows_marriage_consanguinity_trigger = {
|
||||
CHARACTER_1 = scope:can_marry_check
|
||||
CHARACTER_2 = $CHARACTER$
|
||||
}
|
||||
|
|
@ -151,8 +144,8 @@ can_take_as_concubine_character_trigger = {
|
|||
#Faith hostility & consanguinity
|
||||
trigger_if = {
|
||||
limit = { NOT = { is_courtier_of = $CHARACTER$ } } #If you're someone's courtier, your liege can marry you anyway
|
||||
faith = {
|
||||
faith_allows_marriage_consanguinity_trigger = {
|
||||
rite = {
|
||||
rite_allows_marriage_consanguinity_trigger = {
|
||||
CHARACTER_1 = scope:can_marry_check
|
||||
CHARACTER_2 = $CHARACTER$
|
||||
}
|
||||
|
|
@ -164,8 +157,8 @@ can_take_as_concubine_character_trigger = {
|
|||
}
|
||||
trigger_if = {
|
||||
limit = { $CHARACTER$ = { NOT = { is_courtier_of = scope:can_marry_check } } } #If you're someone's courtier, your liege can marry you anyway
|
||||
$CHARACTER$.faith = {
|
||||
faith_allows_marriage_consanguinity_trigger = {
|
||||
$CHARACTER$.rite = {
|
||||
rite_allows_marriage_consanguinity_trigger = {
|
||||
CHARACTER_1 = scope:can_marry_check
|
||||
CHARACTER_2 = $CHARACTER$
|
||||
}
|
||||
|
|
@ -359,46 +352,47 @@ marriage_interaction_can_be_picked_trigger = {
|
|||
}
|
||||
}
|
||||
|
||||
marriage_clergy_can_marry_trigger = {
|
||||
#Monks can never marry
|
||||
NOR = {
|
||||
has_trait = devoted
|
||||
has_trait = order_member
|
||||
}
|
||||
OR = {
|
||||
rite = { rite_has_parameter = clergy_can_marry }
|
||||
# AND = {
|
||||
# is_ruler = yes
|
||||
# top_participant_group:the_christian_church ?= { has_participant_group_parameter = clergy_can_marry }
|
||||
# trigger_if = {
|
||||
# limit = { is_ai = yes }
|
||||
# saeculum_obscurum_clergy_would_marry_trigger = yes
|
||||
# }
|
||||
# }
|
||||
}
|
||||
}
|
||||
|
||||
marriage_interaction_valid_target_trigger = {
|
||||
# Clergy cannot marry if their faith doesn't allow it
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:secondary_actor = {
|
||||
is_clergy = yes
|
||||
NOT = {
|
||||
faith = {
|
||||
has_doctrine_parameter = clergy_can_marry
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:secondary_actor = { is_clergy = yes }
|
||||
}
|
||||
custom_description = {
|
||||
text = character_is_clergy_and_cannot_marry
|
||||
subject = scope:secondary_actor
|
||||
object = scope:secondary_recipient
|
||||
scope:secondary_actor = {
|
||||
is_clergy = no
|
||||
}
|
||||
scope:secondary_actor = { marriage_clergy_can_marry_trigger = yes }
|
||||
}
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:secondary_recipient = {
|
||||
is_clergy = yes
|
||||
NOT = {
|
||||
faith = {
|
||||
has_doctrine_parameter = clergy_can_marry
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:secondary_recipient = { is_clergy = yes }
|
||||
}
|
||||
custom_description = {
|
||||
text = character_is_clergy_and_cannot_marry
|
||||
subject = scope:secondary_recipient
|
||||
object = scope:secondary_actor
|
||||
scope:secondary_recipient = {
|
||||
is_clergy = no
|
||||
}
|
||||
scope:secondary_recipient = { marriage_clergy_can_marry_trigger = yes }
|
||||
}
|
||||
}
|
||||
#Marriage
|
||||
|
|
@ -468,9 +462,9 @@ marriage_interaction_auto_accept_trigger = {
|
|||
#Strong hook = 100% accept (unless marrying 1st or 2nd player heir or the ruler and asking for matrilineal/partrilineal resulting in no dynasty children for them)
|
||||
custom_description = {
|
||||
text = "spending_hook"
|
||||
subject = scope:actor
|
||||
subject = scope:puppet_or_actor
|
||||
object = scope:recipient
|
||||
scope:actor = { has_strong_hook = scope:recipient }
|
||||
scope:puppet_or_actor = { has_strong_hook = scope:recipient }
|
||||
scope:recipient = {
|
||||
NAND = {
|
||||
#Secondary recipient can't be recipient or 1st/2nd heir...
|
||||
|
|
@ -502,16 +496,16 @@ marriage_interaction_auto_accept_trigger = {
|
|||
}
|
||||
|
||||
make_concubine_is_shown_trigger = {
|
||||
scope:actor = {
|
||||
scope:puppet_or_actor = {
|
||||
allowed_concubines = yes
|
||||
is_adult = yes
|
||||
}
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
is_courtier_of = scope:actor
|
||||
is_imprisoned_by = scope:actor
|
||||
is_courtier_of = scope:puppet_or_actor
|
||||
is_imprisoned_by = scope:puppet_or_actor
|
||||
}
|
||||
can_become_concubine_of_character_valid_trigger = { CHARACTER = scope:actor }
|
||||
can_become_concubine_of_character_valid_trigger = { CHARACTER = scope:puppet_or_actor }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -519,7 +513,7 @@ make_concubine_is_valid_trigger = {
|
|||
custom_description = {
|
||||
text = take_concubine_allowed_more
|
||||
object = scope:recipient
|
||||
scope:actor = {
|
||||
scope:puppet_or_actor = {
|
||||
allowed_more_concubines = yes
|
||||
}
|
||||
}
|
||||
|
|
@ -529,13 +523,13 @@ make_concubine_is_valid_trigger = {
|
|||
NOT = {
|
||||
has_opinion_modifier = {
|
||||
modifier = divorced_me_opinion
|
||||
target = scope:actor
|
||||
target = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
}
|
||||
OR = {
|
||||
AND = {
|
||||
is_imprisoned_by = scope:actor
|
||||
is_imprisoned_by = scope:puppet_or_actor
|
||||
is_married = yes
|
||||
}
|
||||
is_married = no
|
||||
|
|
@ -648,25 +642,25 @@ cost_prestige_for_break_betrothal_trigger = {
|
|||
OR = {
|
||||
scope:rejected_betrothed = {
|
||||
OR = {
|
||||
is_close_family_of = scope:actor
|
||||
is_close_family_of = scope:puppet_or_actor
|
||||
AND = {
|
||||
exists = dynasty
|
||||
exists = scope:actor.dynasty
|
||||
dynasty = scope:actor.dynasty
|
||||
exists = scope:puppet_or_actor.dynasty
|
||||
dynasty = scope:puppet_or_actor.dynasty
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:rejecting_betrothed = {
|
||||
OR = {
|
||||
is_close_family_of = scope:actor
|
||||
is_close_family_of = scope:puppet_or_actor
|
||||
AND = {
|
||||
exists = dynasty
|
||||
exists = scope:actor.dynasty
|
||||
dynasty = scope:actor.dynasty
|
||||
exists = scope:puppet_or_actor.dynasty
|
||||
dynasty = scope:puppet_or_actor.dynasty
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
scope:puppet_or_actor = {
|
||||
yields_alliance = {
|
||||
candidate = scope:rejecting_betrothed
|
||||
target = scope:rejected_betrothal_owner
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue