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

Scripted effect

hunt_falconry_select_gamebird_effect

hunt_falconry_select_gamebird_effect = { PROVINCE = … VAR = … }

game/common/scripted_effects/00_hunt_effects.txt, line 878 (69 lines). Parameters: $PROVINCE$, $VAR$.

hunt_falconry_select_gamebird_effect is a scripted effect in Crusader Kings III, written at line 878 of its file. A call passes 2 parameters: PROVINCE and VAR. The game's script calls it in 2 places, among them Chasing … (event hunt.0530) and hunt_activity_falconry_game_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_hunt_effects.txt.

What it does

  • 1 of 4 things will happen:
    • 25% (base chance; changed in play): Nothing else happens
    • 25% (base chance; changed in play): Nothing else happens
    • 25% (base chance; changed in play): Nothing else happens
    • 25% (base chance; changed in play): Nothing else happens

• 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 (69 lines of game script)
hunt_falconry_select_gamebird_effect = {
	random_list = {
		5 = { # Pheasant
			modifier = {
				factor = 2
				$PROVINCE$ = {
					OR = {
						terrain = farmlands
						terrain = plains
						terrain = hills
					}
				}
			}
			set_variable = { name = $VAR$ value = flag:pheasant years = 3 }
		}
		5 = { # Bustard
			modifier = {
				factor = 2
				$PROVINCE$ = {
					OR = {
						terrain = steppe
						terrain = plains
						terrain = drylands
						terrain = desert
						terrain = oasis
					}
				}
			}
			set_variable = { name = $VAR$ value = flag:bustard years = 3 }
		}
		5 = { # Grouse
			trigger = {
				$PROVINCE$ = {
					OR = {
						geographical_region = world_europe_north
						geographical_region = world_europe_west_britannia
					}
				}
			}
			modifier = {
				factor = 2
				$PROVINCE$ = {
					OR = {
						terrain = mountains
						terrain = hills
						terrain = taiga
						terrain = forest
						terrain = plains
					}
				}
			}
			set_variable = { name = $VAR$ value = flag:grouse years = 3 }
		}
		5 = { # Quail
			modifier = {
				factor = 2
				$PROVINCE$ = {
					OR = {
						terrain = mountains
						terrain = hills
						terrain = steppe
						terrain = plains
					}
				}
			}
			set_variable = { name = $VAR$ value = flag:quail years = 3 }
		}
	}
}

As written in game/common/scripted_effects/00_hunt_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls hunt_falconry_select_gamebird_effect.

Events (1)

Source: game/common/scripted_effects/00_hunt_effects.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?