Scripted effect
petition_liege_0121_wedding_effect
petition_liege_0121_wedding_effect = yesgame/common/scripted_effects/00_petition_liege_effects.txt, line 947 (33 lines). No parameters.
petition_liege_0121_wedding_effect is a scripted effect in Crusader Kings III, written at line 947 of its file. It takes no parameters: petition_liege_0121_wedding_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
- scope:petition_vassal: … Marriage acceptance with the Ceremonial House: +50
- 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 (33 lines of game script)
petition_liege_0121_wedding_effect = {
scope:petition_vassal = { custom_tooltip = petition_liege_wedding_permission }
scope:petition_liege = {
stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain
}
hidden_effect = {
send_interface_toast = {
title = petition_liege.0121.t.wedding
left_icon = scope:petition_vassal
right_icon = house
custom_tooltip = petition_liege_wedding_permission
}
}
}
scope:petition_vassal = {
hidden_effect = {
send_interface_toast = {
title = petition_liege.0121.t.wedding
left_icon = scope:petition_liege
right_icon = scope:petition_liege.house
house = {
set_variable = {
name = petition_liege_wedding_permission_flag
value = scope:petition_liege.house
years = 5
}
}
custom_tooltip = petition_liege_wedding_permission
}
}
}
}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_wedding_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.