CK3 DatabaseCrusader Kings III · 1.21.0 “Florin” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →Merch→

Scripted effect · Silk and Silver files

gdp_spend_pledged_law_approvers_effect

gdp_spend_pledged_law_approvers_effect = yes

game/common/scripted_effects/gdp_republic_effects.txt, line 1393 (13 lines). No parameters.

gdp_spend_pledged_law_approvers_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1393 of its file. It takes no parameters: gdp_spend_pledged_law_approvers_effect = yes. The game's script calls it in 59 places, among them 10 Senate Seats (law), 10 Year Term (law) and 15 Year Term (law). Patch 1.21.0, from game/common/scripted_effects/gdp_republic_effects.txt.

The comment above it in the file

Effect for whenever a realm law is passed - pledged assembly votes have been called in

What it does

• 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 (13 lines of game script)
gdp_spend_pledged_law_approvers_effect = {
	if = {
		limit = {
			exists = scope:proposer
		}
		scope:proposer = {
			gdp_clear_pledged_law_approvers_effect = yes
		}
	}
	else = {
		gdp_clear_pledged_law_approvers_effect = yes
	}
}

As written in game/common/scripted_effects/gdp_republic_effects.txt.

Where it is used

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

Source: game/common/scripted_effects/gdp_republic_effects.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?