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

Scripted effect

efg_remove_contested_empire_modifiers_effect

efg_remove_contested_empire_modifiers_effect = yes

game/common/scripted_effects/00_empire_faith_gate_effects.txt, line 2 (7 lines). No parameters.

efg_remove_contested_empire_modifiers_effect is a scripted effect in Crusader Kings III, written at line 2 of its file. It takes no parameters: efg_remove_contested_empire_modifiers_effect = yes. The game's script calls it in 3 places, among them on_title_destroyed (on action), on_title_gain (on action) and efg_recalculate_contested_empire_for_faith_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_empire_faith_gate_effects.txt.

The comment above it in the file

Empire Faith Gate — scripted effects (scope = character to strip modifiers from)

What it does

  • Loses “Contested Primacy”
  • Loses “Challenged Primacy”
  • Loses “Divided Primacy”

• 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)
efg_remove_contested_empire_modifiers_effect = {
	remove_character_modifier = multi_empire_same_faith_penalty_1
	remove_character_modifier = multi_empire_same_faith_penalty_2
	remove_character_modifier = multi_empire_same_faith_penalty_3
	remove_variable = efg_grace_period_end_year
	remove_variable = efg_modifier_pending_end_year
}

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

Where it is used

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

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

  • on_title_destroyed
  • on_title_gain

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