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)
- …: Bored at the Butts
ep2_tournament_events.1503 - …: Secret Revealed
pet_animal.0105 - A Murky Lineage
secret_bastard.0001 - Bastard Born
birth.1006 - Behind a Locked Door
feast_default.2008 - Classified Information
ep3_contract_event.0580
21 more
- Classified Information: A New Deal
ep3_contract_event.0581 - Classified Information: Success
ep3_contract_event.0585 - Concerning Tutelage
yearly.5024 - ep3_travel_option_events.0004
- Errant Heir
hunt.4008 - Espionage: Murder
spymaster_task.0344 - Fabricate Hook: A Secret
fabricate_hook_outcome.0001 - Forbidden Love
yearly.0003 - Hearty Competition
fp1_yearly.2100 - Hospitality: Deception And Desire
diplomacy_foreign_special.1026 - Hunted
hunt.4009 - Hunted
hunt.4010 - In High Places
ep3_powerful_families.8000 - Information Brokering
intrigue_scheming.4052 - Of Uncertain Stock
secret_bastard.0002 - Suckling Spouse
bp2_yearly.7002 - The … I Dream About
peasant_affair.2003 - The Lovers
hunt.4015 - The Secret
adultery.3001 - Truth or Torment
prison.1002 - Wet Work
ep3_contract_event.0590
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.