Scripted effect · Silk and Silver files
gg_add_involvement_effect
gg_add_involvement_effect = { AMOUNT = … }game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt, line 1418 (14 lines). Parameters: $AMOUNT$.
gg_add_involvement_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1418 of its file. A call passes 1 parameter: AMOUNT. The game's script calls it in 8 places, among them … (situation), gg_involvement_catalyst_effect (scripted effect) and gg_involvement_catalyst_interaction_effect (scripted effect). Patch 1.21.0, from game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt.
The comment above it in the file
Involvement
What it does
- If has the Involved Prominence Modifier: Loses “Involved Prominence”
- If gg involvement at least gg involvement modifier cap:
- Gains the modifier “Involved Prominence” — increase per 10th increment of Involvement (max 10)
• 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 (14 lines of game script)
gg_add_involvement_effect = {
change_variable = {
name = gg_involvement
add = $AMOUNT$
}
if = {
limit = { has_character_modifier = gg_involvement_modifier }
remove_character_modifier = gg_involvement_modifier
}
if = {
limit = { var:gg_involvement >= gg_involvement_modifier_cap }
add_character_modifier = gg_involvement_modifier
}
}As written in game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls gg_add_involvement_effect.
Source: game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.