Scripted effect
petition_liege_0121_privilege_effect
petition_liege_0121_privilege_effect = yesgame/common/scripted_effects/00_petition_liege_effects.txt, line 981 (24 lines). No parameters.
petition_liege_0121_privilege_effect is a scripted effect in Crusader Kings III, written at line 981 of its file. It takes no parameters: petition_liege_0121_privilege_effect = yes. The game's script calls it in 1 place, among them petition_type_outcome_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_petition_liege_effects.txt.
What it does
- scope:petition_liege: Stress and fulfillment impact: by trait: Arrogant +40
- scope:petition_vassal: Gain +350 Prestige
• 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 (24 lines of game script)
petition_liege_0121_privilege_effect = {
scope:petition_liege = {
stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain
}
hidden_effect = {
send_interface_toast = {
title = petition_liege.0121.t.privilege
left_icon = scope:petition_vassal
show_as_tooltip = { add_prestige = major_prestige_value }
}
}
}
scope:petition_vassal = {
add_prestige = major_prestige_value
hidden_effect = {
send_interface_toast = {
title = petition_liege.0121.t.privilege
left_icon = scope:petition_liege
show_as_tooltip = { add_prestige = major_prestige_value }
}
}
}
}As written in game/common/scripted_effects/00_petition_liege_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls petition_liege_0121_privilege_effect.
Scripted effects (1)
Source: game/common/scripted_effects/00_petition_liege_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.