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_league_monopoly_cb_target_valid_trigger

gdp_league_monopoly_cb_target_valid_trigger = { LEADER = … }

game/common/scripted_triggers/gdp_republic_triggers.txt, line 809 (28 lines). Parameters: $LEADER$.

gdp_league_monopoly_cb_target_valid_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 809 of its file. A call passes 1 parameter: LEADER. The game's script calls it in 1 place, among them Enforce a Monopoly (casus belli). Its body carries 3 texts 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

Valid monopoly CB target for $LEADER$'s 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 (28 lines of game script)
gdp_league_monopoly_cb_target_valid_trigger = {
	is_landless_type_title = no
	save_temporary_scope_as = monopoly_cb_county
	custom_tooltip = {
		text = league_monopoly_cb_market_seat_tt
		title_province.barony.trade_market ?= {
			trade_market_owner.county = scope:monopoly_cb_county
		}
	}
	custom_tooltip = {
		text = league_monopoly_cb_member_trading_tt
		title_province.barony.trade_market ?= {
			gdp_league_member_trading_in_market_trigger = { LEAGUE = $LEADER$.confederation }
		}
	}
	custom_tooltip = {
		text = league_monopoly_cb_already_complete_tt
		title_province.barony.trade_market ?= {
			NOR = {
				has_complete_trade_monopoly = yes
				any_trade_monopoly_for_market = {
					is_complete_monopoly = yes
					confederation_owner ?= $LEADER$.confederation
				}
			}
		}
	}
}

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

Casus belli (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?