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

Scripted trigger · Roads to Power files

ep3_admin_faction_trigger

ep3_admin_faction_trigger = { FACTION_TARGET = … }

game/common/scripted_triggers/07_ep3_triggers.txt, line 1318 (9 lines). Parameters: $FACTION_TARGET$.

ep3_admin_faction_trigger is a scripted trigger in Crusader Kings III, in the Roads to Power files, written at line 1318 of its file. A call passes 1 parameter: FACTION_TARGET. The game's script calls it in 2 places, among them admin_claimant_faction_modifiers (scripted modifier) and admin_faction_modifiers (scripted modifier). Patch 1.20.1.2, from game/common/scripted_triggers/07_ep3_triggers.txt.

What it checks

  • If

    a check the game hides

    Then

    • $FACTION_TARGET$ = { government_has_mechanic = administrative }

    Otherwise

    • $FACTION_TARGET$ = { has_title = title:e_byzantium }

• 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 (9 lines of game script)
ep3_admin_faction_trigger = {
	trigger_if = { # Enabled for all admin realms with EP3
		limit = { has_ep3_dlc_trigger = yes }
		$FACTION_TARGET$ = { government_has_mechanic = administrative }
	}
	trigger_else = { # Enabled for Byzantium without EP3
		$FACTION_TARGET$ = { has_title = title:e_byzantium }
	}
}

As written in game/common/scripted_triggers/07_ep3_triggers.txt.

Where it is used

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

Scripted modifiers (AI weights) (2)

  • admin_claimant_faction_modifiers
  • admin_faction_modifiers

Source: game/common/scripted_triggers/07_ep3_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?