Scripted trigger
is_dwarf_height
is_dwarf_height = yesgame/common/scripted_triggers/00_clothing_triggers.txt, line 485 (10 lines). No parameters.
is_dwarf_height is a scripted trigger in Crusader Kings III, written at line 485 of its file. It takes no parameters: is_dwarf_height = yes (or no). The game's script calls it in 5 places, among them should_use_fat_animation (scripted trigger), should_use_fat_dwarf_animation (scripted trigger) and should_use_fat_dwarf_pregnant_animation (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_clothing_triggers.txt.
What it checks
• 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 (10 lines of game script)
is_dwarf_height = {
OR = {
has_trait = dwarf
morph_gene_attribute = {
category = gene_height
attribute = body_height
value < -0.26
}
}
}As written in game/common/scripted_triggers/00_clothing_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_dwarf_height.
Source: game/common/scripted_triggers/00_clothing_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.