Scripted trigger · Wards and Wardens files
character_can_rites_of_passage_trigger
character_can_rites_of_passage_trigger = yesgame/common/scripted_triggers/05_bp2_scripted_triggers.txt, line 36 (20 lines). No parameters.
character_can_rites_of_passage_trigger is a scripted trigger in Crusader Kings III, in the Wards and Wardens files, written at line 36 of its file. It takes no parameters: character_can_rites_of_passage_trigger = yes (or no). The game's script calls it in 3 places, among them Rites of Passage (decision), Rites of Passage (event bp2_decision.0002) and Rites of Passage: A Familiar Fear (event bp2_yearly.7029). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/05_bp2_scripted_triggers.txt.
What it checks
One of these
All of these
- Is a child
- Is at least 12 years old
- Has not completed any rite of passage
or
Delayed completing any rite of passage by 1 year
• 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 (20 lines of game script)
character_can_rites_of_passage_trigger = {
OR = {
AND = {
is_adult = no
age >= 12
custom_description = {
text = rites_of_passage_trigger_not_proven
NOT = {
any_memory = {
memory_type = completed_rites_of_passage
}
}
}
}
custom_description = {
text = rites_of_passage_trigger_delayed
has_character_flag = unproven_adult_flag
}
}
}As written in game/common/scripted_triggers/05_bp2_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls character_can_rites_of_passage_trigger.
Decisions (1)
Events (2)
- Rites of Passage
bp2_decision.0002 - Rites of Passage: A Familiar Fear
bp2_yearly.7029
Source: game/common/scripted_triggers/05_bp2_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.