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_republic_execution_allowed_trigger

gdp_republic_execution_allowed_trigger = { TARGET = … }

game/common/scripted_triggers/gdp_republic_triggers.txt, line 123 (16 lines). Parameters: $TARGET$.

gdp_republic_execution_allowed_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 123 of its file. A call passes 1 parameter: TARGET. The game's script calls it in 1 place, among them Execute (interaction). Its body carries 2 texts of the game's own for the player. Patch 1.21.0, from game/common/scripted_triggers/gdp_republic_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 (16 lines of game script)
gdp_republic_execution_allowed_trigger = {
	custom_tooltip = {
		text = republic_execution_prohibited_desc
		NOT = { has_realm_law_flag = republic_execution_prohibited }
	}
	trigger_if = {
		limit = {
			gdp_is_assembly_head_trigger = yes
			has_realm_law_flag = republic_execution_approval_required
		}
		custom_tooltip = {
			text = must_have_assembly_approval_execution_desc
			var:has_assembly_approval_execution ?= $TARGET$
		}
	}
}

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

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?