Scripted trigger · All Under Heaven files
can_pass_candidate_score_prestige_law_trigger
can_pass_candidate_score_prestige_law_trigger = yesgame/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt, line 306 (26 lines). No parameters.
can_pass_candidate_score_prestige_law_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 306 of its file. It takes no parameters: can_pass_candidate_score_prestige_law_trigger = yes (or no). The game's script calls it in 2 places, among them Make Movement Petition (decision) and Family (law). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt.
What it checks
- Their top liege:
- At least … Ministers have to be members of Conservative Movement (currently: …)
- House Heads of at least … Powerful Families have to be members of Conservative Movement (currently: …)
• 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 (26 lines of game script)
can_pass_candidate_score_prestige_law_trigger = {
top_liege = {
custom_description = {
text = conservative_ministers_tt
value = conservative_ministers_value
any_councillor = {
count >= needed_conservative_ministers_value
top_participant_group:dynastic_cycle ?= {
participant_group_type = conservative_movement
}
}
}
custom_description = {
text = conservative_powerful_families_tt
value = conservative_powerful_families_value
any_powerful_family = {
count >= needed_conservative_powerful_families_value
house_head = {
top_participant_group:dynastic_cycle ?= {
participant_group_type = conservative_movement
}
}
}
}
}
}As written in game/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls can_pass_candidate_score_prestige_law_trigger.
Decisions (1)
Laws (1)
Source: game/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.