Scripted trigger
hunt_animal_crocodile_trigger
hunt_animal_crocodile_trigger = yesgame/common/scripted_triggers/00_hunt_triggers.txt, line 211 (24 lines). No parameters.
hunt_animal_crocodile_trigger is a scripted trigger in Crusader Kings III, written at line 211 of its file. It takes no parameters: hunt_animal_crocodile_trigger = yes (or no). The game's script calls it in 3 places, among them Eyes in the Night (event ep3_laamp_flavour_ewan.4061), add_all_valid_mandala_contract_provinces_with_crocodiles_to_list_effect (scripted effect) and there_is_any_valid_mandala_contract_spot_with_crocodiles_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_hunt_triggers.txt.
The comment above it in the file
Crocodile
What it checks
One of these
- Is in the India region
or
Is in the world africa north east regionor
Is in the Western Africa regionor
Is in the Eastern Africa regionor
Is in the Southeast Asia regionor
All of these
terrain = floodplains- Is in the Middle East region
One of these
is_riverside_province = yesor
terrain = floodplainsor
terrain = jungleor
All of these
- Is coastal
- Is not in the world africa north east 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 (24 lines of game script)
hunt_animal_crocodile_trigger = {
OR = {
geographical_region = world_india
geographical_region = world_africa_north_east
geographical_region = world_africa_west
geographical_region = world_africa_east
geographical_region = world_asia_southeast
# Restrict our Mesopotamian crocs preemptively to _only_ floodplains.
AND = {
terrain = floodplains
geographical_region = world_middle_east
}
}
OR = {
is_riverside_province = yes
terrain = floodplains
terrain = jungle
AND = {
is_coastal = yes
# Nile crocodiles aren't ocean-dwellers.
NOT = { geographical_region = world_africa_north_east }
}
}
}As written in game/common/scripted_triggers/00_hunt_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls hunt_animal_crocodile_trigger.
Source: game/common/scripted_triggers/00_hunt_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.