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

Scripted effect · Silk and Silver files

reveal_dealbreaker_secret_effect

reveal_dealbreaker_secret_effect = { REVEAL_TO = … }

game/common/scripted_effects/gdp_merchant_scripted_effects.txt, line 6110 (18 lines). Parameters: $REVEAL_TO$.

reveal_dealbreaker_secret_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 6110 of its file. A call passes 1 parameter: REVEAL_TO. The game's script calls it in 5 places, among them A Patron's Pique (event gdp_decision.1000), A Patron's Pique (event gdp_decision.1010) and Involvement Discovered (event hostile_scheme_discovery.3003). Patch 1.21.0, from game/common/scripted_effects/gdp_merchant_scripted_effects.txt.

What it does

  • If

    Then

    • One random secret:
      • Where:
        • NOT = { is_known_by = $REVEAL_TO$ }
      • reveal_to = $REVEAL_TO$

• 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 (18 lines of game script)
reveal_dealbreaker_secret_effect = {
	if = {
		limit = {
			is_landless_merchant = yes
			any_secret = {
				type = secret_dealbreaker
				NOT = { is_known_by = $REVEAL_TO$ }
			}
		}
		random_secret = {
			type = secret_dealbreaker
			limit = {
				NOT = { is_known_by = $REVEAL_TO$ }
			}
			reveal_to = $REVEAL_TO$
		}
	}
}

As written in game/common/scripted_effects/gdp_merchant_scripted_effects.txt.

Where it is used

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

Events (4)

Source: game/common/scripted_effects/gdp_merchant_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.

Spotted a mistake on this page, or have an idea for the site?