Scripted trigger
has_valid_faction_members_trigger
has_valid_faction_members_trigger = yesgame/common/scripted_triggers/00_faction_triggers.txt, line 225 (16 lines). No parameters.
has_valid_faction_members_trigger is a scripted trigger in Crusader Kings III, written at line 225 of its file. It takes no parameters: has_valid_faction_members_trigger = yes (or no). The game's script calls it in 9 places, among them Ceremonial Claimant Faction (factions), Claimant Faction (factions) and Dissolution Faction (factions). Patch 1.20.1.2, from game/common/scripted_triggers/00_faction_triggers.txt.
The comment above it in the file
factions with only landless adventurers cannot exist
What it checks
If
is_landless_adventurer = yes
Then
scope:faction:One of these
- Any faction member:
is_landless_adventurer = nois_forced_into_faction = no
or
Any faction county member:
- Any faction member:
• 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 (16 lines of game script)
has_valid_faction_members_trigger = {
trigger_if = {
limit = {
is_landless_adventurer = yes
}
scope:faction = {
OR = {
any_faction_member = {
is_landless_adventurer = no
is_forced_into_faction = no
}
any_faction_county_member = { }
}
}
}
}As written in game/common/scripted_triggers/00_faction_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls has_valid_faction_members_trigger.
Factions (9)
- Ceremonial Claimant Faction
- Claimant Faction
- Dissolution Faction
- Escalated Peasant Faction
- Imperial Policy Faction
- Independence Faction
3 more
- Liberty Faction
- Peasant Faction
- Populist Faction
Source: game/common/scripted_triggers/00_faction_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.