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

Scripted trigger · The Fate of Iberia files

fp2_struggle_ending_percent_iberia_trigger

fp2_struggle_ending_percent_iberia_trigger = yes

game/common/scripted_triggers/03_fp2_scripted_triggers.txt, line 255 (7 lines). No parameters.

fp2_struggle_ending_percent_iberia_trigger is a scripted trigger in Crusader Kings III, in the The Fate of Iberia files, written at line 255 of its file. It takes no parameters: fp2_struggle_ending_percent_iberia_trigger = yes (or no). The game's script calls it in 2 places, among them Détente (decision) and Status Quo (decision). Patch 1.20.1.2, from game/common/scripted_triggers/03_fp2_scripted_triggers.txt.

The comment above it in the file

Checks less than half of Iberia owned

What it checks

  • County in region (at least 50%):
    • region = world_europe_west_iberia
    • holder.top_liege = root

• 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)
fp2_struggle_ending_percent_iberia_trigger = {
	any_county_in_region = {
		region = world_europe_west_iberia
		percent < fp2_struggle_compromise_owned_percent_decimal_value
		holder.top_liege = root
	}
}

As written in game/common/scripted_triggers/03_fp2_scripted_triggers.txt.

Where it is used

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

Decisions (2)

Source: game/common/scripted_triggers/03_fp2_scripted_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?