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

disrupt_charter_trade_opportunity_target_valid_trigger

disrupt_charter_trade_opportunity_target_valid_trigger = { SCHEME_OWNER = … }

game/common/scripted_triggers/gdp_merchant_triggers.txt, line 1953 (15 lines). Parameters: $SCHEME_OWNER$.

disrupt_charter_trade_opportunity_target_valid_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 1953 of its file. A call passes 1 parameter: SCHEME_OWNER. The game's script calls it in 2 places, among them disrupt_charter (contract) and disrupt_charter_trade_opportunity_target_trigger (scripted trigger). Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.

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 (15 lines of game script)
disrupt_charter_trade_opportunity_target_valid_trigger = {
	NOT = { this = $SCHEME_OWNER$ }
	is_landless_merchant = yes
	merchant_has_charter_from_patron_trigger = {
		EQUIPPED = no
		INCLUDE_FORGERIES = yes
	}
	OR = {
		suzerain.top_liege = $SCHEME_OWNER$.suzerain.top_liege
		gdp_merchant_diplo_range_trigger = {
			TARGET = this
			MERCHANT = $SCHEME_OWNER$
		}
	}
}

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

Where it is used

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

Task contracts (1)

  • disrupt_charter

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?