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

Scripted trigger

ep3_frankokratia_beneficiary_trigger

ep3_frankokratia_beneficiary_trigger = yes

game/common/scripted_triggers/07_frankokratia_triggers.txt, line 575 (41 lines). No parameters.

ep3_frankokratia_beneficiary_trigger is a scripted trigger in Crusader Kings III, written at line 575 of its file. It takes no parameters: ep3_frankokratia_beneficiary_trigger = yes (or no). The game's script calls it in 2 places, among them ep3_frankokratia_pick_crusader_beneficiary_effect (scripted effect) and ep3_frankokratia_pick_emperor_beneficiary_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/07_frankokratia_triggers.txt.

What it checks

  • Is not a ruler
  • Is not imprisoned
  • Is an Adult
  • Their faith is the same as that of frankokratia crusader
  • None of these

    • this = scope:financier
    • Any heir title:
    • Has the Trait: Incapable
    • Has the Trait: Monk
    • All of these

      • scope:frankokratia_crusader.rite: Has the Theocratic Doctrine
      • has_council_position = councillor_court_chaplain
  • One of these

    • Is not married
    • or

      None of these

      • Any spouse: Is a ruler
  • One of these

• 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 (41 lines of game script)
ep3_frankokratia_beneficiary_trigger = {
	is_ruler = no
	is_imprisoned = no
	is_adult = yes
	faith = scope:frankokratia_crusader.faith
	NOR = {
		this = scope:financier
		any_heir_title = { }
		has_trait = incapable
		has_trait = devoted
		AND = {
			scope:frankokratia_crusader.rite = {
				rite_has_doctrine = doctrine_theocracy_temporal
			}
			has_council_position = councillor_court_chaplain
		}
	}
	OR = { #Either not married, or not married to a ruler.
		is_married = no
		NOT = {
			any_spouse = {
				is_ruler = yes
			}
		}
	}
	OR = {
		AND = {
			is_male = yes
			age < 50
		}
		AND = {
			is_female = yes
			age <= 35
		}
		any_child = {
			count >= 1
			is_ruler = no
			ep3_frankokratia_beneficiary_gender_soft_trigger = yes
		}
	}
}

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

Where it is used

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

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