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_does_this_player_care_about_the_persian_struggle

fp3_does_this_player_care_about_the_persian_struggle = yes

game/common/scripted_triggers/06_fp3_scripted_triggers.txt, line 187 (18 lines). No parameters.

fp3_does_this_player_care_about_the_persian_struggle is a scripted trigger in Crusader Kings III, in the Legacy of Persia files, written at line 187 of its file. It takes no parameters: fp3_does_this_player_care_about_the_persian_struggle = yes (or no). The game's script calls it in 1 place, among them fp3_end_persian_struggle_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/06_fp3_scripted_triggers.txt.

What it checks

  • One of these

    • Their capital province:
      • One of these

        • Is in the Persia region
        • or

          Is in the world africa north east region
    • or

      struggle:persian_struggle = { is_culture_involved_in_struggle = scope:char_temp.culture }
    • or

      struggle:persian_struggle = { is_faith_involved_in_struggle = scope:char_temp.faith }
    • or

      Their religion is Islam
    • or

      Their religion is Zoroastrianism
    • or

      fp3_character_involved_in_struggle_trigger = yes
    • or

      fp3_character_interloper_in_struggle_trigger = yes

• 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 (18 lines of game script)
fp3_does_this_player_care_about_the_persian_struggle = {
	save_temporary_scope_as = char_temp
	OR = {
		capital_province ?= {
			OR = { # Is in region
				geographical_region = world_middle_east_persia
				geographical_region = world_africa_north_east
			}
		}
		struggle:persian_struggle = { is_culture_involved_in_struggle = scope:char_temp.culture }
		struggle:persian_struggle = { is_faith_involved_in_struggle = scope:char_temp.faith }
		# Ping islamic and zoroastrian players as they might be interested
		religion = religion:islam_religion
		religion = religion:zoroastrianism_religion
		fp3_character_involved_in_struggle_trigger = yes
		fp3_character_interloper_in_struggle_trigger = yes
	}
}

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_does_this_player_care_about_the_persian_struggle.

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?