CK3 DatabaseCrusader Kings III · 1.21.0 “Florin” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →Merch→

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

• 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.

Spotted a mistake on this page, or have an idea for the site?