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_increase_trade_expertise_xp_effect

gdp_increase_trade_expertise_xp_effect = { CATEGORY = … VALUE = … }

game/common/scripted_effects/gdp_merchant_scripted_effects.txt, line 6372 (9 lines). Parameters: $CATEGORY$, $VALUE$.

gdp_increase_trade_expertise_xp_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 6372 of its file. A call passes 2 parameters: CATEGORY and VALUE. The game's script calls it in 71 places, among them A Beginner's Mistake (event gdp_trade_good_flavor.1015), A Blade From My Best (event gdp_trade_good_flavor.3022) and A Choke on Supply (event gdp_trade_good_flavor.1023). Patch 1.21.0, from game/common/scripted_effects/gdp_merchant_scripted_effects.txt.

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 (9 lines of game script)
gdp_increase_trade_expertise_xp_effect = {
	random_held_title = {
		limit = { gdp_merchant_company_title_trigger = yes }
		add_trade_good_category_xp = {
			target = $CATEGORY$
			value = $VALUE$
		}
	}
}

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

Events (67)

61 more

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?