Scripted effect
petition_liege_0121_appointment_effect
petition_liege_0121_appointment_effect = yesgame/common/scripted_effects/00_petition_liege_effects.txt, line 914 (32 lines). No parameters.
petition_liege_0121_appointment_effect is a scripted effect in Crusader Kings III, written at line 914 of its file. It takes no parameters: petition_liege_0121_appointment_effect = yes. The game's script calls it in 1 place, among them petition_type_outcome_effect (scripted effect). Its body carries 3 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_petition_liege_effects.txt.
What it does
- All House … members Governorship Candidate Score: +15
- scope:petition_liege: Stress and fulfillment impact: by trait: Arrogant +40
• 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)
petition_liege_0121_appointment_effect = {
custom_tooltip = petition_liege_appointment_support
scope:petition_liege = {
stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain
}
hidden_effect = {
send_interface_toast = {
title = petition_liege.0121.t.appointment
left_icon = scope:petition_vassal
right_icon = scope:petition_vassal.house
custom_tooltip = petition_liege_appointment_support
}
}
}
scope:petition_vassal = {
hidden_effect = {
send_interface_toast = {
title = petition_liege.0121.t.appointment
left_icon = scope:petition_liege
right_icon = house
house = {
set_variable = {
name = petition_liege_appointment_support
value = scope:petition_liege
}
}
custom_tooltip = petition_liege_appointment_support
}
}
}
}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_appointment_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.