Scripted effect · Roads to Power files
find_playable_relatives_effect
find_playable_relatives_effect = yesgame/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 823 (22 lines). No parameters.
find_playable_relatives_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 823 of its file. It takes no parameters: find_playable_relatives_effect = yes. The game's script calls it in 7 places, among them From Riches to Rags (event ep3_laamps.0040), Once and Former … (event ep3_laamps.0001) and Once and Former … (event ep3_laamps.0004). Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (22 lines of game script)
find_playable_relatives_effect = {
if = {
limit = {
any_close_family_member = { playable_relative_trigger = yes }
}
ordered_close_family_member = {
limit = { playable_relative_trigger = yes }
order_by = highest_held_title_tier
max = 3
check_range_bounds = no
if = {
limit = { exists = scope:alt_2 }
save_scope_as = alt_3
}
else_if = {
limit = { exists = scope:alt_1 }
save_scope_as = alt_2
}
else = { save_scope_as = alt_1 }
}
}
}As written in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls find_playable_relatives_effect.
Events (7)
- From Riches to Rags
ep3_laamps.0040 - Once and Former …
ep3_laamps.0001 - Once and Former …
ep3_laamps.0004 - Once and Former …
ep3_laamps.0005 - The … Exile
ep3_laamps.0020 - The … Exile
grand_ambitions.0003
1 more
- The Antichrist Shatters My Throne
roman_restoration.0132
Source: game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.