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_small_game_trigger

hunt_small_game_trigger = { VAR = … }

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

hunt_small_game_trigger is a scripted trigger in Crusader Kings III, written at line 565 of its file. A call passes 1 parameter: VAR. The game's script calls it in 5 places, among them Cornering the … (event hunt.1003), No Idea (event hunt.3020) and hunt_animal_bow_kill_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/00_hunt_triggers.txt.

What it checks

  • One of these

    • $VAR$ = flag:fox
    • or

      $VAR$ = flag:hare

• 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 (7 lines of game script)
hunt_small_game_trigger = {
	exists = $VAR$
	OR = {
		$VAR$ = flag:fox
		$VAR$ = flag:hare
	}
}

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_small_game_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?