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_tgf_add_tiered_county_modifier_effect

gdp_tgf_add_tiered_county_modifier_effect = { MODIFIER = … YEARS = … }

game/common/scripted_effects/gdp_merchant_scripted_effects.txt, line 7241 (15 lines). Parameters: $MODIFIER$, $YEARS$.

gdp_tgf_add_tiered_county_modifier_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 7241 of its file. A call passes 2 parameters: MODIFIER and YEARS. The game's script calls it in 6 places, among them A Choke on Supply (event gdp_trade_good_flavor.1023), A Rich Vein (event gdp_trade_good_flavor.2003) and Fatten for Market (event gdp_trade_good_flavor.3015). Patch 1.21.0, from game/common/scripted_effects/gdp_merchant_scripted_effects.txt.

The comment above it in the file

County version of gdp_tgf_add_tiered_route_modifier_effect. this = county

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 (15 lines of game script)
gdp_tgf_add_tiered_county_modifier_effect = {
	if = {
		limit = { gdp_tgf_root_renowned_in_event_category_trigger = yes }
		add_county_modifier = {
			modifier = $MODIFIER$_renowned_modifier
			years = $YEARS$
		}
	}
	else = {
		add_county_modifier = {
			modifier = $MODIFIER$_modifier
			years = $YEARS$
		}
	}
}

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

Where it is used

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

Events (6)

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