Scripted effect
mystic_lifestyle_rank_up_effect
mystic_lifestyle_rank_up_effect = yesgame/common/scripted_effects/00_lifestyle_focus_effects.txt, line 597 (14 lines). No parameters.
mystic_lifestyle_rank_up_effect is a scripted effect in Crusader Kings III, written at line 597 of its file. It takes no parameters: mystic_lifestyle_rank_up_effect = yes. The game's script calls it in 2 places, among them A Taste of Paradise (event pam_secular_faith_events.0038) and mystic_lifestyle_point_gain_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_lifestyle_focus_effects.txt.
The comment above it in the file
Mystic
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)
mystic_lifestyle_rank_up_effect = {
if = {
limit = {
NOT = { has_trait = lifestyle_mystic }
}
add_trait = lifestyle_mystic
}
else = {
add_trait_xp = {
trait = lifestyle_mystic
value = 10
}
}
}As written in game/common/scripted_effects/00_lifestyle_focus_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls mystic_lifestyle_rank_up_effect.
Events (1)
- A Taste of Paradise
pam_secular_faith_events.0038
Scripted effects (1)
Source: game/common/scripted_effects/00_lifestyle_focus_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.