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_can_pass_republic_law_trigger

gdp_can_pass_republic_law_trigger = yes

game/common/scripted_triggers/gdp_republic_triggers.txt, line 12 (18 lines). No parameters.

gdp_can_pass_republic_law_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 12 of its file. It takes no parameters: gdp_can_pass_republic_law_trigger = yes (or no). The game's script calls it in 60 places, among them 10 Senate Seats (law), 10 Year Term (law) and 15 Year Term (law). 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 (18 lines of game script)
gdp_can_pass_republic_law_trigger = {
	# If we have a council assembly with voting powers, no council position can be left empty
	trigger_if = {
		limit = {
			has_realm_law = republic_assembly_composition_council
			NOT = { has_realm_law = republic_assembly_authority_ceremonial }
		}
		has_free_council_slot = no
	}
	# If we have a senate, the number of senators much be at least 90% of the total senate size
	trigger_if = {
		limit = {
			has_realm_law_flag = republic_senate_size
			NOT = { has_realm_law = republic_assembly_authority_ceremonial }
		}
		gdp_republic_senate_has_enough_senators_trigger = yes
	}
}

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

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?