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_story_trigger

hunt_story_trigger = { STORY = … }

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

hunt_story_trigger is a scripted trigger in Crusader Kings III, written at line 573 of its file. A call passes 1 parameter: STORY. The game's script calls it in 24 places, among them A Fawning … (event hunt.5010), A Hare in the Hand (event hunt.1062) and An Arrow for … (event hunt.1012). Patch 1.20.1.2, from game/common/scripted_triggers/00_hunt_triggers.txt.

What it checks

  • scope:activity: Hunt activity story is $STORY$

• 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_story_trigger = {
	exists = scope:activity
	scope:activity = {
		exists = var:hunt_activity_story
		var:hunt_activity_story = flag:$STORY$
	}
}

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