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

Scripted trigger

base_faction_trigger

base_faction_trigger = { FACTION_TYPE = … }

game/common/scripted_triggers/00_faction_triggers.txt, line 189 (10 lines). Parameters: $FACTION_TYPE$.

base_faction_trigger is a scripted trigger in Crusader Kings III, written at line 189 of its file. A call passes 1 parameter: FACTION_TYPE. The game's script calls it in 7 places, among them Ceremonial Claimant Faction (factions), Dissolution Faction (factions) and Imperial Policy Faction (factions). Patch 1.20.1.2, from game/common/scripted_triggers/00_faction_triggers.txt.

What it checks

  • Is not incapable
  • NOT = { has_truce = scope:target }
  • NOT = { is_at_war_with = scope:target }
  • can_join_or_create_faction_against = { who = scope:target faction = $FACTION_TYPE$ }
  • scope:target:
    • NOT = { has_strong_hook = 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 (10 lines of game script)
base_faction_trigger = {
	is_incapable = no
	NOT = { has_truce = scope:target }
	NOT = { is_at_war_with = scope:target }
	can_join_or_create_faction_against = {
		who = scope:target
		faction = $FACTION_TYPE$
	}
	scope:target = { NOT = { has_strong_hook = root } }
}

As written in game/common/scripted_triggers/00_faction_triggers.txt.

Where it is used

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

Factions (7)

  • Ceremonial Claimant Faction
  • Dissolution Faction
  • Imperial Policy Faction
  • Independence Faction
  • Install Ruling Regent Faction
  • Liberty Faction
1 more
  • Restore Ceremonial Monarch Faction

Source: game/common/scripted_triggers/00_faction_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?