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_merchant_company_title_trigger

gdp_merchant_company_title_trigger = yes

game/common/scripted_triggers/gdp_merchant_triggers.txt, line 1076 (12 lines). No parameters.

gdp_merchant_company_title_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 1076 of its file. It takes no parameters: gdp_merchant_company_title_trigger = yes (or no). The game's script calls it in 20 places, among them A Truce of Traders (event gdp_trade_good_flavor.1012), Flooded Market (event gdp_trade_good_flavor.1047) and Peruse the Genizah: … (event religious_decision.0911). Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.

What it checks

  • Title tier exactly County
  • One of these

    • Has “merchant creation reason” (a variable the game's script sets)
    • or

      All of these

      • is_landless_type_title = yes
      • The … is a Noble Family Title
      • title_domicile ?= { is_domicile_type = merchant_company }

• 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_merchant_company_title_trigger = {
	tier = tier_county
	OR = {
		has_variable = merchant_creation_reason
		AND = {
			is_landless_type_title = yes
			is_noble_family_title = yes
			# Admin noble family titles pass the checks above but hold estates, not companies
			title_domicile ?= { is_domicile_type = merchant_company }
		}
	}
}

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_merchant_company_title_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?