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_tgf_renowned_in_category_trigger

gdp_tgf_renowned_in_category_trigger = { CATEGORY = … }

game/common/scripted_triggers/gdp_merchant_triggers.txt, line 1520 (9 lines). Parameters: $CATEGORY$.

gdp_tgf_renowned_in_category_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 1520 of its file. A call passes 1 parameter: CATEGORY. The game's script calls it in 6 places, among them A Name for the Trade (event gdp_trade_good_flavor.1022), gdp_tgf_lapsed_category_trigger (local trigger) and gdp_tgf_nickname_route_trigger (local 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 has reached the renowned Trade Expertise tier in $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 (9 lines of game script)
gdp_tgf_renowned_in_category_trigger = {
	any_held_title = {
		gdp_merchant_company_title_trigger = yes
		trade_good_category_level = {
			target = $CATEGORY$
			value >= gdp_tgf_renowned_expertise_level_value
		}
	}
}

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

Events (1)

Scripted triggers inside an event file (3)

  • gdp_tgf_lapsed_category_trigger
  • gdp_tgf_nickname_route_trigger
  • gdp_tgf_renowned_sold_good_trigger

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?