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_assembly_can_pass_decrees_trigger

gdp_assembly_can_pass_decrees_trigger = yes

game/common/scripted_triggers/gdp_republic_triggers.txt, line 56 (24 lines). No parameters.

gdp_assembly_can_pass_decrees_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 56 of its file. It takes no parameters: gdp_assembly_can_pass_decrees_trigger = yes (or no). The game's script calls it in 14 places, among them Debt Forgiveness (decision), Finance War Effort (decision) and Give Alms in Capital (decision). 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 (24 lines of game script)
gdp_assembly_can_pass_decrees_trigger = {
	# Check first if assembly approval is required
	trigger_if = {
		limit = {
			gdp_assembly_approval_for_decrees_trigger = yes
		}
		highest_liege_matching_rule:uses_assembly = {
			# 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
				}
				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
				}
				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_assembly_can_pass_decrees_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?