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

Scripted effect · Roads to Power files

state_faith_refuse_conversion_add_piety_effect

state_faith_refuse_conversion_add_piety_effect = yes

game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 10389 (12 lines). No parameters.

state_faith_refuse_conversion_add_piety_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 10389 of its file. It takes no parameters: state_faith_refuse_conversion_add_piety_effect = yes. The game's script calls it in 4 places, among them Demand Conversion (interaction), Demand Conversion (interaction) and Demand Conversion (interaction). Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

What it does

  • If

    • scope:puppet_or_actor.top_liege: Government allows: state faith
    • scope:recipient:
      • Their top liege: Government allows: state faith
      • rite = top_liege.primary_title.state_rite

    Then

    • scope:recipient: Gain +100 Piety

• 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 (12 lines of game script)
state_faith_refuse_conversion_add_piety_effect = {
	if = {
		limit = {
			scope:puppet_or_actor.top_liege = { government_allows = state_faith }
			scope:recipient = {
				top_liege = { government_allows = state_faith }
				rite = top_liege.primary_title.state_rite
			}
		}
		scope:recipient = { add_piety = medium_piety_gain }
	}
}

As written in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

Where it is used

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

Source: game/common/scripted_effects/07_dlc_ep3_scripted_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?