Scripted effect
tribal_transfer_liege_title_effect
tribal_transfer_liege_title_effect = yesgame/common/scripted_effects/00_decisions_effects.txt, line 2464 (35 lines). No parameters.
tribal_transfer_liege_title_effect is a scripted effect in Crusader Kings III, written at line 2464 of its file. It takes no parameters: tribal_transfer_liege_title_effect = yes. The game's script calls it in 7 places, among them Challenge the … (decision), A Challenger (event tribal.1001) and A Challenger (event tribal.1002). Patch 1.20.1.2, from game/common/scripted_effects/00_decisions_effects.txt.
What it does
- scope:title_being_fought_over: Gains the … Title (challenger)
• 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 (35 lines of game script)
tribal_transfer_liege_title_effect = {
create_title_and_vassal_change = {
type = usurped
save_scope_as = change
add_claim_on_loss = no
}
scope:title_being_fought_over = {
change_title_holder = {
holder = scope:challenger
change = scope:change
}
}
resolve_title_and_vassal_change = scope:change
if = {
limit = {
root = scope:challenger
}
scope:liege_to_challenge = {
add_opinion = {
target = scope:challenger
modifier = usurped_title
}
}
}
else = {
hidden_effect = {
scope:liege_to_challenge = {
add_opinion = {
target = scope:challenger
modifier = usurped_title
}
}
}
}
}As written in game/common/scripted_effects/00_decisions_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls tribal_transfer_liege_title_effect.
Decisions (1)
Events (6)
- A Challenger
tribal.1001 - A Challenger
tribal.1002 - A Challenger
tribal.1004 - A Challenger
tribal.1014 - A Challenger
tribal.1006 - A Challenger
tribal.1007
Source: game/common/scripted_effects/00_decisions_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.