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_league_head_trigger

gdp_is_trade_league_head_trigger = yes

game/common/scripted_triggers/gdp_republic_triggers.txt, line 647 (11 lines). No parameters.

gdp_is_trade_league_head_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 647 of its file. It checks, in the game's words: You are the Trade League Leader of a Trade League. It takes no parameters: gdp_is_trade_league_head_trigger = yes (or no). The game's script calls it in 5 places, among them Set League Focus (decision), Expel Rival Traders (interaction) and Enforce a Monopoly (casus belli). Its body carries 1 text of the game's own for the player. Patch 1.21.0, from game/common/scripted_triggers/gdp_republic_triggers.txt.

The comment above it in the file

Head of a title-based trade league. Excludes the Lombard League.

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 (11 lines of game script)
gdp_is_trade_league_head_trigger = {
	custom_tooltip = {
		text = you_are_head_of_the_trade_league
		any_held_title = {
			is_leading_title = yes
			title_confederation ?= {
				confederation_type = confederation_type:trade_league
			}
		}
	}
}

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

Where it is used

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

Decisions (1)

Character interactions (1)

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