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

Scripted effect

remove_law_related_modifiers_effect

remove_law_related_modifiers_effect = yes

game/common/scripted_effects/00_realm_effects.txt, line 60 (7 lines). No parameters.

remove_law_related_modifiers_effect is a scripted effect in Crusader Kings III, written at line 60 of its file. It takes no parameters: remove_law_related_modifiers_effect = yes. The game's script calls it in 39 places, among them Absolute Autocracy (law), Absolute Church Authority (law) and Absolute Crown Authority (law). Patch 1.20.1.2, from game/common/scripted_effects/00_realm_effects.txt.

The comment above it in the file

We use this rather than doing it straight in the effect block for better mod compatibility, since this can be overridden without adjusting the rest of the laws file.

What it does

  • If has the Modifier: Has Convenient Scapegoat: Loses “Has Convenient Scapegoat”

• 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 (7 lines of game script)
remove_law_related_modifiers_effect = {
	# We call out some modifiers because we want the player to see what they're losing, but it's fine to hide future modifiers ye may add in a hidden_effect if they're minor.
	if = {
		limit = { has_character_modifier = liege_authority_boost_has_scapegoat_modifier }
		remove_character_modifier = liege_authority_boost_has_scapegoat_modifier
	}
}

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

Where it is used

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

Source: game/common/scripted_effects/00_realm_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.

Spotted a mistake on this page?