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

Scripted effect

restore_sunni_caliphate_scripted_effect

restore_sunni_caliphate_scripted_effect = yes

game/common/scripted_effects/00_major_decisions_scripted_effects.txt, line 1811 (23 lines). No parameters.

restore_sunni_caliphate_scripted_effect is a scripted effect in Crusader Kings III, written at line 1811 of its file. It takes no parameters: restore_sunni_caliphate_scripted_effect = yes. The game's script calls it in 2 places, among them Restore the Sunni Caliphate (decision) and A New Caliphate (event middle_east_decisions.0003). Patch 1.20.1.2, from game/common/scripted_effects/00_major_decisions_scripted_effects.txt.

What it does

  • Gain +250 Piety
  • Sunni Caliphate: Gains the … Title (reformer)
  • Sunni: Fervor increases by +10

• 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)
restore_sunni_caliphate_scripted_effect = {
	add_piety = major_piety_gain
	save_scope_as = reformer
	create_title_and_vassal_change = {
		type = returned
		save_scope_as = change
		add_claim_on_loss = no
	}
	title:d_sunni = {
		save_scope_as = sunni_caliphate
		change_title_holder = {
			holder = scope:reformer
			change = scope:change
		}
	}
	resolve_title_and_vassal_change = scope:change
	faith:sunni = {
		change_fervor = {
			value = substantial_fervor_gain
			desc = fervor_gain_restored_sunni_caliphate
		}
	}
}

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

Where it is used

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

Events (1)

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