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

Scripted trigger

hunt_animal_type_predator_trigger

hunt_animal_type_predator_trigger = { VAR = … }

game/common/scripted_triggers/00_hunt_triggers.txt, line 944 (11 lines). Parameters: $VAR$.

hunt_animal_type_predator_trigger is a scripted trigger in Crusader Kings III, written at line 944 of its file. A call passes 1 parameter: VAR. The game's script calls it in 10 places, among them Cornering the … (event hunt.1001), Cornering the … (event hunt.1003) and Cornering the … (event hunt.1202). Patch 1.20.1.2, from game/common/scripted_triggers/00_hunt_triggers.txt.

What it checks

  • One of these

    • $VAR$ ?= flag:wolf
    • or

      $VAR$ ?= flag:hyena
    • or

      $VAR$ ?= flag:lynx
    • or

      $VAR$ ?= flag:bear
    • or

      $VAR$ ?= flag:lion
    • or

      $VAR$ ?= flag:tiger
    • or

      $VAR$ ?= flag:leopard

• 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 (11 lines of game script)
hunt_animal_type_predator_trigger = {
	OR = {
		$VAR$ ?= flag:wolf
		$VAR$ ?= flag:hyena
		$VAR$ ?= flag:lynx
		$VAR$ ?= flag:bear
		$VAR$ ?= flag:lion
		$VAR$ ?= flag:tiger
		$VAR$ ?= flag:leopard
	}
}

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

Spotted a mistake on this page?