Scripted effect
apply_saharan_provisions_debuff_effect
apply_saharan_provisions_debuff_effect = yesgame/common/scripted_effects/00_laamp_effects.txt, line 8 (12 lines). No parameters.
apply_saharan_provisions_debuff_effect is a scripted effect in Crusader Kings III, written at line 8 of its file. It takes no parameters: apply_saharan_provisions_debuff_effect = yes. The game's script calls it in 1 place, among them on_game_start_after_lobby (on action). Patch 1.20.1.2, from game/common/scripted_effects/00_laamp_effects.txt.
What it does
If
- Is in the the Sahara region
One of these
terrain = desertor
terrain = desert_mountains
Then
add_province_modifier = world_africa_sahara_provisions_usage_multiplier_modifier
• 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)
apply_saharan_provisions_debuff_effect = {
if = {
limit = {
geographical_region = custom_sahara_proper
OR = {
terrain = desert
terrain = desert_mountains
}
}
add_province_modifier = world_africa_sahara_provisions_usage_multiplier_modifier
}
}As written in game/common/scripted_effects/00_laamp_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls apply_saharan_provisions_debuff_effect.
On actions (the game's own hooks) (1)
- on_game_start_after_lobby
Source: game/common/scripted_effects/00_laamp_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.