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

gg_clean_up_pope_modifiers_effect

gg_clean_up_pope_modifiers_effect = yes

game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt, line 405 (21 lines). No parameters.

gg_clean_up_pope_modifiers_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 405 of its file. It takes no parameters: gg_clean_up_pope_modifiers_effect = yes. The game's script calls it in 2 places, among them on_faith_conversion (on action) and on_rite_change (on action). Patch 1.21.0, from game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt.

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 (21 lines of game script)
gg_clean_up_pope_modifiers_effect = {
	#Remove Pope-specific GG modifiers
	if = {
		limit = {
			faith = {
				OR = {
					religion != religion:christianity_religion
					has_doctrine_parameter = no_head_of_faith
				}
			}				
		}
		if = {
			limit = { has_character_modifier = favored_by_pope_modifier }
			remove_character_modifier = favored_by_pope_modifier
		}
		if = {
			limit = { has_character_modifier = scorned_pope_modifier }
			remove_character_modifier = scorned_pope_modifier
		}
	}
}

As written in game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt.

Where it is used

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

On actions (the game's own hooks) (2)

  • on_faith_conversion
  • on_rite_change

Source: game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_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?