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

Scripted effect

reveal_to_without_events_effect

reveal_to_without_events_effect = { CHARACTER = … }

game/common/scripted_effects/00_secret_effects.txt, line 617 (44 lines). Parameters: $CHARACTER$.

reveal_to_without_events_effect is a scripted effect in Crusader Kings III, written at line 617 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 32 places, among them …: Bored at the Butts (event ep2_tournament_events.1503), …: Secret Revealed (event pet_animal.0105) and A Murky Lineage (event secret_bastard.0001). Patch 1.20.1.2, from game/common/scripted_effects/00_secret_effects.txt.

What it does

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

The script as written (44 lines of game script)
reveal_to_without_events_effect = {
	if = {
		limit = { secret_type = secret_disputed_heritage }
		$CHARACTER$ = {
			add_character_flag = {
				flag = block_secret_disputed_heritage_discovery_event
				days = 20
			}
		}
	}
	else_if = {
		limit = { secret_type = secret_unmarried_illegitimate_child }
		$CHARACTER$ = {
			add_character_flag = {
				flag = block_secret_unmarried_illegitimate_child_discovery_event
				days = 20
			}
		}
	}
	else_if = {
		limit = { secret_type = secret_murder_attempt }
		$CHARACTER$ = {
			add_character_flag = {
				flag = block_secret_murder_attempt_discovery_event
				days = 20
			}
		}
	}
	else_if = {
		limit = { secret_type = secret_murder }
		$CHARACTER$ = {
			add_character_flag = {
				flag = block_secret_murder_discovery_event
				days = 20
			}
		}
	}
	else_if = {
		limit = { secret_type = secret_lover }
		#Cannot block because the event is mechanical.
		#You can reveal a lover secret and add a variable to it to get special texts. Check out the story_cycle_infidelty_confronter
	}
	reveal_to = $CHARACTER$
}

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

Where it is used

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

Events (27)

21 more

Scripted effects inside an event file (1)

  • intrigue_scheming_3061_change_father_apply_secret_effect

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

  • on_travel_plan_movement

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