Scripted effect
petition_liege_save_governorship_effect
petition_liege_save_governorship_effect = yesgame/common/scripted_effects/00_petition_liege_effects.txt, line 1297 (35 lines). No parameters.
petition_liege_save_governorship_effect is a scripted effect in Crusader Kings III, written at line 1297 of its file. It takes no parameters: petition_liege_save_governorship_effect = yes. The game's script calls it in 1 place, among them petition_liege.9000 (event). Patch 1.20.1.2, from game/common/scripted_effects/00_petition_liege_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (35 lines of game script)
petition_liege_save_governorship_effect = {
if = {
limit = {
any_held_title = {
petition_liege_governorship_duchy_request = { LIEGE = scope:petition_liege }
}
}
random_held_title = {
limit = { petition_liege_governorship_duchy_request = { LIEGE = scope:petition_liege } }
save_scope_as = governorship_title
}
}
else_if = {
limit = {
any_held_title = {
petition_liege_governorship_county_request = { LIEGE = scope:petition_liege }
}
}
random_held_title = {
limit = { petition_liege_governorship_county_request = { LIEGE = scope:petition_liege } }
save_scope_as = governorship_title
}
}
else_if = {
limit = {
any_held_title = {
petition_liege_governorship_kingdom_request = { LIEGE = scope:petition_liege }
}
}
random_held_title = {
limit = { petition_liege_governorship_kingdom_request = { LIEGE = scope:petition_liege } }
save_scope_as = governorship_title
}
}
}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_save_governorship_effect.
Events (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.