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

gdp_disrupt_trade_routes_notify_target_effect

gdp_disrupt_trade_routes_notify_target_effect = yes

game/common/scripted_effects/gdp_trade_scheme_effects.txt, line 193 (23 lines). No parameters.

gdp_disrupt_trade_routes_notify_target_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 193 of its file. It takes no parameters: gdp_disrupt_trade_routes_notify_target_effect = yes. The game's script calls it in 1 place, among them Disrupt Trade Routes: Success (event gdp_trade_scheme.0012). Its body carries 2 texts of the game's own for the player. Patch 1.21.0, from game/common/scripted_effects/gdp_trade_scheme_effects.txt.

The comment above it in the file

Anonymous unless the scheme was discovered
Hidden, or it prints into the owner's own resolution event

What it does

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

The script as written (23 lines of game script)
gdp_disrupt_trade_routes_notify_target_effect = {
	hidden_effect = {
		scope:target ?= {
			if = {
				limit = { exists = scope:scheme_discovered }
				send_interface_toast = {
					type = event_toast_effect_bad
					title = gdp_disrupt_trade_routes_target_notification
					left_icon = scope:owner
					custom_tooltip = gdp_disrupt_trade_routes_target_notification_discovered_tt
				}
			}
			else = {
				send_interface_toast = {
					type = event_toast_effect_bad
					title = gdp_disrupt_trade_routes_target_notification
					left_icon = scope:target
					custom_tooltip = gdp_disrupt_trade_routes_target_notification_tt
				}
			}
		}
	}
}

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

Where it is used

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

Events (1)

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