Scripted trigger
province_has_vegetable_yams_trigger
province_has_vegetable_yams_trigger = yesgame/common/scripted_triggers/00_food_scripted_triggers.txt, line 26 (13 lines). No parameters.
province_has_vegetable_yams_trigger is a scripted trigger in Crusader Kings III, written at line 26 of its file. It takes no parameters: province_has_vegetable_yams_trigger = yes (or no). The game's script calls it in 3 places, among them select_root_vegetable_effect (scripted effect), RegionalRootVegetable (custom loc) and RegionalRootVegetablePlural (custom loc). Patch 1.20.1.2, from game/common/scripted_triggers/00_food_scripted_triggers.txt.
What it checks
One of these
- Is in the Africa region
or
Is in the Tibet regionor
Is in the Eastern Steppe regionor
Is in the Tarim Basin regionor
Is in the China regionor
Is in the Southeast Asia regionor
Is in the Korea region
• 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 (13 lines of game script)
province_has_vegetable_yams_trigger = {
OR = {
# African yams
geographical_region = world_africa
# Chinese yams
geographical_region = world_tibet
geographical_region = world_steppe_east
geographical_region = world_steppe_tarim
geographical_region = world_asia_china
geographical_region = world_asia_southeast
geographical_region = world_asia_korea
}
}As written in game/common/scripted_triggers/00_food_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls province_has_vegetable_yams_trigger.
Scripted effects (1)
Customizable localization (2)
- RegionalRootVegetable
- RegionalRootVegetablePlural
Source: game/common/scripted_triggers/00_food_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.