Scripted effect · All Under Heaven files
grand_mentor_mentoring_trait_track_xp_effect
grand_mentor_mentoring_trait_track_xp_effect = { TRACK = … TRAIT = … }game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 131 (17 lines). Parameters: $TRACK$, $TRAIT$.
grand_mentor_mentoring_trait_track_xp_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 131 of its file. A call passes 2 parameters: TRACK and TRAIT. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
What it does
- scope:target_character: $TRAIT$ ($TRACK$) 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 (17 lines of game script)
grand_mentor_mentoring_trait_track_xp_effect = {
send_interface_toast = {
type = event_royal_court_good_with_text
title = grand_mentor_mentoring_title
desc = grand_mentor_mentoring_notification_desc
left_icon = root
right_icon = scope:target_character
scope:target_character = {
add_trait_xp = {
trait = $TRAIT$
track = $TRACK$
value = 5
}
}
}
}As written in game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
Where it is used
No file of common/, events/ or history/ calls it.
Source: game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.