Scripted effect
roaming_tally_variable_effect
roaming_tally_variable_effect = { TYPE = … VALUE = … }game/common/scripted_effects/00_roaming_effects.txt, line 39 (17 lines). Parameters: $TYPE$, $VALUE$.
roaming_tally_variable_effect is a scripted effect in Crusader Kings III, written at line 39 of its file. A call passes 2 parameters: TYPE and VALUE. The game's script calls it in 21 places, among them Hike (activity), … in … (event bp3_roaming.0110) and A … of Legends (event bp3_roaming.0120). Patch 1.20.1.2, from game/common/scripted_effects/00_roaming_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (17 lines of game script)
roaming_tally_variable_effect = {
if = {
limit = {
has_variable = roaming_tally_$TYPE$
}
change_variable = {
name = roaming_tally_$TYPE$
add = $VALUE$
}
}
else = {
set_variable = {
name = roaming_tally_$TYPE$
value = $VALUE$
}
}
}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_tally_variable_effect.
Activities (1)
Events (13)
- … in …
bp3_roaming.0110 - A … of Legends
bp3_roaming.0120 - A Battlefield Forgotten
bp3_roaming.0130 - A Chance to Talk
bp3_roaming.0190 - A Night in the Wilds
bp3_roaming.0140 - A Night to Remember
bp3_roaming.0240
7 more
- A Quiet Pond
bp3_roaming.0150 - A Small Grave
bp3_roaming.0250 - Arrival
bp3_roaming.0005 - Meeting a Stranger
bp3_roaming.0100 - The Burning Farm
bp3_roaming.0160 - The Hermit
bp3_roaming.0230 - Tired Mutterings
bp3_roaming.0180
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.