Scripted effect · By God Alone files
pam_investiture_council_force_gather_effect
pam_investiture_council_force_gather_effect = yesgame/common/scripted_effects/pam_investiture_council_effects.txt, line 545 (36 lines). No parameters.
pam_investiture_council_force_gather_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 545 of its file. It takes no parameters: pam_investiture_council_force_gather_effect = yes. The game's script calls it in 1 place, among them pam_investiture_council_events.0092 (event). Patch 1.20.1.2, from game/common/scripted_effects/pam_investiture_council_effects.txt.
The comment above it in the file
Activity scope, if it is not grand, invites only reach nearby people
What it does
- scope:host.faith › Every faith character:
- Only some of them (the filter is in the script below)
pam_investiture_free_for_council_effect = yesIf
is_available_adult = yesNone of these
- scope:activity › Any invited character:
this = scope:investiture_gather_char
- scope:activity › Any invited character:
Then
add_to_activity = scope:activity
• 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 (36 lines of game script)
pam_investiture_council_force_gather_effect = {
scope:host.faith = {
every_faith_character = {
# We leave landless clergy to the normal invitation so they do not fill the guest list
limit = {
this != scope:host
is_ai = yes
is_adult = yes
is_healthy = yes
NOT = { government_has_flag = government_is_republic }
NOT = { government_has_flag = government_is_landless_adventurer }
NOT = { government_has_flag = government_is_mercenary }
OR = {
# Landed county+ prelates (see the trigger), heads of rite, and committed kowtow / CB voters.
pam_is_investiture_landed_prelate_trigger = yes
rite.head_of_rite ?= this
has_variable = investiture_stance
}
}
# is_available_adult excludes anyone already here, and adding an invitee mid-acceptance errors
pam_investiture_free_for_council_effect = yes
save_temporary_scope_as = investiture_gather_char
if = {
limit = {
is_available_adult = yes
NOT = {
scope:activity = {
any_invited_character = { this = scope:investiture_gather_char }
}
}
}
add_to_activity = scope:activity
}
}
}
}As written in game/common/scripted_effects/pam_investiture_council_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_investiture_council_force_gather_effect.
Events (1)
Source: game/common/scripted_effects/pam_investiture_council_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.