Scripted effect
vassals_dislike_marry_lowborn_effect
vassals_dislike_marry_lowborn_effect = { RULER = … SPOUSE = … }game/common/scripted_effects/00_marriage_effects.txt, line 83 (32 lines). Parameters: $RULER$, $SPOUSE$.
vassals_dislike_marry_lowborn_effect is a scripted effect in Crusader Kings III, written at line 83 of its file. A call passes 2 parameters: RULER and SPOUSE. The game's script calls it in 2 places, among them on_marriage (on action) and marriage_interaction_on_accept_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_marriage_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (32 lines of game script)
vassals_dislike_marry_lowborn_effect = {
$RULER$ = {
if = {
limit = {
is_lowborn = no
$SPOUSE$ = { is_lowborn = yes }
OR = {
NOT = { exists = primary_spouse }
primary_spouse ?= $SPOUSE$
}
}
every_vassal_or_below = {
limit = { has_vassal_stance = courtly }
custom = every_courtly_vassal
add_opinion = {
modifier = married_lowborn_opinion
target = $RULER$
opinion = -50
}
}
every_vassal_or_below = {
limit = { has_vassal_stance = glory_hound }
custom = every_glory_hound_vassal
add_opinion = {
modifier = married_lowborn_opinion
target = $RULER$
opinion = -30
}
}
}
}
}As written in game/common/scripted_effects/00_marriage_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls vassals_dislike_marry_lowborn_effect.
On actions (the game's own hooks) (1)
- on_marriage
Scripted effects (1)
Source: game/common/scripted_effects/00_marriage_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.