Scripted trigger
house_head_would_approve_legitimization_trigger
house_head_would_approve_legitimization_trigger = { BASTARD = … LEGITIMIZER = … }game/common/scripted_triggers/00_family_triggers.txt, line 323 (18 lines). Parameters: $BASTARD$, $LEGITIMIZER$.
house_head_would_approve_legitimization_trigger is a scripted trigger in Crusader Kings III, written at line 323 of its file. A call passes 2 parameters: BASTARD and LEGITIMIZER. The game's script calls it in 2 places, among them The Blessing of Ignorance (event birth.2001) and is_allowed_to_legitimize_child_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_family_triggers.txt.
What it checks
$LEGITIMIZER$ = { save_temporary_scope_as = the_legitimizer }$BASTARD$ = { save_temporary_scope_as = the_bastard }If
a check the game hides
Then
- House head legitimize approval rating more than 0
• 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 (18 lines of game script)
house_head_would_approve_legitimization_trigger = {
$LEGITIMIZER$ = {
save_temporary_scope_as = the_legitimizer
}
$BASTARD$ = {
save_temporary_scope_as = the_bastard
}
trigger_if = {
limit = {
exists = scope:legitimizer.house
}
scope:legitimizer.house.house_head = {
save_temporary_scope_as = the_house_head
}
house_head_legitimize_approval_rating > 0
}
}As written in game/common/scripted_triggers/00_family_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls house_head_would_approve_legitimization_trigger.
Events (1)
- The Blessing of Ignorance
birth.2001
Scripted triggers (1)
Source: game/common/scripted_triggers/00_family_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.