Scripted trigger
single_combat_location_has_crocodilians_trigger
single_combat_location_has_crocodilians_trigger = yesgame/common/scripted_triggers/00_single_combat_scripted_triggers.txt, line 54 (24 lines). No parameters.
single_combat_location_has_crocodilians_trigger is a scripted trigger in Crusader Kings III, written at line 54 of its file. It takes no parameters: single_combat_location_has_crocodilians_trigger = yes (or no). The game's script calls it in 1 place, among them select_special_tier_move_effect (local effect). Patch 1.20.1.2, from game/common/scripted_triggers/00_single_combat_scripted_triggers.txt.
What it checks
scope:sc_defender.location:One of these
- Is in the Western Africa region
or
Is in the Eastern Africa regionor
Is in the Persia regionor
Is in the India regionor
Is in the Southeast Asia region
One of these
- Is coastal
or
is_riverside_province = yesor
terrain = oasisor
terrain = jungleor
terrain = wetlandsor
terrain = floodplainsor
terrain = farmlands
• 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 (24 lines of game script)
single_combat_location_has_crocodilians_trigger = {
scope:sc_defender.location = {
# First, we look at supra regions.
OR = {
geographical_region = world_africa_west
geographical_region = world_africa_east
geographical_region = world_middle_east_persia
geographical_region = world_india
geographical_region = world_asia_southeast
}
# Then, if any of those apply, drill down.
OR = {
# Either coastal.
is_coastal = yes
is_riverside_province = yes
# Or has a suitable terrain.
terrain = oasis
terrain = jungle
terrain = wetlands
terrain = floodplains
terrain = farmlands
}
}
}As written in game/common/scripted_triggers/00_single_combat_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls single_combat_location_has_crocodilians_trigger.
Scripted effects inside an event file (1)
- select_special_tier_move_effect
Source: game/common/scripted_triggers/00_single_combat_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.