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

Scripted trigger · Silk and Silver files

gdp_company_has_higher_category_expertise_than_trigger

gdp_company_has_higher_category_expertise_than_trigger = { OTHER = … }

game/common/scripted_triggers/gdp_merchant_triggers.txt, line 1891 (12 lines). Parameters: $OTHER$.

gdp_company_has_higher_category_expertise_than_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 1891 of its file. A call passes 1 parameter: OTHER. The game's script calls it in 3 places, among them Share Goods Expertise (interaction), Steal Goods Expertise (scheme) and gdp_steal_market_insights_scheme_target_valid_trigger (scripted trigger). Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.

The comment above it in the file

this = character whose company is ahead in at least one category

What it checks

• 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 (12 lines of game script)
gdp_company_has_higher_category_expertise_than_trigger = {
	save_temporary_scope_as = higher_expertise_character_temp
	any_trade_good_category = {
		has_trade_good_category_xp_track = yes
		save_temporary_scope_as = category_temp
		scope:higher_expertise_character_temp = {
			gdp_company_category_expertise_higher_than_trigger = {
				OTHER = $OTHER$
			}
		}
	}
}

As written in game/common/scripted_triggers/gdp_merchant_triggers.txt.

Where it is used

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

Character interactions (1)

Schemes (1)

  • Steal Goods Expertise

Source: game/common/scripted_triggers/gdp_merchant_triggers.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?