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

gdp_set_league_focused_category_effect

gdp_set_league_focused_category_effect = { CATEGORY = … LEAGUE = … }

game/common/scripted_effects/gdp_republic_effects.txt, line 3419 (15 lines). Parameters: $CATEGORY$, $LEAGUE$.

gdp_set_league_focused_category_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 3419 of its file. A call passes 2 parameters: CATEGORY and LEAGUE. The game's script calls it in 1 place, among them Set League Focus (decision). Patch 1.21.0, from game/common/scripted_effects/gdp_republic_effects.txt.

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (15 lines of game script)
gdp_set_league_focused_category_effect = {
	$LEAGUE$ = {
		set_variable = {
			name = league_focused_category
			value = $CATEGORY$
		}
		every_confederation_member = {
			custom = custom.every_trade_league_member
			gdp_apply_league_focused_category_modifier_effect = {
				CHARACTER = this
				CATEGORY = $CATEGORY$
			}
		}
	}
}

As written in game/common/scripted_effects/gdp_republic_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls gdp_set_league_focused_category_effect.

Decisions (1)

Source: game/common/scripted_effects/gdp_republic_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?