parent
15a5108e23
commit
c4b6d9bdeb
250 changed files with 11067 additions and 16365 deletions
|
|
@ -18,7 +18,6 @@
|
|||
can_marry_common_trigger = {
|
||||
is_alive = yes
|
||||
NOT = { has_trait_with_flag = can_not_marry }
|
||||
NOT = { has_variable = can_not_marry }
|
||||
|
||||
trigger_if = {
|
||||
limit = {
|
||||
|
|
@ -130,6 +129,25 @@ could_marry_character_trigger = {
|
|||
#}
|
||||
}
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
any_close_or_extended_family_member = {
|
||||
any_spouse = { this = $CHARACTER$ }
|
||||
}
|
||||
}
|
||||
faith = { has_doctrine = doctrine_consanguinity_unrestricted }
|
||||
$CHARACTER$ = {
|
||||
faith = { has_doctrine = doctrine_consanguinity_unrestricted }
|
||||
NOT = {
|
||||
any_spouse = {
|
||||
is_close_or_extended_family_of = scope:can_marry_check
|
||||
NOT = {
|
||||
faith = { has_doctrine = doctrine_consanguinity_unrestricted }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# Cannot marry self
|
||||
NOT = {
|
||||
scope:can_marry_check = { is_spouse_of = $CHARACTER$ }
|
||||
|
|
@ -615,88 +633,3 @@ can_have_concubines_trigger = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
# if $CHARACTER$ has the right to break betrothal or receive interaction for breaking betrothal?
|
||||
break_betrothal_valid_target_trigger = {
|
||||
is_betrothed = yes
|
||||
# yourself, your courtier, or your child vassal and you were the matchmaker
|
||||
trigger_if = {
|
||||
limit = {
|
||||
this != $CHARACTER$
|
||||
}
|
||||
is_ai = yes
|
||||
OR = {
|
||||
AND = {
|
||||
is_child_of = $CHARACTER$
|
||||
target_is_liege_or_above = $CHARACTER$
|
||||
NOT = {
|
||||
matchmaker = {
|
||||
is_parent_of = prev
|
||||
this != $CHARACTER$
|
||||
}
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
is_playable_character = no
|
||||
liege = $CHARACTER$
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cost_prestige_for_break_betrothal_trigger = {
|
||||
OR = {
|
||||
scope:rejected_betrothed = {
|
||||
OR = {
|
||||
is_close_family_of = scope:actor
|
||||
AND = {
|
||||
exists = dynasty
|
||||
exists = scope:actor.dynasty
|
||||
dynasty = scope:actor.dynasty
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:rejecting_betrothed = {
|
||||
OR = {
|
||||
is_close_family_of = scope:actor
|
||||
AND = {
|
||||
exists = dynasty
|
||||
exists = scope:actor.dynasty
|
||||
dynasty = scope:actor.dynasty
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
yields_alliance = {
|
||||
candidate = scope:rejecting_betrothed
|
||||
target = scope:rejected_betrothal_owner
|
||||
target_candidate = scope:rejected_betrothed
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
has_proper_reason_to_break_betrothal_trigger = {
|
||||
OR = {
|
||||
scope:rejecting_betrothed = {
|
||||
OR = {
|
||||
is_eunuch_trigger = yes
|
||||
has_trait_with_flag = can_not_marry
|
||||
AND = {
|
||||
allowed_to_marry_same_sex_trigger = no
|
||||
sex_same_as = scope:rejected_betrothed
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:rejected_betrothed = {
|
||||
OR = {
|
||||
is_eunuch_trigger = yes
|
||||
has_trait_with_flag = can_not_marry
|
||||
AND = {
|
||||
allowed_to_marry_same_sex_trigger = no
|
||||
sex_same_as = scope:rejecting_betrothed
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue