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_is_trade_ruler_trigger

gdp_is_trade_ruler_trigger = yes

game/common/scripted_triggers/gdp_trade_scheme_triggers.txt, line 7 (3 lines). No parameters.

gdp_is_trade_ruler_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 7 of its file. It checks, in the game's words: Government allows: profit trade routes. It takes no parameters: gdp_is_trade_ruler_trigger = yes (or no). The game's script calls it in 17 places, among them Trade Scheme: Capacity (decision), Trade Scheme: Competitiveness (decision) and Trade Scheme: Expertise (decision). Patch 1.21.0, from game/common/scripted_triggers/gdp_trade_scheme_triggers.txt.

What it checks

  • Government allows: profit trade routes

• 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 (3 lines of game script)
gdp_is_trade_ruler_trigger = {
	government_allows = profit_trade_routes
}

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

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?