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

Scripted trigger · Legacy of Persia files

fp3_is_valid_futuwaa_member

fp3_is_valid_futuwaa_member = { SPONSOR = … }

game/common/scripted_triggers/06_fp3_scripted_triggers.txt, line 101 (8 lines). Parameters: $SPONSOR$.

fp3_is_valid_futuwaa_member is a scripted trigger in Crusader Kings III, in the Legacy of Persia files, written at line 101 of its file. A call passes 1 parameter: SPONSOR. The game's script calls it in 2 places, among them fp3_yearly.2050 (event) and number_of_futuwaa_members (script value). Patch 1.20.1.2, from game/common/scripted_triggers/06_fp3_scripted_triggers.txt.

What it checks

  • $SPONSOR$.capital_province ?= { this = prev.location }
  • Is played by the AI
  • Age more than 12
  • Is under 25 years old
  • Is not married
  • can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = $SPONSOR$ }

• 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 (8 lines of game script)
fp3_is_valid_futuwaa_member = {
	$SPONSOR$.capital_province ?= { this = prev.location } # Prevents error log errors from dumbo AI
	is_ai = yes
	age > 12
	age < 25
	is_married = no
	can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = $SPONSOR$ }
}

As written in game/common/scripted_triggers/06_fp3_scripted_triggers.txt.

Where it is used

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

Events (1)

Script values (1)

  • number_of_futuwaa_members

Source: game/common/scripted_triggers/06_fp3_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?