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

Scripted trigger · Wandering Nobles files

landless_inspector_king_of_the_wilds

landless_inspector_king_of_the_wilds = yes

game/common/scripted_triggers/06_bp3_triggers.txt, line 195 (23 lines). No parameters.

landless_inspector_king_of_the_wilds is a scripted trigger in Crusader Kings III, in the Wandering Nobles files, written at line 195 of its file. It takes no parameters: landless_inspector_king_of_the_wilds = yes (or no). The game's script calls it in 5 places, among them battle_winner_prestige_gain (script value), gold_refill_value (script value) and gold_refill_value_tt (script value). Patch 1.20.1.2, from game/common/scripted_triggers/06_bp3_triggers.txt.

What it checks

  • Depending on has character modifier:
    • When has character modifier is Master of Terrain (Forest) › Their location:
      • terrain = forest
    • When has character modifier is Master of Terrain (Jungle) › Their location:
      • terrain = jungle
    • When has character modifier is Master of Terrain (Taiga) › Their location:
      • terrain = taiga
    • When has character modifier is Master of Terrain (Wetlands) › Their location:
      • terrain = wetlands
    • When has character modifier is Master of Terrain (Mountains) › Their location:
      • terrain = mountains
    • When has character modifier is Master of Terrain (Hills) › Their location:
      • terrain = hills
    • When has character modifier is Master of Terrain (Desert Mountains) › Their location:
      • terrain = desert_mountains
    • When has character modifier is Master of Terrain (Plains) › Their location:
      • terrain = plains
    • When has character modifier is Master of Terrain (Steppe) › Their location:
      • terrain = steppe
    • When has character modifier is Master of Terrain (Farmlands) › Their location:
      • terrain = farmlands
    • When has character modifier is Master of Terrain (Floodplains) › Their location:
      • terrain = floodplains
    • When has character modifier is Master of Terrain (Drylands) › Their location:
      • terrain = drylands
    • When has character modifier is Master of Terrain (Desert) › Their location:
      • terrain = desert
    • When has character modifier is Master of Terrain (Oasis) › Their location:
      • terrain = oasis

• 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 (23 lines of game script)
landless_inspector_king_of_the_wilds = {
	switch = {
		trigger = has_character_modifier
		# Woodlands
		master_terrain_forest_modifier = { location ?= { terrain = forest } }
		master_terrain_jungle_modifier = { location ?= { terrain = jungle } }
		master_terrain_taiga_modifier = { location ?= { terrain = taiga } }
		master_terrain_wetlands_modifier = { location ?= { terrain = wetlands } }
		# Highlands
		master_terrain_mountains_modifier = { location ?= { terrain = mountains } }
		master_terrain_hills_modifier = { location ?= { terrain = hills } }
		master_terrain_desert_mountains_modifier = { location ?= { terrain = desert_mountains } }
		# Lowlands
		master_terrain_plains_modifier = { location ?= { terrain = plains } }
		master_terrain_steppe_modifier = { location ?= { terrain = steppe } }
		master_terrain_farmlands_modifier = { location ?= { terrain = farmlands } }
		master_terrain_floodplains_modifier = { location ?= { terrain = floodplains } }
		# Drylands
		master_terrain_drylands_modifier = { location ?= { terrain = drylands } }
		master_terrain_desert_modifier = { location ?= { terrain = desert } }
		master_terrain_oasis_modifier = { location ?= { terrain = oasis } }
	}
}

As written in game/common/scripted_triggers/06_bp3_triggers.txt.

Where it is used

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

Script values (5)

  • battle_winner_prestige_gain
  • gold_refill_value
  • gold_refill_value_tt
  • provision_refill_value
  • provision_refill_value_tt

Source: game/common/scripted_triggers/06_bp3_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?