Scripted effect
roaming_mystic_xp_APA_effect
roaming_mystic_xp_APA_effect = { REWARD = … }game/common/scripted_effects/00_roaming_effects.txt, line 26 (12 lines). Parameters: $REWARD$.
roaming_mystic_xp_APA_effect is a scripted effect in Crusader Kings III, written at line 26 of its file. A call passes 1 parameter: REWARD. The game's script calls it in 4 places, among them apa_roaming_ancient_megalith (activity pulse), apa_roaming_ancient_runestone (activity pulse) and The Forgotten Village (event bp3_roaming.0220). Patch 1.20.1.2, from game/common/scripted_effects/00_roaming_effects.txt.
What it does
- If has the Trait: Wise Man:
- Wise Man experience changes
roaming_tally_variable_effect = { TYPE = mystic_xp VALUE = $REWARD$ }
• 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 (12 lines of game script)
roaming_mystic_xp_APA_effect = {
if = {
limit = {
has_trait = lifestyle_mystic
}
add_trait_xp = {
trait = lifestyle_mystic
value = $REWARD$
}
roaming_tally_variable_effect = { TYPE = mystic_xp VALUE = $REWARD$ }
}
}As written in game/common/scripted_effects/00_roaming_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls roaming_mystic_xp_APA_effect.
Activity pulse actions (2)
- apa_roaming_ancient_megalith
- apa_roaming_ancient_runestone
Events (2)
- The Forgotten Village
bp3_roaming.0220 - The Hermit
bp3_roaming.0230
Source: game/common/scripted_effects/00_roaming_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.