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

Scripted effect · Legends of the Dead files

hostile_scheme_exposure_legitimacy_effect

hostile_scheme_exposure_legitimacy_effect = yes

game/common/scripted_effects/06_dlc_ce1_legitimacy_effects.txt, line 356 (6 lines). No parameters.

hostile_scheme_exposure_legitimacy_effect is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 356 of its file. It takes no parameters: hostile_scheme_exposure_legitimacy_effect = yes. The game's script calls it in 3 places, among them Involvement Discovered (event hostile_scheme_discovery.3003), Schemer Discovered! (event hostile_scheme_discovery.1002) and secret_exposed_owner_effects_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/06_dlc_ce1_legitimacy_effects.txt.

The comment above it in the file

LEGITIMACY LOSS FROM HOSTILE SCHEME EXPOSURE

What it does

• 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 (6 lines of game script)
hostile_scheme_exposure_legitimacy_effect = {
	if = {
		limit = { is_valid_for_legitimacy_change = yes }
		add_legitimacy = minor_legitimacy_loss
	}
}

As written in game/common/scripted_effects/06_dlc_ce1_legitimacy_effects.txt.

Where it is used

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

Events (2)

Source: game/common/scripted_effects/06_dlc_ce1_legitimacy_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?