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

Scripted effect · Wandering Nobles files

souvenirs_aplenty_gallowsbait_effect

souvenirs_aplenty_gallowsbait_effect = { TRACK = … }

game/common/scripted_effects/08_bp3_effects.txt, line 647 (14 lines). Parameters: $TRACK$.

souvenirs_aplenty_gallowsbait_effect is a scripted effect in Crusader Kings III, in the Wandering Nobles files, written at line 647 of its file. A call passes 1 parameter: TRACK. The game's script calls it in 1 place, among them on_travel_plan_complete (on action). Patch 1.20.1.2, from game/common/scripted_effects/08_bp3_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 (14 lines of game script)
souvenirs_aplenty_gallowsbait_effect = {
	send_interface_message = {
		type = event_generic_good
		title = souvenirs_aplenty_perk_name
		left_icon = root
		
		add_gold = 25
		add_trait_xp = {
			trait = gallowsbait
			track = $TRACK$
			value = 5
		}
	}
}

As written in game/common/scripted_effects/08_bp3_effects.txt.

Where it is used

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

On actions (the game's own hooks) (1)

  • on_travel_plan_complete

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