Scripted effect
lover_breakup_rivalry_chance_effect
lover_breakup_rivalry_chance_effect = yesgame/common/scripted_effects/00_lover_effects.txt, line 13 (80 lines). No parameters.
lover_breakup_rivalry_chance_effect is a scripted effect in Crusader Kings III, written at line 13 of its file. It takes no parameters: lover_breakup_rivalry_chance_effect = yes. The game's script calls it in 2 places, among them An End to An Affair (event lover.0201) and My Own … (event lover.0202). Patch 1.20.1.2, from game/common/scripted_effects/00_lover_effects.txt.
What it does
- 1% chance of:
compare_modifier = { value = ai_vengefulness multiplier = 0.5 }
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (80 lines of game script)
lover_breakup_rivalry_chance_effect = {
random = {
chance = 1
compare_modifier = {
value = ai_vengefulness
multiplier = 0.5
}
modifier = {
add = 25
scope:breaker = {
any_secret = {
type = secret_lover
secret_target != scope:lover
is_known_by = scope:lover
}
}
}
modifier = {
add = 20
has_trait = paranoid
}
modifier = {
add = 15
has_trait = stubborn
}
scope:breaker = {
every_consort = {
limit = {
this != scope:lover
NOR = {
has_relation_rival = scope:lover
has_relation_friend = scope:lover
}
}
add_to_list = other_lovers
}
every_relation = {
type = lover
limit = {
this != scope:lover
NOR = {
has_relation_rival = scope:lover
has_relation_friend = scope:lover
}
}
add_to_list = other_lovers
}
}
random_in_list = {
list = other_lovers
weight = {
base = 1
#More likely to pick another known Lover
modifier = {
add = 3
has_relation_lover = scope:breaker
save_temporary_scope_as = lover_check
scope:breaker = {
OR = {
NOT = {
any_secret = {
type = secret_lover
secret_target = scope:lover_check
NOT = { is_known_by = scope:lover }
}
}
any_secret = {
type = secret_lover
secret_target = scope:lover_check
is_known_by = scope:lover
}
}
}
}
}
save_scope_as = other_lover
}
}
}As written in game/common/scripted_effects/00_lover_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls lover_breakup_rivalry_chance_effect.
Events (2)
- An End to An Affair
lover.0201 - My Own …
lover.0202
Source: game/common/scripted_effects/00_lover_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.