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_legendary_animal_custom_loc_trigger

hunt_legendary_animal_custom_loc_trigger = { ACTIVITY = … }

game/common/scripted_triggers/00_hunt_triggers.txt, line 999 (16 lines). Parameters: $ACTIVITY$.

hunt_legendary_animal_custom_loc_trigger is a scripted trigger in Crusader Kings III, written at line 999 of its file. A call passes 1 parameter: ACTIVITY. The game's script calls it in 1 place, among them GetAnimalColor (custom loc). Patch 1.20.1.2, from game/common/scripted_triggers/00_hunt_triggers.txt.

What it checks

  • If

    a check the game hides

    Then

    • scope:story:
      • story_type = story_cycle_hunt_mystical_animal

    Else if

    • $ACTIVITY$ != root

    Then

    • $ACTIVITY$ = { … }

    Otherwise

    • Never

• 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)
hunt_legendary_animal_custom_loc_trigger = {
	trigger_if = {
		limit = { exists = scope:story }
		scope:story = { story_type = story_cycle_hunt_mystical_animal }
	}
	trigger_else_if = {
		limit = {
			exists = $ACTIVITY$
			$ACTIVITY$ != root
		}
		$ACTIVITY$ = {
			has_activity_option = { category = special_type option = hunt_type_legendary }
		}
	}
	trigger_else = { always = no }
}

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

Customizable localization (1)

  • GetAnimalColor

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?