Scripted effect
roaming_gold_reward_APA_effect
roaming_gold_reward_APA_effect = { REWARD = … }game/common/scripted_effects/00_roaming_effects.txt, line 21 (4 lines). Parameters: $REWARD$.
roaming_gold_reward_APA_effect is a scripted effect in Crusader Kings III, written at line 21 of its file. A call passes 1 parameter: REWARD. The game's script calls it in 4 places, among them apa_roaming_coast_seashells (activity pulse), apa_roaming_oasis_traders (activity pulse) and apa_roaming_traders (activity pulse). Patch 1.20.1.2, from game/common/scripted_effects/00_roaming_effects.txt.
What it does
- They gets …
roaming_tally_variable_effect = { TYPE = gold 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 (4 lines of game script)
roaming_gold_reward_APA_effect = {
add_gold = $REWARD$
roaming_tally_variable_effect = { TYPE = gold 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_gold_reward_APA_effect.
Activity pulse actions (3)
- apa_roaming_coast_seashells
- apa_roaming_oasis_traders
- apa_roaming_traders
Events (1)
- The Forgotten Village
bp3_roaming.0220
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.