Scripted trigger
is_available_schemer
is_available_schemer = yesgame/common/scripted_triggers/00_court_role_triggers.txt, line 21 (15 lines). No parameters.
is_available_schemer is a scripted trigger in Crusader Kings III, written at line 21 of its file. It takes no parameters: is_available_schemer = yes (or no). No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/00_court_role_triggers.txt.
What it checks
One of these
has_owned_scheme = yesor
scope:ruler › Any targeting scheme:- Is hostile
- Any scheme agent character:
this = scope:schemer_check
is_available_healthy_ai_adult = yes
• 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 (15 lines of game script)
is_available_schemer = {
save_temporary_scope_as = schemer_check
OR = {
has_owned_scheme = yes
scope:ruler = {
any_targeting_scheme = {
is_hostile = yes
any_scheme_agent_character = {
this = scope:schemer_check
}
}
}
}
is_available_healthy_ai_adult = yes
}As written in game/common/scripted_triggers/00_court_role_triggers.txt.
Where it is used
No file of common/, events/ or history/ calls it.
Source: game/common/scripted_triggers/00_court_role_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.