Scripted trigger · Silk and Silver files
domicile_creature_animal_type_trigger
domicile_creature_animal_type_trigger = { TYPE = … }game/common/scripted_triggers/gdp_merchant_triggers.txt, line 800 (16 lines). Parameters: $TYPE$.
domicile_creature_animal_type_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 800 of its file. A call passes 1 parameter: TYPE. The game's script calls it in 1 place, among them create_creature_artifact_effect (scripted effect). Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.
The comment above it in the file
$TYPE$ is an animal the domicile creatures support Hunt events reuse var:animal_type for boars, stags and the like
What it checks
One of these
$TYPE$ ?= flag:lionor
$TYPE$ ?= flag:tigeror
$TYPE$ ?= flag:leopardor
$TYPE$ ?= flag:caracalor
$TYPE$ ?= flag:lynxor
$TYPE$ ?= flag:bearor
$TYPE$ ?= flag:elephantor
$TYPE$ ?= flag:peacockor
$TYPE$ ?= flag:parrotor
$TYPE$ ?= flag:cockatooor
$TYPE$ ?= flag:craneor
$TYPE$ ?= flag:monkey
• 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 (16 lines of game script)
domicile_creature_animal_type_trigger = {
OR = {
$TYPE$ ?= flag:lion
$TYPE$ ?= flag:tiger
$TYPE$ ?= flag:leopard
$TYPE$ ?= flag:caracal
$TYPE$ ?= flag:lynx
$TYPE$ ?= flag:bear
$TYPE$ ?= flag:elephant
$TYPE$ ?= flag:peacock
$TYPE$ ?= flag:parrot
$TYPE$ ?= flag:cockatoo
$TYPE$ ?= flag:crane
$TYPE$ ?= flag:monkey
}
}As written in game/common/scripted_triggers/gdp_merchant_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls domicile_creature_animal_type_trigger.
Scripted effects (1)
Source: game/common/scripted_triggers/gdp_merchant_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.