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

Scripted effect

court_tutor_improve_others_trait_xp_effect

court_tutor_improve_others_trait_xp_effect = { TRAIT = … }

game/common/scripted_effects/00_court_position_effects.txt, line 3307 (18 lines). Parameters: $TRAIT$.

court_tutor_improve_others_trait_xp_effect is a scripted effect in Crusader Kings III, written at line 3307 of its file. A call passes 1 parameter: TRAIT. The game's script calls it in 1 place, among them Teach Court (court task). Patch 1.20.1.2, from game/common/scripted_effects/00_court_position_effects.txt.

The comment above it in the file

Need a 'notification_character' scope for it to work properly

What it does

  • scope:notification_character › scope:target_character: $TRAIT$ experience +5

• 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)
court_tutor_improve_others_trait_xp_effect = {
	scope:notification_character = {
		send_interface_toast = {
			type = event_royal_court_good_with_text
			title = court_tutor_improve_others_title
			desc = court_tutor_improve_others_notification_desc
			left_icon = root
			right_icon = scope:target_character
		
			scope:target_character = {
				add_trait_xp = {
					trait = $TRAIT$
					value = 5
				}
			}
		}
	}
}

As written in game/common/scripted_effects/00_court_position_effects.txt.

Where it is used

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

Court position tasks (1)

  • Teach Court

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