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

Scripted effect · Wandering Nobles files

landless_inspector_assign_terrain_effect

landless_inspector_assign_terrain_effect = { TERRAIN = … }

game/common/scripted_effects/08_bp3_effects.txt, line 662 (39 lines). Parameters: $TERRAIN$.

landless_inspector_assign_terrain_effect is a scripted effect in Crusader Kings III, in the Wandering Nobles files, written at line 662 of its file. A call passes 1 parameter: TERRAIN. The game's script calls it in 1 place, among them Designated Terrain (decision). Patch 1.20.1.2, from game/common/scripted_effects/08_bp3_effects.txt.

What it does

• 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 (39 lines of game script)
landless_inspector_assign_terrain_effect = {
	if = {
		limit = {
			has_perk = no_stone_unturned_perk
			government_has_flag = government_is_landless_adventurer
		}
		add_character_modifier = landless_inspector_$TERRAIN$_tier_3_modifier
	}
	else_if = {
		limit = {
			has_perk = no_stone_unturned_perk
			government_has_flag = government_is_nomadic
		}
		add_character_modifier = nomadic_inspector_$TERRAIN$_tier_3_modifier
	}
	else_if = {
		limit = {
			has_perk = local_inspection_perk
			government_has_flag = government_is_landless_adventurer
		}
		add_character_modifier = landless_inspector_$TERRAIN$_tier_2_modifier
	}
	else_if = {
		limit = {
			has_perk = local_inspection_perk
			government_has_flag = government_is_nomadic
		}
		add_character_modifier = nomadic_inspector_$TERRAIN$_tier_2_modifier
	}
	else_if = {
		limit = {
			has_perk = mustering_the_troops_perk
		}
		add_character_modifier = landless_inspector_$TERRAIN$_tier_1_modifier
	}
	else = {
		landless_inspector_remove_terrain_effect = yes
	}
}

As written in game/common/scripted_effects/08_bp3_effects.txt.

Where it is used

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

Decisions (1)

Source: game/common/scripted_effects/08_bp3_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?