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_clear_pledged_law_approvers_effect

gdp_clear_pledged_law_approvers_effect = yes

game/common/scripted_effects/gdp_republic_effects.txt, line 1407 (16 lines). No parameters.

gdp_clear_pledged_law_approvers_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1407 of its file. It takes no parameters: gdp_clear_pledged_law_approvers_effect = yes. The game's script calls it in 1 place, among them gdp_spend_pledged_law_approvers_effect (scripted effect). Its body carries 1 text of the game's own for the player. Patch 1.21.0, from game/common/scripted_effects/gdp_republic_effects.txt.

What it does

  • If

    • variable_list_size = { name = law_approvers value > 0 }

    Then

    • All Assembly members who pledged to vote with you will do so and no longer be indebted to you

• 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_clear_pledged_law_approvers_effect = {
	if = {
		limit = {
			has_variable_list = law_approvers
			variable_list_size = {
				name = law_approvers
				value > 0
			}
		}
		custom_tooltip = {
			text = spend_pledged_law_approvers_desc
			clear_variable_list = law_approvers
			remove_character_modifier = gdp_pledged_assembly_vote_modifier
		}
	}
}

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_clear_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?