Scripted effect · Legacy of Persia files
favour_skilled_outsiders_decision_apply_opinions_effect
favour_skilled_outsiders_decision_apply_opinions_effect = yesgame/common/scripted_effects/03_dlc_fp3_scripted_effects.txt, line 502 (32 lines). No parameters.
favour_skilled_outsiders_decision_apply_opinions_effect is a scripted effect in Crusader Kings III, in the Legacy of Persia files, written at line 502 of its file. It takes no parameters: favour_skilled_outsiders_decision_apply_opinions_effect = yes. The game's script calls it in 2 places, among them Favor Skilled Outsiders (decision) and Favor Skilled Outsiders (event fp3_misc_decisions.0031). Patch 1.20.1.2, from game/common/scripted_effects/03_dlc_fp3_scripted_effects.txt.
What it does
• 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 (32 lines of game script)
favour_skilled_outsiders_decision_apply_opinions_effect = {
# Courtly vassals.
every_vassal = {
custom = favour_skilled_outsiders_decision.tt.upset_elites.courtly_non_heritage
limit = { favour_skilled_outsiders_decision_grab_courtlies_trigger = yes }
add_opinion = {
target = root
modifier = upset_elites_opinion
opinion = -40
}
}
# Landless councillors.
every_councillor = {
custom = favour_skilled_outsiders_decision.tt.upset_elites.landless_councillor_non_heritage
limit = { favour_skilled_outsiders_decision_grab_landless_councillors_trigger = yes }
add_opinion = {
target = root
modifier = upset_elites_opinion
opinion = -30
}
}
# Remaining vassals.
every_vassal = {
custom = favour_skilled_outsiders_decision.tt.upset_elites.non_courtly_non_heritage
limit = { favour_skilled_outsiders_decision_non_courtlies_trigger = yes }
add_opinion = {
target = root
modifier = upset_elites_opinion
opinion = -20
}
}
}As written in game/common/scripted_effects/03_dlc_fp3_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls favour_skilled_outsiders_decision_apply_opinions_effect.
Decisions (1)
Events (1)
- Favor Skilled Outsiders
fp3_misc_decisions.0031
Source: game/common/scripted_effects/03_dlc_fp3_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.