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_disrupt_trade_routes_scheme_target_valid_trigger

gdp_disrupt_trade_routes_scheme_target_valid_trigger = { SCHEME_OWNER = … }

game/common/scripted_triggers/gdp_trade_scheme_triggers.txt, line 44 (8 lines). Parameters: $SCHEME_OWNER$.

gdp_disrupt_trade_routes_scheme_target_valid_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 44 of its file. A call passes 1 parameter: SCHEME_OWNER. The game's script calls it in 1 place, among them Disrupt Trade Routes (scheme). Its body carries 1 text of the game's own for the player. Patch 1.21.0, from game/common/scripted_triggers/gdp_trade_scheme_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 (8 lines of game script)
gdp_disrupt_trade_routes_scheme_target_valid_trigger = {
	NOT = { this = $SCHEME_OWNER$ }
	gdp_is_trade_ruler_trigger = yes
	custom_tooltip = {
		text = gdp_disrupt_trade_routes_target_needs_route_tt
		any_trade_route = { count >= 1 }
	}
}

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

Where it is used

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

Schemes (1)

  • Disrupt Trade Routes

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