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

Scripted effect

child_secret_faith_conversion_success_effect

child_secret_faith_conversion_success_effect = yes

game/common/scripted_effects/00_religious_interaction_effects.txt, line 1289 (41 lines). No parameters.

child_secret_faith_conversion_success_effect is a scripted effect in Crusader Kings III, written at line 1289 of its file. It takes no parameters: child_secret_faith_conversion_success_effect = yes. The game's script calls it in 3 places, among them Hidden Knowledge (event secret_faith.1003), secret_faith.1001 (event) and The Age of Knowing (event secret_faith.1002). Patch 1.20.1.2, from game/common/scripted_effects/00_religious_interaction_effects.txt.

What it does

  • scope:child:
  • scope:guardian:
    • scope:child:
      • One random secret:
        • Where:
          • NOT = { is_known_by = scope:guardian }
        • reveal_to = scope:guardian
      • Opinion: Impressed (+20)
    • One random secret:
      • Where:
        • NOT = { is_known_by = scope:child }
      • reveal_to = scope:child
    • If

      Then

      • Spiritual fulfillment +3

• 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 (41 lines of game script)
child_secret_faith_conversion_success_effect = {
	scope:child = {
		make_character_crypto_religionist_effect = {
			CRYPTO_RELIGION = scope:guardian.secret_faith
		}
	}
	# Notify the actor
	scope:guardian = {
		send_interface_message = {
			type = event_religious_good
			title = secret_faith.1001.message
			left_icon = scope:child
			scope:child = {
				random_secret = {
					type = secret_crypto_religionist
					limit = {
						NOT = { is_known_by = scope:guardian }
					}
					reveal_to = scope:guardian
				}
				add_opinion = {
					target = PREV
					modifier = impressed_opinion
					opinion = 20
				}
			}
			random_secret = {
				type = secret_crypto_religionist
				limit = {
					NOT = { is_known_by = scope:child }
				}
				reveal_to = scope:child
			}
			# Only playable characters have spiritual fulfillment
			if = {
				limit = { is_playable_character = yes }
				change_spiritual_fulfillment = minor_spiritual_fulfillment_value
			}
		}
	}
}

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 child_secret_faith_conversion_success_effect.

Events (3)

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?