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

Scripted effect · Legacy of Persia files

fp3_struggle_catalysts_for_activities_effect

fp3_struggle_catalysts_for_activities_effect = yes

game/common/scripted_effects/05_dlc_fp3_scripted_effects.txt, line 1156 (41 lines). No parameters.

fp3_struggle_catalysts_for_activities_effect is a scripted effect in Crusader Kings III, in the Legacy of Persia files, written at line 1156 of its file. It takes no parameters: fp3_struggle_catalysts_for_activities_effect = yes. The game's script calls it in 3 places, among them Coronation (activity), Feast (activity) and Hunt (activity). Patch 1.20.1.2, from game/common/scripted_effects/05_dlc_fp3_scripted_effects.txt.

What it does

  • If

    Then

    • scope:host › Every character struggle:
      • Where:
        • phase_has_catalyst = catalyst_invite_involved_as_honorary_guests_to_feast_hunt
      • involvement = involved
      • activate_struggle_catalyst = { catalyst = catalyst_invite_involved_as_honorary_guests_to_feast_hunt character = scope:host }
      • log_debug_variable_for_persian_struggle_effect = { VAR = stabil_catalyst_invite_involved_as_honorary_guests_to_feast_hunt }

• 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)
fp3_struggle_catalysts_for_activities_effect = {
	scope:activity = {
		if = {
			limit = {
				any_special_guest = {
					always = yes
				}
			}
			random_special_guest = {
				save_scope_as = special_honorary_guest
			}
		}
	}
	if = {
		limit = {
			this = scope:host
			scope:special_honorary_guest ?= { is_alive = yes }
			scope:host = {
				is_alive = yes
				any_character_struggle = {
					involvement = involved
					activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
						CATALYST = catalyst_invite_involved_as_honorary_guests_to_feast_hunt
						CHAR = scope:special_honorary_guest
					}
				}
			}
		}
		scope:host = {
			every_character_struggle = {
				involvement = involved
				limit = { phase_has_catalyst = catalyst_invite_involved_as_honorary_guests_to_feast_hunt }
				activate_struggle_catalyst = {
					catalyst = catalyst_invite_involved_as_honorary_guests_to_feast_hunt
					character = scope:host
				}
				log_debug_variable_for_persian_struggle_effect = { VAR = stabil_catalyst_invite_involved_as_honorary_guests_to_feast_hunt }
			}
		}
	}
}

As written in game/common/scripted_effects/05_dlc_fp3_scripted_effects.txt.

Where it is used

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

Activities (3)

Source: game/common/scripted_effects/05_dlc_fp3_scripted_effects.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?