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

add_dealbreaker_secret_effect

add_dealbreaker_secret_effect = yes

game/common/scripted_effects/gdp_merchant_scripted_effects.txt, line 6093 (16 lines). No parameters.

add_dealbreaker_secret_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 6093 of its file. It takes no parameters: add_dealbreaker_secret_effect = yes. The game's script calls it in 7 places, among them Abuse Charter Authority (decision), Forge Charter (decision) and smuggle_goods (contract). Patch 1.21.0, from game/common/scripted_effects/gdp_merchant_scripted_effects.txt.

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 (16 lines of game script)
add_dealbreaker_secret_effect = {
	if = {
		limit = {
			is_landless_merchant = yes
			NOR = {
				has_trait = dealbreaker
				any_secret = { type = secret_dealbreaker }
			}
		}
		send_interface_toast = {
			type = event_secret_bad
			title = trait_dealbreaker
			add_secret = { type = secret_dealbreaker }
		}
	}
}

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

Task contracts (1)

  • smuggle_goods

Events (3)

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?