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_should_spawn_new_merchant_company_trigger

gdp_should_spawn_new_merchant_company_trigger = yes

game/common/scripted_triggers/gdp_merchant_triggers.txt, line 1969 (7 lines). No parameters.

gdp_should_spawn_new_merchant_company_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 1969 of its file. It takes no parameters: gdp_should_spawn_new_merchant_company_trigger = yes (or no). The game's script calls it in 2 places, among them gdp_merchant.4001 (event) and gdp_merchant_pool_pulse (on action). Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.

What it checks

Every line of it is script with no tooltip text: the script is below.

The script as written (7 lines of game script)
gdp_should_spawn_new_merchant_company_trigger = {
	gdp_merchant_companies_counted_trigger = yes
	global_variable_list_size = {
		name = merchants_tally
		value < merchant_company_spawn_threshold_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_should_spawn_new_merchant_company_trigger.

On actions (the game's own hooks) (1)

  • gdp_merchant_pool_pulse

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?