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

Scripted effect

spread_crypto_religion_to_target_effect

spread_crypto_religion_to_target_effect = { TARGET = … }

game/common/scripted_effects/00_religious_interaction_effects.txt, line 1263 (25 lines). Parameters: $TARGET$.

spread_crypto_religion_to_target_effect is a scripted effect in Crusader Kings III, written at line 1263 of its file. A call passes 1 parameter: TARGET. The game's script calls it in 1 place, among them false_conversion_2000_convert (local effect). Patch 1.20.1.2, from game/common/scripted_effects/00_religious_interaction_effects.txt.

The comment above it in the file

Makes the target a crypto-religionist of the root's faith and exposes both secrets to one another
Owner_Crypto_Secret needs to be already scoped before calling this effect

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (25 lines of game script)
spread_crypto_religion_to_target_effect = {
	$TARGET$ = {
		if = {
			limit = {
				NOT = {
					any_secret = { type = secret_crypto_religionist }
				}
			}

			make_character_crypto_religionist_effect = { CRYPTO_RELIGION = scope:owner.secret_faith }
			random_secret = {
				type = secret_crypto_religionist
				reveal_to_without_events_effect = { CHARACTER = root }
			}
			if = {
				limit = {
					NOT = { scope:owner_crypto_secret = { is_known_by = $TARGET$ } }
				}
				scope:owner_crypto_secret = {
					reveal_to_without_events_effect = { CHARACTER = $TARGET$ }
				}
			}
		}
	}
}

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

Where it is used

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

Scripted effects inside an event file (1)

  • false_conversion_2000_convert

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