CK3 DatabaseCrusader Kings III · 1.21.0 “Florin” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →Merch→

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:lion
    • or

      $TYPE$ ?= flag:tiger
    • or

      $TYPE$ ?= flag:leopard
    • or

      $TYPE$ ?= flag:caracal
    • or

      $TYPE$ ?= flag:lynx
    • or

      $TYPE$ ?= flag:bear
    • or

      $TYPE$ ?= flag:elephant
    • or

      $TYPE$ ?= flag:peacock
    • or

      $TYPE$ ?= flag:parrot
    • or

      $TYPE$ ?= flag:cockatoo
    • or

      $TYPE$ ?= flag:crane
    • or

      $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.

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.

Spotted a mistake on this page, or have an idea for the site?