Scripted effect · Silk and Silver files
gdp_enacted_decree_effect
gdp_enacted_decree_effect = yesgame/common/scripted_effects/gdp_republic_effects.txt, line 1305 (23 lines). No parameters.
gdp_enacted_decree_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1305 of its file. It takes no parameters: gdp_enacted_decree_effect = yes. The game's script calls it in 13 places, among them Debt Forgiveness (decision), Finance War Effort (decision) and Give Alms in Capital (decision). 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.
The comment above it in the file
Effect for whenever a decree is successfully approved and enacted
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 (23 lines of game script)
gdp_enacted_decree_effect = {
if = {
limit = {
has_variable_list = decree_approvers
variable_list_size = {
name = decree_approvers
value > 0
}
}
custom_tooltip = {
text = spend_pledged_decree_approvers_desc
clear_variable_list = decree_approvers
}
}
send_interface_toast = {
type = event_toast_text_good
title = gdp_enacted_decree_toast
desc = gdp_enacted_decree_desc
left_icon = root
right_icon = highest_liege_matching_rule:uses_assembly.primary_title
}
}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_enacted_decree_effect.
Decisions (13)
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.